YES
Termination Proof
Termination Proof
by ttt2 (version ttt2 1.15)
Input
The rewrite relation of the following TRS is considered.
| 
a(a(x0)) | 
→ | 
b(b(b(x0))) | 
| 
a(x0) | 
→ | 
d(c(d(x0))) | 
| 
b(b(x0)) | 
→ | 
c(c(c(x0))) | 
| 
c(c(x0)) | 
→ | 
d(d(d(x0))) | 
| 
c(d(d(x0))) | 
→ | 
a(x0) | 
Proof
1 Rule Removal
      Using the
      linear polynomial interpretation over the arctic semiring over the integers
| [b(x1)] | 
 =  | 
9 · 
                    x1 + 
                -∞
             | 
| [c(x1)] | 
 =  | 
6 · 
                    x1 + 
                -∞
             | 
| [a(x1)] | 
 =  | 
14 · 
                    x1 + 
                -∞
             | 
| [d(x1)] | 
 =  | 
4 · 
                    x1 + 
                -∞
             | 
          the
          rules
| 
a(x0) | 
→ | 
d(c(d(x0))) | 
| 
b(b(x0)) | 
→ | 
c(c(c(x0))) | 
| 
c(c(x0)) | 
→ | 
d(d(d(x0))) | 
| 
c(d(d(x0))) | 
→ | 
a(x0) | 
          remain.
        1.1 Rule Removal
      Using the
      linear polynomial interpretation over the arctic semiring over the integers
| [b(x1)] | 
 =  | 
4 · 
                    x1 + 
                -∞
             | 
| [c(x1)] | 
 =  | 
0 · 
                    x1 + 
                -∞
             | 
| [a(x1)] | 
 =  | 
0 · 
                    x1 + 
                -∞
             | 
| [d(x1)] | 
 =  | 
0 · 
                    x1 + 
                -∞
             | 
          the
          rules
| 
a(x0) | 
→ | 
d(c(d(x0))) | 
| 
c(c(x0)) | 
→ | 
d(d(d(x0))) | 
| 
c(d(d(x0))) | 
→ | 
a(x0) | 
          remain.
        1.1.1 Rule Removal
      Using the
      linear polynomial interpretation over the arctic semiring over the integers
| [c(x1)] | 
 =  | 
1 · 
                    x1 + 
                -∞
             | 
| [a(x1)] | 
 =  | 
1 · 
                    x1 + 
                -∞
             | 
| [d(x1)] | 
 =  | 
0 · 
                    x1 + 
                -∞
             | 
          the
          rules
| 
a(x0) | 
→ | 
d(c(d(x0))) | 
| 
c(d(d(x0))) | 
→ | 
a(x0) | 
          remain.
        1.1.1.1 String Reversal
        Since only unary symbols occur, one can reverse all terms and obtains the TRS        
        
| 
a(x0) | 
→ | 
d(c(d(x0))) | 
| 
d(d(c(x0))) | 
→ | 
a(x0) | 
1.1.1.1.1 Bounds
        The given TRS is 
        match-bounded by 1.
        This is shown by the following automaton.
        
- 
final states:
{5, 1}
 
- 
transitions:
| 9 | 
 →  | 
5 | 
| 5 | 
 →  | 
3 | 
| 5 | 
 →  | 
7 | 
| 2 | 
 →  | 
6 | 
| 
c1(7) | 
 →  | 
8 | 
| 
d1(8) | 
 →  | 
9 | 
| 
d1(6) | 
 →  | 
7 | 
| 
f40
 | 
 →  | 
2 | 
| 
c0(3) | 
 →  | 
4 | 
| 
a0(2) | 
 →  | 
5 | 
| 
d0(2) | 
 →  | 
3 | 
| 
d0(4) | 
 →  | 
1 |