R
↳Dependency Pair Analysis
*'(X, +(Y, 1)) -> *'(X, +(Y, *(1, 0)))
*'(X, +(Y, 1)) -> *'(1, 0)
R
↳DPs
→DP Problem 1
↳Narrowing Transformation
*'(X, +(Y, 1)) -> *'(X, +(Y, *(1, 0)))
*(X, +(Y, 1)) -> +(*(X, +(Y, *(1, 0))), X)
*(X, 1) -> X
*(X, 0) -> X
*(X, 0) -> 0
innermost
two new Dependency Pairs are created:
*'(X, +(Y, 1)) -> *'(X, +(Y, *(1, 0)))
*'(X, +(Y, 1)) -> *'(X, +(Y, 1))
*'(X, +(Y, 1)) -> *'(X, +(Y, 0))
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Remaining Obligation(s)
*'(X, +(Y, 1)) -> *'(X, +(Y, 1))
*(X, +(Y, 1)) -> +(*(X, +(Y, *(1, 0))), X)
*(X, 1) -> X
*(X, 0) -> X
*(X, 0) -> 0
innermost