R
↳Dependency Pair Analysis
ACTIVE(g(X)) -> H(X)
ACTIVE(h(d)) -> G(c)
PROPER(g(X)) -> G(proper(X))
PROPER(g(X)) -> PROPER(X)
PROPER(h(X)) -> H(proper(X))
PROPER(h(X)) -> PROPER(X)
G(ok(X)) -> G(X)
H(ok(X)) -> H(X)
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
↳Argument Filtering and Ordering
→DP Problem 2
↳AFS
→DP Problem 3
↳AFS
→DP Problem 4
↳Nar
G(ok(X)) -> G(X)
active(g(X)) -> mark(h(X))
active(c) -> mark(d)
active(h(d)) -> mark(g(c))
proper(g(X)) -> g(proper(X))
proper(h(X)) -> h(proper(X))
proper(c) -> ok(c)
proper(d) -> ok(d)
g(ok(X)) -> ok(g(X))
h(ok(X)) -> ok(h(X))
top(mark(X)) -> top(proper(X))
top(ok(X)) -> top(active(X))
innermost
G(ok(X)) -> G(X)
trivial
G(x1) -> G(x1)
ok(x1) -> ok(x1)
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 5
↳Dependency Graph
→DP Problem 2
↳AFS
→DP Problem 3
↳AFS
→DP Problem 4
↳Nar
active(g(X)) -> mark(h(X))
active(c) -> mark(d)
active(h(d)) -> mark(g(c))
proper(g(X)) -> g(proper(X))
proper(h(X)) -> h(proper(X))
proper(c) -> ok(c)
proper(d) -> ok(d)
g(ok(X)) -> ok(g(X))
h(ok(X)) -> ok(h(X))
top(mark(X)) -> top(proper(X))
top(ok(X)) -> top(active(X))
innermost
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 2
↳Argument Filtering and Ordering
→DP Problem 3
↳AFS
→DP Problem 4
↳Nar
H(ok(X)) -> H(X)
active(g(X)) -> mark(h(X))
active(c) -> mark(d)
active(h(d)) -> mark(g(c))
proper(g(X)) -> g(proper(X))
proper(h(X)) -> h(proper(X))
proper(c) -> ok(c)
proper(d) -> ok(d)
g(ok(X)) -> ok(g(X))
h(ok(X)) -> ok(h(X))
top(mark(X)) -> top(proper(X))
top(ok(X)) -> top(active(X))
innermost
H(ok(X)) -> H(X)
trivial
H(x1) -> H(x1)
ok(x1) -> ok(x1)
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 2
↳AFS
→DP Problem 6
↳Dependency Graph
→DP Problem 3
↳AFS
→DP Problem 4
↳Nar
active(g(X)) -> mark(h(X))
active(c) -> mark(d)
active(h(d)) -> mark(g(c))
proper(g(X)) -> g(proper(X))
proper(h(X)) -> h(proper(X))
proper(c) -> ok(c)
proper(d) -> ok(d)
g(ok(X)) -> ok(g(X))
h(ok(X)) -> ok(h(X))
top(mark(X)) -> top(proper(X))
top(ok(X)) -> top(active(X))
innermost
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 2
↳AFS
→DP Problem 3
↳Argument Filtering and Ordering
→DP Problem 4
↳Nar
PROPER(h(X)) -> PROPER(X)
PROPER(g(X)) -> PROPER(X)
active(g(X)) -> mark(h(X))
active(c) -> mark(d)
active(h(d)) -> mark(g(c))
proper(g(X)) -> g(proper(X))
proper(h(X)) -> h(proper(X))
proper(c) -> ok(c)
proper(d) -> ok(d)
g(ok(X)) -> ok(g(X))
h(ok(X)) -> ok(h(X))
top(mark(X)) -> top(proper(X))
top(ok(X)) -> top(active(X))
innermost
PROPER(h(X)) -> PROPER(X)
PROPER(g(X)) -> PROPER(X)
trivial
PROPER(x1) -> PROPER(x1)
h(x1) -> h(x1)
g(x1) -> g(x1)
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 2
↳AFS
→DP Problem 3
↳AFS
→DP Problem 7
↳Dependency Graph
→DP Problem 4
↳Nar
active(g(X)) -> mark(h(X))
active(c) -> mark(d)
active(h(d)) -> mark(g(c))
proper(g(X)) -> g(proper(X))
proper(h(X)) -> h(proper(X))
proper(c) -> ok(c)
proper(d) -> ok(d)
g(ok(X)) -> ok(g(X))
h(ok(X)) -> ok(h(X))
top(mark(X)) -> top(proper(X))
top(ok(X)) -> top(active(X))
innermost
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 2
↳AFS
→DP Problem 3
↳AFS
→DP Problem 4
↳Narrowing Transformation
TOP(ok(X)) -> TOP(active(X))
TOP(mark(X)) -> TOP(proper(X))
active(g(X)) -> mark(h(X))
active(c) -> mark(d)
active(h(d)) -> mark(g(c))
proper(g(X)) -> g(proper(X))
proper(h(X)) -> h(proper(X))
proper(c) -> ok(c)
proper(d) -> ok(d)
g(ok(X)) -> ok(g(X))
h(ok(X)) -> ok(h(X))
top(mark(X)) -> top(proper(X))
top(ok(X)) -> top(active(X))
innermost
four new Dependency Pairs are created:
TOP(mark(X)) -> TOP(proper(X))
TOP(mark(g(X''))) -> TOP(g(proper(X'')))
TOP(mark(h(X''))) -> TOP(h(proper(X'')))
TOP(mark(c)) -> TOP(ok(c))
TOP(mark(d)) -> TOP(ok(d))
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 2
↳AFS
→DP Problem 3
↳AFS
→DP Problem 4
↳Nar
→DP Problem 8
↳Narrowing Transformation
TOP(mark(d)) -> TOP(ok(d))
TOP(mark(c)) -> TOP(ok(c))
TOP(mark(h(X''))) -> TOP(h(proper(X'')))
TOP(mark(g(X''))) -> TOP(g(proper(X'')))
TOP(ok(X)) -> TOP(active(X))
active(g(X)) -> mark(h(X))
active(c) -> mark(d)
active(h(d)) -> mark(g(c))
proper(g(X)) -> g(proper(X))
proper(h(X)) -> h(proper(X))
proper(c) -> ok(c)
proper(d) -> ok(d)
g(ok(X)) -> ok(g(X))
h(ok(X)) -> ok(h(X))
top(mark(X)) -> top(proper(X))
top(ok(X)) -> top(active(X))
innermost
three new Dependency Pairs are created:
TOP(ok(X)) -> TOP(active(X))
TOP(ok(g(X''))) -> TOP(mark(h(X'')))
TOP(ok(c)) -> TOP(mark(d))
TOP(ok(h(d))) -> TOP(mark(g(c)))
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 2
↳AFS
→DP Problem 3
↳AFS
→DP Problem 4
↳Nar
→DP Problem 8
↳Nar
...
→DP Problem 9
↳Argument Filtering and Ordering
TOP(ok(h(d))) -> TOP(mark(g(c)))
TOP(ok(g(X''))) -> TOP(mark(h(X'')))
TOP(mark(g(X''))) -> TOP(g(proper(X'')))
TOP(mark(h(X''))) -> TOP(h(proper(X'')))
active(g(X)) -> mark(h(X))
active(c) -> mark(d)
active(h(d)) -> mark(g(c))
proper(g(X)) -> g(proper(X))
proper(h(X)) -> h(proper(X))
proper(c) -> ok(c)
proper(d) -> ok(d)
g(ok(X)) -> ok(g(X))
h(ok(X)) -> ok(h(X))
top(mark(X)) -> top(proper(X))
top(ok(X)) -> top(active(X))
innermost
TOP(ok(h(d))) -> TOP(mark(g(c)))
g(ok(X)) -> ok(g(X))
proper(g(X)) -> g(proper(X))
proper(h(X)) -> h(proper(X))
proper(c) -> ok(c)
proper(d) -> ok(d)
h(ok(X)) -> ok(h(X))
d > c
{mark, ok, h, proper, g}
TOP(x1) -> TOP(x1)
ok(x1) -> ok(x1)
mark(x1) -> mark(x1)
h(x1) -> h(x1)
g(x1) -> g(x1)
proper(x1) -> proper(x1)
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 2
↳AFS
→DP Problem 3
↳AFS
→DP Problem 4
↳Nar
→DP Problem 8
↳Nar
...
→DP Problem 10
↳Argument Filtering and Ordering
TOP(ok(g(X''))) -> TOP(mark(h(X'')))
TOP(mark(g(X''))) -> TOP(g(proper(X'')))
TOP(mark(h(X''))) -> TOP(h(proper(X'')))
active(g(X)) -> mark(h(X))
active(c) -> mark(d)
active(h(d)) -> mark(g(c))
proper(g(X)) -> g(proper(X))
proper(h(X)) -> h(proper(X))
proper(c) -> ok(c)
proper(d) -> ok(d)
g(ok(X)) -> ok(g(X))
h(ok(X)) -> ok(h(X))
top(mark(X)) -> top(proper(X))
top(ok(X)) -> top(active(X))
innermost
TOP(ok(g(X''))) -> TOP(mark(h(X'')))
TOP(mark(g(X''))) -> TOP(g(proper(X'')))
TOP(mark(h(X''))) -> TOP(h(proper(X'')))
proper(g(X)) -> g(proper(X))
proper(h(X)) -> h(proper(X))
proper(c) -> ok(c)
proper(d) -> ok(d)
h(ok(X)) -> ok(h(X))
g(ok(X)) -> ok(g(X))
g > mark
g > h
TOP(x1) -> TOP(x1)
mark(x1) -> mark(x1)
h(x1) -> h(x1)
proper(x1) -> x1
ok(x1) -> x1
g(x1) -> g(x1)
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 2
↳AFS
→DP Problem 3
↳AFS
→DP Problem 4
↳Nar
→DP Problem 8
↳Nar
...
→DP Problem 11
↳Dependency Graph
active(g(X)) -> mark(h(X))
active(c) -> mark(d)
active(h(d)) -> mark(g(c))
proper(g(X)) -> g(proper(X))
proper(h(X)) -> h(proper(X))
proper(c) -> ok(c)
proper(d) -> ok(d)
g(ok(X)) -> ok(g(X))
h(ok(X)) -> ok(h(X))
top(mark(X)) -> top(proper(X))
top(ok(X)) -> top(active(X))
innermost