R
↳Dependency Pair Analysis
ACTIVE(f(a, b, X)) -> F(X, X, X)
ACTIVE(f(X1, X2, X3)) -> F(active(X1), X2, X3)
ACTIVE(f(X1, X2, X3)) -> ACTIVE(X1)
ACTIVE(f(X1, X2, X3)) -> F(X1, X2, active(X3))
ACTIVE(f(X1, X2, X3)) -> ACTIVE(X3)
F(mark(X1), X2, X3) -> F(X1, X2, X3)
F(X1, X2, mark(X3)) -> F(X1, X2, X3)
F(ok(X1), ok(X2), ok(X3)) -> F(X1, X2, X3)
PROPER(f(X1, X2, X3)) -> F(proper(X1), proper(X2), proper(X3))
PROPER(f(X1, X2, X3)) -> PROPER(X1)
PROPER(f(X1, X2, X3)) -> PROPER(X2)
PROPER(f(X1, X2, X3)) -> PROPER(X3)
TOP(mark(X)) -> TOP(proper(X))
TOP(mark(X)) -> PROPER(X)
TOP(ok(X)) -> TOP(active(X))
TOP(ok(X)) -> ACTIVE(X)
R
↳DPs
→DP Problem 1
↳Usable Rules (Innermost)
→DP Problem 2
↳UsableRules
→DP Problem 3
↳UsableRules
→DP Problem 4
↳UsableRules
F(X1, X2, mark(X3)) -> F(X1, X2, X3)
F(mark(X1), X2, X3) -> F(X1, X2, X3)
F(ok(X1), ok(X2), ok(X3)) -> F(X1, X2, X3)
active(f(a, b, X)) -> mark(f(X, X, X))
active(c) -> mark(a)
active(c) -> mark(b)
active(f(X1, X2, X3)) -> f(active(X1), X2, X3)
active(f(X1, X2, X3)) -> f(X1, X2, active(X3))
f(mark(X1), X2, X3) -> mark(f(X1, X2, X3))
f(X1, X2, mark(X3)) -> mark(f(X1, X2, X3))
f(ok(X1), ok(X2), ok(X3)) -> ok(f(X1, X2, X3))
proper(f(X1, X2, X3)) -> f(proper(X1), proper(X2), proper(X3))
proper(a) -> ok(a)
proper(b) -> ok(b)
proper(c) -> ok(c)
top(mark(X)) -> top(proper(X))
top(ok(X)) -> top(active(X))
innermost
R
↳DPs
→DP Problem 1
↳UsableRules
→DP Problem 5
↳Size-Change Principle
→DP Problem 2
↳UsableRules
→DP Problem 3
↳UsableRules
→DP Problem 4
↳UsableRules
F(X1, X2, mark(X3)) -> F(X1, X2, X3)
F(mark(X1), X2, X3) -> F(X1, X2, X3)
F(ok(X1), ok(X2), ok(X3)) -> F(X1, X2, X3)
none
innermost
|
|
|
|
|
|
|
trivial
mark(x1) -> mark(x1)
ok(x1) -> ok(x1)
R
↳DPs
→DP Problem 1
↳UsableRules
→DP Problem 2
↳Usable Rules (Innermost)
→DP Problem 3
↳UsableRules
→DP Problem 4
↳UsableRules
ACTIVE(f(X1, X2, X3)) -> ACTIVE(X3)
ACTIVE(f(X1, X2, X3)) -> ACTIVE(X1)
active(f(a, b, X)) -> mark(f(X, X, X))
active(c) -> mark(a)
active(c) -> mark(b)
active(f(X1, X2, X3)) -> f(active(X1), X2, X3)
active(f(X1, X2, X3)) -> f(X1, X2, active(X3))
f(mark(X1), X2, X3) -> mark(f(X1, X2, X3))
f(X1, X2, mark(X3)) -> mark(f(X1, X2, X3))
f(ok(X1), ok(X2), ok(X3)) -> ok(f(X1, X2, X3))
proper(f(X1, X2, X3)) -> f(proper(X1), proper(X2), proper(X3))
proper(a) -> ok(a)
proper(b) -> ok(b)
proper(c) -> ok(c)
top(mark(X)) -> top(proper(X))
top(ok(X)) -> top(active(X))
innermost
R
↳DPs
→DP Problem 1
↳UsableRules
→DP Problem 2
↳UsableRules
→DP Problem 6
↳Size-Change Principle
→DP Problem 3
↳UsableRules
→DP Problem 4
↳UsableRules
ACTIVE(f(X1, X2, X3)) -> ACTIVE(X3)
ACTIVE(f(X1, X2, X3)) -> ACTIVE(X1)
none
innermost
|
|
trivial
f(x1, x2, x3) -> f(x1, x2, x3)
R
↳DPs
→DP Problem 1
↳UsableRules
→DP Problem 2
↳UsableRules
→DP Problem 3
↳Usable Rules (Innermost)
→DP Problem 4
↳UsableRules
PROPER(f(X1, X2, X3)) -> PROPER(X3)
PROPER(f(X1, X2, X3)) -> PROPER(X2)
PROPER(f(X1, X2, X3)) -> PROPER(X1)
active(f(a, b, X)) -> mark(f(X, X, X))
active(c) -> mark(a)
active(c) -> mark(b)
active(f(X1, X2, X3)) -> f(active(X1), X2, X3)
active(f(X1, X2, X3)) -> f(X1, X2, active(X3))
f(mark(X1), X2, X3) -> mark(f(X1, X2, X3))
f(X1, X2, mark(X3)) -> mark(f(X1, X2, X3))
f(ok(X1), ok(X2), ok(X3)) -> ok(f(X1, X2, X3))
proper(f(X1, X2, X3)) -> f(proper(X1), proper(X2), proper(X3))
proper(a) -> ok(a)
proper(b) -> ok(b)
proper(c) -> ok(c)
top(mark(X)) -> top(proper(X))
top(ok(X)) -> top(active(X))
innermost
R
↳DPs
→DP Problem 1
↳UsableRules
→DP Problem 2
↳UsableRules
→DP Problem 3
↳UsableRules
→DP Problem 7
↳Size-Change Principle
→DP Problem 4
↳UsableRules
PROPER(f(X1, X2, X3)) -> PROPER(X3)
PROPER(f(X1, X2, X3)) -> PROPER(X2)
PROPER(f(X1, X2, X3)) -> PROPER(X1)
none
innermost
|
|
trivial
f(x1, x2, x3) -> f(x1, x2, x3)
R
↳DPs
→DP Problem 1
↳UsableRules
→DP Problem 2
↳UsableRules
→DP Problem 3
↳UsableRules
→DP Problem 4
↳Usable Rules (Innermost)
TOP(ok(X)) -> TOP(active(X))
TOP(mark(X)) -> TOP(proper(X))
active(f(a, b, X)) -> mark(f(X, X, X))
active(c) -> mark(a)
active(c) -> mark(b)
active(f(X1, X2, X3)) -> f(active(X1), X2, X3)
active(f(X1, X2, X3)) -> f(X1, X2, active(X3))
f(mark(X1), X2, X3) -> mark(f(X1, X2, X3))
f(X1, X2, mark(X3)) -> mark(f(X1, X2, X3))
f(ok(X1), ok(X2), ok(X3)) -> ok(f(X1, X2, X3))
proper(f(X1, X2, X3)) -> f(proper(X1), proper(X2), proper(X3))
proper(a) -> ok(a)
proper(b) -> ok(b)
proper(c) -> ok(c)
top(mark(X)) -> top(proper(X))
top(ok(X)) -> top(active(X))
innermost
R
↳DPs
→DP Problem 1
↳UsableRules
→DP Problem 2
↳UsableRules
→DP Problem 3
↳UsableRules
→DP Problem 4
↳UsableRules
→DP Problem 8
↳Narrowing Transformation
TOP(ok(X)) -> TOP(active(X))
TOP(mark(X)) -> TOP(proper(X))
f(mark(X1), X2, X3) -> mark(f(X1, X2, X3))
f(ok(X1), ok(X2), ok(X3)) -> ok(f(X1, X2, X3))
f(X1, X2, mark(X3)) -> mark(f(X1, X2, X3))
active(f(a, b, X)) -> mark(f(X, X, X))
active(c) -> mark(b)
active(f(X1, X2, X3)) -> f(X1, X2, active(X3))
active(f(X1, X2, X3)) -> f(active(X1), X2, X3)
active(c) -> mark(a)
proper(f(X1, X2, X3)) -> f(proper(X1), proper(X2), proper(X3))
proper(c) -> ok(c)
proper(a) -> ok(a)
proper(b) -> ok(b)
innermost
five new Dependency Pairs are created:
TOP(ok(X)) -> TOP(active(X))
TOP(ok(f(a, b, X''))) -> TOP(mark(f(X'', X'', X'')))
TOP(ok(c)) -> TOP(mark(b))
TOP(ok(f(X1', X2', X3'))) -> TOP(f(X1', X2', active(X3')))
TOP(ok(f(X1', X2', X3'))) -> TOP(f(active(X1'), X2', X3'))
TOP(ok(c)) -> TOP(mark(a))
R
↳DPs
→DP Problem 1
↳UsableRules
→DP Problem 2
↳UsableRules
→DP Problem 3
↳UsableRules
→DP Problem 4
↳UsableRules
→DP Problem 8
↳Nar
...
→DP Problem 9
↳Narrowing Transformation
TOP(ok(c)) -> TOP(mark(a))
TOP(ok(f(X1', X2', X3'))) -> TOP(f(active(X1'), X2', X3'))
TOP(ok(f(X1', X2', X3'))) -> TOP(f(X1', X2', active(X3')))
TOP(ok(c)) -> TOP(mark(b))
TOP(ok(f(a, b, X''))) -> TOP(mark(f(X'', X'', X'')))
TOP(mark(X)) -> TOP(proper(X))
f(mark(X1), X2, X3) -> mark(f(X1, X2, X3))
f(ok(X1), ok(X2), ok(X3)) -> ok(f(X1, X2, X3))
f(X1, X2, mark(X3)) -> mark(f(X1, X2, X3))
active(f(a, b, X)) -> mark(f(X, X, X))
active(c) -> mark(b)
active(f(X1, X2, X3)) -> f(X1, X2, active(X3))
active(f(X1, X2, X3)) -> f(active(X1), X2, X3)
active(c) -> mark(a)
proper(f(X1, X2, X3)) -> f(proper(X1), proper(X2), proper(X3))
proper(c) -> ok(c)
proper(a) -> ok(a)
proper(b) -> ok(b)
innermost
four new Dependency Pairs are created:
TOP(mark(X)) -> TOP(proper(X))
TOP(mark(f(X1', X2', X3'))) -> TOP(f(proper(X1'), proper(X2'), proper(X3')))
TOP(mark(c)) -> TOP(ok(c))
TOP(mark(a)) -> TOP(ok(a))
TOP(mark(b)) -> TOP(ok(b))
R
↳DPs
→DP Problem 1
↳UsableRules
→DP Problem 2
↳UsableRules
→DP Problem 3
↳UsableRules
→DP Problem 4
↳UsableRules
→DP Problem 8
↳Nar
...
→DP Problem 10
↳Remaining Obligation(s)
TOP(ok(f(X1', X2', X3'))) -> TOP(f(X1', X2', active(X3')))
TOP(mark(f(X1', X2', X3'))) -> TOP(f(proper(X1'), proper(X2'), proper(X3')))
TOP(ok(f(a, b, X''))) -> TOP(mark(f(X'', X'', X'')))
TOP(ok(f(X1', X2', X3'))) -> TOP(f(active(X1'), X2', X3'))
f(mark(X1), X2, X3) -> mark(f(X1, X2, X3))
f(ok(X1), ok(X2), ok(X3)) -> ok(f(X1, X2, X3))
f(X1, X2, mark(X3)) -> mark(f(X1, X2, X3))
active(f(a, b, X)) -> mark(f(X, X, X))
active(c) -> mark(b)
active(f(X1, X2, X3)) -> f(X1, X2, active(X3))
active(f(X1, X2, X3)) -> f(active(X1), X2, X3)
active(c) -> mark(a)
proper(f(X1, X2, X3)) -> f(proper(X1), proper(X2), proper(X3))
proper(c) -> ok(c)
proper(a) -> ok(a)
proper(b) -> ok(b)
innermost