Term Rewriting System R:
[x, y, z]
active(f(b, c, x)) -> mark(f(x, x, x))
active(f(x, y, z)) -> f(x, y, active(z))
active(d) -> m(b)
active(d) -> mark(c)
f(x, y, mark(z)) -> mark(f(x, y, z))
f(ok(x), ok(y), ok(z)) -> ok(f(x, y, z))
proper(b) -> ok(b)
proper(c) -> ok(c)
proper(d) -> ok(d)
proper(f(x, y, z)) -> f(proper(x), proper(y), proper(z))
top(mark(x)) -> top(proper(x))
top(ok(x)) -> top(active(x))

Termination of R to be shown.

`   R`
`     ↳Dependency Pair Analysis`

R contains the following Dependency Pairs:

ACTIVE(f(b, c, x)) -> F(x, x, x)
ACTIVE(f(x, y, z)) -> F(x, y, active(z))
ACTIVE(f(x, y, z)) -> ACTIVE(z)
F(x, y, mark(z)) -> F(x, y, z)
F(ok(x), ok(y), ok(z)) -> F(x, y, z)
PROPER(f(x, y, z)) -> F(proper(x), proper(y), proper(z))
PROPER(f(x, y, z)) -> PROPER(x)
PROPER(f(x, y, z)) -> PROPER(y)
PROPER(f(x, y, z)) -> PROPER(z)
TOP(mark(x)) -> TOP(proper(x))
TOP(mark(x)) -> PROPER(x)
TOP(ok(x)) -> TOP(active(x))
TOP(ok(x)) -> ACTIVE(x)

Furthermore, R contains four SCCs.

`   R`
`     ↳DPs`
`       →DP Problem 1`
`         ↳Argument Filtering and Ordering`
`       →DP Problem 2`
`         ↳AFS`
`       →DP Problem 3`
`         ↳AFS`
`       →DP Problem 4`
`         ↳Remaining`

Dependency Pairs:

F(ok(x), ok(y), ok(z)) -> F(x, y, z)
F(x, y, mark(z)) -> F(x, y, z)

Rules:

active(f(b, c, x)) -> mark(f(x, x, x))
active(f(x, y, z)) -> f(x, y, active(z))
active(d) -> m(b)
active(d) -> mark(c)
f(x, y, mark(z)) -> mark(f(x, y, z))
f(ok(x), ok(y), ok(z)) -> ok(f(x, y, z))
proper(b) -> ok(b)
proper(c) -> ok(c)
proper(d) -> ok(d)
proper(f(x, y, z)) -> f(proper(x), proper(y), proper(z))
top(mark(x)) -> top(proper(x))
top(ok(x)) -> top(active(x))

The following dependency pairs can be strictly oriented:

F(ok(x), ok(y), ok(z)) -> F(x, y, z)
F(x, y, mark(z)) -> F(x, y, z)

The following rules can be oriented:

active(f(b, c, x)) -> mark(f(x, x, x))
active(f(x, y, z)) -> f(x, y, active(z))
active(d) -> m(b)
active(d) -> mark(c)
f(x, y, mark(z)) -> mark(f(x, y, z))
f(ok(x), ok(y), ok(z)) -> ok(f(x, y, z))
proper(b) -> ok(b)
proper(c) -> ok(c)
proper(d) -> ok(d)
proper(f(x, y, z)) -> f(proper(x), proper(y), proper(z))
top(mark(x)) -> top(proper(x))
top(ok(x)) -> top(active(x))

Used ordering: Lexicographic Path Order with Non-Strict Precedence with Quasi Precedence:
d > c
d > b
proper > {active, m, f} > mark
proper > {active, m, f} > ok

resulting in one new DP problem.
Used Argument Filtering System:
F(x1, x2, x3) -> F(x1, x2, x3)
ok(x1) -> ok(x1)
mark(x1) -> mark(x1)
active(x1) -> active(x1)
f(x1, x2, x3) -> f(x1, x2, x3)
m(x1) -> m(x1)
proper(x1) -> proper(x1)
top(x1) -> top

`   R`
`     ↳DPs`
`       →DP Problem 1`
`         ↳AFS`
`           →DP Problem 5`
`             ↳Dependency Graph`
`       →DP Problem 2`
`         ↳AFS`
`       →DP Problem 3`
`         ↳AFS`
`       →DP Problem 4`
`         ↳Remaining`

