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