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