R
↳Dependency Pair Analysis
F(g(x), s(0), y) -> F(y, y, g(x))
G(s(x)) -> G(x)
R
↳DPs
→DP Problem 1
↳Forward Instantiation Transformation
G(s(x)) -> G(x)
f(g(x), s(0), y) -> f(y, y, g(x))
g(s(x)) -> s(g(x))
g(0) -> 0
innermost
one new Dependency Pair is created:
G(s(x)) -> G(x)
G(s(s(x''))) -> G(s(x''))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Forward Instantiation Transformation
G(s(s(x''))) -> G(s(x''))
f(g(x), s(0), y) -> f(y, y, g(x))
g(s(x)) -> s(g(x))
g(0) -> 0
innermost
one new Dependency Pair is created:
G(s(s(x''))) -> G(s(x''))
G(s(s(s(x'''')))) -> G(s(s(x'''')))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳FwdInst
...
→DP Problem 3
↳Polynomial Ordering
G(s(s(s(x'''')))) -> G(s(s(x'''')))
f(g(x), s(0), y) -> f(y, y, g(x))
g(s(x)) -> s(g(x))
g(0) -> 0
innermost
G(s(s(s(x'''')))) -> G(s(s(x'''')))
POL(G(x1)) = 1 + x1 POL(s(x1)) = 1 + x1
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳FwdInst
...
→DP Problem 4
↳Dependency Graph
f(g(x), s(0), y) -> f(y, y, g(x))
g(s(x)) -> s(g(x))
g(0) -> 0
innermost