Certification Problem
Input (TPDB SRS_Standard/Zantema_06/abc)
The rewrite relation of the following TRS is considered.
a(b(c(x1))) |
→ |
c(c(b(b(a(a(x1)))))) |
(1) |
a(x1) |
→ |
x1 |
(2) |
b(x1) |
→ |
x1 |
(3) |
c(x1) |
→ |
x1 |
(4) |
Property / Task
Prove or disprove termination.Answer / Result
Yes.Proof (by matchbox @ termCOMP 2023)
1 Closure Under Flat Contexts
Using the flat contexts
{c(☐), b(☐), a(☐)}
We obtain the transformed TRS
c(a(b(c(x1)))) |
→ |
c(c(c(b(b(a(a(x1))))))) |
(5) |
c(a(x1)) |
→ |
c(x1) |
(6) |
c(b(x1)) |
→ |
c(x1) |
(7) |
c(c(x1)) |
→ |
c(x1) |
(8) |
b(a(b(c(x1)))) |
→ |
b(c(c(b(b(a(a(x1))))))) |
(9) |
b(a(x1)) |
→ |
b(x1) |
(10) |
b(b(x1)) |
→ |
b(x1) |
(11) |
b(c(x1)) |
→ |
b(x1) |
(12) |
a(a(b(c(x1)))) |
→ |
a(c(c(b(b(a(a(x1))))))) |
(13) |
a(a(x1)) |
→ |
a(x1) |
(14) |
a(b(x1)) |
→ |
a(x1) |
(15) |
a(c(x1)) |
→ |
a(x1) |
(16) |
1.1 Semantic Labeling
The following interpretations form a
model
of the rules.
As carrier we take the set
{0,1,2}.
Symbols are labeled by the interpretation of their arguments using the interpretations
(modulo 3):
[c(x1)] |
= |
3x1 + 0 |
[b(x1)] |
= |
3x1 + 1 |
[a(x1)] |
= |
3x1 + 2 |
We obtain the labeled TRS
a2(a1(b0(c2(x1)))) |
→ |
a0(c0(c1(b1(b2(a2(a2(x1))))))) |
(17) |
a2(a1(b0(c1(x1)))) |
→ |
a0(c0(c1(b1(b2(a2(a1(x1))))))) |
(18) |
a2(a1(b0(c0(x1)))) |
→ |
a0(c0(c1(b1(b2(a2(a0(x1))))))) |
(19) |
b2(a1(b0(c2(x1)))) |
→ |
b0(c0(c1(b1(b2(a2(a2(x1))))))) |
(20) |
b2(a1(b0(c1(x1)))) |
→ |
b0(c0(c1(b1(b2(a2(a1(x1))))))) |
(21) |
b2(a1(b0(c0(x1)))) |
→ |
b0(c0(c1(b1(b2(a2(a0(x1))))))) |
(22) |
c2(a1(b0(c2(x1)))) |
→ |
c0(c0(c1(b1(b2(a2(a2(x1))))))) |
(23) |
c2(a1(b0(c1(x1)))) |
→ |
c0(c0(c1(b1(b2(a2(a1(x1))))))) |
(24) |
c2(a1(b0(c0(x1)))) |
→ |
c0(c0(c1(b1(b2(a2(a0(x1))))))) |
(25) |
a2(a2(x1)) |
→ |
a2(x1) |
(26) |
a2(a1(x1)) |
→ |
a1(x1) |
(27) |
a2(a0(x1)) |
→ |
a0(x1) |
(28) |
b2(a2(x1)) |
→ |
b2(x1) |
(29) |
b2(a1(x1)) |
→ |
b1(x1) |
(30) |
b2(a0(x1)) |
→ |
b0(x1) |
(31) |
c2(a2(x1)) |
→ |
c2(x1) |
(32) |
c2(a1(x1)) |
→ |
c1(x1) |
(33) |
c2(a0(x1)) |
→ |
c0(x1) |
(34) |
a1(b2(x1)) |
→ |
a2(x1) |
(35) |
a1(b1(x1)) |
→ |
a1(x1) |
(36) |
a1(b0(x1)) |
→ |
a0(x1) |
(37) |
b1(b2(x1)) |
→ |
b2(x1) |
(38) |
b1(b1(x1)) |
→ |
b1(x1) |
(39) |
b1(b0(x1)) |
→ |
b0(x1) |
(40) |
c1(b2(x1)) |
→ |
c2(x1) |
(41) |
c1(b1(x1)) |
→ |
c1(x1) |
(42) |
c1(b0(x1)) |
→ |
c0(x1) |
(43) |
a0(c2(x1)) |
→ |
a2(x1) |
(44) |
a0(c1(x1)) |
→ |
a1(x1) |
(45) |
a0(c0(x1)) |
→ |
a0(x1) |
(46) |
b0(c2(x1)) |
→ |
b2(x1) |
(47) |
b0(c1(x1)) |
→ |
b1(x1) |
(48) |
b0(c0(x1)) |
→ |
b0(x1) |
(49) |
c0(c2(x1)) |
→ |
c2(x1) |
(50) |
c0(c1(x1)) |
→ |
c1(x1) |
(51) |
c0(c0(x1)) |
→ |
c0(x1) |
(52) |
1.1.1 Rule Removal
Using the
matrix interpretations of dimension 1 with strict dimension 1 over the rationals with delta = 1
[c0(x1)] |
= |
x1 +
|
[c1(x1)] |
= |
x1 +
|
[c2(x1)] |
= |
x1 +
|
[b0(x1)] |
= |
x1 +
|
[b1(x1)] |
= |
x1 +
|
[b2(x1)] |
= |
x1 +
|
[a0(x1)] |
= |
x1 +
|
[a1(x1)] |
= |
x1 +
|
[a2(x1)] |
= |
x1 +
|
all of the following rules can be deleted.
a2(a1(b0(c2(x1)))) |
→ |
a0(c0(c1(b1(b2(a2(a2(x1))))))) |
(17) |
b2(a1(b0(c2(x1)))) |
→ |
b0(c0(c1(b1(b2(a2(a2(x1))))))) |
(20) |
c2(a1(b0(c2(x1)))) |
→ |
c0(c0(c1(b1(b2(a2(a2(x1))))))) |
(23) |
c2(a1(b0(c1(x1)))) |
→ |
c0(c0(c1(b1(b2(a2(a1(x1))))))) |
(24) |
c2(a1(b0(c0(x1)))) |
→ |
c0(c0(c1(b1(b2(a2(a0(x1))))))) |
(25) |
b2(a1(x1)) |
→ |
b1(x1) |
(30) |
c2(a1(x1)) |
→ |
c1(x1) |
(33) |
c2(a0(x1)) |
→ |
c0(x1) |
(34) |
a1(b2(x1)) |
→ |
a2(x1) |
(35) |
a1(b0(x1)) |
→ |
a0(x1) |
(37) |
c1(b2(x1)) |
→ |
c2(x1) |
(41) |
c1(b0(x1)) |
→ |
c0(x1) |
(43) |
a0(c2(x1)) |
→ |
a2(x1) |
(44) |
b0(c2(x1)) |
→ |
b2(x1) |
(47) |
b0(c1(x1)) |
→ |
b1(x1) |
(48) |
1.1.1.1 Dependency Pair Transformation
The following set of initial dependency pairs has been identified.
c1#(b1(x1)) |
→ |
c1#(x1) |
(53) |
c2#(a2(x1)) |
→ |
c2#(x1) |
(54) |
b0#(c0(x1)) |
→ |
b0#(x1) |
(55) |
b2#(a0(x1)) |
→ |
b0#(x1) |
(56) |
b2#(a1(b0(c0(x1)))) |
→ |
c0#(c1(b1(b2(a2(a0(x1)))))) |
(57) |
b2#(a1(b0(c0(x1)))) |
→ |
c1#(b1(b2(a2(a0(x1))))) |
(58) |
b2#(a1(b0(c0(x1)))) |
→ |
b0#(c0(c1(b1(b2(a2(a0(x1))))))) |
(59) |
b2#(a1(b0(c0(x1)))) |
→ |
b1#(b2(a2(a0(x1)))) |
(60) |
b2#(a1(b0(c0(x1)))) |
→ |
b2#(a2(a0(x1))) |
(61) |
b2#(a1(b0(c0(x1)))) |
→ |
a0#(x1) |
(62) |
b2#(a1(b0(c0(x1)))) |
→ |
a2#(a0(x1)) |
(63) |
b2#(a1(b0(c1(x1)))) |
→ |
c0#(c1(b1(b2(a2(a1(x1)))))) |
(64) |
b2#(a1(b0(c1(x1)))) |
→ |
c1#(b1(b2(a2(a1(x1))))) |
(65) |
b2#(a1(b0(c1(x1)))) |
→ |
b0#(c0(c1(b1(b2(a2(a1(x1))))))) |
(66) |
b2#(a1(b0(c1(x1)))) |
→ |
b1#(b2(a2(a1(x1)))) |
(67) |
b2#(a1(b0(c1(x1)))) |
→ |
b2#(a2(a1(x1))) |
(68) |
b2#(a1(b0(c1(x1)))) |
→ |
a1#(x1) |
(69) |
b2#(a1(b0(c1(x1)))) |
→ |
a2#(a1(x1)) |
(70) |
b2#(a2(x1)) |
→ |
b2#(x1) |
(71) |
a0#(c0(x1)) |
→ |
a0#(x1) |
(72) |
a0#(c1(x1)) |
→ |
a1#(x1) |
(73) |
a1#(b1(x1)) |
→ |
a1#(x1) |
(74) |
a2#(a1(b0(c0(x1)))) |
→ |
c0#(c1(b1(b2(a2(a0(x1)))))) |
(75) |
a2#(a1(b0(c0(x1)))) |
→ |
c1#(b1(b2(a2(a0(x1))))) |
(76) |
a2#(a1(b0(c0(x1)))) |
→ |
b1#(b2(a2(a0(x1)))) |
(77) |
a2#(a1(b0(c0(x1)))) |
→ |
b2#(a2(a0(x1))) |
(78) |
a2#(a1(b0(c0(x1)))) |
→ |
a0#(x1) |
(79) |
a2#(a1(b0(c0(x1)))) |
→ |
a0#(c0(c1(b1(b2(a2(a0(x1))))))) |
(80) |
a2#(a1(b0(c0(x1)))) |
→ |
a2#(a0(x1)) |
(81) |
a2#(a1(b0(c1(x1)))) |
→ |
c0#(c1(b1(b2(a2(a1(x1)))))) |
(82) |
a2#(a1(b0(c1(x1)))) |
→ |
c1#(b1(b2(a2(a1(x1))))) |
(83) |
a2#(a1(b0(c1(x1)))) |
→ |
b1#(b2(a2(a1(x1)))) |
(84) |
a2#(a1(b0(c1(x1)))) |
→ |
b2#(a2(a1(x1))) |
(85) |
a2#(a1(b0(c1(x1)))) |
→ |
a0#(c0(c1(b1(b2(a2(a1(x1))))))) |
(86) |
a2#(a1(b0(c1(x1)))) |
→ |
a1#(x1) |
(87) |
a2#(a1(b0(c1(x1)))) |
→ |
a2#(a1(x1)) |
(88) |
1.1.1.1.1 Monotonic Reduction Pair Processor with Usable Rules
Using the matrix interpretations of dimension 1 with strict dimension 1 over the rationals with delta = 1
[c0(x1)] |
= |
x1 +
|
[c1(x1)] |
= |
x1 +
|
[c2(x1)] |
= |
x1 +
|
[b0(x1)] |
= |
x1 +
|
[b1(x1)] |
= |
x1 +
|
[b2(x1)] |
= |
x1 +
|
[a0(x1)] |
= |
x1 +
|
[a1(x1)] |
= |
x1 +
|
[a2(x1)] |
= |
x1 +
|
[c0#(x1)] |
= |
x1 +
|
[c1#(x1)] |
= |
x1 +
|
[c2#(x1)] |
= |
x1 +
|
[b0#(x1)] |
= |
x1 +
|
[b1#(x1)] |
= |
x1 +
|
[b2#(x1)] |
= |
x1 +
|
[a0#(x1)] |
= |
x1 +
|
[a1#(x1)] |
= |
x1 +
|
[a2#(x1)] |
= |
x1 +
|
together with the usable
rules
a2(a1(b0(c1(x1)))) |
→ |
a0(c0(c1(b1(b2(a2(a1(x1))))))) |
(18) |
a2(a1(b0(c0(x1)))) |
→ |
a0(c0(c1(b1(b2(a2(a0(x1))))))) |
(19) |
b2(a1(b0(c1(x1)))) |
→ |
b0(c0(c1(b1(b2(a2(a1(x1))))))) |
(21) |
b2(a1(b0(c0(x1)))) |
→ |
b0(c0(c1(b1(b2(a2(a0(x1))))))) |
(22) |
a2(a2(x1)) |
→ |
a2(x1) |
(26) |
a2(a1(x1)) |
→ |
a1(x1) |
(27) |
a2(a0(x1)) |
→ |
a0(x1) |
(28) |
b2(a2(x1)) |
→ |
b2(x1) |
(29) |
b2(a0(x1)) |
→ |
b0(x1) |
(31) |
c2(a2(x1)) |
→ |
c2(x1) |
(32) |
a1(b1(x1)) |
→ |
a1(x1) |
(36) |
b1(b2(x1)) |
→ |
b2(x1) |
(38) |
b1(b1(x1)) |
→ |
b1(x1) |
(39) |
b1(b0(x1)) |
→ |
b0(x1) |
(40) |
c1(b1(x1)) |
→ |
c1(x1) |
(42) |
a0(c1(x1)) |
→ |
a1(x1) |
(45) |
a0(c0(x1)) |
→ |
a0(x1) |
(46) |
b0(c0(x1)) |
→ |
b0(x1) |
(49) |
c0(c2(x1)) |
→ |
c2(x1) |
(50) |
c0(c1(x1)) |
→ |
c1(x1) |
(51) |
c0(c0(x1)) |
→ |
c0(x1) |
(52) |
(w.r.t. the implicit argument filter of the reduction pair),
the
pairs
b2#(a0(x1)) |
→ |
b0#(x1) |
(56) |
b2#(a1(b0(c0(x1)))) |
→ |
c0#(c1(b1(b2(a2(a0(x1)))))) |
(57) |
b2#(a1(b0(c0(x1)))) |
→ |
c1#(b1(b2(a2(a0(x1))))) |
(58) |
b2#(a1(b0(c0(x1)))) |
→ |
b0#(c0(c1(b1(b2(a2(a0(x1))))))) |
(59) |
b2#(a1(b0(c0(x1)))) |
→ |
b1#(b2(a2(a0(x1)))) |
(60) |
b2#(a1(b0(c0(x1)))) |
→ |
b2#(a2(a0(x1))) |
(61) |
b2#(a1(b0(c0(x1)))) |
→ |
a0#(x1) |
(62) |
b2#(a1(b0(c0(x1)))) |
→ |
a2#(a0(x1)) |
(63) |
b2#(a1(b0(c1(x1)))) |
→ |
c0#(c1(b1(b2(a2(a1(x1)))))) |
(64) |
b2#(a1(b0(c1(x1)))) |
→ |
c1#(b1(b2(a2(a1(x1))))) |
(65) |
b2#(a1(b0(c1(x1)))) |
→ |
b0#(c0(c1(b1(b2(a2(a1(x1))))))) |
(66) |
b2#(a1(b0(c1(x1)))) |
→ |
b1#(b2(a2(a1(x1)))) |
(67) |
b2#(a1(b0(c1(x1)))) |
→ |
b2#(a2(a1(x1))) |
(68) |
b2#(a1(b0(c1(x1)))) |
→ |
a1#(x1) |
(69) |
b2#(a1(b0(c1(x1)))) |
→ |
a2#(a1(x1)) |
(70) |
a0#(c1(x1)) |
→ |
a1#(x1) |
(73) |
a2#(a1(b0(c0(x1)))) |
→ |
c0#(c1(b1(b2(a2(a0(x1)))))) |
(75) |
a2#(a1(b0(c0(x1)))) |
→ |
c1#(b1(b2(a2(a0(x1))))) |
(76) |
a2#(a1(b0(c0(x1)))) |
→ |
b1#(b2(a2(a0(x1)))) |
(77) |
a2#(a1(b0(c0(x1)))) |
→ |
b2#(a2(a0(x1))) |
(78) |
a2#(a1(b0(c0(x1)))) |
→ |
a0#(x1) |
(79) |
a2#(a1(b0(c0(x1)))) |
→ |
a0#(c0(c1(b1(b2(a2(a0(x1))))))) |
(80) |
a2#(a1(b0(c0(x1)))) |
→ |
a2#(a0(x1)) |
(81) |
a2#(a1(b0(c1(x1)))) |
→ |
c0#(c1(b1(b2(a2(a1(x1)))))) |
(82) |
a2#(a1(b0(c1(x1)))) |
→ |
c1#(b1(b2(a2(a1(x1))))) |
(83) |
a2#(a1(b0(c1(x1)))) |
→ |
b1#(b2(a2(a1(x1)))) |
(84) |
a2#(a1(b0(c1(x1)))) |
→ |
b2#(a2(a1(x1))) |
(85) |
a2#(a1(b0(c1(x1)))) |
→ |
a0#(c0(c1(b1(b2(a2(a1(x1))))))) |
(86) |
a2#(a1(b0(c1(x1)))) |
→ |
a1#(x1) |
(87) |
a2#(a1(b0(c1(x1)))) |
→ |
a2#(a1(x1)) |
(88) |
and
no rules
could be deleted.
1.1.1.1.1.1 Dependency Graph Processor
The dependency pairs are split into 6
components.
-
The
1st
component contains the
pair
c1#(b1(x1)) |
→ |
c1#(x1) |
(53) |
1.1.1.1.1.1.1 Monotonic Reduction Pair Processor with Usable Rules
Using the matrix interpretations of dimension 1 with strict dimension 1 over the rationals with delta = 1
[b1(x1)] |
= |
x1 +
|
[c1#(x1)] |
= |
x1 +
|
having no usable rules (w.r.t. the implicit argument filter of the
reduction pair),
the
pair
c1#(b1(x1)) |
→ |
c1#(x1) |
(53) |
and
no rules
could be deleted.
1.1.1.1.1.1.1.1 Dependency Graph Processor
The dependency pairs are split into 0
components.
-
The
2nd
component contains the
pair
c2#(a2(x1)) |
→ |
c2#(x1) |
(54) |
1.1.1.1.1.1.2 Monotonic Reduction Pair Processor with Usable Rules
Using the matrix interpretations of dimension 1 with strict dimension 1 over the rationals with delta = 1
[a2(x1)] |
= |
x1 +
|
[c2#(x1)] |
= |
x1 +
|
having no usable rules (w.r.t. the implicit argument filter of the
reduction pair),
the
pair
c2#(a2(x1)) |
→ |
c2#(x1) |
(54) |
and
no rules
could be deleted.
1.1.1.1.1.1.2.1 Dependency Graph Processor
The dependency pairs are split into 0
components.
-
The
3rd
component contains the
pair
b0#(c0(x1)) |
→ |
b0#(x1) |
(55) |
1.1.1.1.1.1.3 Monotonic Reduction Pair Processor with Usable Rules
Using the matrix interpretations of dimension 1 with strict dimension 1 over the rationals with delta = 1
[c0(x1)] |
= |
x1 +
|
[b0#(x1)] |
= |
x1 +
|
having no usable rules (w.r.t. the implicit argument filter of the
reduction pair),
the
pair
b0#(c0(x1)) |
→ |
b0#(x1) |
(55) |
and
no rules
could be deleted.
1.1.1.1.1.1.3.1 Dependency Graph Processor
The dependency pairs are split into 0
components.
-
The
4th
component contains the
pair
b2#(a2(x1)) |
→ |
b2#(x1) |
(71) |
1.1.1.1.1.1.4 Monotonic Reduction Pair Processor with Usable Rules
Using the matrix interpretations of dimension 1 with strict dimension 1 over the rationals with delta = 1
[a2(x1)] |
= |
x1 +
|
[b2#(x1)] |
= |
x1 +
|
having no usable rules (w.r.t. the implicit argument filter of the
reduction pair),
the
pair
b2#(a2(x1)) |
→ |
b2#(x1) |
(71) |
and
no rules
could be deleted.
1.1.1.1.1.1.4.1 Dependency Graph Processor
The dependency pairs are split into 0
components.
-
The
5th
component contains the
pair
a0#(c0(x1)) |
→ |
a0#(x1) |
(72) |
1.1.1.1.1.1.5 Monotonic Reduction Pair Processor with Usable Rules
Using the matrix interpretations of dimension 1 with strict dimension 1 over the rationals with delta = 1
[c0(x1)] |
= |
x1 +
|
[a0#(x1)] |
= |
x1 +
|
having no usable rules (w.r.t. the implicit argument filter of the
reduction pair),
the
pair
a0#(c0(x1)) |
→ |
a0#(x1) |
(72) |
and
no rules
could be deleted.
1.1.1.1.1.1.5.1 Dependency Graph Processor
The dependency pairs are split into 0
components.
-
The
6th
component contains the
pair
a1#(b1(x1)) |
→ |
a1#(x1) |
(74) |
1.1.1.1.1.1.6 Monotonic Reduction Pair Processor with Usable Rules
Using the matrix interpretations of dimension 1 with strict dimension 1 over the rationals with delta = 1
[b1(x1)] |
= |
x1 +
|
[a1#(x1)] |
= |
x1 +
|
having no usable rules (w.r.t. the implicit argument filter of the
reduction pair),
the
pair
a1#(b1(x1)) |
→ |
a1#(x1) |
(74) |
and
no rules
could be deleted.
1.1.1.1.1.1.6.1 Dependency Graph Processor
The dependency pairs are split into 0
components.