Certification Problem
Input (TPDB SRS_Standard/Waldmann_07_size12/size-12-alpha-3-num-553)
The rewrite relation of the following TRS is considered.
a(b(x1)) |
→ |
x1 |
(1) |
a(c(x1)) |
→ |
b(c(c(b(a(a(x1)))))) |
(2) |
b(c(x1)) |
→ |
x1 |
(3) |
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(x1))) |
→ |
c(x1) |
(4) |
c(a(c(x1))) |
→ |
c(b(c(c(b(a(a(x1))))))) |
(5) |
c(b(c(x1))) |
→ |
c(x1) |
(6) |
b(a(b(x1))) |
→ |
b(x1) |
(7) |
b(a(c(x1))) |
→ |
b(b(c(c(b(a(a(x1))))))) |
(8) |
b(b(c(x1))) |
→ |
b(x1) |
(9) |
a(a(b(x1))) |
→ |
a(x1) |
(10) |
a(a(c(x1))) |
→ |
a(b(c(c(b(a(a(x1))))))) |
(11) |
a(b(c(x1))) |
→ |
a(x1) |
(12) |
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(b2(x1))) |
→ |
a2(x1) |
(13) |
a2(a1(b1(x1))) |
→ |
a1(x1) |
(14) |
a2(a1(b0(x1))) |
→ |
a0(x1) |
(15) |
b2(a1(b2(x1))) |
→ |
b2(x1) |
(16) |
b2(a1(b1(x1))) |
→ |
b1(x1) |
(17) |
b2(a1(b0(x1))) |
→ |
b0(x1) |
(18) |
c2(a1(b2(x1))) |
→ |
c2(x1) |
(19) |
c2(a1(b1(x1))) |
→ |
c1(x1) |
(20) |
c2(a1(b0(x1))) |
→ |
c0(x1) |
(21) |
a2(a0(c2(x1))) |
→ |
a1(b0(c0(c1(b2(a2(a2(x1))))))) |
(22) |
a2(a0(c1(x1))) |
→ |
a1(b0(c0(c1(b2(a2(a1(x1))))))) |
(23) |
a2(a0(c0(x1))) |
→ |
a1(b0(c0(c1(b2(a2(a0(x1))))))) |
(24) |
b2(a0(c2(x1))) |
→ |
b1(b0(c0(c1(b2(a2(a2(x1))))))) |
(25) |
b2(a0(c1(x1))) |
→ |
b1(b0(c0(c1(b2(a2(a1(x1))))))) |
(26) |
b2(a0(c0(x1))) |
→ |
b1(b0(c0(c1(b2(a2(a0(x1))))))) |
(27) |
c2(a0(c2(x1))) |
→ |
c1(b0(c0(c1(b2(a2(a2(x1))))))) |
(28) |
c2(a0(c1(x1))) |
→ |
c1(b0(c0(c1(b2(a2(a1(x1))))))) |
(29) |
c2(a0(c0(x1))) |
→ |
c1(b0(c0(c1(b2(a2(a0(x1))))))) |
(30) |
a1(b0(c2(x1))) |
→ |
a2(x1) |
(31) |
a1(b0(c1(x1))) |
→ |
a1(x1) |
(32) |
a1(b0(c0(x1))) |
→ |
a0(x1) |
(33) |
b1(b0(c2(x1))) |
→ |
b2(x1) |
(34) |
b1(b0(c1(x1))) |
→ |
b1(x1) |
(35) |
b1(b0(c0(x1))) |
→ |
b0(x1) |
(36) |
c1(b0(c2(x1))) |
→ |
c2(x1) |
(37) |
c1(b0(c1(x1))) |
→ |
c1(x1) |
(38) |
c1(b0(c0(x1))) |
→ |
c0(x1) |
(39) |
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.
c2(a1(b1(x1))) |
→ |
c1(x1) |
(20) |
c2(a1(b0(x1))) |
→ |
c0(x1) |
(21) |
a2(a0(c2(x1))) |
→ |
a1(b0(c0(c1(b2(a2(a2(x1))))))) |
(22) |
b2(a0(c2(x1))) |
→ |
b1(b0(c0(c1(b2(a2(a2(x1))))))) |
(25) |
c2(a0(c2(x1))) |
→ |
c1(b0(c0(c1(b2(a2(a2(x1))))))) |
(28) |
c2(a0(c1(x1))) |
→ |
c1(b0(c0(c1(b2(a2(a1(x1))))))) |
(29) |
c2(a0(c0(x1))) |
→ |
c1(b0(c0(c1(b2(a2(a0(x1))))))) |
(30) |
a1(b0(c2(x1))) |
→ |
a2(x1) |
(31) |
b1(b0(c2(x1))) |
→ |
b2(x1) |
(34) |
1.1.1.1 String Reversal
Since only unary symbols occur, one can reverse all terms and obtains the TRS
b2(a1(a2(x1))) |
→ |
a2(x1) |
(40) |
b1(a1(a2(x1))) |
→ |
a1(x1) |
(41) |
b0(a1(a2(x1))) |
→ |
a0(x1) |
(42) |
b2(a1(b2(x1))) |
→ |
b2(x1) |
(16) |
b1(a1(b2(x1))) |
→ |
b1(x1) |
(43) |
b0(a1(b2(x1))) |
→ |
b0(x1) |
(44) |
b2(a1(c2(x1))) |
→ |
c2(x1) |
(45) |
c1(a0(a2(x1))) |
→ |
a1(a2(b2(c1(c0(b0(a1(x1))))))) |
(46) |
c0(a0(a2(x1))) |
→ |
a0(a2(b2(c1(c0(b0(a1(x1))))))) |
(47) |
c1(a0(b2(x1))) |
→ |
a1(a2(b2(c1(c0(b0(b1(x1))))))) |
(48) |
c0(a0(b2(x1))) |
→ |
a0(a2(b2(c1(c0(b0(b1(x1))))))) |
(49) |
c1(b0(a1(x1))) |
→ |
a1(x1) |
(50) |
c0(b0(a1(x1))) |
→ |
a0(x1) |
(51) |
c1(b0(b1(x1))) |
→ |
b1(x1) |
(52) |
c0(b0(b1(x1))) |
→ |
b0(x1) |
(53) |
c2(b0(c1(x1))) |
→ |
c2(x1) |
(54) |
c1(b0(c1(x1))) |
→ |
c1(x1) |
(38) |
c0(b0(c1(x1))) |
→ |
c0(x1) |
(55) |
1.1.1.1.1 Dependency Pair Transformation
The following set of initial dependency pairs has been identified.
c0#(b0(c1(x1))) |
→ |
c0#(x1) |
(56) |
c0#(b0(b1(x1))) |
→ |
b0#(x1) |
(57) |
c0#(a0(b2(x1))) |
→ |
c0#(b0(b1(x1))) |
(58) |
c0#(a0(b2(x1))) |
→ |
c1#(c0(b0(b1(x1)))) |
(59) |
c0#(a0(b2(x1))) |
→ |
b0#(b1(x1)) |
(60) |
c0#(a0(b2(x1))) |
→ |
b1#(x1) |
(61) |
c0#(a0(b2(x1))) |
→ |
b2#(c1(c0(b0(b1(x1))))) |
(62) |
c0#(a0(a2(x1))) |
→ |
c0#(b0(a1(x1))) |
(63) |
c0#(a0(a2(x1))) |
→ |
c1#(c0(b0(a1(x1)))) |
(64) |
c0#(a0(a2(x1))) |
→ |
b0#(a1(x1)) |
(65) |
c0#(a0(a2(x1))) |
→ |
b2#(c1(c0(b0(a1(x1))))) |
(66) |
c1#(a0(b2(x1))) |
→ |
c0#(b0(b1(x1))) |
(67) |
c1#(a0(b2(x1))) |
→ |
c1#(c0(b0(b1(x1)))) |
(68) |
c1#(a0(b2(x1))) |
→ |
b0#(b1(x1)) |
(69) |
c1#(a0(b2(x1))) |
→ |
b1#(x1) |
(70) |
c1#(a0(b2(x1))) |
→ |
b2#(c1(c0(b0(b1(x1))))) |
(71) |
c1#(a0(a2(x1))) |
→ |
c0#(b0(a1(x1))) |
(72) |
c1#(a0(a2(x1))) |
→ |
c1#(c0(b0(a1(x1)))) |
(73) |
c1#(a0(a2(x1))) |
→ |
b0#(a1(x1)) |
(74) |
c1#(a0(a2(x1))) |
→ |
b2#(c1(c0(b0(a1(x1))))) |
(75) |
c2#(b0(c1(x1))) |
→ |
c2#(x1) |
(76) |
b0#(a1(b2(x1))) |
→ |
b0#(x1) |
(77) |
b1#(a1(b2(x1))) |
→ |
b1#(x1) |
(78) |
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
[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 +
|
together with the usable
rules
b2(a1(a2(x1))) |
→ |
a2(x1) |
(40) |
b1(a1(a2(x1))) |
→ |
a1(x1) |
(41) |
b0(a1(a2(x1))) |
→ |
a0(x1) |
(42) |
b2(a1(b2(x1))) |
→ |
b2(x1) |
(16) |
b1(a1(b2(x1))) |
→ |
b1(x1) |
(43) |
b0(a1(b2(x1))) |
→ |
b0(x1) |
(44) |
b2(a1(c2(x1))) |
→ |
c2(x1) |
(45) |
c1(a0(a2(x1))) |
→ |
a1(a2(b2(c1(c0(b0(a1(x1))))))) |
(46) |
c0(a0(a2(x1))) |
→ |
a0(a2(b2(c1(c0(b0(a1(x1))))))) |
(47) |
c1(a0(b2(x1))) |
→ |
a1(a2(b2(c1(c0(b0(b1(x1))))))) |
(48) |
c0(a0(b2(x1))) |
→ |
a0(a2(b2(c1(c0(b0(b1(x1))))))) |
(49) |
c1(b0(a1(x1))) |
→ |
a1(x1) |
(50) |
c0(b0(a1(x1))) |
→ |
a0(x1) |
(51) |
c1(b0(b1(x1))) |
→ |
b1(x1) |
(52) |
c0(b0(b1(x1))) |
→ |
b0(x1) |
(53) |
c2(b0(c1(x1))) |
→ |
c2(x1) |
(54) |
c1(b0(c1(x1))) |
→ |
c1(x1) |
(38) |
c0(b0(c1(x1))) |
→ |
c0(x1) |
(55) |
(w.r.t. the implicit argument filter of the reduction pair),
the
pairs
c0#(b0(b1(x1))) |
→ |
b0#(x1) |
(57) |
c0#(a0(b2(x1))) |
→ |
b0#(b1(x1)) |
(60) |
c0#(a0(b2(x1))) |
→ |
b1#(x1) |
(61) |
c0#(a0(b2(x1))) |
→ |
b2#(c1(c0(b0(b1(x1))))) |
(62) |
c0#(a0(a2(x1))) |
→ |
b0#(a1(x1)) |
(65) |
c0#(a0(a2(x1))) |
→ |
b2#(c1(c0(b0(a1(x1))))) |
(66) |
c1#(a0(b2(x1))) |
→ |
b0#(b1(x1)) |
(69) |
c1#(a0(b2(x1))) |
→ |
b1#(x1) |
(70) |
c1#(a0(b2(x1))) |
→ |
b2#(c1(c0(b0(b1(x1))))) |
(71) |
c1#(a0(a2(x1))) |
→ |
b0#(a1(x1)) |
(74) |
c1#(a0(a2(x1))) |
→ |
b2#(c1(c0(b0(a1(x1))))) |
(75) |
and
no rules
could be deleted.
1.1.1.1.1.1.1 Dependency Graph Processor
The dependency pairs are split into 4
components.
-
The
1st
component contains the
pair
c0#(b0(c1(x1))) |
→ |
c0#(x1) |
(56) |
c0#(a0(b2(x1))) |
→ |
c0#(b0(b1(x1))) |
(58) |
c0#(a0(b2(x1))) |
→ |
c1#(c0(b0(b1(x1)))) |
(59) |
c1#(a0(b2(x1))) |
→ |
c0#(b0(b1(x1))) |
(67) |
c0#(a0(a2(x1))) |
→ |
c0#(b0(a1(x1))) |
(63) |
c0#(a0(a2(x1))) |
→ |
c1#(c0(b0(a1(x1)))) |
(64) |
c1#(a0(b2(x1))) |
→ |
c1#(c0(b0(b1(x1)))) |
(68) |
c1#(a0(a2(x1))) |
→ |
c0#(b0(a1(x1))) |
(72) |
c1#(a0(a2(x1))) |
→ |
c1#(c0(b0(a1(x1)))) |
(73) |
1.1.1.1.1.1.1.1 Reduction Pair Processor with Usable Rules
Using the matrix interpretations of dimension 2 with strict dimension 1 over the arctic semiring over the naturals
[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 +
|
together with the usable
rules
b2(a1(a2(x1))) |
→ |
a2(x1) |
(40) |
b1(a1(a2(x1))) |
→ |
a1(x1) |
(41) |
b0(a1(a2(x1))) |
→ |
a0(x1) |
(42) |
b2(a1(b2(x1))) |
→ |
b2(x1) |
(16) |
b1(a1(b2(x1))) |
→ |
b1(x1) |
(43) |
b0(a1(b2(x1))) |
→ |
b0(x1) |
(44) |
b2(a1(c2(x1))) |
→ |
c2(x1) |
(45) |
c1(a0(a2(x1))) |
→ |
a1(a2(b2(c1(c0(b0(a1(x1))))))) |
(46) |
c0(a0(a2(x1))) |
→ |
a0(a2(b2(c1(c0(b0(a1(x1))))))) |
(47) |
c1(a0(b2(x1))) |
→ |
a1(a2(b2(c1(c0(b0(b1(x1))))))) |
(48) |
c0(a0(b2(x1))) |
→ |
a0(a2(b2(c1(c0(b0(b1(x1))))))) |
(49) |
c1(b0(a1(x1))) |
→ |
a1(x1) |
(50) |
c0(b0(a1(x1))) |
→ |
a0(x1) |
(51) |
c1(b0(b1(x1))) |
→ |
b1(x1) |
(52) |
c0(b0(b1(x1))) |
→ |
b0(x1) |
(53) |
c2(b0(c1(x1))) |
→ |
c2(x1) |
(54) |
c1(b0(c1(x1))) |
→ |
c1(x1) |
(38) |
c0(b0(c1(x1))) |
→ |
c0(x1) |
(55) |
(w.r.t. the implicit argument filter of the reduction pair),
the
pairs
c0#(a0(b2(x1))) |
→ |
c0#(b0(b1(x1))) |
(58) |
c1#(a0(b2(x1))) |
→ |
c0#(b0(b1(x1))) |
(67) |
c0#(a0(a2(x1))) |
→ |
c0#(b0(a1(x1))) |
(63) |
c1#(a0(b2(x1))) |
→ |
c1#(c0(b0(b1(x1)))) |
(68) |
c1#(a0(a2(x1))) |
→ |
c0#(b0(a1(x1))) |
(72) |
c1#(a0(a2(x1))) |
→ |
c1#(c0(b0(a1(x1)))) |
(73) |
could be deleted.
1.1.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
[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 +
|
together with the usable
rules
b2(a1(a2(x1))) |
→ |
a2(x1) |
(40) |
b1(a1(a2(x1))) |
→ |
a1(x1) |
(41) |
b0(a1(a2(x1))) |
→ |
a0(x1) |
(42) |
b2(a1(b2(x1))) |
→ |
b2(x1) |
(16) |
b1(a1(b2(x1))) |
→ |
b1(x1) |
(43) |
b0(a1(b2(x1))) |
→ |
b0(x1) |
(44) |
b2(a1(c2(x1))) |
→ |
c2(x1) |
(45) |
c1(a0(a2(x1))) |
→ |
a1(a2(b2(c1(c0(b0(a1(x1))))))) |
(46) |
c0(a0(a2(x1))) |
→ |
a0(a2(b2(c1(c0(b0(a1(x1))))))) |
(47) |
c1(a0(b2(x1))) |
→ |
a1(a2(b2(c1(c0(b0(b1(x1))))))) |
(48) |
c0(a0(b2(x1))) |
→ |
a0(a2(b2(c1(c0(b0(b1(x1))))))) |
(49) |
c1(b0(a1(x1))) |
→ |
a1(x1) |
(50) |
c0(b0(a1(x1))) |
→ |
a0(x1) |
(51) |
c1(b0(b1(x1))) |
→ |
b1(x1) |
(52) |
c0(b0(b1(x1))) |
→ |
b0(x1) |
(53) |
c2(b0(c1(x1))) |
→ |
c2(x1) |
(54) |
c1(b0(c1(x1))) |
→ |
c1(x1) |
(38) |
c0(b0(c1(x1))) |
→ |
c0(x1) |
(55) |
(w.r.t. the implicit argument filter of the reduction pair),
the
pairs
c0#(a0(b2(x1))) |
→ |
c1#(c0(b0(b1(x1)))) |
(59) |
c0#(a0(a2(x1))) |
→ |
c1#(c0(b0(a1(x1)))) |
(64) |
and
no rules
could be deleted.
1.1.1.1.1.1.1.1.1.1 Dependency Graph Processor
The dependency pairs are split into 1
component.
-
The
2nd
component contains the
pair
c2#(b0(c1(x1))) |
→ |
c2#(x1) |
(76) |
1.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
[c1(x1)] |
= |
x1 +
|
[b0(x1)] |
= |
x1 +
|
[c2#(x1)] |
= |
x1 +
|
having no usable rules (w.r.t. the implicit argument filter of the
reduction pair),
the
pair
c2#(b0(c1(x1))) |
→ |
c2#(x1) |
(76) |
and
no rules
could be deleted.
1.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#(a1(b2(x1))) |
→ |
b0#(x1) |
(77) |
1.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
[b2(x1)] |
= |
x1 +
|
[a1(x1)] |
= |
x1 +
|
[b0#(x1)] |
= |
x1 +
|
having no usable rules (w.r.t. the implicit argument filter of the
reduction pair),
the
pair
b0#(a1(b2(x1))) |
→ |
b0#(x1) |
(77) |
and
no rules
could be deleted.
1.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
b1#(a1(b2(x1))) |
→ |
b1#(x1) |
(78) |
1.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
[b2(x1)] |
= |
x1 +
|
[a1(x1)] |
= |
x1 +
|
[b1#(x1)] |
= |
x1 +
|
having no usable rules (w.r.t. the implicit argument filter of the
reduction pair),
the
pair
b1#(a1(b2(x1))) |
→ |
b1#(x1) |
(78) |
and
no rules
could be deleted.
1.1.1.1.1.1.1.4.1 Dependency Graph Processor
The dependency pairs are split into 0
components.