The rewrite relation of the following TRS is considered.
active(f(x)) | → | mark(x) | (1) |
top(active(c)) | → | top(mark(c)) | (2) |
top(mark(x)) | → | top(check(x)) | (3) |
check(f(x)) | → | f(check(x)) | (4) |
check(x) | → | start(match(f(X),x)) | (5) |
match(f(x),f(y)) | → | f(match(x,y)) | (6) |
match(X,x) | → | proper(x) | (7) |
proper(c) | → | ok(c) | (8) |
proper(f(x)) | → | f(proper(x)) | (9) |
f(ok(x)) | → | ok(f(x)) | (10) |
start(ok(x)) | → | found(x) | (11) |
f(found(x)) | → | found(f(x)) | (12) |
top(found(x)) | → | top(active(x)) | (13) |
active(f(x)) | → | f(active(x)) | (14) |
f(mark(x)) | → | mark(f(x)) | (15) |
[top(x1)] | = |
|
||||||||||||||||||||||||||||||||||||
[start(x1)] | = |
|
||||||||||||||||||||||||||||||||||||
[active(x1)] | = |
|
||||||||||||||||||||||||||||||||||||
[c] | = |
|
||||||||||||||||||||||||||||||||||||
[check(x1)] | = |
|
||||||||||||||||||||||||||||||||||||
[ok(x1)] | = |
|
||||||||||||||||||||||||||||||||||||
[f(x1)] | = |
|
||||||||||||||||||||||||||||||||||||
[match(x1, x2)] | = |
|
||||||||||||||||||||||||||||||||||||
[found(x1)] | = |
|
||||||||||||||||||||||||||||||||||||
[proper(x1)] | = |
|
||||||||||||||||||||||||||||||||||||
[X] | = |
|
||||||||||||||||||||||||||||||||||||
[mark(x1)] | = |
|
f(ok(x)) | → | ok(f(x)) | (10) |
[top(x1)] | = |
|
||||||||||||||||||||||||||||||||||||
[start(x1)] | = |
|
||||||||||||||||||||||||||||||||||||
[active(x1)] | = |
|
||||||||||||||||||||||||||||||||||||
[c] | = |
|
||||||||||||||||||||||||||||||||||||
[check(x1)] | = |
|
||||||||||||||||||||||||||||||||||||
[ok(x1)] | = |
|
||||||||||||||||||||||||||||||||||||
[f(x1)] | = |
|
||||||||||||||||||||||||||||||||||||
[match(x1, x2)] | = |
|
||||||||||||||||||||||||||||||||||||
[found(x1)] | = |
|
||||||||||||||||||||||||||||||||||||
[proper(x1)] | = |
|
||||||||||||||||||||||||||||||||||||
[X] | = |
|
||||||||||||||||||||||||||||||||||||
[mark(x1)] | = |
|
active(f(x)) | → | mark(x) | (1) |
active(f(x)) | → | f(active(x)) | (14) |
[top(x1)] | = |
|
||||||||||||||||||||||||||||||||||||
[start(x1)] | = |
|
||||||||||||||||||||||||||||||||||||
[active(x1)] | = |
|
||||||||||||||||||||||||||||||||||||
[c] | = |
|
||||||||||||||||||||||||||||||||||||
[check(x1)] | = |
|
||||||||||||||||||||||||||||||||||||
[ok(x1)] | = |
|
||||||||||||||||||||||||||||||||||||
[f(x1)] | = |
|
||||||||||||||||||||||||||||||||||||
[match(x1, x2)] | = |
|
||||||||||||||||||||||||||||||||||||
[found(x1)] | = |
|
||||||||||||||||||||||||||||||||||||
[proper(x1)] | = |
|
||||||||||||||||||||||||||||||||||||
[X] | = |
|
||||||||||||||||||||||||||||||||||||
[mark(x1)] | = |
|
check(f(x)) | → | f(check(x)) | (4) |
[top(x1)] | = |
|
||||||||||||||||||||||||||||||||||||
[start(x1)] | = |
|
||||||||||||||||||||||||||||||||||||
[active(x1)] | = |
|
||||||||||||||||||||||||||||||||||||
[c] | = |
|
||||||||||||||||||||||||||||||||||||
[check(x1)] | = |
|
||||||||||||||||||||||||||||||||||||
[ok(x1)] | = |
|
||||||||||||||||||||||||||||||||||||
[f(x1)] | = |
|
||||||||||||||||||||||||||||||||||||
[match(x1, x2)] | = |
|
||||||||||||||||||||||||||||||||||||
[found(x1)] | = |
|
||||||||||||||||||||||||||||||||||||
[proper(x1)] | = |
|
||||||||||||||||||||||||||||||||||||
[X] | = |
|
||||||||||||||||||||||||||||||||||||
[mark(x1)] | = |
|
match(f(x),f(y)) | → | f(match(x,y)) | (6) |
[top(x1)] | = |
|
||||||||||||||||||||||||||||||||||||
[start(x1)] | = |
|
||||||||||||||||||||||||||||||||||||
[active(x1)] | = |
|
||||||||||||||||||||||||||||||||||||
[c] | = |
|
||||||||||||||||||||||||||||||||||||
[check(x1)] | = |
|
||||||||||||||||||||||||||||||||||||
[ok(x1)] | = |
|
||||||||||||||||||||||||||||||||||||
[f(x1)] | = |
|
||||||||||||||||||||||||||||||||||||
[match(x1, x2)] | = |
|
||||||||||||||||||||||||||||||||||||
[found(x1)] | = |
|
||||||||||||||||||||||||||||||||||||
[proper(x1)] | = |
|
||||||||||||||||||||||||||||||||||||
[X] | = |
|
||||||||||||||||||||||||||||||||||||
[mark(x1)] | = |
|
f(found(x)) | → | found(f(x)) | (12) |
[top(x1)] | = |
|
||||||||||||||||||||||||||||||||||||
[start(x1)] | = |
|
||||||||||||||||||||||||||||||||||||
[active(x1)] | = |
|
||||||||||||||||||||||||||||||||||||
[c] | = |
|
||||||||||||||||||||||||||||||||||||
[check(x1)] | = |
|
||||||||||||||||||||||||||||||||||||
[ok(x1)] | = |
|
||||||||||||||||||||||||||||||||||||
[f(x1)] | = |
|
||||||||||||||||||||||||||||||||||||
[match(x1, x2)] | = |
|
||||||||||||||||||||||||||||||||||||
[found(x1)] | = |
|
||||||||||||||||||||||||||||||||||||
[proper(x1)] | = |
|
||||||||||||||||||||||||||||||||||||
[X] | = |
|
||||||||||||||||||||||||||||||||||||
[mark(x1)] | = |
|
top(active(c)) | → | top(mark(c)) | (2) |
prec(found) | = | 9 | weight(found) | = | 1 | ||||
prec(ok) | = | 6 | weight(ok) | = | 1 | ||||
prec(proper) | = | 8 | weight(proper) | = | 1 | ||||
prec(start) | = | 1 | weight(start) | = | 1 | ||||
prec(match) | = | 12 | weight(match) | = | 0 | ||||
prec(X) | = | 10 | weight(X) | = | 1 | ||||
prec(check) | = | 2 | weight(check) | = | 6 | ||||
prec(top) | = | 15 | weight(top) | = | 2 | ||||
prec(c) | = | 14 | weight(c) | = | 1 | ||||
prec(mark) | = | 3 | weight(mark) | = | 6 | ||||
prec(active) | = | 0 | weight(active) | = | 1 | ||||
prec(f) | = | 5 | weight(f) | = | 4 |
top(mark(x)) | → | top(check(x)) | (3) |
check(x) | → | start(match(f(X),x)) | (5) |
match(X,x) | → | proper(x) | (7) |
proper(c) | → | ok(c) | (8) |
proper(f(x)) | → | f(proper(x)) | (9) |
start(ok(x)) | → | found(x) | (11) |
top(found(x)) | → | top(active(x)) | (13) |
f(mark(x)) | → | mark(f(x)) | (15) |
There are no rules in the TRS. Hence, it is terminating.