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
↳Polynomial Ordering
→DP Problem 2
↳FwdInst
PLUS(plus(X, Y), Z) -> PLUS(Y, Z)
PLUS(plus(X, Y), Z) -> PLUS(X, plus(Y, Z))
plus(plus(X, Y), Z) -> plus(X, plus(Y, Z))
times(X, s(Y)) -> plus(X, times(Y, X))
PLUS(plus(X, Y), Z) -> PLUS(Y, Z)
PLUS(plus(X, Y), Z) -> PLUS(X, plus(Y, Z))
POL(plus(x1, x2)) = 1 + x1 + x2 POL(PLUS(x1, x2)) = x1
R
↳DPs
→DP Problem 1
↳Polo
→DP Problem 3
↳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))
R
↳DPs
→DP Problem 1
↳Polo
→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))
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
↳Polo
→DP Problem 2
↳FwdInst
→DP Problem 4
↳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))
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
↳Polo
→DP Problem 2
↳FwdInst
→DP Problem 4
↳FwdInst
...
→DP Problem 5
↳Polynomial 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))
TIMES(s(Y''''), s(s(Y'''''))) -> TIMES(s(Y'''''), s(Y''''))
POL(TIMES(x1, x2)) = 1 + x1 + x2 POL(s(x1)) = 1 + x1
R
↳DPs
→DP Problem 1
↳Polo
→DP Problem 2
↳FwdInst
→DP Problem 4
↳FwdInst
...
→DP Problem 6
↳Dependency Graph
plus(plus(X, Y), Z) -> plus(X, plus(Y, Z))
times(X, s(Y)) -> plus(X, times(Y, X))