R
↳Dependency Pair Analysis
PLUS(plus(X, Y), Z) -> PLUS(X, plus(Y, Z))
PLUS(plus(X, Y), Z) -> PLUS(Y, Z)
TIMES(X, s(Y)) -> PLUS(X, times(Y, X))
TIMES(X, s(Y)) -> TIMES(Y, X)
R
↳DPs
→DP Problem 1
↳Forward Instantiation Transformation
→DP Problem 2
↳FwdInst
PLUS(plus(X, Y), Z) -> PLUS(Y, Z)
plus(plus(X, Y), Z) -> plus(X, plus(Y, Z))
times(X, s(Y)) -> plus(X, times(Y, X))
innermost
one new Dependency Pair is created:
PLUS(plus(X, Y), Z) -> PLUS(Y, Z)
PLUS(plus(X, plus(X'', Y'')), Z'') -> PLUS(plus(X'', Y''), Z'')
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 3
↳Argument Filtering and Ordering
→DP Problem 2
↳FwdInst
PLUS(plus(X, plus(X'', Y'')), Z'') -> PLUS(plus(X'', Y''), Z'')
plus(plus(X, Y), Z) -> plus(X, plus(Y, Z))
times(X, s(Y)) -> plus(X, times(Y, X))
innermost
PLUS(plus(X, plus(X'', Y'')), Z'') -> PLUS(plus(X'', Y''), Z'')
plus(plus(X, Y), Z) -> plus(X, plus(Y, Z))
POL(PLUS(x1, x2)) = 1 + x1 + x2 POL(plus(x1, x2)) = 1 + x1 + x2
PLUS(x1, x2) -> PLUS(x1, x2)
plus(x1, x2) -> plus(x1, x2)
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 3
↳AFS
...
→DP Problem 4
↳Dependency Graph
→DP Problem 2
↳FwdInst
plus(plus(X, Y), Z) -> plus(X, plus(Y, Z))
times(X, s(Y)) -> plus(X, times(Y, X))
innermost
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Forward Instantiation Transformation
TIMES(X, s(Y)) -> TIMES(Y, X)
plus(plus(X, Y), Z) -> plus(X, plus(Y, Z))
times(X, s(Y)) -> plus(X, times(Y, X))
innermost
one new Dependency Pair is created:
TIMES(X, s(Y)) -> TIMES(Y, X)
TIMES(s(Y''), s(Y0)) -> TIMES(Y0, s(Y''))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳FwdInst
→DP Problem 5
↳Forward Instantiation Transformation
TIMES(s(Y''), s(Y0)) -> TIMES(Y0, s(Y''))
plus(plus(X, Y), Z) -> plus(X, plus(Y, Z))
times(X, s(Y)) -> plus(X, times(Y, X))
innermost
one new Dependency Pair is created:
TIMES(s(Y''), s(Y0)) -> TIMES(Y0, s(Y''))
TIMES(s(Y''''), s(s(Y'''''))) -> TIMES(s(Y'''''), s(Y''''))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳FwdInst
→DP Problem 5
↳FwdInst
...
→DP Problem 6
↳Argument Filtering and Ordering
TIMES(s(Y''''), s(s(Y'''''))) -> TIMES(s(Y'''''), s(Y''''))
plus(plus(X, Y), Z) -> plus(X, plus(Y, Z))
times(X, s(Y)) -> plus(X, times(Y, X))
innermost
TIMES(s(Y''''), s(s(Y'''''))) -> TIMES(s(Y'''''), s(Y''''))
POL(TIMES(x1, x2)) = 1 + x1 + x2 POL(s(x1)) = 1 + x1
TIMES(x1, x2) -> TIMES(x1, x2)
s(x1) -> s(x1)
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳FwdInst
→DP Problem 5
↳FwdInst
...
→DP Problem 7
↳Dependency Graph
plus(plus(X, Y), Z) -> plus(X, plus(Y, Z))
times(X, s(Y)) -> plus(X, times(Y, X))
innermost