The rewrite relation of the following TRS is considered.
+(0,y) | → | y | (1) |
+(s(x),0) | → | s(x) | (2) |
+(s(x),s(y)) | → | s(+(s(x),+(y,0))) | (3) |
final states:
{0, 1}
transitions:
00 | → | 0 |
s0(0) | → | 0 |
+0(0,0) | → | 1 |
s1(0) | → | 1 |
s1(0) | → | 3 |
01 | → | 5 |
+1(0,5) | → | 4 |
+1(3,4) | → | 2 |
s1(2) | → | 1 |
s1(0) | → | 4 |
s2(0) | → | 2 |
s2(0) | → | 7 |
02 | → | 9 |
+2(0,9) | → | 8 |
+2(7,8) | → | 6 |
s2(6) | → | 2 |
s1(0) | → | 8 |
s3(0) | → | 6 |
s2(6) | → | 6 |
0 | → | 1 |
5 | → | 4 |
9 | → | 8 |