MAYBE 165.59/51.25 MAYBE 165.59/51.25 165.59/51.25 Problem: 165.59/51.25 g(A()) -> A() 165.59/51.25 g(B()) -> A() 165.59/51.25 g(B()) -> B() 165.59/51.25 g(C()) -> A() 165.59/51.25 g(C()) -> B() 165.59/51.25 g(C()) -> C() 165.59/51.25 foldB(t,0()) -> t 165.59/51.25 foldB(t,s(n)) -> f(foldB(t,n),B()) 165.59/51.25 foldC(t,0()) -> t 165.59/51.25 foldC(t,s(n)) -> f(foldC(t,n),C()) 165.59/51.25 f(t,x) -> f'(t,g(x)) 165.59/51.25 f'(triple(a,b,c),C()) -> triple(a,b,s(c)) 165.59/51.25 f'(triple(a,b,c),B()) -> f(triple(a,b,c),A()) 165.59/51.25 f'(triple(a,b,c),A()) -> f''(foldB(triple(s(a),0(),c),b)) 165.59/51.25 f''(triple(a,b,c)) -> foldC(triple(a,b,0()),c) 165.59/51.25 165.59/51.25 Proof: 165.59/51.25 Open 165.59/51.25 EOF