R
↳Dependency Pair Analysis
F(s(s(x))) -> P(h(g(x)))
F(s(s(x))) -> H(g(x))
F(s(s(x))) -> G(x)
F(s(s(x))) -> +'(p(g(x)), q(g(x)))
F(s(s(x))) -> P(g(x))
F(s(s(x))) -> Q(g(x))
G(s(x)) -> H(g(x))
G(s(x)) -> G(x)
G(s(x)) -> +'(p(g(x)), q(g(x)))
G(s(x)) -> P(g(x))
G(s(x)) -> Q(g(x))
H(x) -> +'(p(x), q(x))
H(x) -> P(x)
H(x) -> Q(x)
+'(x, s(y)) -> +'(x, y)
R
↳DPs
→DP Problem 1
↳Forward Instantiation Transformation
→DP Problem 2
↳FwdInst
+'(x, s(y)) -> +'(x, y)
f(0) -> 0
f(s(0)) -> s(0)
f(s(s(x))) -> p(h(g(x)))
f(s(s(x))) -> +(p(g(x)), q(g(x)))
g(0) -> pair(s(0), s(0))
g(s(x)) -> h(g(x))
g(s(x)) -> pair(+(p(g(x)), q(g(x))), p(g(x)))
h(x) -> pair(+(p(x), q(x)), p(x))
p(pair(x, y)) -> x
q(pair(x, y)) -> y
+(x, 0) -> x
+(x, s(y)) -> s(+(x, y))
innermost
one new Dependency Pair is created:
+'(x, s(y)) -> +'(x, y)
+'(x'', s(s(y''))) -> +'(x'', s(y''))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 3
↳Forward Instantiation Transformation
→DP Problem 2
↳FwdInst
+'(x'', s(s(y''))) -> +'(x'', s(y''))
f(0) -> 0
f(s(0)) -> s(0)
f(s(s(x))) -> p(h(g(x)))
f(s(s(x))) -> +(p(g(x)), q(g(x)))
g(0) -> pair(s(0), s(0))
g(s(x)) -> h(g(x))
g(s(x)) -> pair(+(p(g(x)), q(g(x))), p(g(x)))
h(x) -> pair(+(p(x), q(x)), p(x))
p(pair(x, y)) -> x
q(pair(x, y)) -> y
+(x, 0) -> x
+(x, s(y)) -> s(+(x, y))
innermost
one new Dependency Pair is created:
+'(x'', s(s(y''))) -> +'(x'', s(y''))
+'(x'''', s(s(s(y'''')))) -> +'(x'''', s(s(y'''')))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 3
↳FwdInst
...
→DP Problem 4
↳Polynomial Ordering
→DP Problem 2
↳FwdInst
+'(x'''', s(s(s(y'''')))) -> +'(x'''', s(s(y'''')))
f(0) -> 0
f(s(0)) -> s(0)
f(s(s(x))) -> p(h(g(x)))
f(s(s(x))) -> +(p(g(x)), q(g(x)))
g(0) -> pair(s(0), s(0))
g(s(x)) -> h(g(x))
g(s(x)) -> pair(+(p(g(x)), q(g(x))), p(g(x)))
h(x) -> pair(+(p(x), q(x)), p(x))
p(pair(x, y)) -> x
q(pair(x, y)) -> y
+(x, 0) -> x
+(x, s(y)) -> s(+(x, y))
innermost
+'(x'''', s(s(s(y'''')))) -> +'(x'''', s(s(y'''')))
POL(s(x1)) = 1 + x1 POL(+'(x1, x2)) = 1 + x2
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 3
↳FwdInst
...
→DP Problem 5
↳Dependency Graph
→DP Problem 2
↳FwdInst
f(0) -> 0
f(s(0)) -> s(0)
f(s(s(x))) -> p(h(g(x)))
f(s(s(x))) -> +(p(g(x)), q(g(x)))
g(0) -> pair(s(0), s(0))
g(s(x)) -> h(g(x))
g(s(x)) -> pair(+(p(g(x)), q(g(x))), p(g(x)))
h(x) -> pair(+(p(x), q(x)), p(x))
p(pair(x, y)) -> x
q(pair(x, y)) -> y
+(x, 0) -> x
+(x, s(y)) -> s(+(x, y))
innermost
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Forward Instantiation Transformation
G(s(x)) -> G(x)
f(0) -> 0
f(s(0)) -> s(0)
f(s(s(x))) -> p(h(g(x)))
f(s(s(x))) -> +(p(g(x)), q(g(x)))
g(0) -> pair(s(0), s(0))
g(s(x)) -> h(g(x))
g(s(x)) -> pair(+(p(g(x)), q(g(x))), p(g(x)))
h(x) -> pair(+(p(x), q(x)), p(x))
p(pair(x, y)) -> x
q(pair(x, y)) -> y
+(x, 0) -> x
+(x, s(y)) -> s(+(x, y))
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
↳FwdInst
→DP Problem 6
↳Forward Instantiation Transformation
G(s(s(x''))) -> G(s(x''))
f(0) -> 0
f(s(0)) -> s(0)
f(s(s(x))) -> p(h(g(x)))
f(s(s(x))) -> +(p(g(x)), q(g(x)))
g(0) -> pair(s(0), s(0))
g(s(x)) -> h(g(x))
g(s(x)) -> pair(+(p(g(x)), q(g(x))), p(g(x)))
h(x) -> pair(+(p(x), q(x)), p(x))
p(pair(x, y)) -> x
q(pair(x, y)) -> y
+(x, 0) -> x
+(x, s(y)) -> s(+(x, y))
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 6
↳FwdInst
...
→DP Problem 7
↳Polynomial Ordering
G(s(s(s(x'''')))) -> G(s(s(x'''')))
f(0) -> 0
f(s(0)) -> s(0)
f(s(s(x))) -> p(h(g(x)))
f(s(s(x))) -> +(p(g(x)), q(g(x)))
g(0) -> pair(s(0), s(0))
g(s(x)) -> h(g(x))
g(s(x)) -> pair(+(p(g(x)), q(g(x))), p(g(x)))
h(x) -> pair(+(p(x), q(x)), p(x))
p(pair(x, y)) -> x
q(pair(x, y)) -> y
+(x, 0) -> x
+(x, s(y)) -> s(+(x, y))
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 6
↳FwdInst
...
→DP Problem 8
↳Dependency Graph
f(0) -> 0
f(s(0)) -> s(0)
f(s(s(x))) -> p(h(g(x)))
f(s(s(x))) -> +(p(g(x)), q(g(x)))
g(0) -> pair(s(0), s(0))
g(s(x)) -> h(g(x))
g(s(x)) -> pair(+(p(g(x)), q(g(x))), p(g(x)))
h(x) -> pair(+(p(x), q(x)), p(x))
p(pair(x, y)) -> x
q(pair(x, y)) -> y
+(x, 0) -> x
+(x, s(y)) -> s(+(x, y))
innermost