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
↳Inst
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
innermost
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
↳Inst
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
innermost
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
↳Inst
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
innermost
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
↳Inst
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
innermost
R
↳DPs
→DP Problem 1
↳Inst
→DP Problem 2
↳Instantiation Transformation
F(x, c(x), c(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
innermost
one new Dependency Pair is created:
F(x, c(x), c(y)) -> F(y, x, y)
F(c(y''), c(c(y'')), c(y'')) -> F(y'', c(y''), y'')
R
↳DPs
→DP Problem 1
↳Inst
→DP Problem 2
↳Inst
→DP Problem 6
↳Forward Instantiation Transformation
F(c(y''), c(c(y'')), c(y'')) -> F(y'', c(y''), 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
innermost
one new Dependency Pair is created:
F(c(y''), c(c(y'')), c(y'')) -> F(y'', c(y''), y'')
F(c(c(y''''')), c(c(c(y'''''))), c(c(y'''''))) -> F(c(y'''''), c(c(y''''')), c(y'''''))
R
↳DPs
→DP Problem 1
↳Inst
→DP Problem 2
↳Inst
→DP Problem 6
↳FwdInst
...
→DP Problem 7
↳Polynomial Ordering
F(c(c(y''''')), c(c(c(y'''''))), c(c(y'''''))) -> F(c(y'''''), c(c(y''''')), c(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
innermost
F(c(c(y''''')), c(c(c(y'''''))), c(c(y'''''))) -> F(c(y'''''), c(c(y''''')), c(y'''''))
POL(c(x1)) = 1 + x1 POL(F(x1, x2, x3)) = 1 + x1
R
↳DPs
→DP Problem 1
↳Inst
→DP Problem 2
↳Inst
→DP Problem 6
↳FwdInst
...
→DP Problem 8
↳Dependency Graph
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
innermost