R
↳Dependency Pair Analysis
TIMES(x, plus(y, 1)) -> PLUS(times(x, plus(y, times(1, 0))), x)
TIMES(x, plus(y, 1)) -> TIMES(x, plus(y, times(1, 0)))
TIMES(x, plus(y, 1)) -> PLUS(y, times(1, 0))
TIMES(x, plus(y, 1)) -> TIMES(1, 0)
R
↳DPs
→DP Problem 1
↳Rewriting Transformation
TIMES(x, plus(y, 1)) -> TIMES(x, plus(y, times(1, 0)))
times(x, plus(y, 1)) -> plus(times(x, plus(y, times(1, 0))), x)
times(x, 1) -> x
times(x, 0) -> 0
plus(x, 0) -> x
innermost
one new Dependency Pair is created:
TIMES(x, plus(y, 1)) -> TIMES(x, plus(y, times(1, 0)))
TIMES(x, plus(y, 1)) -> TIMES(x, plus(y, 0))
R
↳DPs
→DP Problem 1
↳Rw
→DP Problem 2
↳Rewriting Transformation
TIMES(x, plus(y, 1)) -> TIMES(x, plus(y, 0))
times(x, plus(y, 1)) -> plus(times(x, plus(y, times(1, 0))), x)
times(x, 1) -> x
times(x, 0) -> 0
plus(x, 0) -> x
innermost
one new Dependency Pair is created:
TIMES(x, plus(y, 1)) -> TIMES(x, plus(y, 0))
TIMES(x, plus(y, 1)) -> TIMES(x, y)
R
↳DPs
→DP Problem 1
↳Rw
→DP Problem 2
↳Rw
...
→DP Problem 3
↳Polynomial Ordering
TIMES(x, plus(y, 1)) -> TIMES(x, y)
times(x, plus(y, 1)) -> plus(times(x, plus(y, times(1, 0))), x)
times(x, 1) -> x
times(x, 0) -> 0
plus(x, 0) -> x
innermost
TIMES(x, plus(y, 1)) -> TIMES(x, y)
POL(TIMES(x1, x2)) = x2 POL(plus(x1, x2)) = 1 + x1 POL(1) = 0
R
↳DPs
→DP Problem 1
↳Rw
→DP Problem 2
↳Rw
...
→DP Problem 4
↳Dependency Graph
times(x, plus(y, 1)) -> plus(times(x, plus(y, times(1, 0))), x)
times(x, 1) -> x
times(x, 0) -> 0
plus(x, 0) -> x
innermost