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