R
↳Dependency Pair Analysis
SUM(s(x)) -> +'(sum(x), s(x))
SUM(s(x)) -> SUM(x)
+'(x, s(y)) -> +'(x, y)
R
↳DPs
→DP Problem 1
↳Forward Instantiation Transformation
→DP Problem 2
↳FwdInst
+'(x, s(y)) -> +'(x, y)
sum(0) -> 0
sum(s(x)) -> +(sum(x), s(x))
+(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''))
sum(0) -> 0
sum(s(x)) -> +(sum(x), s(x))
+(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'''')))
sum(0) -> 0
sum(s(x)) -> +(sum(x), s(x))
+(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
sum(0) -> 0
sum(s(x)) -> +(sum(x), s(x))
+(x, 0) -> x
+(x, s(y)) -> s(+(x, y))
innermost
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Forward Instantiation Transformation
SUM(s(x)) -> SUM(x)
sum(0) -> 0
sum(s(x)) -> +(sum(x), s(x))
+(x, 0) -> x
+(x, s(y)) -> s(+(x, y))
innermost
one new Dependency Pair is created:
SUM(s(x)) -> SUM(x)
SUM(s(s(x''))) -> SUM(s(x''))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳FwdInst
→DP Problem 6
↳Forward Instantiation Transformation
SUM(s(s(x''))) -> SUM(s(x''))
sum(0) -> 0
sum(s(x)) -> +(sum(x), s(x))
+(x, 0) -> x
+(x, s(y)) -> s(+(x, y))
innermost
one new Dependency Pair is created:
SUM(s(s(x''))) -> SUM(s(x''))
SUM(s(s(s(x'''')))) -> SUM(s(s(x'''')))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳FwdInst
→DP Problem 6
↳FwdInst
...
→DP Problem 7
↳Polynomial Ordering
SUM(s(s(s(x'''')))) -> SUM(s(s(x'''')))
sum(0) -> 0
sum(s(x)) -> +(sum(x), s(x))
+(x, 0) -> x
+(x, s(y)) -> s(+(x, y))
innermost
SUM(s(s(s(x'''')))) -> SUM(s(s(x'''')))
POL(SUM(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
sum(0) -> 0
sum(s(x)) -> +(sum(x), s(x))
+(x, 0) -> x
+(x, s(y)) -> s(+(x, y))
innermost