R
↳Dependency Pair Analysis
F(f(a, a), x) -> F(a, f(b, f(a, x)))
F(f(a, a), x) -> F(b, f(a, x))
F(f(a, a), x) -> F(a, x)
F(x, f(y, z)) -> F(f(x, y), z)
F(x, f(y, z)) -> F(x, y)
R
↳DPs
→DP Problem 1
↳Modular Removal of Rules
F(f(a, a), x) -> F(a, x)
F(x, f(y, z)) -> F(x, y)
F(f(a, a), x) -> F(b, f(a, x))
F(x, f(y, z)) -> F(f(x, y), z)
F(f(a, a), x) -> F(a, f(b, f(a, x)))
f(f(a, a), x) -> f(a, f(b, f(a, x)))
f(x, f(y, z)) -> f(f(x, y), z)
innermost
To remove rules and DPs from this DP problem we used the following monotonic and CE-compatible order: Polynomial ordering.
f(f(a, a), x) -> f(a, f(b, f(a, x)))
f(x, f(y, z)) -> f(f(x, y), z)
POL(b) = 0 POL(a) = 1 POL(F(x1, x2)) = 1 + x1 + x2 POL(f(x1, x2)) = x1 + x2
F(f(a, a), x) -> F(a, x)
F(f(a, a), x) -> F(b, f(a, x))
R
↳DPs
→DP Problem 1
↳MRR
→DP Problem 2
↳Narrowing Transformation
F(x, f(y, z)) -> F(x, y)
F(x, f(y, z)) -> F(f(x, y), z)
F(f(a, a), x) -> F(a, f(b, f(a, x)))
f(f(a, a), x) -> f(a, f(b, f(a, x)))
f(x, f(y, z)) -> f(f(x, y), z)
innermost
two new Dependency Pairs are created:
F(f(a, a), x) -> F(a, f(b, f(a, x)))
F(f(a, a), x'') -> F(a, f(f(b, a), x''))
F(f(a, a), f(y', z')) -> F(a, f(b, f(f(a, y'), z')))
R
↳DPs
→DP Problem 1
↳MRR
→DP Problem 2
↳Nar
...
→DP Problem 3
↳Semantic Labelling
F(f(a, a), f(y', z')) -> F(a, f(b, f(f(a, y'), z')))
F(f(a, a), x'') -> F(a, f(f(b, a), x''))
F(x, f(y, z)) -> F(f(x, y), z)
F(x, f(y, z)) -> F(x, y)
f(f(a, a), x) -> f(a, f(b, f(a, x)))
f(x, f(y, z)) -> f(f(x, y), z)
innermost
F(x0, x1) = 1 f(x0, x1) = 1 a = 0 b = 1
R
↳DPs
→DP Problem 1
↳MRR
→DP Problem 2
↳Nar
...
→DP Problem 4
↳Modular Removal of Rules
F11(x, f11(y, z)) -> F11(x, y)
F11(x, f10(y, z)) -> F11(x, y)
f10(f00(a, a), x) -> f01(a, f11(b, f00(a, x)))
f01(x, f00(y, z)) -> f10(f00(x, y), z)
f01(x, f01(y, z)) -> f11(f00(x, y), z)
f01(x, f10(y, z)) -> f10(f01(x, y), z)
f01(x, f11(y, z)) -> f11(f01(x, y), z)
f11(f00(a, a), x) -> f01(a, f11(b, f01(a, x)))
f11(x, f00(y, z)) -> f10(f10(x, y), z)
f11(x, f01(y, z)) -> f11(f10(x, y), z)
f11(x, f10(y, z)) -> f10(f11(x, y), z)
f11(x, f11(y, z)) -> f11(f11(x, y), z)
innermost
POL(f_11(x1, x2)) = x1 + x2 POL(F_11(x1, x2)) = x1 + x2 POL(f_10(x1, x2)) = x1 + x2
F11(x, f11(y, z)) -> F11(x, y)
F11(x, f10(y, z)) -> F11(x, y)
R
↳DPs
→DP Problem 1
↳MRR
→DP Problem 2
↳Nar
...
→DP Problem 5
↳Unlabel
F01(x, f11(y, z)) -> F01(x, y)
F10(f00(a, a), x'') -> F01(a, f10(f10(b, a), x''))
F01(x, f00(y, z)) -> F10(f00(x, y), z)
F01(x, f10(y, z)) -> F01(x, y)
F11(f00(a, a), x'') -> F01(a, f11(f10(b, a), x''))
F01(x, f01(y, z)) -> F11(f00(x, y), z)
f10(f00(a, a), x) -> f01(a, f11(b, f00(a, x)))
f01(x, f00(y, z)) -> f10(f00(x, y), z)
f01(x, f01(y, z)) -> f11(f00(x, y), z)
f01(x, f10(y, z)) -> f10(f01(x, y), z)
f01(x, f11(y, z)) -> f11(f01(x, y), z)
f11(f00(a, a), x) -> f01(a, f11(b, f01(a, x)))
f11(x, f00(y, z)) -> f10(f10(x, y), z)
f11(x, f01(y, z)) -> f11(f10(x, y), z)
f11(x, f10(y, z)) -> f10(f11(x, y), z)
f11(x, f11(y, z)) -> f11(f11(x, y), z)
innermost
R
↳DPs
→DP Problem 1
↳MRR
→DP Problem 2
↳Nar
...
→DP Problem 6
↳Semantic Labelling
F(x, f(y, z)) -> F(f(x, y), z)
F(f(a, a), x'') -> F(a, f(f(b, a), x''))
F(x, f(y, z)) -> F(x, y)
f(f(a, a), x) -> f(a, f(b, f(a, x)))
f(x, f(y, z)) -> f(f(x, y), z)
innermost
f(x0, x1) = x0 a = 1 b = 0 F(x0, x1) = 1 + x0
R
↳DPs
→DP Problem 1
↳MRR
→DP Problem 2
↳Nar
...
→DP Problem 7
↳Modular Removal of Rules
F00(x, f01(y, z)) -> F00(x, y)
F00(x, f00(y, z)) -> F00(x, y)
f10(f11(a, a), x) -> f10(a, f01(b, f10(a, x)))
f10(x, f00(y, z)) -> f10(f10(x, y), z)
f10(x, f01(y, z)) -> f11(f10(x, y), z)
f11(f11(a, a), x) -> f10(a, f01(b, f11(a, x)))
f11(x, f10(y, z)) -> f10(f11(x, y), z)
f11(x, f11(y, z)) -> f11(f11(x, y), z)
f01(x, f10(y, z)) -> f00(f01(x, y), z)
f01(x, f11(y, z)) -> f01(f01(x, y), z)
f00(x, f00(y, z)) -> f00(f00(x, y), z)
f00(x, f01(y, z)) -> f01(f00(x, y), z)
innermost
POL(F_00(x1, x2)) = x1 + x2 POL(f_00(x1, x2)) = x1 + x2 POL(f_01(x1, x2)) = x1 + x2
F00(x, f01(y, z)) -> F00(x, y)
F00(x, f00(y, z)) -> F00(x, y)
R
↳DPs
→DP Problem 1
↳MRR
→DP Problem 2
↳Nar
...
→DP Problem 8
↳Modular Removal of Rules
F01(x, f11(y, z)) -> F01(x, y)
F01(x, f10(y, z)) -> F01(x, y)
f10(f11(a, a), x) -> f10(a, f01(b, f10(a, x)))
f10(x, f00(y, z)) -> f10(f10(x, y), z)
f10(x, f01(y, z)) -> f11(f10(x, y), z)
f11(f11(a, a), x) -> f10(a, f01(b, f11(a, x)))
f11(x, f10(y, z)) -> f10(f11(x, y), z)
f11(x, f11(y, z)) -> f11(f11(x, y), z)
f01(x, f10(y, z)) -> f00(f01(x, y), z)
f01(x, f11(y, z)) -> f01(f01(x, y), z)
f00(x, f00(y, z)) -> f00(f00(x, y), z)
f00(x, f01(y, z)) -> f01(f00(x, y), z)
innermost
POL(f_11(x1, x2)) = x1 + x2 POL(f_10(x1, x2)) = x1 + x2 POL(F_01(x1, x2)) = x1 + x2
F01(x, f11(y, z)) -> F01(x, y)
F01(x, f10(y, z)) -> F01(x, y)
R
↳DPs
→DP Problem 1
↳MRR
→DP Problem 2
↳Nar
...
→DP Problem 9
↳Modular Removal of Rules
F11(x, f11(y, z)) -> F11(x, y)
F11(x, f10(y, z)) -> F11(x, y)
f10(f11(a, a), x) -> f10(a, f01(b, f10(a, x)))
f10(x, f00(y, z)) -> f10(f10(x, y), z)
f10(x, f01(y, z)) -> f11(f10(x, y), z)
f11(f11(a, a), x) -> f10(a, f01(b, f11(a, x)))
f11(x, f10(y, z)) -> f10(f11(x, y), z)
f11(x, f11(y, z)) -> f11(f11(x, y), z)
f01(x, f10(y, z)) -> f00(f01(x, y), z)
f01(x, f11(y, z)) -> f01(f01(x, y), z)
f00(x, f00(y, z)) -> f00(f00(x, y), z)
f00(x, f01(y, z)) -> f01(f00(x, y), z)
innermost
POL(f_11(x1, x2)) = x1 + x2 POL(F_11(x1, x2)) = x1 + x2 POL(f_10(x1, x2)) = x1 + x2
F11(x, f11(y, z)) -> F11(x, y)
F11(x, f10(y, z)) -> F11(x, y)
R
↳DPs
→DP Problem 1
↳MRR
→DP Problem 2
↳Nar
...
→DP Problem 10
↳Modular Removal of Rules
F10(x, f01(y, z)) -> F10(x, y)
F10(x, f00(y, z)) -> F10(x, y)
F10(f11(a, a), x'') -> F10(a, f00(f01(b, a), x''))
f10(f11(a, a), x) -> f10(a, f01(b, f10(a, x)))
f10(x, f00(y, z)) -> f10(f10(x, y), z)
f10(x, f01(y, z)) -> f11(f10(x, y), z)
f11(f11(a, a), x) -> f10(a, f01(b, f11(a, x)))
f11(x, f10(y, z)) -> f10(f11(x, y), z)
f11(x, f11(y, z)) -> f11(f11(x, y), z)
f01(x, f10(y, z)) -> f00(f01(x, y), z)
f01(x, f11(y, z)) -> f01(f01(x, y), z)
f00(x, f00(y, z)) -> f00(f00(x, y), z)
f00(x, f01(y, z)) -> f01(f00(x, y), z)
innermost
To remove rules and DPs from this DP problem we used the following monotonic and CE-compatible order: Polynomial ordering.
f01(x, f10(y, z)) -> f00(f01(x, y), z)
f01(x, f11(y, z)) -> f01(f01(x, y), z)
f00(x, f01(y, z)) -> f01(f00(x, y), z)
f00(x, f00(y, z)) -> f00(f00(x, y), z)
POL(f_11(x1, x2)) = x1 + x2 POL(f_00(x1, x2)) = x1 + x2 POL(b) = 0 POL(f_10(x1, x2)) = x1 + x2 POL(f_01(x1, x2)) = x1 + x2 POL(F_10(x1, x2)) = 1 + x1 + x2 POL(a) = 0
F10(f11(a, a), x'') -> F10(a, f00(f01(b, a), x''))
6 non usable rules have been deleted.
f01(x, f10(y, z)) -> f00(f01(x, y), z)
f01(x, f11(y, z)) -> f01(f01(x, y), z)
R
↳DPs
→DP Problem 1
↳MRR
→DP Problem 2
↳Nar
...
→DP Problem 11
↳Modular Removal of Rules
F10(x, f00(y, z)) -> F10(x, y)
F10(x, f01(y, z)) -> F10(x, y)
f00(x, f01(y, z)) -> f01(f00(x, y), z)
f00(x, f00(y, z)) -> f00(f00(x, y), z)
innermost
POL(f_00(x1, x2)) = x1 + x2 POL(f_01(x1, x2)) = x1 + x2 POL(F_10(x1, x2)) = x1 + x2
F10(x, f00(y, z)) -> F10(x, y)
F10(x, f01(y, z)) -> F10(x, y)
Innermost Termination of R successfully shown.
Duration:
0:31 minutes