R
↳Dependency Pair Analysis
F(X) -> F(g(X))
F(X) -> G(X)
G(s(X)) -> G(X)
SEL(s(X), cons(Y, Z)) -> SEL(X, Z)
R
↳DPs
→DP Problem 1
↳Forward Instantiation Transformation
→DP Problem 2
↳FwdInst
→DP Problem 3
↳Remaining
G(s(X)) -> G(X)
f(X) -> cons(X, f(g(X)))
g(0) -> s(0)
g(s(X)) -> s(s(g(X)))
sel(0, cons(X, Y)) -> X
sel(s(X), cons(Y, Z)) -> sel(X, Z)
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 4
↳Forward Instantiation Transformation
→DP Problem 2
↳FwdInst
→DP Problem 3
↳Remaining
G(s(s(X''))) -> G(s(X''))
f(X) -> cons(X, f(g(X)))
g(0) -> s(0)
g(s(X)) -> s(s(g(X)))
sel(0, cons(X, Y)) -> X
sel(s(X), cons(Y, Z)) -> sel(X, Z)
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 4
↳FwdInst
...
→DP Problem 5
↳Polynomial Ordering
→DP Problem 2
↳FwdInst
→DP Problem 3
↳Remaining
G(s(s(s(X'''')))) -> G(s(s(X'''')))
f(X) -> cons(X, f(g(X)))
g(0) -> s(0)
g(s(X)) -> s(s(g(X)))
sel(0, cons(X, Y)) -> X
sel(s(X), cons(Y, Z)) -> sel(X, Z)
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 4
↳FwdInst
...
→DP Problem 6
↳Dependency Graph
→DP Problem 2
↳FwdInst
→DP Problem 3
↳Remaining
f(X) -> cons(X, f(g(X)))
g(0) -> s(0)
g(s(X)) -> s(s(g(X)))
sel(0, cons(X, Y)) -> X
sel(s(X), cons(Y, Z)) -> sel(X, Z)
innermost
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Forward Instantiation Transformation
→DP Problem 3
↳Remaining
SEL(s(X), cons(Y, Z)) -> SEL(X, Z)
f(X) -> cons(X, f(g(X)))
g(0) -> s(0)
g(s(X)) -> s(s(g(X)))
sel(0, cons(X, Y)) -> X
sel(s(X), cons(Y, Z)) -> sel(X, Z)
innermost
one new Dependency Pair is created:
SEL(s(X), cons(Y, Z)) -> SEL(X, Z)
SEL(s(s(X'')), cons(Y, cons(Y'', Z''))) -> SEL(s(X''), cons(Y'', Z''))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳FwdInst
→DP Problem 7
↳Forward Instantiation Transformation
→DP Problem 3
↳Remaining
SEL(s(s(X'')), cons(Y, cons(Y'', Z''))) -> SEL(s(X''), cons(Y'', Z''))
f(X) -> cons(X, f(g(X)))
g(0) -> s(0)
g(s(X)) -> s(s(g(X)))
sel(0, cons(X, Y)) -> X
sel(s(X), cons(Y, Z)) -> sel(X, Z)
innermost
one new Dependency Pair is created:
SEL(s(s(X'')), cons(Y, cons(Y'', Z''))) -> SEL(s(X''), cons(Y'', Z''))
SEL(s(s(s(X''''))), cons(Y, cons(Y''0, cons(Y'''', Z'''')))) -> SEL(s(s(X'''')), cons(Y''0, cons(Y'''', Z'''')))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳FwdInst
→DP Problem 7
↳FwdInst
...
→DP Problem 8
↳Polynomial Ordering
→DP Problem 3
↳Remaining
SEL(s(s(s(X''''))), cons(Y, cons(Y''0, cons(Y'''', Z'''')))) -> SEL(s(s(X'''')), cons(Y''0, cons(Y'''', Z'''')))
f(X) -> cons(X, f(g(X)))
g(0) -> s(0)
g(s(X)) -> s(s(g(X)))
sel(0, cons(X, Y)) -> X
sel(s(X), cons(Y, Z)) -> sel(X, Z)
innermost
SEL(s(s(s(X''''))), cons(Y, cons(Y''0, cons(Y'''', Z'''')))) -> SEL(s(s(X'''')), cons(Y''0, cons(Y'''', Z'''')))
POL(SEL(x1, x2)) = x1 POL(cons(x1, x2)) = 0 POL(s(x1)) = 1 + x1
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳FwdInst
→DP Problem 7
↳FwdInst
...
→DP Problem 9
↳Dependency Graph
→DP Problem 3
↳Remaining
f(X) -> cons(X, f(g(X)))
g(0) -> s(0)
g(s(X)) -> s(s(g(X)))
sel(0, cons(X, Y)) -> X
sel(s(X), cons(Y, Z)) -> sel(X, Z)
innermost
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳FwdInst
→DP Problem 3
↳Remaining Obligation(s)
F(X) -> F(g(X))
f(X) -> cons(X, f(g(X)))
g(0) -> s(0)
g(s(X)) -> s(s(g(X)))
sel(0, cons(X, Y)) -> X
sel(s(X), cons(Y, Z)) -> sel(X, Z)
innermost