Certification Problem
Input (TPDB SRS_Relative/Waldmann_19/random-160)
The relative rewrite relation R/S is considered where R is the following TRS
b(b(b(x1))) |
→ |
b(a(b(x1))) |
(1) |
c(c(c(x1))) |
→ |
c(b(a(x1))) |
(2) |
and S is the following TRS.
b(a(c(x1))) |
→ |
a(a(a(x1))) |
(3) |
c(a(b(x1))) |
→ |
a(c(c(x1))) |
(4) |
a(b(c(x1))) |
→ |
b(c(c(x1))) |
(5) |
c(a(c(x1))) |
→ |
a(c(a(x1))) |
(6) |
Property / Task
Prove or disprove termination.Answer / Result
Yes.Proof (by AProVE @ termCOMP 2023)
1 String Reversal
Since only unary symbols occur, one can reverse all terms and obtains the TRS
b(b(b(x1))) |
→ |
b(a(b(x1))) |
(1) |
c(c(c(x1))) |
→ |
a(b(c(x1))) |
(7) |
c(a(b(x1))) |
→ |
a(a(a(x1))) |
(8) |
b(a(c(x1))) |
→ |
c(c(a(x1))) |
(9) |
c(b(a(x1))) |
→ |
c(c(b(x1))) |
(10) |
c(a(c(x1))) |
→ |
a(c(a(x1))) |
(6) |
1.1 Closure Under Flat Contexts
Using the flat contexts
{b(☐), a(☐), c(☐)}
We obtain the transformed TRS
b(b(b(x1))) |
→ |
b(a(b(x1))) |
(1) |
b(c(c(c(x1)))) |
→ |
b(a(b(c(x1)))) |
(11) |
a(c(c(c(x1)))) |
→ |
a(a(b(c(x1)))) |
(12) |
c(c(c(c(x1)))) |
→ |
c(a(b(c(x1)))) |
(13) |
c(b(a(x1))) |
→ |
c(c(b(x1))) |
(10) |
b(c(a(b(x1)))) |
→ |
b(a(a(a(x1)))) |
(14) |
a(c(a(b(x1)))) |
→ |
a(a(a(a(x1)))) |
(15) |
c(c(a(b(x1)))) |
→ |
c(a(a(a(x1)))) |
(16) |
b(b(a(c(x1)))) |
→ |
b(c(c(a(x1)))) |
(17) |
a(b(a(c(x1)))) |
→ |
a(c(c(a(x1)))) |
(18) |
c(b(a(c(x1)))) |
→ |
c(c(c(a(x1)))) |
(19) |
b(c(a(c(x1)))) |
→ |
b(a(c(a(x1)))) |
(20) |
a(c(a(c(x1)))) |
→ |
a(a(c(a(x1)))) |
(21) |
c(c(a(c(x1)))) |
→ |
c(a(c(a(x1)))) |
(22) |
1.1.1 Semantic Labeling
Root-labeling is applied.
We obtain the labeled TRS
bb(bb(bb(x1))) |
→ |
ba(ab(bb(x1))) |
(23) |
bb(bb(ba(x1))) |
→ |
ba(ab(ba(x1))) |
(24) |
bb(bb(bc(x1))) |
→ |
ba(ab(bc(x1))) |
(25) |
bc(cc(cc(cb(x1)))) |
→ |
ba(ab(bc(cb(x1)))) |
(26) |
bc(cc(cc(ca(x1)))) |
→ |
ba(ab(bc(ca(x1)))) |
(27) |
bc(cc(cc(cc(x1)))) |
→ |
ba(ab(bc(cc(x1)))) |
(28) |
ac(cc(cc(cb(x1)))) |
→ |
aa(ab(bc(cb(x1)))) |
(29) |
ac(cc(cc(ca(x1)))) |
→ |
aa(ab(bc(ca(x1)))) |
(30) |
ac(cc(cc(cc(x1)))) |
→ |
aa(ab(bc(cc(x1)))) |
(31) |
cc(cc(cc(cb(x1)))) |
→ |
ca(ab(bc(cb(x1)))) |
(32) |
cc(cc(cc(ca(x1)))) |
→ |
ca(ab(bc(ca(x1)))) |
(33) |
cc(cc(cc(cc(x1)))) |
→ |
ca(ab(bc(cc(x1)))) |
(34) |
cb(ba(ab(x1))) |
→ |
cc(cb(bb(x1))) |
(35) |
cb(ba(aa(x1))) |
→ |
cc(cb(ba(x1))) |
(36) |
cb(ba(ac(x1))) |
→ |
cc(cb(bc(x1))) |
(37) |
bc(ca(ab(bb(x1)))) |
→ |
ba(aa(aa(ab(x1)))) |
(38) |
bc(ca(ab(ba(x1)))) |
→ |
ba(aa(aa(aa(x1)))) |
(39) |
bc(ca(ab(bc(x1)))) |
→ |
ba(aa(aa(ac(x1)))) |
(40) |
ac(ca(ab(bb(x1)))) |
→ |
aa(aa(aa(ab(x1)))) |
(41) |
ac(ca(ab(ba(x1)))) |
→ |
aa(aa(aa(aa(x1)))) |
(42) |
ac(ca(ab(bc(x1)))) |
→ |
aa(aa(aa(ac(x1)))) |
(43) |
cc(ca(ab(bb(x1)))) |
→ |
ca(aa(aa(ab(x1)))) |
(44) |
cc(ca(ab(ba(x1)))) |
→ |
ca(aa(aa(aa(x1)))) |
(45) |
cc(ca(ab(bc(x1)))) |
→ |
ca(aa(aa(ac(x1)))) |
(46) |
bb(ba(ac(cb(x1)))) |
→ |
bc(cc(ca(ab(x1)))) |
(47) |
bb(ba(ac(ca(x1)))) |
→ |
bc(cc(ca(aa(x1)))) |
(48) |
bb(ba(ac(cc(x1)))) |
→ |
bc(cc(ca(ac(x1)))) |
(49) |
ab(ba(ac(cb(x1)))) |
→ |
ac(cc(ca(ab(x1)))) |
(50) |
ab(ba(ac(ca(x1)))) |
→ |
ac(cc(ca(aa(x1)))) |
(51) |
ab(ba(ac(cc(x1)))) |
→ |
ac(cc(ca(ac(x1)))) |
(52) |
cb(ba(ac(cb(x1)))) |
→ |
cc(cc(ca(ab(x1)))) |
(53) |
cb(ba(ac(ca(x1)))) |
→ |
cc(cc(ca(aa(x1)))) |
(54) |
cb(ba(ac(cc(x1)))) |
→ |
cc(cc(ca(ac(x1)))) |
(55) |
bc(ca(ac(cb(x1)))) |
→ |
ba(ac(ca(ab(x1)))) |
(56) |
bc(ca(ac(ca(x1)))) |
→ |
ba(ac(ca(aa(x1)))) |
(57) |
bc(ca(ac(cc(x1)))) |
→ |
ba(ac(ca(ac(x1)))) |
(58) |
ac(ca(ac(cb(x1)))) |
→ |
aa(ac(ca(ab(x1)))) |
(59) |
ac(ca(ac(ca(x1)))) |
→ |
aa(ac(ca(aa(x1)))) |
(60) |
ac(ca(ac(cc(x1)))) |
→ |
aa(ac(ca(ac(x1)))) |
(61) |
cc(ca(ac(cb(x1)))) |
→ |
ca(ac(ca(ab(x1)))) |
(62) |
cc(ca(ac(ca(x1)))) |
→ |
ca(ac(ca(aa(x1)))) |
(63) |
cc(ca(ac(cc(x1)))) |
→ |
ca(ac(ca(ac(x1)))) |
(64) |
1.1.1.1 Rule Removal
Using the
Knuth Bendix order with w0 = 1 and the following precedence and weight functions
prec(bb) |
= |
5 |
|
weight(bb) |
= |
3 |
|
|
|
prec(ba) |
= |
3 |
|
weight(ba) |
= |
4 |
|
|
|
prec(ab) |
= |
8 |
|
weight(ab) |
= |
2 |
|
|
|
prec(bc) |
= |
4 |
|
weight(bc) |
= |
5 |
|
|
|
prec(cc) |
= |
6 |
|
weight(cc) |
= |
3 |
|
|
|
prec(cb) |
= |
7 |
|
weight(cb) |
= |
1 |
|
|
|
prec(ca) |
= |
1 |
|
weight(ca) |
= |
2 |
|
|
|
prec(ac) |
= |
2 |
|
weight(ac) |
= |
4 |
|
|
|
prec(aa) |
= |
0 |
|
weight(aa) |
= |
3 |
|
|
|
all of the following rules can be deleted.
bb(bb(bb(x1))) |
→ |
ba(ab(bb(x1))) |
(23) |
bb(bb(ba(x1))) |
→ |
ba(ab(ba(x1))) |
(24) |
bb(bb(bc(x1))) |
→ |
ba(ab(bc(x1))) |
(25) |
bc(cc(cc(cb(x1)))) |
→ |
ba(ab(bc(cb(x1)))) |
(26) |
bc(cc(cc(ca(x1)))) |
→ |
ba(ab(bc(ca(x1)))) |
(27) |
bc(cc(cc(cc(x1)))) |
→ |
ba(ab(bc(cc(x1)))) |
(28) |
ac(cc(cc(cb(x1)))) |
→ |
aa(ab(bc(cb(x1)))) |
(29) |
ac(cc(cc(ca(x1)))) |
→ |
aa(ab(bc(ca(x1)))) |
(30) |
ac(cc(cc(cc(x1)))) |
→ |
aa(ab(bc(cc(x1)))) |
(31) |
cc(cc(cc(cb(x1)))) |
→ |
ca(ab(bc(cb(x1)))) |
(32) |
cc(cc(cc(ca(x1)))) |
→ |
ca(ab(bc(ca(x1)))) |
(33) |
cc(cc(cc(cc(x1)))) |
→ |
ca(ab(bc(cc(x1)))) |
(34) |
cb(ba(ab(x1))) |
→ |
cc(cb(bb(x1))) |
(35) |
cb(ba(aa(x1))) |
→ |
cc(cb(ba(x1))) |
(36) |
cb(ba(ac(x1))) |
→ |
cc(cb(bc(x1))) |
(37) |
bc(ca(ab(bb(x1)))) |
→ |
ba(aa(aa(ab(x1)))) |
(38) |
bc(ca(ab(ba(x1)))) |
→ |
ba(aa(aa(aa(x1)))) |
(39) |
bc(ca(ab(bc(x1)))) |
→ |
ba(aa(aa(ac(x1)))) |
(40) |
ac(ca(ab(bb(x1)))) |
→ |
aa(aa(aa(ab(x1)))) |
(41) |
ac(ca(ab(ba(x1)))) |
→ |
aa(aa(aa(aa(x1)))) |
(42) |
ac(ca(ab(bc(x1)))) |
→ |
aa(aa(aa(ac(x1)))) |
(43) |
cc(ca(ab(bb(x1)))) |
→ |
ca(aa(aa(ab(x1)))) |
(44) |
cc(ca(ab(ba(x1)))) |
→ |
ca(aa(aa(aa(x1)))) |
(45) |
cc(ca(ab(bc(x1)))) |
→ |
ca(aa(aa(ac(x1)))) |
(46) |
bb(ba(ac(cb(x1)))) |
→ |
bc(cc(ca(ab(x1)))) |
(47) |
bb(ba(ac(ca(x1)))) |
→ |
bc(cc(ca(aa(x1)))) |
(48) |
bb(ba(ac(cc(x1)))) |
→ |
bc(cc(ca(ac(x1)))) |
(49) |
ab(ba(ac(cb(x1)))) |
→ |
ac(cc(ca(ab(x1)))) |
(50) |
ab(ba(ac(ca(x1)))) |
→ |
ac(cc(ca(aa(x1)))) |
(51) |
ab(ba(ac(cc(x1)))) |
→ |
ac(cc(ca(ac(x1)))) |
(52) |
cb(ba(ac(cb(x1)))) |
→ |
cc(cc(ca(ab(x1)))) |
(53) |
cb(ba(ac(ca(x1)))) |
→ |
cc(cc(ca(aa(x1)))) |
(54) |
cb(ba(ac(cc(x1)))) |
→ |
cc(cc(ca(ac(x1)))) |
(55) |
bc(ca(ac(cb(x1)))) |
→ |
ba(ac(ca(ab(x1)))) |
(56) |
bc(ca(ac(ca(x1)))) |
→ |
ba(ac(ca(aa(x1)))) |
(57) |
bc(ca(ac(cc(x1)))) |
→ |
ba(ac(ca(ac(x1)))) |
(58) |
ac(ca(ac(cb(x1)))) |
→ |
aa(ac(ca(ab(x1)))) |
(59) |
ac(ca(ac(ca(x1)))) |
→ |
aa(ac(ca(aa(x1)))) |
(60) |
ac(ca(ac(cc(x1)))) |
→ |
aa(ac(ca(ac(x1)))) |
(61) |
cc(ca(ac(cb(x1)))) |
→ |
ca(ac(ca(ab(x1)))) |
(62) |
cc(ca(ac(ca(x1)))) |
→ |
ca(ac(ca(aa(x1)))) |
(63) |
cc(ca(ac(cc(x1)))) |
→ |
ca(ac(ca(ac(x1)))) |
(64) |
1.1.1.1.1 R is empty
There are no rules in the TRS. Hence, it is terminating.