The rewrite relation of the following TRS is considered.
decrease(Cons(x,xs)) | → | decrease(xs) | (1) |
decrease(Nil) | → | number42(Nil) | (2) |
number42(x) | → | Cons(Nil,Cons(Nil,Cons(Nil,Cons(Nil,Cons(Nil,Cons(Nil,Cons(Nil,Cons(Nil,Cons(Nil,Cons(Nil,Cons(Nil,Cons(Nil,Cons(Nil,Cons(Nil,Cons(Nil,Cons(Nil,Cons(Nil,Cons(Nil,Cons(Nil,Cons(Nil,Cons(Nil,Cons(Nil,Cons(Nil,Cons(Nil,Cons(Nil,Cons(Nil,Cons(Nil,Cons(Nil,Cons(Nil,Cons(Nil,Cons(Nil,Cons(Nil,Cons(Nil,Cons(Nil,Cons(Nil,Cons(Nil,Cons(Nil,Cons(Nil,Cons(Nil,Cons(Nil,Cons(Nil,Cons(Nil,Nil)))))))))))))))))))))))))))))))))))))))))) | (3) |
goal(x) | → | decrease(x) | (4) |
final states:
{0, 1, 2, 3}
transitions:
Cons0(0,0) | → | 0 |
Nil0 | → | 0 |
decrease0(0) | → | 1 |
number420(0) | → | 2 |
goal0(0) | → | 3 |
decrease1(0) | → | 1 |
Nil1 | → | 4 |
number421(4) | → | 1 |
Nil1 | → | 5 |
Nil1 | → | 8 |
Cons1(5,8) | → | 7 |
Cons1(5,7) | → | 6 |
Cons1(5,6) | → | 6 |
Cons1(5,6) | → | 2 |
decrease1(0) | → | 3 |
number421(4) | → | 3 |
Nil2 | → | 9 |
Nil2 | → | 12 |
Cons2(9,12) | → | 11 |
Cons2(9,11) | → | 10 |
Cons2(9,10) | → | 10 |
Cons2(9,10) | → | 1 |
Cons2(9,10) | → | 3 |