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