R
↳Dependency Pair Analysis
F(g(x), s(0), y) -> F(g(s(0)), y, g(x))
F(g(x), s(0), y) -> G(s(0))
G(s(x)) -> G(x)
R
↳DPs
→DP Problem 1
↳Forward Instantiation Transformation
→DP Problem 2
↳Rw
G(s(x)) -> G(x)
f(g(x), s(0), y) -> f(g(s(0)), 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 3
↳Forward Instantiation Transformation
→DP Problem 2
↳Rw
G(s(s(x''))) -> G(s(x''))
f(g(x), s(0), y) -> f(g(s(0)), 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 3
↳FwdInst
...
→DP Problem 4
↳Polynomial Ordering
→DP Problem 2
↳Rw
G(s(s(s(x'''')))) -> G(s(s(x'''')))
f(g(x), s(0), y) -> f(g(s(0)), 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 3
↳FwdInst
...
→DP Problem 5
↳Dependency Graph
→DP Problem 2
↳Rw
f(g(x), s(0), y) -> f(g(s(0)), y, g(x))
g(s(x)) -> s(g(x))
g(0) -> 0
innermost
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Rewriting Transformation
F(g(x), s(0), y) -> F(g(s(0)), y, g(x))
f(g(x), s(0), y) -> f(g(s(0)), y, g(x))
g(s(x)) -> s(g(x))
g(0) -> 0
innermost
one new Dependency Pair is created:
F(g(x), s(0), y) -> F(g(s(0)), y, g(x))
F(g(x), s(0), y) -> F(s(g(0)), y, g(x))