R
↳Dependency Pair Analysis
F(a, a) -> F(a, b)
F(a, b) -> F(s(a), c)
F(s(X), c) -> F(X, c)
F(c, c) -> F(a, a)
R
↳DPs
→DP Problem 1
↳Forward Instantiation Transformation
F(c, c) -> F(a, a)
F(s(X), c) -> F(X, c)
F(a, b) -> F(s(a), c)
F(a, a) -> F(a, b)
f(a, a) -> f(a, b)
f(a, b) -> f(s(a), c)
f(s(X), c) -> f(X, c)
f(c, c) -> f(a, a)
innermost
two new Dependency Pairs are created:
F(s(X), c) -> F(X, c)
F(s(s(X'')), c) -> F(s(X''), c)
F(s(c), c) -> F(c, c)
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Forward Instantiation Transformation
F(s(s(X'')), c) -> F(s(X''), c)
f(a, a) -> f(a, b)
f(a, b) -> f(s(a), c)
f(s(X), c) -> f(X, c)
f(c, c) -> f(a, a)
innermost
one new Dependency Pair is created:
F(s(s(X'')), c) -> F(s(X''), c)
F(s(s(s(X''''))), c) -> F(s(s(X'''')), c)
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳FwdInst
...
→DP Problem 3
↳Argument Filtering and Ordering
F(s(s(s(X''''))), c) -> F(s(s(X'''')), c)
f(a, a) -> f(a, b)
f(a, b) -> f(s(a), c)
f(s(X), c) -> f(X, c)
f(c, c) -> f(a, a)
innermost
F(s(s(s(X''''))), c) -> F(s(s(X'''')), c)
POL(c) = 0 POL(s(x1)) = 1 + x1 POL(F(x1, x2)) = 1 + x1 + x2
F(x1, x2) -> F(x1, x2)
s(x1) -> s(x1)
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳FwdInst
...
→DP Problem 4
↳Dependency Graph
f(a, a) -> f(a, b)
f(a, b) -> f(s(a), c)
f(s(X), c) -> f(X, c)
f(c, c) -> f(a, a)
innermost