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