R
↳Dependency Pair Analysis
+'(x, s(y)) -> S(+(x, y))
+'(x, s(y)) -> +'(x, y)
S(+(0, y)) -> S(y)
R
↳DPs
→DP Problem 1
↳Forward Instantiation Transformation
→DP Problem 2
↳FwdInst
S(+(0, y)) -> S(y)
+(x, 0) -> x
+(x, s(y)) -> s(+(x, y))
+(0, s(y)) -> s(y)
s(+(0, y)) -> s(y)
innermost
one new Dependency Pair is created:
S(+(0, y)) -> S(y)
S(+(0, +(0, y''))) -> S(+(0, y''))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 3
↳Argument Filtering and Ordering
→DP Problem 2
↳FwdInst
S(+(0, +(0, y''))) -> S(+(0, y''))
+(x, 0) -> x
+(x, s(y)) -> s(+(x, y))
+(0, s(y)) -> s(y)
s(+(0, y)) -> s(y)
innermost
S(+(0, +(0, y''))) -> S(+(0, y''))
+(x, 0) -> x
+(x, s(y)) -> s(+(x, y))
+(0, s(y)) -> s(y)
s(+(0, y)) -> s(y)
POL(0) = 1 POL(S(x1)) = 1 + x1 POL(s(x1)) = x1 POL(+(x1, x2)) = x1 + x2
S(x1) -> S(x1)
+(x1, x2) -> +(x1, x2)
s(x1) -> s(x1)
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 3
↳AFS
...
→DP Problem 4
↳Dependency Graph
→DP Problem 2
↳FwdInst
+(x, 0) -> x
+(x, s(y)) -> s(+(x, y))
+(0, s(y)) -> s(y)
s(+(0, y)) -> s(y)
innermost
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Forward Instantiation Transformation
+'(x, s(y)) -> +'(x, y)
+(x, 0) -> x
+(x, s(y)) -> s(+(x, y))
+(0, s(y)) -> s(y)
s(+(0, y)) -> s(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 2
↳FwdInst
→DP Problem 5
↳Argument Filtering and Ordering
+'(x'', s(s(y''))) -> +'(x'', s(y''))
+(x, 0) -> x
+(x, s(y)) -> s(+(x, y))
+(0, s(y)) -> s(y)
s(+(0, y)) -> s(y)
innermost
+'(x'', s(s(y''))) -> +'(x'', s(y''))
s(+(0, y)) -> s(y)
POL(0) = 0 POL(s(x1)) = 1 + x1 POL(+(x1, x2)) = x1 + x2 POL(+'(x1, x2)) = 1 + x1 + x2
+'(x1, x2) -> +'(x1, x2)
s(x1) -> s(x1)
+(x1, x2) -> +(x1, x2)
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳FwdInst
→DP Problem 5
↳AFS
...
→DP Problem 6
↳Dependency Graph
+(x, 0) -> x
+(x, s(y)) -> s(+(x, y))
+(0, s(y)) -> s(y)
s(+(0, y)) -> s(y)
innermost