Dependency Pair:

Rules:

active(f(b, c, x)) -> mark(f(x, x, x))
active(f(x, y, z)) -> f(x, y, active(z))
active(d) -> m(b)
active(d) -> mark(c)
f(x, y, mark(z)) -> mark(f(x, y, z))
f(ok(x), ok(y), ok(z)) -> ok(f(x, y, z))
proper(b) -> ok(b)
proper(c) -> ok(c)
proper(d) -> ok(d)
proper(f(x, y, z)) -> f(proper(x), proper(y), proper(z))
top(mark(x)) -> top(proper(x))
top(ok(x)) -> top(active(x))

Using the Dependency Graph resulted in no new DP problems.

`   R`
`     ↳DPs`
`       →DP Problem 1`
`         ↳AFS`
`       →DP Problem 2`
`         ↳Argument Filtering and Ordering`
`       →DP Problem 3`
`         ↳AFS`
`       →DP Problem 4`
`         ↳Remaining`

Dependency Pair:

ACTIVE(f(x, y, z)) -> ACTIVE(z)

Rules:

active(f(b, c, x)) -> mark(f(x, x, x))
active(f(x, y, z)) -> f(x, y, active(z))
active(d) -> m(b)
active(d) -> mark(c)
f(x, y, mark(z)) -> mark(f(x, y, z))
f(ok(x), ok(y), ok(z)) -> ok(f(x, y, z))
proper(b) -> ok(b)
proper(c) -> ok(c)
proper(d) -> ok(d)
proper(f(x, y, z)) -> f(proper(x), proper(y), proper(z))
top(mark(x)) -> top(proper(x))
top(ok(x)) -> top(active(x))

The following dependency pair can be strictly oriented:

ACTIVE(f(x, y, z)) -> ACTIVE(z)

The following rules can be oriented:

active(f(b, c, x)) -> mark(f(x, x, x))
active(f(x, y, z)) -> f(x, y, active(z))
active(d) -> m(b)
active(d) -> mark(c)
f(x, y, mark(z)) -> mark(f(x, y, z))
f(ok(x), ok(y), ok(z)) -> ok(f(x, y, z))
proper(b) -> ok(b)
proper(c) -> ok(c)
proper(d) -> ok(d)
proper(f(x, y, z)) -> f(proper(x), proper(y), proper(z))
top(mark(x)) -> top(proper(x))
top(ok(x)) -> top(active(x))

Used ordering: Lexicographic Path Order with Non-Strict Precedence with Quasi Precedence:
{d, b} > c
proper > {active, m, f} > mark
proper > {active, m, f} > ok

resulting in one new DP problem.
Used Argument Filtering System:
ACTIVE(x1) -> ACTIVE(x1)
f(x1, x2, x3) -> f(x1, x2, x3)
active(x1) -> active(x1)
mark(x1) -> mark(x1)
m(x1) -> m(x1)
ok(x1) -> ok(x1)
proper(x1) -> proper(x1)
top(x1) -> top

`   R`
`     ↳DPs`
`       →DP Problem 1`
`         ↳AFS`
`       →DP Problem 2`
`         ↳AFS`
`           →DP Problem 6`
`             ↳Dependency Graph`
`       →DP Problem 3`
`         ↳AFS`
`       →DP Problem 4`
`         ↳Remaining`

Dependency Pair:

Rules:

active(f(b, c, x)) -> mark(f(x, x, x))
active(f(x, y, z)) -> f(x, y, active(z))
active(d) -> m(b)
active(d) -> mark(c)
f(x, y, mark(z)) -> mark(f(x, y, z))
f(ok(x), ok(y), ok(z)) -> ok(f(x, y, z))
proper(b) -> ok(b)
proper(c) -> ok(c)
proper(d) -> ok(d)
proper(f(x, y, z)) -> f(proper(x), proper(y), proper(z))
top(mark(x)) -> top(proper(x))
top(ok(x)) -> top(active(x))

Using the Dependency Graph resulted in no new DP problems.

