TRS
↳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)
TRS
↳DPs
→DP Problem 1
↳Usable Rules (Innermost)
→DP Problem 2
↳UsableRules
→DP Problem 3
↳UsableRules
→DP Problem 4
↳UsableRules
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
TRS
↳DPs
→DP Problem 1
↳UsableRules
→DP Problem 5
↳Modular Removal of Rules
→DP Problem 2
↳UsableRules
→DP Problem 3
↳UsableRules
→DP Problem 4
↳UsableRules
G(ok(X)) -> G(X)
none
innermost
POL(G(x1)) = x1 POL(ok(x1)) = x1
G(ok(X)) -> G(X)
TRS
↳DPs
→DP Problem 1
↳UsableRules
→DP Problem 2
↳Usable Rules (Innermost)
→DP Problem 3
↳UsableRules
→DP Problem 4
↳UsableRules
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
TRS
↳DPs
→DP Problem 1
↳UsableRules
→DP Problem 2
↳UsableRules
→DP Problem 6
↳Modular Removal of Rules
→DP Problem 3
↳UsableRules
→DP Problem 4
↳UsableRules
H(ok(X)) -> H(X)
none
innermost
POL(H(x1)) = x1 POL(ok(x1)) = x1
H(ok(X)) -> H(X)
TRS
↳DPs
→DP Problem 1
↳UsableRules
→DP Problem 2
↳UsableRules
→DP Problem 3
↳Usable Rules (Innermost)
→DP Problem 4
↳UsableRules
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
TRS
↳DPs
→DP Problem 1
↳UsableRules
→DP Problem 2
↳UsableRules
→DP Problem 3
↳UsableRules
→DP Problem 7
↳Modular Removal of Rules
→DP Problem 4
↳UsableRules
PROPER(h(X)) -> PROPER(X)
PROPER(g(X)) -> PROPER(X)
none
innermost
POL(g(x1)) = x1 POL(PROPER(x1)) = x1 POL(h(x1)) = x1
PROPER(h(X)) -> PROPER(X)
PROPER(g(X)) -> PROPER(X)
TRS
↳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(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
TRS
↳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))
active(g(X)) -> mark(h(X))
active(h(d)) -> mark(g(c))
active(c) -> mark(d)
g(ok(X)) -> ok(g(X))
h(ok(X)) -> ok(h(X))
proper(h(X)) -> h(proper(X))
proper(c) -> ok(c)
proper(g(X)) -> g(proper(X))
proper(d) -> ok(d)
innermost
three new Dependency Pairs are created:
TOP(ok(X)) -> TOP(active(X))
TOP(ok(g(X''))) -> TOP(mark(h(X'')))
TOP(ok(h(d))) -> TOP(mark(g(c)))
TOP(ok(c)) -> TOP(mark(d))
TRS
↳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(d))
TOP(ok(h(d))) -> TOP(mark(g(c)))
TOP(ok(g(X''))) -> TOP(mark(h(X'')))
TOP(mark(X)) -> TOP(proper(X))
active(g(X)) -> mark(h(X))
active(h(d)) -> mark(g(c))
active(c) -> mark(d)
g(ok(X)) -> ok(g(X))
h(ok(X)) -> ok(h(X))
proper(h(X)) -> h(proper(X))
proper(c) -> ok(c)
proper(g(X)) -> g(proper(X))
proper(d) -> ok(d)
innermost
four new Dependency Pairs are created:
TOP(mark(X)) -> TOP(proper(X))
TOP(mark(h(X''))) -> TOP(h(proper(X'')))
TOP(mark(c)) -> TOP(ok(c))
TOP(mark(g(X''))) -> TOP(g(proper(X'')))
TOP(mark(d)) -> TOP(ok(d))
TRS
↳DPs
→DP Problem 1
↳UsableRules
→DP Problem 2
↳UsableRules
→DP Problem 3
↳UsableRules
→DP Problem 4
↳UsableRules
→DP Problem 8
↳Nar
...
→DP Problem 10
↳Usable Rules (Innermost)
TOP(mark(h(X''))) -> TOP(h(proper(X'')))
TOP(ok(g(X''))) -> TOP(mark(h(X'')))
TOP(mark(g(X''))) -> TOP(g(proper(X'')))
TOP(ok(h(d))) -> TOP(mark(g(c)))
active(g(X)) -> mark(h(X))
active(h(d)) -> mark(g(c))
active(c) -> mark(d)
g(ok(X)) -> ok(g(X))
h(ok(X)) -> ok(h(X))
proper(h(X)) -> h(proper(X))
proper(c) -> ok(c)
proper(g(X)) -> g(proper(X))
proper(d) -> ok(d)
innermost
TRS
↳DPs
→DP Problem 1
↳UsableRules
→DP Problem 2
↳UsableRules
→DP Problem 3
↳UsableRules
→DP Problem 4
↳UsableRules
→DP Problem 8
↳Nar
...
→DP Problem 11
↳Modular Removal of Rules
TOP(mark(h(X''))) -> TOP(h(proper(X'')))
TOP(ok(g(X''))) -> TOP(mark(h(X'')))
TOP(mark(g(X''))) -> TOP(g(proper(X'')))
TOP(ok(h(d))) -> TOP(mark(g(c)))
proper(h(X)) -> h(proper(X))
proper(c) -> ok(c)
proper(g(X)) -> g(proper(X))
proper(d) -> ok(d)
h(ok(X)) -> ok(h(X))
g(ok(X)) -> ok(g(X))
innermost
To remove rules and DPs from this DP problem we used the following monotonic and CE-compatible order: Polynomial ordering.
proper(h(X)) -> h(proper(X))
proper(c) -> ok(c)
proper(g(X)) -> g(proper(X))
proper(d) -> ok(d)
h(ok(X)) -> ok(h(X))
g(ok(X)) -> ok(g(X))
POL(proper(x1)) = x1 POL(c) = 0 POL(g(x1)) = x1 POL(d) = 1 POL(h(x1)) = x1 POL(mark(x1)) = x1 POL(TOP(x1)) = 1 + x1 POL(ok(x1)) = x1
TOP(ok(h(d))) -> TOP(mark(g(c)))
TRS
↳DPs
→DP Problem 1
↳UsableRules
→DP Problem 2
↳UsableRules
→DP Problem 3
↳UsableRules
→DP Problem 4
↳UsableRules
→DP Problem 8
↳Nar
...
→DP Problem 12
↳Modular Removal of Rules
TOP(mark(h(X''))) -> TOP(h(proper(X'')))
TOP(ok(g(X''))) -> TOP(mark(h(X'')))
TOP(mark(g(X''))) -> TOP(g(proper(X'')))
proper(h(X)) -> h(proper(X))
proper(c) -> ok(c)
proper(g(X)) -> g(proper(X))
proper(d) -> ok(d)
h(ok(X)) -> ok(h(X))
g(ok(X)) -> ok(g(X))
innermost
To remove rules and DPs from this DP problem we used the following monotonic and CE-compatible order: Polynomial ordering.
proper(h(X)) -> h(proper(X))
proper(c) -> ok(c)
proper(g(X)) -> g(proper(X))
g(ok(X)) -> ok(g(X))
proper(d) -> ok(d)
h(ok(X)) -> ok(h(X))
POL(proper(x1)) = 2·x1 POL(c) = 1 POL(g(x1)) = 2·x1 POL(d) = 0 POL(h(x1)) = x1 POL(mark(x1)) = 2·x1 POL(TOP(x1)) = 2 + x1 POL(ok(x1)) = x1
proper(c) -> ok(c)
TRS
↳DPs
→DP Problem 1
↳UsableRules
→DP Problem 2
↳UsableRules
→DP Problem 3
↳UsableRules
→DP Problem 4
↳UsableRules
→DP Problem 8
↳Nar
...
→DP Problem 13
↳Modular Removal of Rules
TOP(mark(h(X''))) -> TOP(h(proper(X'')))
TOP(ok(g(X''))) -> TOP(mark(h(X'')))
TOP(mark(g(X''))) -> TOP(g(proper(X'')))
proper(h(X)) -> h(proper(X))
proper(g(X)) -> g(proper(X))
proper(d) -> ok(d)
h(ok(X)) -> ok(h(X))
g(ok(X)) -> ok(g(X))
innermost
To remove rules and DPs from this DP problem we used the following monotonic and CE-compatible order: Polynomial ordering.
proper(h(X)) -> h(proper(X))
proper(g(X)) -> g(proper(X))
g(ok(X)) -> ok(g(X))
proper(d) -> ok(d)
h(ok(X)) -> ok(h(X))
POL(proper(x1)) = 2·x1 POL(g(x1)) = 2·x1 POL(d) = 1 POL(h(x1)) = x1 POL(mark(x1)) = 2·x1 POL(TOP(x1)) = 2 + x1 POL(ok(x1)) = x1
proper(d) -> ok(d)
TRS
↳DPs
→DP Problem 1
↳UsableRules
→DP Problem 2
↳UsableRules
→DP Problem 3
↳UsableRules
→DP Problem 4
↳UsableRules
→DP Problem 8
↳Nar
...
→DP Problem 14
↳Modular Removal of Rules
TOP(mark(h(X''))) -> TOP(h(proper(X'')))
TOP(ok(g(X''))) -> TOP(mark(h(X'')))
TOP(mark(g(X''))) -> TOP(g(proper(X'')))
proper(h(X)) -> h(proper(X))
proper(g(X)) -> g(proper(X))
h(ok(X)) -> ok(h(X))
g(ok(X)) -> ok(g(X))
innermost
To remove rules and DPs from this DP problem we used the following monotonic and CE-compatible order: Polynomial ordering.
proper(h(X)) -> h(proper(X))
proper(g(X)) -> g(proper(X))
g(ok(X)) -> ok(g(X))
h(ok(X)) -> ok(h(X))
POL(proper(x1)) = x1 POL(g(x1)) = 1 + x1 POL(h(x1)) = x1 POL(mark(x1)) = x1 POL(TOP(x1)) = 1 + x1 POL(ok(x1)) = x1
TOP(ok(g(X''))) -> TOP(mark(h(X'')))
TRS
↳DPs
→DP Problem 1
↳UsableRules
→DP Problem 2
↳UsableRules
→DP Problem 3
↳UsableRules
→DP Problem 4
↳UsableRules
→DP Problem 8
↳Nar
...
→DP Problem 15
↳Modular Removal of Rules
TOP(mark(h(X''))) -> TOP(h(proper(X'')))
TOP(mark(g(X''))) -> TOP(g(proper(X'')))
proper(h(X)) -> h(proper(X))
proper(g(X)) -> g(proper(X))
h(ok(X)) -> ok(h(X))
g(ok(X)) -> ok(g(X))
innermost
To remove rules and DPs from this DP problem we used the following monotonic and CE-compatible order: Polynomial ordering.
proper(h(X)) -> h(proper(X))
proper(g(X)) -> g(proper(X))
g(ok(X)) -> ok(g(X))
h(ok(X)) -> ok(h(X))
POL(proper(x1)) = x1 POL(g(x1)) = x1 POL(h(x1)) = x1 POL(mark(x1)) = x1 POL(TOP(x1)) = 1 + x1 POL(ok(x1)) = x1
TOP(mark(h(X''))) -> TOP(h(proper(X'')))
TOP(mark(g(X''))) -> TOP(g(proper(X'')))
Innermost Termination of R successfully shown.
Duration:
0:11 minutes