The rewrite relation of the following TRS is considered.
| active(f(x)) | → | mark(f(f(x))) | (1) |
| chk(no(f(x))) | → | f(chk(mat(f(f(f(f(f(f(f(f(f(f(X)))))))))),x))) | (2) |
| mat(f(x),f(y)) | → | f(mat(x,y)) | (3) |
| chk(no(c)) | → | active(c) | (4) |
| mat(f(x),c) | → | no(c) | (5) |
| f(active(x)) | → | active(f(x)) | (6) |
| f(no(x)) | → | no(f(x)) | (7) |
| f(mark(x)) | → | mark(f(x)) | (8) |
| tp(mark(x)) | → | tp(chk(mat(f(f(f(f(f(f(f(f(f(f(X)))))))))),x))) | (9) |
| [chk(x1)] | = |
|
||||||||||||||||||||||||||||||||||||
| [c] | = |
|
||||||||||||||||||||||||||||||||||||
| [active(x1)] | = |
|
||||||||||||||||||||||||||||||||||||
| [no(x1)] | = |
|
||||||||||||||||||||||||||||||||||||
| [X] | = |
|
||||||||||||||||||||||||||||||||||||
| [f(x1)] | = |
|
||||||||||||||||||||||||||||||||||||
| [y] | = |
|
||||||||||||||||||||||||||||||||||||
| [tp(x1)] | = |
|
||||||||||||||||||||||||||||||||||||
| [mat(x1, x2)] | = |
|
||||||||||||||||||||||||||||||||||||
| [mark(x1)] | = |
|
| mat(f(x),f(y)) | → | f(mat(x,y)) | (3) |
| [chk(x1)] | = |
|
||||||||||||||||||||||||||||||||||||
| [c] | = |
|
||||||||||||||||||||||||||||||||||||
| [active(x1)] | = |
|
||||||||||||||||||||||||||||||||||||
| [no(x1)] | = |
|
||||||||||||||||||||||||||||||||||||
| [X] | = |
|
||||||||||||||||||||||||||||||||||||
| [f(x1)] | = |
|
||||||||||||||||||||||||||||||||||||
| [tp(x1)] | = |
|
||||||||||||||||||||||||||||||||||||
| [mat(x1, x2)] | = |
|
||||||||||||||||||||||||||||||||||||
| [mark(x1)] | = |
|
| chk(no(c)) | → | active(c) | (4) |
| [chk(x1)] | = |
|
||||||||||||||||||||||||||||||||||||
| [c] | = |
|
||||||||||||||||||||||||||||||||||||
| [active(x1)] | = |
|
||||||||||||||||||||||||||||||||||||
| [no(x1)] | = |
|
||||||||||||||||||||||||||||||||||||
| [X] | = |
|
||||||||||||||||||||||||||||||||||||
| [f(x1)] | = |
|
||||||||||||||||||||||||||||||||||||
| [tp(x1)] | = |
|
||||||||||||||||||||||||||||||||||||
| [mat(x1, x2)] | = |
|
||||||||||||||||||||||||||||||||||||
| [mark(x1)] | = |
|
| chk(no(f(x))) | → | f(chk(mat(f(f(f(f(f(f(f(f(f(f(X)))))))))),x))) | (2) |
| prec(tp) | = | 0 | weight(tp) | = | 4 | ||||
| prec(c) | = | 4 | weight(c) | = | 2 | ||||
| prec(mat) | = | 11 | weight(mat) | = | 0 | ||||
| prec(X) | = | 2 | weight(X) | = | 4 | ||||
| prec(chk) | = | 9 | weight(chk) | = | 1 | ||||
| prec(no) | = | 8 | weight(no) | = | 1 | ||||
| prec(mark) | = | 1 | weight(mark) | = | 6 | ||||
| prec(active) | = | 12 | weight(active) | = | 6 | ||||
| prec(f) | = | 13 | weight(f) | = | 0 |
| active(f(x)) | → | mark(f(f(x))) | (1) |
| mat(f(x),c) | → | no(c) | (5) |
| f(active(x)) | → | active(f(x)) | (6) |
| f(no(x)) | → | no(f(x)) | (7) |
| f(mark(x)) | → | mark(f(x)) | (8) |
| tp(mark(x)) | → | tp(chk(mat(f(f(f(f(f(f(f(f(f(f(X)))))))))),x))) | (9) |
There are no rules in the TRS. Hence, it is terminating.