`   R`
`     ↳DPs`
`       →DP Problem 1`
`         ↳AFS`
`       →DP Problem 2`
`         ↳AFS`
`       →DP Problem 3`
`         ↳Argument Filtering and Ordering`
`       →DP Problem 4`
`         ↳Remaining`

Dependency Pairs:

PROPER(f(x, y, z)) -> PROPER(z)
PROPER(f(x, y, z)) -> PROPER(y)
PROPER(f(x, y, z)) -> PROPER(x)

Rules:

active(f(b, c, x)) -> mark(f(x, x, x))
active(f(x, y, z)) -> f(x, y, active(z))
active(d) -> m(b)
active(d) -> mark(c)
f(x, y, mark(z)) -> mark(f(x, y, z))
f(ok(x), ok(y), ok(z)) -> ok(f(x, y, z))
proper(b) -> ok(b)
proper(c) -> ok(c)
proper(d) -> ok(d)
proper(f(x, y, z)) -> f(proper(x), proper(y), proper(z))
top(mark(x)) -> top(proper(x))
top(ok(x)) -> top(active(x))

The following dependency pairs can be strictly oriented:

PROPER(f(x, y, z)) -> PROPER(z)
PROPER(f(x, y, z)) -> PROPER(y)
PROPER(f(x, y, z)) -> PROPER(x)

The following rules can be oriented:

active(f(b, c, x)) -> mark(f(x, x, x))
active(f(x, y, z)) -> f(x, y, active(z))
active(d) -> m(b)
active(d) -> mark(c)
f(x, y, mark(z)) -> mark(f(x, y, z))
f(ok(x), ok(y), ok(z)) -> ok(f(x, y, z))
proper(b) -> ok(b)
proper(c) -> ok(c)
proper(d) -> ok(d)
proper(f(x, y, z)) -> f(proper(x), proper(y), proper(z))
top(mark(x)) -> top(proper(x))
top(ok(x)) -> top(active(x))

Used ordering: Lexicographic Path Order with Non-Strict Precedence with Quasi Precedence:
{active, b} > m
{active, b} > c
{active, b} > f > mark
{active, b} > f > ok
proper > f > mark
proper > f > ok

resulting in one new DP problem.
Used Argument Filtering System:
PROPER(x1) -> PROPER(x1)
f(x1, x2, x3) -> f(x1, x2, x3)
active(x1) -> active(x1)
mark(x1) -> mark(x1)
m(x1) -> m(x1)
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 7`
`             ↳Dependency Graph`
`       →DP Problem 4`
`         ↳Remaining`

Dependency Pair:

Rules:

active(f(b, c, x)) -> mark(f(x, x, x))
active(f(x, y, z)) -> f(x, y, active(z))
active(d) -> m(b)
active(d) -> mark(c)
f(x, y, mark(z)) -> mark(f(x, y, z))
f(ok(x), ok(y), ok(z)) -> ok(f(x, y, z))
proper(b) -> ok(b)
proper(c) -> ok(c)
proper(d) -> ok(d)
proper(f(x, y, z)) -> f(proper(x), proper(y), proper(z))
top(mark(x)) -> top(proper(x))
top(ok(x)) -> top(active(x))

Using the Dependency Graph resulted in no new DP problems.

`   R`
`     ↳DPs`
`       →DP Problem 1`
`         ↳AFS`
`       →DP Problem 2`
`         ↳AFS`
`       →DP Problem 3`
`         ↳AFS`
`       →DP Problem 4`
`         ↳Remaining Obligation(s)`

The following remains to be proven:
Dependency Pairs:

TOP(ok(x)) -> TOP(active(x))
TOP(mark(x)) -> TOP(proper(x))

Rules:

active(f(b, c, x)) -> mark(f(x, x, x))
active(f(x, y, z)) -> f(x, y, active(z))
active(d) -> m(b)
active(d) -> mark(c)
f(x, y, mark(z)) -> mark(f(x, y, z))
f(ok(x), ok(y), ok(z)) -> ok(f(x, y, z))
proper(b) -> ok(b)
proper(c) -> ok(c)
proper(d) -> ok(d)
proper(f(x, y, z)) -> f(proper(x), proper(y), proper(z))
top(mark(x)) -> top(proper(x))
top(ok(x)) -> top(active(x))

Termination of R could not be shown.
Duration:
0:02 minutes