The rewrite relation of the following TRS is considered.
foldl#3(x2,Nil) | → | x2 | (1) |
foldl#3(x16,Cons(x24,x6)) | → | foldl#3(Cons(x24,x16),x6) | (2) |
main(x1) | → | foldl#3(Nil,x1) | (3) |
final states:
{0, 1, 2}
transitions:
Nil0 | → | 0 |
Cons0(0,0) | → | 0 |
foldl#30(0,0) | → | 1 |
main0(0) | → | 2 |
Cons1(0,0) | → | 3 |
foldl#31(3,0) | → | 1 |
Nil1 | → | 4 |
foldl#31(4,0) | → | 2 |
Cons1(0,3) | → | 3 |
Cons1(0,4) | → | 3 |
foldl#31(3,0) | → | 2 |
0 | → | 1 |
3 | → | 1 |
3 | → | 2 |
4 | → | 2 |