The rewrite relation of the following conditional TRS is considered.
plus(0,y) | → | y | |
plus(s(x),y) | → | s(plus(x,y)) | |
fib(0) | → | pair(s(0),0) | |
fib(s(x)) | → | pair(z3,z1) | | fib(x) ≈ pair(z1,z2), plus(z1,z2) ≈ z3 |
plus(0,y) | → | y | |
plus(s(x),y) | → | s(plus(x,y)) | |
fib(0) | → | pair(s(0),0) | |
fib(s(x)) | → | pair(plus(z1,z2),z1) | | fib(x) ≈ pair(z1,z2) |