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