R
↳Dependency Pair Analysis
F(x, c(x), c(y)) -> F(y, y, f(y, x, y))
F(x, c(x), c(y)) -> F(y, x, y)
F(s(x), y, z) -> F(x, s(c(y)), c(z))
R
↳DPs
→DP Problem 1
↳Instantiation Transformation
→DP Problem 2
↳Remaining
F(s(x), y, z) -> F(x, s(c(y)), c(z))
f(x, c(x), c(y)) -> f(y, y, f(y, x, y))
f(s(x), y, z) -> f(x, s(c(y)), c(z))
f(c(x), x, y) -> c(y)
g(x, y) -> x
g(x, y) -> y
one new Dependency Pair is created:
F(s(x), y, z) -> F(x, s(c(y)), c(z))
F(s(x''), s(c(y'')), c(z'')) -> F(x'', s(c(s(c(y'')))), c(c(z'')))
R
↳DPs
→DP Problem 1
↳Inst
→DP Problem 3
↳Instantiation Transformation
→DP Problem 2
↳Remaining
F(s(x''), s(c(y'')), c(z'')) -> F(x'', s(c(s(c(y'')))), c(c(z'')))
f(x, c(x), c(y)) -> f(y, y, f(y, x, y))
f(s(x), y, z) -> f(x, s(c(y)), c(z))
f(c(x), x, y) -> c(y)
g(x, y) -> x
g(x, y) -> y
one new Dependency Pair is created:
F(s(x''), s(c(y'')), c(z'')) -> F(x'', s(c(s(c(y'')))), c(c(z'')))
F(s(x''''), s(c(s(c(y'''')))), c(c(z''''))) -> F(x'''', s(c(s(c(s(c(y'''')))))), c(c(c(z''''))))
R
↳DPs
→DP Problem 1
↳Inst
→DP Problem 3
↳Inst
...
→DP Problem 4
↳Polynomial Ordering
→DP Problem 2
↳Remaining
F(s(x''''), s(c(s(c(y'''')))), c(c(z''''))) -> F(x'''', s(c(s(c(s(c(y'''')))))), c(c(c(z''''))))
f(x, c(x), c(y)) -> f(y, y, f(y, x, y))
f(s(x), y, z) -> f(x, s(c(y)), c(z))
f(c(x), x, y) -> c(y)
g(x, y) -> x
g(x, y) -> y
F(s(x''''), s(c(s(c(y'''')))), c(c(z''''))) -> F(x'''', s(c(s(c(s(c(y'''')))))), c(c(c(z''''))))
POL(c(x1)) = 0 POL(s(x1)) = 1 + x1 POL(F(x1, x2, x3)) = x1
R
↳DPs
→DP Problem 1
↳Inst
→DP Problem 3
↳Inst
...
→DP Problem 5
↳Dependency Graph
→DP Problem 2
↳Remaining
f(x, c(x), c(y)) -> f(y, y, f(y, x, y))
f(s(x), y, z) -> f(x, s(c(y)), c(z))
f(c(x), x, y) -> c(y)
g(x, y) -> x
g(x, y) -> y
R
↳DPs
→DP Problem 1
↳Inst
→DP Problem 2
↳Remaining Obligation(s)
F(x, c(x), c(y)) -> F(y, x, y)
F(x, c(x), c(y)) -> F(y, y, f(y, x, y))
f(x, c(x), c(y)) -> f(y, y, f(y, x, y))
f(s(x), y, z) -> f(x, s(c(y)), c(z))
f(c(x), x, y) -> c(y)
g(x, y) -> x
g(x, y) -> y