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