The rewrite relation of the following TRS is considered.
U12(tt) | → | s(length(L)) | (1) |
U23(tt) | → | cons(N) | (2) |
zeros | → | cons(0) | (3) |
U11(tt) | → | U12(tt) | (4) |
U21(tt) | → | U22(tt) | (5) |
U22(tt) | → | U23(tt) | (6) |
length(nil) | → | 0 | (7) |
length(cons(N)) | → | U11(tt) | (8) |
take(0,IL) | → | nil | (9) |
take(s(M),cons(N)) | → | U21(tt) | (10) |
The TRS violates one of the two variable conditions. Thus, it is not terminating.