R
↳Dependency Pair Analysis
+'(a, b) -> +'(b, a)
+'(a, +(b, z)) -> +'(b, +(a, z))
+'(a, +(b, z)) -> +'(a, z)
+'(+(x, y), z) -> +'(x, +(y, z))
+'(+(x, y), z) -> +'(y, z)
F(+(x, y), z) -> +'(f(x, z), f(y, z))
F(+(x, y), z) -> F(x, z)
F(+(x, y), z) -> F(y, z)
R
↳DPs
→DP Problem 1
↳Forward Instantiation Transformation
→DP Problem 2
↳FwdInst
→DP Problem 3
↳FwdInst
+'(a, +(b, z)) -> +'(a, z)
+(a, b) -> +(b, a)
+(a, +(b, z)) -> +(b, +(a, z))
+(+(x, y), z) -> +(x, +(y, z))
f(a, y) -> a
f(b, y) -> b
f(+(x, y), z) -> +(f(x, z), f(y, z))
innermost
one new Dependency Pair is created:
+'(a, +(b, z)) -> +'(a, z)
+'(a, +(b, +(b, z''))) -> +'(a, +(b, z''))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 4
↳Argument Filtering and Ordering
→DP Problem 2
↳FwdInst
→DP Problem 3
↳FwdInst
+'(a, +(b, +(b, z''))) -> +'(a, +(b, z''))
+(a, b) -> +(b, a)
+(a, +(b, z)) -> +(b, +(a, z))
+(+(x, y), z) -> +(x, +(y, z))
f(a, y) -> a
f(b, y) -> b
f(+(x, y), z) -> +(f(x, z), f(y, z))
innermost
+'(a, +(b, +(b, z''))) -> +'(a, +(b, z''))
+(a, b) -> +(b, a)
+(a, +(b, z)) -> +(b, +(a, z))
+(+(x, y), z) -> +(x, +(y, z))
POL(b) = 0 POL(a) = 0 POL(+(x1, x2)) = 1 + x1 + x2 POL(+'(x1, x2)) = 1 + x1 + x2
+'(x1, x2) -> +'(x1, x2)
+(x1, x2) -> +(x1, x2)
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 4
↳AFS
...
→DP Problem 5
↳Dependency Graph
→DP Problem 2
↳FwdInst
→DP Problem 3
↳FwdInst
+(a, b) -> +(b, a)
+(a, +(b, z)) -> +(b, +(a, z))
+(+(x, y), z) -> +(x, +(y, z))
f(a, y) -> a
f(b, y) -> b
f(+(x, y), z) -> +(f(x, z), f(y, z))
innermost
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Forward Instantiation Transformation
→DP Problem 3
↳FwdInst
+'(+(x, y), z) -> +'(y, z)
+(a, b) -> +(b, a)
+(a, +(b, z)) -> +(b, +(a, z))
+(+(x, y), z) -> +(x, +(y, z))
f(a, y) -> a
f(b, y) -> b
f(+(x, y), z) -> +(f(x, z), f(y, z))
innermost
one new Dependency Pair is created:
+'(+(x, y), z) -> +'(y, z)
+'(+(x, +(x'', y'')), z'') -> +'(+(x'', y''), z'')
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳FwdInst
→DP Problem 6
↳Argument Filtering and Ordering
→DP Problem 3
↳FwdInst
+'(+(x, +(x'', y'')), z'') -> +'(+(x'', y''), z'')
+(a, b) -> +(b, a)
+(a, +(b, z)) -> +(b, +(a, z))
+(+(x, y), z) -> +(x, +(y, z))
f(a, y) -> a
f(b, y) -> b
f(+(x, y), z) -> +(f(x, z), f(y, z))
innermost
+'(+(x, +(x'', y'')), z'') -> +'(+(x'', y''), z'')
+(a, b) -> +(b, a)
+(a, +(b, z)) -> +(b, +(a, z))
+(+(x, y), z) -> +(x, +(y, z))
POL(b) = 0 POL(a) = 0 POL(+(x1, x2)) = 1 + x1 + x2 POL(+'(x1, x2)) = 1 + x1 + x2
+'(x1, x2) -> +'(x1, x2)
+(x1, x2) -> +(x1, x2)
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳FwdInst
→DP Problem 6
↳AFS
...
→DP Problem 7
↳Dependency Graph
→DP Problem 3
↳FwdInst
+(a, b) -> +(b, a)
+(a, +(b, z)) -> +(b, +(a, z))
+(+(x, y), z) -> +(x, +(y, z))
f(a, y) -> a
f(b, y) -> b
f(+(x, y), z) -> +(f(x, z), f(y, z))
innermost
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳FwdInst
→DP Problem 3
↳Forward Instantiation Transformation
F(+(x, y), z) -> F(y, z)
+(a, b) -> +(b, a)
+(a, +(b, z)) -> +(b, +(a, z))
+(+(x, y), z) -> +(x, +(y, z))
f(a, y) -> a
f(b, y) -> b
f(+(x, y), z) -> +(f(x, z), f(y, z))
innermost
one new Dependency Pair is created:
F(+(x, y), z) -> F(y, z)
F(+(x, +(x'', y'')), z'') -> F(+(x'', y''), z'')
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳FwdInst
→DP Problem 3
↳FwdInst
→DP Problem 8
↳Argument Filtering and Ordering
F(+(x, +(x'', y'')), z'') -> F(+(x'', y''), z'')
+(a, b) -> +(b, a)
+(a, +(b, z)) -> +(b, +(a, z))
+(+(x, y), z) -> +(x, +(y, z))
f(a, y) -> a
f(b, y) -> b
f(+(x, y), z) -> +(f(x, z), f(y, z))
innermost
F(+(x, +(x'', y'')), z'') -> F(+(x'', y''), z'')
+(a, b) -> +(b, a)
+(a, +(b, z)) -> +(b, +(a, z))
+(+(x, y), z) -> +(x, +(y, z))
POL(b) = 0 POL(a) = 0 POL(F(x1, x2)) = 1 + x1 + x2 POL(+(x1, x2)) = 1 + x1 + x2
F(x1, x2) -> F(x1, x2)
+(x1, x2) -> +(x1, x2)
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳FwdInst
→DP Problem 3
↳FwdInst
→DP Problem 8
↳AFS
...
→DP Problem 9
↳Dependency Graph
+(a, b) -> +(b, a)
+(a, +(b, z)) -> +(b, +(a, z))
+(+(x, y), z) -> +(x, +(y, z))
f(a, y) -> a
f(b, y) -> b
f(+(x, y), z) -> +(f(x, z), f(y, z))
innermost