The rewrite relation of the following conditional TRS is considered.
plus(0,X) | → | X | |
plus(s(X),Y) | → | plus(X,s(Y)) | |
fib(0) | → | pair(s(0),0) | |
fib(s(X)) | → | pair(W,Y) | | fib(X) ≈ pair(Y,Z), plus(Y,Z) ≈ W |
plus(0,X) | → | X | |
plus(s(X),Y) | → | plus(X,s(Y)) | |
fib(0) | → | pair(s(0),0) | |
fib(s(X)) | → | pair(plus(Y,Z),Y) | | fib(X) ≈ pair(Y,Z) |