The rewrite relation of the following TRS is considered.
hd(cons) | → | X | (1) |
tl(cons) | → | Y | (2) |
nats | → | adx(zeros) | (3) |
zeros | → | cons | (4) |
incr(cons) | → | cons | (5) |
adx(cons) | → | incr(cons) | (6) |
The TRS violates one of the two variable conditions. Thus, it is not terminating.