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