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(0,s(0)) | |
fib(s(x)) | → | pair(z,w) | | fib(x) ≈ pair(y,z), plus(y,z) ≈ w |
plus(0,y) | → | y | |
plus(s(x),y) | → | s(plus(x,y)) | |
fib(0) | → | pair(0,s(0)) | |
fib(s(x)) | → | pair(z,plus(y,z)) | | fib(x) ≈ pair(y,z) |