R
↳Dependency Pair Analysis
ACTIVE(f(x)) -> F(active(x))
ACTIVE(f(x)) -> ACTIVE(x)
TOP(active(c)) -> TOP(mark(c))
TOP(mark(x)) -> TOP(check(x))
TOP(mark(x)) -> CHECK(x)
TOP(found(x)) -> TOP(active(x))
TOP(found(x)) -> ACTIVE(x)
CHECK(f(x)) -> F(check(x))
CHECK(f(x)) -> CHECK(x)
CHECK(x) -> START(match(f(X), x))
CHECK(x) -> MATCH(f(X), x)
CHECK(x) -> F(X)
MATCH(f(x), f(y)) -> F(match(x, y))
MATCH(f(x), f(y)) -> MATCH(x, y)
MATCH(X, x) -> PROPER(x)
PROPER(f(x)) -> F(proper(x))
PROPER(f(x)) -> PROPER(x)
F(ok(x)) -> F(x)
F(found(x)) -> F(x)
F(mark(x)) -> F(x)
R
↳DPs
→DP Problem 1
↳Argument Filtering and Ordering
→DP Problem 2
↳AFS
→DP Problem 3
↳AFS
→DP Problem 4
↳AFS
→DP Problem 5
↳AFS
→DP Problem 6
↳AFS
F(mark(x)) -> F(x)
F(found(x)) -> F(x)
F(ok(x)) -> F(x)
active(f(x)) -> mark(x)
active(f(x)) -> f(active(x))
top(active(c)) -> top(mark(c))
top(mark(x)) -> top(check(x))
top(found(x)) -> top(active(x))
check(f(x)) -> f(check(x))
check(x) -> start(match(f(X), x))
match(f(x), f(y)) -> f(match(x, y))
match(X, x) -> proper(x)
proper(c) -> ok(c)
proper(f(x)) -> f(proper(x))
f(ok(x)) -> ok(f(x))
f(found(x)) -> found(f(x))
f(mark(x)) -> mark(f(x))
start(ok(x)) -> found(x)
F(mark(x)) -> F(x)
F(found(x)) -> F(x)
F(ok(x)) -> F(x)
active(f(x)) -> mark(x)
active(f(x)) -> f(active(x))
top(active(c)) -> top(mark(c))
top(mark(x)) -> top(check(x))
top(found(x)) -> top(active(x))
check(f(x)) -> f(check(x))
check(x) -> start(match(f(X), x))
match(f(x), f(y)) -> f(match(x, y))
match(X, x) -> proper(x)
proper(c) -> ok(c)
proper(f(x)) -> f(proper(x))
f(ok(x)) -> ok(f(x))
f(found(x)) -> found(f(x))
f(mark(x)) -> mark(f(x))
start(ok(x)) -> found(x)
POL(proper(x1)) = 1 + x1 POL(match(x1, x2)) = x1 + x2 POL(X) = 1 POL(check(x1)) = 1 + x1 POL(mark(x1)) = 1 + x1 POL(ok(x1)) = 1 + x1 POL(F(x1)) = x1 POL(f(x1)) = x1 POL(start(x1)) = x1 POL(top(x1)) = 1 + x1 POL(active(x1)) = 1 + x1 POL(c) = 0 POL(found(x1)) = 1 + x1
F(x1) -> F(x1)
ok(x1) -> ok(x1)
mark(x1) -> mark(x1)
found(x1) -> found(x1)
active(x1) -> active(x1)
f(x1) -> f(x1)
top(x1) -> top(x1)
check(x1) -> check(x1)
start(x1) -> start(x1)
match(x1, x2) -> match(x1, x2)
proper(x1) -> proper(x1)
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 7
↳Dependency Graph
→DP Problem 2
↳AFS
→DP Problem 3
↳AFS
→DP Problem 4
↳AFS
→DP Problem 5
↳AFS
→DP Problem 6
↳AFS
active(f(x)) -> mark(x)
active(f(x)) -> f(active(x))
top(active(c)) -> top(mark(c))
top(mark(x)) -> top(check(x))
top(found(x)) -> top(active(x))
check(f(x)) -> f(check(x))
check(x) -> start(match(f(X), x))
match(f(x), f(y)) -> f(match(x, y))
match(X, x) -> proper(x)
proper(c) -> ok(c)
proper(f(x)) -> f(proper(x))
f(ok(x)) -> ok(f(x))
f(found(x)) -> found(f(x))
f(mark(x)) -> mark(f(x))
start(ok(x)) -> found(x)
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 2
↳Argument Filtering and Ordering
→DP Problem 3
↳AFS
→DP Problem 4
↳AFS
→DP Problem 5
↳AFS
→DP Problem 6
↳AFS
ACTIVE(f(x)) -> ACTIVE(x)
active(f(x)) -> mark(x)
active(f(x)) -> f(active(x))
top(active(c)) -> top(mark(c))
top(mark(x)) -> top(check(x))
top(found(x)) -> top(active(x))
check(f(x)) -> f(check(x))
check(x) -> start(match(f(X), x))
match(f(x), f(y)) -> f(match(x, y))
match(X, x) -> proper(x)
proper(c) -> ok(c)
proper(f(x)) -> f(proper(x))
f(ok(x)) -> ok(f(x))
f(found(x)) -> found(f(x))
f(mark(x)) -> mark(f(x))
start(ok(x)) -> found(x)
ACTIVE(f(x)) -> ACTIVE(x)
active(f(x)) -> mark(x)
active(f(x)) -> f(active(x))
top(active(c)) -> top(mark(c))
top(mark(x)) -> top(check(x))
top(found(x)) -> top(active(x))
check(f(x)) -> f(check(x))
check(x) -> start(match(f(X), x))
match(f(x), f(y)) -> f(match(x, y))
match(X, x) -> proper(x)
proper(c) -> ok(c)
proper(f(x)) -> f(proper(x))
f(ok(x)) -> ok(f(x))
f(found(x)) -> found(f(x))
f(mark(x)) -> mark(f(x))
start(ok(x)) -> found(x)
POL(top(x1)) = x1 POL(ACTIVE(x1)) = x1 POL(active(x1)) = x1 POL(proper(x1)) = x1 POL(c) = 0 POL(check(x1)) = x1 POL(found(x1)) = x1 POL(mark(x1)) = x1 POL(ok(x1)) = x1 POL(f(x1)) = 1 + x1 POL(start(x1)) = x1
ACTIVE(x1) -> ACTIVE(x1)
f(x1) -> f(x1)
active(x1) -> active(x1)
mark(x1) -> mark(x1)
top(x1) -> top(x1)
check(x1) -> check(x1)
found(x1) -> found(x1)
start(x1) -> start(x1)
match(x1, x2) -> x2
proper(x1) -> proper(x1)
ok(x1) -> ok(x1)
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 2
↳AFS
→DP Problem 8
↳Dependency Graph
→DP Problem 3
↳AFS
→DP Problem 4
↳AFS
→DP Problem 5
↳AFS
→DP Problem 6
↳AFS
active(f(x)) -> mark(x)
active(f(x)) -> f(active(x))
top(active(c)) -> top(mark(c))
top(mark(x)) -> top(check(x))
top(found(x)) -> top(active(x))
check(f(x)) -> f(check(x))
check(x) -> start(match(f(X), x))
match(f(x), f(y)) -> f(match(x, y))
match(X, x) -> proper(x)
proper(c) -> ok(c)
proper(f(x)) -> f(proper(x))
f(ok(x)) -> ok(f(x))
f(found(x)) -> found(f(x))
f(mark(x)) -> mark(f(x))
start(ok(x)) -> found(x)
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 2
↳AFS
→DP Problem 3
↳Argument Filtering and Ordering
→DP Problem 4
↳AFS
→DP Problem 5
↳AFS
→DP Problem 6
↳AFS
PROPER(f(x)) -> PROPER(x)
active(f(x)) -> mark(x)
active(f(x)) -> f(active(x))
top(active(c)) -> top(mark(c))
top(mark(x)) -> top(check(x))
top(found(x)) -> top(active(x))
check(f(x)) -> f(check(x))
check(x) -> start(match(f(X), x))
match(f(x), f(y)) -> f(match(x, y))
match(X, x) -> proper(x)
proper(c) -> ok(c)
proper(f(x)) -> f(proper(x))
f(ok(x)) -> ok(f(x))
f(found(x)) -> found(f(x))
f(mark(x)) -> mark(f(x))
start(ok(x)) -> found(x)
PROPER(f(x)) -> PROPER(x)
active(f(x)) -> mark(x)
active(f(x)) -> f(active(x))
top(active(c)) -> top(mark(c))
top(mark(x)) -> top(check(x))
top(found(x)) -> top(active(x))
check(f(x)) -> f(check(x))
check(x) -> start(match(f(X), x))
match(f(x), f(y)) -> f(match(x, y))
match(X, x) -> proper(x)
proper(c) -> ok(c)
proper(f(x)) -> f(proper(x))
f(ok(x)) -> ok(f(x))
f(found(x)) -> found(f(x))
f(mark(x)) -> mark(f(x))
start(ok(x)) -> found(x)
POL(top(x1)) = x1 POL(active(x1)) = x1 POL(proper(x1)) = x1 POL(c) = 0 POL(PROPER(x1)) = x1 POL(check(x1)) = x1 POL(found(x1)) = x1 POL(mark(x1)) = x1 POL(ok(x1)) = x1 POL(f(x1)) = 1 + x1 POL(start(x1)) = x1
PROPER(x1) -> PROPER(x1)
f(x1) -> f(x1)
active(x1) -> active(x1)
mark(x1) -> mark(x1)
top(x1) -> top(x1)
check(x1) -> check(x1)
found(x1) -> found(x1)
start(x1) -> start(x1)
match(x1, x2) -> x2
proper(x1) -> proper(x1)
ok(x1) -> ok(x1)
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 2
↳AFS
→DP Problem 3
↳AFS
→DP Problem 9
↳Dependency Graph
→DP Problem 4
↳AFS
→DP Problem 5
↳AFS
→DP Problem 6
↳AFS
active(f(x)) -> mark(x)
active(f(x)) -> f(active(x))
top(active(c)) -> top(mark(c))
top(mark(x)) -> top(check(x))
top(found(x)) -> top(active(x))
check(f(x)) -> f(check(x))
check(x) -> start(match(f(X), x))
match(f(x), f(y)) -> f(match(x, y))
match(X, x) -> proper(x)
proper(c) -> ok(c)
proper(f(x)) -> f(proper(x))
f(ok(x)) -> ok(f(x))
f(found(x)) -> found(f(x))
f(mark(x)) -> mark(f(x))
start(ok(x)) -> found(x)
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 2
↳AFS
→DP Problem 3
↳AFS
→DP Problem 4
↳Argument Filtering and Ordering
→DP Problem 5
↳AFS
→DP Problem 6
↳AFS
MATCH(f(x), f(y)) -> MATCH(x, y)
active(f(x)) -> mark(x)
active(f(x)) -> f(active(x))
top(active(c)) -> top(mark(c))
top(mark(x)) -> top(check(x))
top(found(x)) -> top(active(x))
check(f(x)) -> f(check(x))
check(x) -> start(match(f(X), x))
match(f(x), f(y)) -> f(match(x, y))
match(X, x) -> proper(x)
proper(c) -> ok(c)
proper(f(x)) -> f(proper(x))
f(ok(x)) -> ok(f(x))
f(found(x)) -> found(f(x))
f(mark(x)) -> mark(f(x))
start(ok(x)) -> found(x)
MATCH(f(x), f(y)) -> MATCH(x, y)
active(f(x)) -> mark(x)
active(f(x)) -> f(active(x))
top(active(c)) -> top(mark(c))
top(mark(x)) -> top(check(x))
top(found(x)) -> top(active(x))
check(f(x)) -> f(check(x))
check(x) -> start(match(f(X), x))
match(f(x), f(y)) -> f(match(x, y))
match(X, x) -> proper(x)
proper(c) -> ok(c)
proper(f(x)) -> f(proper(x))
f(ok(x)) -> ok(f(x))
f(found(x)) -> found(f(x))
f(mark(x)) -> mark(f(x))
start(ok(x)) -> found(x)
POL(top(x1)) = x1 POL(active(x1)) = x1 POL(proper(x1)) = x1 POL(c) = 0 POL(MATCH(x1, x2)) = x1 + x2 POL(check(x1)) = x1 POL(found(x1)) = x1 POL(mark(x1)) = x1 POL(ok(x1)) = x1 POL(f(x1)) = 1 + x1 POL(start(x1)) = x1
MATCH(x1, x2) -> MATCH(x1, x2)
f(x1) -> f(x1)
active(x1) -> active(x1)
mark(x1) -> mark(x1)
top(x1) -> top(x1)
check(x1) -> check(x1)
found(x1) -> found(x1)
start(x1) -> start(x1)
match(x1, x2) -> x2
proper(x1) -> proper(x1)
ok(x1) -> ok(x1)
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 2
↳AFS
→DP Problem 3
↳AFS
→DP Problem 4
↳AFS
→DP Problem 10
↳Dependency Graph
→DP Problem 5
↳AFS
→DP Problem 6
↳AFS
active(f(x)) -> mark(x)
active(f(x)) -> f(active(x))
top(active(c)) -> top(mark(c))
top(mark(x)) -> top(check(x))
top(found(x)) -> top(active(x))
check(f(x)) -> f(check(x))
check(x) -> start(match(f(X), x))
match(f(x), f(y)) -> f(match(x, y))
match(X, x) -> proper(x)
proper(c) -> ok(c)
proper(f(x)) -> f(proper(x))
f(ok(x)) -> ok(f(x))
f(found(x)) -> found(f(x))
f(mark(x)) -> mark(f(x))
start(ok(x)) -> found(x)
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 2
↳AFS
→DP Problem 3
↳AFS
→DP Problem 4
↳AFS
→DP Problem 5
↳Argument Filtering and Ordering
→DP Problem 6
↳AFS
CHECK(f(x)) -> CHECK(x)
active(f(x)) -> mark(x)
active(f(x)) -> f(active(x))
top(active(c)) -> top(mark(c))
top(mark(x)) -> top(check(x))
top(found(x)) -> top(active(x))
check(f(x)) -> f(check(x))
check(x) -> start(match(f(X), x))
match(f(x), f(y)) -> f(match(x, y))
match(X, x) -> proper(x)
proper(c) -> ok(c)
proper(f(x)) -> f(proper(x))
f(ok(x)) -> ok(f(x))
f(found(x)) -> found(f(x))
f(mark(x)) -> mark(f(x))
start(ok(x)) -> found(x)
CHECK(f(x)) -> CHECK(x)
active(f(x)) -> mark(x)
active(f(x)) -> f(active(x))
top(active(c)) -> top(mark(c))
top(mark(x)) -> top(check(x))
top(found(x)) -> top(active(x))
check(f(x)) -> f(check(x))
check(x) -> start(match(f(X), x))
match(f(x), f(y)) -> f(match(x, y))
match(X, x) -> proper(x)
proper(c) -> ok(c)
proper(f(x)) -> f(proper(x))
f(ok(x)) -> ok(f(x))
f(found(x)) -> found(f(x))
f(mark(x)) -> mark(f(x))
start(ok(x)) -> found(x)
POL(top(x1)) = x1 POL(active(x1)) = x1 POL(proper(x1)) = x1 POL(c) = 0 POL(check(x1)) = x1 POL(found(x1)) = x1 POL(mark(x1)) = x1 POL(CHECK(x1)) = x1 POL(ok(x1)) = x1 POL(f(x1)) = 1 + x1 POL(start(x1)) = x1
CHECK(x1) -> CHECK(x1)
f(x1) -> f(x1)
active(x1) -> active(x1)
mark(x1) -> mark(x1)
top(x1) -> top(x1)
check(x1) -> check(x1)
found(x1) -> found(x1)
start(x1) -> start(x1)
match(x1, x2) -> x2
proper(x1) -> proper(x1)
ok(x1) -> ok(x1)
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 2
↳AFS
→DP Problem 3
↳AFS
→DP Problem 4
↳AFS
→DP Problem 5
↳AFS
→DP Problem 11
↳Dependency Graph
→DP Problem 6
↳AFS
active(f(x)) -> mark(x)
active(f(x)) -> f(active(x))
top(active(c)) -> top(mark(c))
top(mark(x)) -> top(check(x))
top(found(x)) -> top(active(x))
check(f(x)) -> f(check(x))
check(x) -> start(match(f(X), x))
match(f(x), f(y)) -> f(match(x, y))
match(X, x) -> proper(x)
proper(c) -> ok(c)
proper(f(x)) -> f(proper(x))
f(ok(x)) -> ok(f(x))
f(found(x)) -> found(f(x))
f(mark(x)) -> mark(f(x))
start(ok(x)) -> found(x)
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 2
↳AFS
→DP Problem 3
↳AFS
→DP Problem 4
↳AFS
→DP Problem 5
↳AFS
→DP Problem 6
↳Argument Filtering and Ordering
TOP(found(x)) -> TOP(active(x))
TOP(mark(x)) -> TOP(check(x))
TOP(active(c)) -> TOP(mark(c))
active(f(x)) -> mark(x)
active(f(x)) -> f(active(x))
top(active(c)) -> top(mark(c))
top(mark(x)) -> top(check(x))
top(found(x)) -> top(active(x))
check(f(x)) -> f(check(x))
check(x) -> start(match(f(X), x))
match(f(x), f(y)) -> f(match(x, y))
match(X, x) -> proper(x)
proper(c) -> ok(c)
proper(f(x)) -> f(proper(x))
f(ok(x)) -> ok(f(x))
f(found(x)) -> found(f(x))
f(mark(x)) -> mark(f(x))
start(ok(x)) -> found(x)
TOP(active(c)) -> TOP(mark(c))
check(f(x)) -> f(check(x))
check(x) -> start(match(f(X), x))
active(f(x)) -> mark(x)
active(f(x)) -> f(active(x))
f(ok(x)) -> ok(f(x))
f(found(x)) -> found(f(x))
f(mark(x)) -> mark(f(x))
start(ok(x)) -> found(x)
match(f(x), f(y)) -> f(match(x, y))
match(X, x) -> proper(x)
proper(c) -> ok(c)
proper(f(x)) -> f(proper(x))
top(active(c)) -> top(mark(c))
top(mark(x)) -> top(check(x))
top(found(x)) -> top(active(x))
POL(top(x1)) = x1 POL(active(x1)) = x1 POL(proper) = 1 POL(c) = 1 POL(X) = 1 POL(check) = 0 POL(found(x1)) = x1 POL(mark) = 0 POL(TOP(x1)) = x1 POL(ok(x1)) = x1 POL(f) = 0 POL(start(x1)) = x1
TOP(x1) -> TOP(x1)
active(x1) -> active(x1)
mark(x1) -> mark
check(x1) -> check
found(x1) -> found(x1)
f(x1) -> f
start(x1) -> start(x1)
match(x1, x2) -> x1
ok(x1) -> ok(x1)
proper(x1) -> proper
top(x1) -> top(x1)
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 2
↳AFS
→DP Problem 3
↳AFS
→DP Problem 4
↳AFS
→DP Problem 5
↳AFS
→DP Problem 6
↳AFS
→DP Problem 12
↳Argument Filtering and Ordering
TOP(found(x)) -> TOP(active(x))
TOP(mark(x)) -> TOP(check(x))
active(f(x)) -> mark(x)
active(f(x)) -> f(active(x))
top(active(c)) -> top(mark(c))
top(mark(x)) -> top(check(x))
top(found(x)) -> top(active(x))
check(f(x)) -> f(check(x))
check(x) -> start(match(f(X), x))
match(f(x), f(y)) -> f(match(x, y))
match(X, x) -> proper(x)
proper(c) -> ok(c)
proper(f(x)) -> f(proper(x))
f(ok(x)) -> ok(f(x))
f(found(x)) -> found(f(x))
f(mark(x)) -> mark(f(x))
start(ok(x)) -> found(x)
TOP(mark(x)) -> TOP(check(x))
check(f(x)) -> f(check(x))
check(x) -> start(match(f(X), x))
active(f(x)) -> mark(x)
active(f(x)) -> f(active(x))
f(ok(x)) -> ok(f(x))
f(found(x)) -> found(f(x))
f(mark(x)) -> mark(f(x))
start(ok(x)) -> found(x)
match(f(x), f(y)) -> f(match(x, y))
match(X, x) -> proper(x)
proper(c) -> ok(c)
proper(f(x)) -> f(proper(x))
top(active(c)) -> top(mark(c))
top(mark(x)) -> top(check(x))
top(found(x)) -> top(active(x))
POL(top) = 0 POL(active(x1)) = x1 POL(proper(x1)) = x1 POL(c) = 0 POL(check(x1)) = x1 POL(found(x1)) = x1 POL(mark(x1)) = 1 + x1 POL(TOP(x1)) = 1 + x1 POL(ok(x1)) = x1 POL(f(x1)) = 1 + x1 POL(start(x1)) = x1
TOP(x1) -> TOP(x1)
mark(x1) -> mark(x1)
check(x1) -> check(x1)
found(x1) -> found(x1)
active(x1) -> active(x1)
f(x1) -> f(x1)
start(x1) -> start(x1)
match(x1, x2) -> x2
ok(x1) -> ok(x1)
proper(x1) -> proper(x1)
top(x1) -> top
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 2
↳AFS
→DP Problem 3
↳AFS
→DP Problem 4
↳AFS
→DP Problem 5
↳AFS
→DP Problem 6
↳AFS
→DP Problem 12
↳AFS
...
→DP Problem 13
↳Argument Filtering and Ordering
TOP(found(x)) -> TOP(active(x))
active(f(x)) -> mark(x)
active(f(x)) -> f(active(x))
top(active(c)) -> top(mark(c))
top(mark(x)) -> top(check(x))
top(found(x)) -> top(active(x))
check(f(x)) -> f(check(x))
check(x) -> start(match(f(X), x))
match(f(x), f(y)) -> f(match(x, y))
match(X, x) -> proper(x)
proper(c) -> ok(c)
proper(f(x)) -> f(proper(x))
f(ok(x)) -> ok(f(x))
f(found(x)) -> found(f(x))
f(mark(x)) -> mark(f(x))
start(ok(x)) -> found(x)
TOP(found(x)) -> TOP(active(x))
active(f(x)) -> mark(x)
active(f(x)) -> f(active(x))
f(ok(x)) -> ok(f(x))
f(found(x)) -> found(f(x))
f(mark(x)) -> mark(f(x))
top(active(c)) -> top(mark(c))
top(mark(x)) -> top(check(x))
top(found(x)) -> top(active(x))
check(f(x)) -> f(check(x))
check(x) -> start(match(f(X), x))
match(f(x), f(y)) -> f(match(x, y))
match(X, x) -> proper(x)
proper(c) -> ok(c)
proper(f(x)) -> f(proper(x))
start(ok(x)) -> found(x)
POL(proper(x1)) = x1 POL(match(x1, x2)) = x1 + x2 POL(X) = 0 POL(check(x1)) = 1 + x1 POL(mark(x1)) = x1 POL(TOP(x1)) = 1 + x1 POL(ok(x1)) = x1 POL(f(x1)) = x1 POL(start(x1)) = 1 + x1 POL(top) = 0 POL(active(x1)) = x1 POL(c) = 0 POL(found(x1)) = 1 + x1
TOP(x1) -> TOP(x1)
found(x1) -> found(x1)
active(x1) -> active(x1)
f(x1) -> f(x1)
mark(x1) -> mark(x1)
ok(x1) -> ok(x1)
top(x1) -> top
check(x1) -> check(x1)
start(x1) -> start(x1)
match(x1, x2) -> match(x1, x2)
proper(x1) -> proper(x1)
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 2
↳AFS
→DP Problem 3
↳AFS
→DP Problem 4
↳AFS
→DP Problem 5
↳AFS
→DP Problem 6
↳AFS
→DP Problem 12
↳AFS
...
→DP Problem 14
↳Dependency Graph
active(f(x)) -> mark(x)
active(f(x)) -> f(active(x))
top(active(c)) -> top(mark(c))
top(mark(x)) -> top(check(x))
top(found(x)) -> top(active(x))
check(f(x)) -> f(check(x))
check(x) -> start(match(f(X), x))
match(f(x), f(y)) -> f(match(x, y))
match(X, x) -> proper(x)
proper(c) -> ok(c)
proper(f(x)) -> f(proper(x))
f(ok(x)) -> ok(f(x))
f(found(x)) -> found(f(x))
f(mark(x)) -> mark(f(x))
start(ok(x)) -> found(x)