Certification Problem
Input (TPDB SRS_Standard/Waldmann_07_size12/size-12-alpha-3-num-232)
The rewrite relation of the following TRS is considered.
a(x1) |
→ |
x1 |
(1) |
a(b(x1)) |
→ |
b(c(a(x1))) |
(2) |
c(x1) |
→ |
b(x1) |
(3) |
c(c(x1)) |
→ |
a(c(x1)) |
(4) |
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(x1) |
→ |
x1 |
(1) |
b(a(x1)) |
→ |
a(c(b(x1))) |
(5) |
c(x1) |
→ |
b(x1) |
(3) |
c(c(x1)) |
→ |
c(a(x1)) |
(6) |
1.1 Closure Under Flat Contexts
Using the flat contexts
{a(☐), b(☐), c(☐)}
We obtain the transformed TRS
c(c(x1)) |
→ |
c(a(x1)) |
(6) |
a(a(x1)) |
→ |
a(x1) |
(7) |
b(a(x1)) |
→ |
b(x1) |
(8) |
c(a(x1)) |
→ |
c(x1) |
(9) |
a(b(a(x1))) |
→ |
a(a(c(b(x1)))) |
(10) |
b(b(a(x1))) |
→ |
b(a(c(b(x1)))) |
(11) |
c(b(a(x1))) |
→ |
c(a(c(b(x1)))) |
(12) |
a(c(x1)) |
→ |
a(b(x1)) |
(13) |
b(c(x1)) |
→ |
b(b(x1)) |
(14) |
c(c(x1)) |
→ |
c(b(x1)) |
(15) |
1.1.1 Semantic Labeling
Root-labeling is applied.
We obtain the labeled TRS
cc(cc(x1)) |
→ |
ca(ac(x1)) |
(16) |
cc(ca(x1)) |
→ |
ca(aa(x1)) |
(17) |
cc(cb(x1)) |
→ |
ca(ab(x1)) |
(18) |
aa(ac(x1)) |
→ |
ac(x1) |
(19) |
aa(aa(x1)) |
→ |
aa(x1) |
(20) |
aa(ab(x1)) |
→ |
ab(x1) |
(21) |
ba(ac(x1)) |
→ |
bc(x1) |
(22) |
ba(aa(x1)) |
→ |
ba(x1) |
(23) |
ba(ab(x1)) |
→ |
bb(x1) |
(24) |
ca(ac(x1)) |
→ |
cc(x1) |
(25) |
ca(aa(x1)) |
→ |
ca(x1) |
(26) |
ca(ab(x1)) |
→ |
cb(x1) |
(27) |
ab(ba(ac(x1))) |
→ |
aa(ac(cb(bc(x1)))) |
(28) |
ab(ba(aa(x1))) |
→ |
aa(ac(cb(ba(x1)))) |
(29) |
ab(ba(ab(x1))) |
→ |
aa(ac(cb(bb(x1)))) |
(30) |
bb(ba(ac(x1))) |
→ |
ba(ac(cb(bc(x1)))) |
(31) |
bb(ba(aa(x1))) |
→ |
ba(ac(cb(ba(x1)))) |
(32) |
bb(ba(ab(x1))) |
→ |
ba(ac(cb(bb(x1)))) |
(33) |
cb(ba(ac(x1))) |
→ |
ca(ac(cb(bc(x1)))) |
(34) |
cb(ba(aa(x1))) |
→ |
ca(ac(cb(ba(x1)))) |
(35) |
cb(ba(ab(x1))) |
→ |
ca(ac(cb(bb(x1)))) |
(36) |
ac(cc(x1)) |
→ |
ab(bc(x1)) |
(37) |
ac(ca(x1)) |
→ |
ab(ba(x1)) |
(38) |
ac(cb(x1)) |
→ |
ab(bb(x1)) |
(39) |
bc(cc(x1)) |
→ |
bb(bc(x1)) |
(40) |
bc(ca(x1)) |
→ |
bb(ba(x1)) |
(41) |
bc(cb(x1)) |
→ |
bb(bb(x1)) |
(42) |
cc(cc(x1)) |
→ |
cb(bc(x1)) |
(43) |
cc(ca(x1)) |
→ |
cb(ba(x1)) |
(44) |
cc(cb(x1)) |
→ |
cb(bb(x1)) |
(45) |
1.1.1.1 Rule Removal
Using the
linear polynomial interpretation over the naturals
[cc(x1)] |
= |
1 · x1 + 1 |
[ca(x1)] |
= |
1 · x1
|
[ac(x1)] |
= |
1 · x1 + 1 |
[aa(x1)] |
= |
1 · x1 + 1 |
[cb(x1)] |
= |
1 · x1
|
[ab(x1)] |
= |
1 · x1 + 1 |
[ba(x1)] |
= |
1 · x1
|
[bc(x1)] |
= |
1 · x1
|
[bb(x1)] |
= |
1 · x1
|
all of the following rules can be deleted.
cc(cc(x1)) |
→ |
ca(ac(x1)) |
(16) |
aa(ac(x1)) |
→ |
ac(x1) |
(19) |
aa(aa(x1)) |
→ |
aa(x1) |
(20) |
aa(ab(x1)) |
→ |
ab(x1) |
(21) |
ba(ac(x1)) |
→ |
bc(x1) |
(22) |
ba(aa(x1)) |
→ |
ba(x1) |
(23) |
ba(ab(x1)) |
→ |
bb(x1) |
(24) |
ca(aa(x1)) |
→ |
ca(x1) |
(26) |
ca(ab(x1)) |
→ |
cb(x1) |
(27) |
ac(cc(x1)) |
→ |
ab(bc(x1)) |
(37) |
bc(cc(x1)) |
→ |
bb(bc(x1)) |
(40) |
cc(cc(x1)) |
→ |
cb(bc(x1)) |
(43) |
cc(ca(x1)) |
→ |
cb(ba(x1)) |
(44) |
cc(cb(x1)) |
→ |
cb(bb(x1)) |
(45) |
1.1.1.1.1 Dependency Pair Transformation
The following set of initial dependency pairs has been identified.
cc#(ca(x1)) |
→ |
ca#(aa(x1)) |
(46) |
cc#(cb(x1)) |
→ |
ca#(ab(x1)) |
(47) |
cc#(cb(x1)) |
→ |
ab#(x1) |
(48) |
ca#(ac(x1)) |
→ |
cc#(x1) |
(49) |
ab#(ba(ac(x1))) |
→ |
ac#(cb(bc(x1))) |
(50) |
ab#(ba(ac(x1))) |
→ |
cb#(bc(x1)) |
(51) |
ab#(ba(ac(x1))) |
→ |
bc#(x1) |
(52) |
ab#(ba(aa(x1))) |
→ |
ac#(cb(ba(x1))) |
(53) |
ab#(ba(aa(x1))) |
→ |
cb#(ba(x1)) |
(54) |
ab#(ba(ab(x1))) |
→ |
ac#(cb(bb(x1))) |
(55) |
ab#(ba(ab(x1))) |
→ |
cb#(bb(x1)) |
(56) |
ab#(ba(ab(x1))) |
→ |
bb#(x1) |
(57) |
bb#(ba(ac(x1))) |
→ |
ac#(cb(bc(x1))) |
(58) |
bb#(ba(ac(x1))) |
→ |
cb#(bc(x1)) |
(59) |
bb#(ba(ac(x1))) |
→ |
bc#(x1) |
(60) |
bb#(ba(aa(x1))) |
→ |
ac#(cb(ba(x1))) |
(61) |
bb#(ba(aa(x1))) |
→ |
cb#(ba(x1)) |
(62) |
bb#(ba(ab(x1))) |
→ |
ac#(cb(bb(x1))) |
(63) |
bb#(ba(ab(x1))) |
→ |
cb#(bb(x1)) |
(64) |
bb#(ba(ab(x1))) |
→ |
bb#(x1) |
(65) |
cb#(ba(ac(x1))) |
→ |
ca#(ac(cb(bc(x1)))) |
(66) |
cb#(ba(ac(x1))) |
→ |
ac#(cb(bc(x1))) |
(67) |
cb#(ba(ac(x1))) |
→ |
cb#(bc(x1)) |
(68) |
cb#(ba(ac(x1))) |
→ |
bc#(x1) |
(69) |
cb#(ba(aa(x1))) |
→ |
ca#(ac(cb(ba(x1)))) |
(70) |
cb#(ba(aa(x1))) |
→ |
ac#(cb(ba(x1))) |
(71) |
cb#(ba(aa(x1))) |
→ |
cb#(ba(x1)) |
(72) |
cb#(ba(ab(x1))) |
→ |
ca#(ac(cb(bb(x1)))) |
(73) |
cb#(ba(ab(x1))) |
→ |
ac#(cb(bb(x1))) |
(74) |
cb#(ba(ab(x1))) |
→ |
cb#(bb(x1)) |
(75) |
cb#(ba(ab(x1))) |
→ |
bb#(x1) |
(76) |
ac#(ca(x1)) |
→ |
ab#(ba(x1)) |
(77) |
ac#(cb(x1)) |
→ |
ab#(bb(x1)) |
(78) |
ac#(cb(x1)) |
→ |
bb#(x1) |
(79) |
bc#(ca(x1)) |
→ |
bb#(ba(x1)) |
(80) |
bc#(cb(x1)) |
→ |
bb#(bb(x1)) |
(81) |
bc#(cb(x1)) |
→ |
bb#(x1) |
(82) |
1.1.1.1.1.1 Dependency Graph Processor
The dependency pairs are split into 1
component.