R
↳Dependency Pair Analysis
ACTIVE(terms(N)) -> CONS(recip(sqr(N)), terms(s(N)))
ACTIVE(terms(N)) -> RECIP(sqr(N))
ACTIVE(terms(N)) -> SQR(N)
ACTIVE(terms(N)) -> TERMS(s(N))
ACTIVE(terms(N)) -> S(N)
ACTIVE(sqr(s(X))) -> S(add(sqr(X), dbl(X)))
ACTIVE(sqr(s(X))) -> ADD(sqr(X), dbl(X))
ACTIVE(sqr(s(X))) -> SQR(X)
ACTIVE(sqr(s(X))) -> DBL(X)
ACTIVE(dbl(s(X))) -> S(s(dbl(X)))
ACTIVE(dbl(s(X))) -> S(dbl(X))
ACTIVE(dbl(s(X))) -> DBL(X)
ACTIVE(add(s(X), Y)) -> S(add(X, Y))
ACTIVE(add(s(X), Y)) -> ADD(X, Y)
ACTIVE(first(s(X), cons(Y, Z))) -> CONS(Y, first(X, Z))
ACTIVE(first(s(X), cons(Y, Z))) -> FIRST(X, Z)
ACTIVE(half(s(s(X)))) -> S(half(X))
ACTIVE(half(s(s(X)))) -> HALF(X)
ACTIVE(terms(X)) -> TERMS(active(X))
ACTIVE(terms(X)) -> ACTIVE(X)
ACTIVE(cons(X1, X2)) -> CONS(active(X1), X2)
ACTIVE(cons(X1, X2)) -> ACTIVE(X1)
ACTIVE(recip(X)) -> RECIP(active(X))
ACTIVE(recip(X)) -> ACTIVE(X)
ACTIVE(sqr(X)) -> SQR(active(X))
ACTIVE(sqr(X)) -> ACTIVE(X)
ACTIVE(s(X)) -> S(active(X))
ACTIVE(s(X)) -> ACTIVE(X)
ACTIVE(add(X1, X2)) -> ADD(active(X1), X2)
ACTIVE(add(X1, X2)) -> ACTIVE(X1)
ACTIVE(add(X1, X2)) -> ADD(X1, active(X2))
ACTIVE(add(X1, X2)) -> ACTIVE(X2)
ACTIVE(dbl(X)) -> DBL(active(X))
ACTIVE(dbl(X)) -> ACTIVE(X)
ACTIVE(first(X1, X2)) -> FIRST(active(X1), X2)
ACTIVE(first(X1, X2)) -> ACTIVE(X1)
ACTIVE(first(X1, X2)) -> FIRST(X1, active(X2))
ACTIVE(first(X1, X2)) -> ACTIVE(X2)
ACTIVE(half(X)) -> HALF(active(X))
ACTIVE(half(X)) -> ACTIVE(X)
TERMS(mark(X)) -> TERMS(X)
TERMS(ok(X)) -> TERMS(X)
CONS(mark(X1), X2) -> CONS(X1, X2)
CONS(ok(X1), ok(X2)) -> CONS(X1, X2)
RECIP(mark(X)) -> RECIP(X)
RECIP(ok(X)) -> RECIP(X)
SQR(mark(X)) -> SQR(X)
SQR(ok(X)) -> SQR(X)
S(mark(X)) -> S(X)
S(ok(X)) -> S(X)
ADD(mark(X1), X2) -> ADD(X1, X2)
ADD(X1, mark(X2)) -> ADD(X1, X2)
ADD(ok(X1), ok(X2)) -> ADD(X1, X2)
DBL(mark(X)) -> DBL(X)
DBL(ok(X)) -> DBL(X)
FIRST(mark(X1), X2) -> FIRST(X1, X2)
FIRST(X1, mark(X2)) -> FIRST(X1, X2)
FIRST(ok(X1), ok(X2)) -> FIRST(X1, X2)
HALF(mark(X)) -> HALF(X)
HALF(ok(X)) -> HALF(X)
PROPER(terms(X)) -> TERMS(proper(X))
PROPER(terms(X)) -> PROPER(X)
PROPER(cons(X1, X2)) -> CONS(proper(X1), proper(X2))
PROPER(cons(X1, X2)) -> PROPER(X1)
PROPER(cons(X1, X2)) -> PROPER(X2)
PROPER(recip(X)) -> RECIP(proper(X))
PROPER(recip(X)) -> PROPER(X)
PROPER(sqr(X)) -> SQR(proper(X))
PROPER(sqr(X)) -> PROPER(X)
PROPER(s(X)) -> S(proper(X))
PROPER(s(X)) -> PROPER(X)
PROPER(add(X1, X2)) -> ADD(proper(X1), proper(X2))
PROPER(add(X1, X2)) -> PROPER(X1)
PROPER(add(X1, X2)) -> PROPER(X2)
PROPER(dbl(X)) -> DBL(proper(X))
PROPER(dbl(X)) -> PROPER(X)
PROPER(first(X1, X2)) -> FIRST(proper(X1), proper(X2))
PROPER(first(X1, X2)) -> PROPER(X1)
PROPER(first(X1, X2)) -> PROPER(X2)
PROPER(half(X)) -> HALF(proper(X))
PROPER(half(X)) -> PROPER(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
↳Usable Rules (Innermost)
→DP Problem 2
↳UsableRules
→DP Problem 3
↳UsableRules
→DP Problem 4
↳UsableRules
→DP Problem 5
↳UsableRules
→DP Problem 6
↳UsableRules
→DP Problem 7
↳UsableRules
→DP Problem 8
↳UsableRules
→DP Problem 9
↳UsableRules
→DP Problem 10
↳UsableRules
→DP Problem 11
↳UsableRules
→DP Problem 12
↳UsableRules
CONS(mark(X1), X2) -> CONS(X1, X2)
CONS(ok(X1), ok(X2)) -> CONS(X1, X2)
active(terms(N)) -> mark(cons(recip(sqr(N)), terms(s(N))))
active(sqr(0)) -> mark(0)
active(sqr(s(X))) -> mark(s(add(sqr(X), dbl(X))))
active(dbl(0)) -> mark(0)
active(dbl(s(X))) -> mark(s(s(dbl(X))))
active(add(0, X)) -> mark(X)
active(add(s(X), Y)) -> mark(s(add(X, Y)))
active(first(0, X)) -> mark(nil)
active(first(s(X), cons(Y, Z))) -> mark(cons(Y, first(X, Z)))
active(half(0)) -> mark(0)
active(half(s(0))) -> mark(0)
active(half(s(s(X)))) -> mark(s(half(X)))
active(half(dbl(X))) -> mark(X)
active(terms(X)) -> terms(active(X))
active(cons(X1, X2)) -> cons(active(X1), X2)
active(recip(X)) -> recip(active(X))
active(sqr(X)) -> sqr(active(X))
active(s(X)) -> s(active(X))
active(add(X1, X2)) -> add(active(X1), X2)
active(add(X1, X2)) -> add(X1, active(X2))
active(dbl(X)) -> dbl(active(X))
active(first(X1, X2)) -> first(active(X1), X2)
active(first(X1, X2)) -> first(X1, active(X2))
active(half(X)) -> half(active(X))
terms(mark(X)) -> mark(terms(X))
terms(ok(X)) -> ok(terms(X))
cons(mark(X1), X2) -> mark(cons(X1, X2))
cons(ok(X1), ok(X2)) -> ok(cons(X1, X2))
recip(mark(X)) -> mark(recip(X))
recip(ok(X)) -> ok(recip(X))
sqr(mark(X)) -> mark(sqr(X))
sqr(ok(X)) -> ok(sqr(X))
s(mark(X)) -> mark(s(X))
s(ok(X)) -> ok(s(X))
add(mark(X1), X2) -> mark(add(X1, X2))
add(X1, mark(X2)) -> mark(add(X1, X2))
add(ok(X1), ok(X2)) -> ok(add(X1, X2))
dbl(mark(X)) -> mark(dbl(X))
dbl(ok(X)) -> ok(dbl(X))
first(mark(X1), X2) -> mark(first(X1, X2))
first(X1, mark(X2)) -> mark(first(X1, X2))
first(ok(X1), ok(X2)) -> ok(first(X1, X2))
half(mark(X)) -> mark(half(X))
half(ok(X)) -> ok(half(X))
proper(terms(X)) -> terms(proper(X))
proper(cons(X1, X2)) -> cons(proper(X1), proper(X2))
proper(recip(X)) -> recip(proper(X))
proper(sqr(X)) -> sqr(proper(X))
proper(s(X)) -> s(proper(X))
proper(0) -> ok(0)
proper(add(X1, X2)) -> add(proper(X1), proper(X2))
proper(dbl(X)) -> dbl(proper(X))
proper(first(X1, X2)) -> first(proper(X1), proper(X2))
proper(nil) -> ok(nil)
proper(half(X)) -> half(proper(X))
top(mark(X)) -> top(proper(X))
top(ok(X)) -> top(active(X))
innermost
R
↳DPs
→DP Problem 1
↳UsableRules
→DP Problem 13
↳Size-Change Principle
→DP Problem 2
↳UsableRules
→DP Problem 3
↳UsableRules
→DP Problem 4
↳UsableRules
→DP Problem 5
↳UsableRules
→DP Problem 6
↳UsableRules
→DP Problem 7
↳UsableRules
→DP Problem 8
↳UsableRules
→DP Problem 9
↳UsableRules
→DP Problem 10
↳UsableRules
→DP Problem 11
↳UsableRules
→DP Problem 12
↳UsableRules
CONS(mark(X1), X2) -> CONS(X1, X2)
CONS(ok(X1), ok(X2)) -> CONS(X1, X2)
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
→DP Problem 5
↳UsableRules
→DP Problem 6
↳UsableRules
→DP Problem 7
↳UsableRules
→DP Problem 8
↳UsableRules
→DP Problem 9
↳UsableRules
→DP Problem 10
↳UsableRules
→DP Problem 11
↳UsableRules
→DP Problem 12
↳UsableRules
FIRST(ok(X1), ok(X2)) -> FIRST(X1, X2)
FIRST(mark(X1), X2) -> FIRST(X1, X2)
FIRST(X1, mark(X2)) -> FIRST(X1, X2)
active(terms(N)) -> mark(cons(recip(sqr(N)), terms(s(N))))
active(sqr(0)) -> mark(0)
active(sqr(s(X))) -> mark(s(add(sqr(X), dbl(X))))
active(dbl(0)) -> mark(0)
active(dbl(s(X))) -> mark(s(s(dbl(X))))
active(add(0, X)) -> mark(X)
active(add(s(X), Y)) -> mark(s(add(X, Y)))
active(first(0, X)) -> mark(nil)
active(first(s(X), cons(Y, Z))) -> mark(cons(Y, first(X, Z)))
active(half(0)) -> mark(0)
active(half(s(0))) -> mark(0)
active(half(s(s(X)))) -> mark(s(half(X)))
active(half(dbl(X))) -> mark(X)
active(terms(X)) -> terms(active(X))
active(cons(X1, X2)) -> cons(active(X1), X2)
active(recip(X)) -> recip(active(X))
active(sqr(X)) -> sqr(active(X))
active(s(X)) -> s(active(X))
active(add(X1, X2)) -> add(active(X1), X2)
active(add(X1, X2)) -> add(X1, active(X2))
active(dbl(X)) -> dbl(active(X))
active(first(X1, X2)) -> first(active(X1), X2)
active(first(X1, X2)) -> first(X1, active(X2))
active(half(X)) -> half(active(X))
terms(mark(X)) -> mark(terms(X))
terms(ok(X)) -> ok(terms(X))
cons(mark(X1), X2) -> mark(cons(X1, X2))
cons(ok(X1), ok(X2)) -> ok(cons(X1, X2))
recip(mark(X)) -> mark(recip(X))
recip(ok(X)) -> ok(recip(X))
sqr(mark(X)) -> mark(sqr(X))
sqr(ok(X)) -> ok(sqr(X))
s(mark(X)) -> mark(s(X))
s(ok(X)) -> ok(s(X))
add(mark(X1), X2) -> mark(add(X1, X2))
add(X1, mark(X2)) -> mark(add(X1, X2))
add(ok(X1), ok(X2)) -> ok(add(X1, X2))
dbl(mark(X)) -> mark(dbl(X))
dbl(ok(X)) -> ok(dbl(X))
first(mark(X1), X2) -> mark(first(X1, X2))
first(X1, mark(X2)) -> mark(first(X1, X2))
first(ok(X1), ok(X2)) -> ok(first(X1, X2))
half(mark(X)) -> mark(half(X))
half(ok(X)) -> ok(half(X))
proper(terms(X)) -> terms(proper(X))
proper(cons(X1, X2)) -> cons(proper(X1), proper(X2))
proper(recip(X)) -> recip(proper(X))
proper(sqr(X)) -> sqr(proper(X))
proper(s(X)) -> s(proper(X))
proper(0) -> ok(0)
proper(add(X1, X2)) -> add(proper(X1), proper(X2))
proper(dbl(X)) -> dbl(proper(X))
proper(first(X1, X2)) -> first(proper(X1), proper(X2))
proper(nil) -> ok(nil)
proper(half(X)) -> half(proper(X))
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 14
↳Size-Change Principle
→DP Problem 3
↳UsableRules
→DP Problem 4
↳UsableRules
→DP Problem 5
↳UsableRules
→DP Problem 6
↳UsableRules
→DP Problem 7
↳UsableRules
→DP Problem 8
↳UsableRules
→DP Problem 9
↳UsableRules
→DP Problem 10
↳UsableRules
→DP Problem 11
↳UsableRules
→DP Problem 12
↳UsableRules
FIRST(ok(X1), ok(X2)) -> FIRST(X1, X2)
FIRST(mark(X1), X2) -> FIRST(X1, X2)
FIRST(X1, mark(X2)) -> FIRST(X1, X2)
none
innermost
|
|
|
|
|
|
trivial
mark(x1) -> mark(x1)
ok(x1) -> ok(x1)
R
↳DPs
→DP Problem 1
↳UsableRules
→DP Problem 2
↳UsableRules
→DP Problem 3
↳Usable Rules (Innermost)
→DP Problem 4
↳UsableRules
→DP Problem 5
↳UsableRules
→DP Problem 6
↳UsableRules
→DP Problem 7
↳UsableRules
→DP Problem 8
↳UsableRules
→DP Problem 9
↳UsableRules
→DP Problem 10
↳UsableRules
→DP Problem 11
↳UsableRules
→DP Problem 12
↳UsableRules
TERMS(ok(X)) -> TERMS(X)
TERMS(mark(X)) -> TERMS(X)
active(terms(N)) -> mark(cons(recip(sqr(N)), terms(s(N))))
active(sqr(0)) -> mark(0)
active(sqr(s(X))) -> mark(s(add(sqr(X), dbl(X))))
active(dbl(0)) -> mark(0)
active(dbl(s(X))) -> mark(s(s(dbl(X))))
active(add(0, X)) -> mark(X)
active(add(s(X), Y)) -> mark(s(add(X, Y)))
active(first(0, X)) -> mark(nil)
active(first(s(X), cons(Y, Z))) -> mark(cons(Y, first(X, Z)))
active(half(0)) -> mark(0)
active(half(s(0))) -> mark(0)
active(half(s(s(X)))) -> mark(s(half(X)))
active(half(dbl(X))) -> mark(X)
active(terms(X)) -> terms(active(X))
active(cons(X1, X2)) -> cons(active(X1), X2)
active(recip(X)) -> recip(active(X))
active(sqr(X)) -> sqr(active(X))
active(s(X)) -> s(active(X))
active(add(X1, X2)) -> add(active(X1), X2)
active(add(X1, X2)) -> add(X1, active(X2))
active(dbl(X)) -> dbl(active(X))
active(first(X1, X2)) -> first(active(X1), X2)
active(first(X1, X2)) -> first(X1, active(X2))
active(half(X)) -> half(active(X))
terms(mark(X)) -> mark(terms(X))
terms(ok(X)) -> ok(terms(X))
cons(mark(X1), X2) -> mark(cons(X1, X2))
cons(ok(X1), ok(X2)) -> ok(cons(X1, X2))
recip(mark(X)) -> mark(recip(X))
recip(ok(X)) -> ok(recip(X))
sqr(mark(X)) -> mark(sqr(X))
sqr(ok(X)) -> ok(sqr(X))
s(mark(X)) -> mark(s(X))
s(ok(X)) -> ok(s(X))
add(mark(X1), X2) -> mark(add(X1, X2))
add(X1, mark(X2)) -> mark(add(X1, X2))
add(ok(X1), ok(X2)) -> ok(add(X1, X2))
dbl(mark(X)) -> mark(dbl(X))
dbl(ok(X)) -> ok(dbl(X))
first(mark(X1), X2) -> mark(first(X1, X2))
first(X1, mark(X2)) -> mark(first(X1, X2))
first(ok(X1), ok(X2)) -> ok(first(X1, X2))
half(mark(X)) -> mark(half(X))
half(ok(X)) -> ok(half(X))
proper(terms(X)) -> terms(proper(X))
proper(cons(X1, X2)) -> cons(proper(X1), proper(X2))
proper(recip(X)) -> recip(proper(X))
proper(sqr(X)) -> sqr(proper(X))
proper(s(X)) -> s(proper(X))
proper(0) -> ok(0)
proper(add(X1, X2)) -> add(proper(X1), proper(X2))
proper(dbl(X)) -> dbl(proper(X))
proper(first(X1, X2)) -> first(proper(X1), proper(X2))
proper(nil) -> ok(nil)
proper(half(X)) -> half(proper(X))
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 15
↳Size-Change Principle
→DP Problem 4
↳UsableRules
→DP Problem 5
↳UsableRules
→DP Problem 6
↳UsableRules
→DP Problem 7
↳UsableRules
→DP Problem 8
↳UsableRules
→DP Problem 9
↳UsableRules
→DP Problem 10
↳UsableRules
→DP Problem 11
↳UsableRules
→DP Problem 12
↳UsableRules
TERMS(ok(X)) -> TERMS(X)
TERMS(mark(X)) -> TERMS(X)
none
innermost
|
|
trivial
mark(x1) -> mark(x1)
ok(x1) -> ok(x1)
R
↳DPs
→DP Problem 1
↳UsableRules
→DP Problem 2
↳UsableRules
→DP Problem 3
↳UsableRules
→DP Problem 4
↳Usable Rules (Innermost)
→DP Problem 5
↳UsableRules
→DP Problem 6
↳UsableRules
→DP Problem 7
↳UsableRules
→DP Problem 8
↳UsableRules
→DP Problem 9
↳UsableRules
→DP Problem 10
↳UsableRules
→DP Problem 11
↳UsableRules
→DP Problem 12
↳UsableRules
RECIP(ok(X)) -> RECIP(X)
RECIP(mark(X)) -> RECIP(X)
active(terms(N)) -> mark(cons(recip(sqr(N)), terms(s(N))))
active(sqr(0)) -> mark(0)
active(sqr(s(X))) -> mark(s(add(sqr(X), dbl(X))))
active(dbl(0)) -> mark(0)
active(dbl(s(X))) -> mark(s(s(dbl(X))))
active(add(0, X)) -> mark(X)
active(add(s(X), Y)) -> mark(s(add(X, Y)))
active(first(0, X)) -> mark(nil)
active(first(s(X), cons(Y, Z))) -> mark(cons(Y, first(X, Z)))
active(half(0)) -> mark(0)
active(half(s(0))) -> mark(0)
active(half(s(s(X)))) -> mark(s(half(X)))
active(half(dbl(X))) -> mark(X)
active(terms(X)) -> terms(active(X))
active(cons(X1, X2)) -> cons(active(X1), X2)
active(recip(X)) -> recip(active(X))
active(sqr(X)) -> sqr(active(X))
active(s(X)) -> s(active(X))
active(add(X1, X2)) -> add(active(X1), X2)
active(add(X1, X2)) -> add(X1, active(X2))
active(dbl(X)) -> dbl(active(X))
active(first(X1, X2)) -> first(active(X1), X2)
active(first(X1, X2)) -> first(X1, active(X2))
active(half(X)) -> half(active(X))
terms(mark(X)) -> mark(terms(X))
terms(ok(X)) -> ok(terms(X))
cons(mark(X1), X2) -> mark(cons(X1, X2))
cons(ok(X1), ok(X2)) -> ok(cons(X1, X2))
recip(mark(X)) -> mark(recip(X))
recip(ok(X)) -> ok(recip(X))
sqr(mark(X)) -> mark(sqr(X))
sqr(ok(X)) -> ok(sqr(X))
s(mark(X)) -> mark(s(X))
s(ok(X)) -> ok(s(X))
add(mark(X1), X2) -> mark(add(X1, X2))
add(X1, mark(X2)) -> mark(add(X1, X2))
add(ok(X1), ok(X2)) -> ok(add(X1, X2))
dbl(mark(X)) -> mark(dbl(X))
dbl(ok(X)) -> ok(dbl(X))
first(mark(X1), X2) -> mark(first(X1, X2))
first(X1, mark(X2)) -> mark(first(X1, X2))
first(ok(X1), ok(X2)) -> ok(first(X1, X2))
half(mark(X)) -> mark(half(X))
half(ok(X)) -> ok(half(X))
proper(terms(X)) -> terms(proper(X))
proper(cons(X1, X2)) -> cons(proper(X1), proper(X2))
proper(recip(X)) -> recip(proper(X))
proper(sqr(X)) -> sqr(proper(X))
proper(s(X)) -> s(proper(X))
proper(0) -> ok(0)
proper(add(X1, X2)) -> add(proper(X1), proper(X2))
proper(dbl(X)) -> dbl(proper(X))
proper(first(X1, X2)) -> first(proper(X1), proper(X2))
proper(nil) -> ok(nil)
proper(half(X)) -> half(proper(X))
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 16
↳Size-Change Principle
→DP Problem 5
↳UsableRules
→DP Problem 6
↳UsableRules
→DP Problem 7
↳UsableRules
→DP Problem 8
↳UsableRules
→DP Problem 9
↳UsableRules
→DP Problem 10
↳UsableRules
→DP Problem 11
↳UsableRules
→DP Problem 12
↳UsableRules
RECIP(ok(X)) -> RECIP(X)
RECIP(mark(X)) -> RECIP(X)
none
innermost
|
|
trivial
mark(x1) -> mark(x1)
ok(x1) -> ok(x1)
R
↳DPs
→DP Problem 1
↳UsableRules
→DP Problem 2
↳UsableRules
→DP Problem 3
↳UsableRules
→DP Problem 4
↳UsableRules
→DP Problem 5
↳Usable Rules (Innermost)
→DP Problem 6
↳UsableRules
→DP Problem 7
↳UsableRules
→DP Problem 8
↳UsableRules
→DP Problem 9
↳UsableRules
→DP Problem 10
↳UsableRules
→DP Problem 11
↳UsableRules
→DP Problem 12
↳UsableRules
SQR(ok(X)) -> SQR(X)
SQR(mark(X)) -> SQR(X)
active(terms(N)) -> mark(cons(recip(sqr(N)), terms(s(N))))
active(sqr(0)) -> mark(0)
active(sqr(s(X))) -> mark(s(add(sqr(X), dbl(X))))
active(dbl(0)) -> mark(0)
active(dbl(s(X))) -> mark(s(s(dbl(X))))
active(add(0, X)) -> mark(X)
active(add(s(X), Y)) -> mark(s(add(X, Y)))
active(first(0, X)) -> mark(nil)
active(first(s(X), cons(Y, Z))) -> mark(cons(Y, first(X, Z)))
active(half(0)) -> mark(0)
active(half(s(0))) -> mark(0)
active(half(s(s(X)))) -> mark(s(half(X)))
active(half(dbl(X))) -> mark(X)
active(terms(X)) -> terms(active(X))
active(cons(X1, X2)) -> cons(active(X1), X2)
active(recip(X)) -> recip(active(X))
active(sqr(X)) -> sqr(active(X))
active(s(X)) -> s(active(X))
active(add(X1, X2)) -> add(active(X1), X2)
active(add(X1, X2)) -> add(X1, active(X2))
active(dbl(X)) -> dbl(active(X))
active(first(X1, X2)) -> first(active(X1), X2)
active(first(X1, X2)) -> first(X1, active(X2))
active(half(X)) -> half(active(X))
terms(mark(X)) -> mark(terms(X))
terms(ok(X)) -> ok(terms(X))
cons(mark(X1), X2) -> mark(cons(X1, X2))
cons(ok(X1), ok(X2)) -> ok(cons(X1, X2))
recip(mark(X)) -> mark(recip(X))
recip(ok(X)) -> ok(recip(X))
sqr(mark(X)) -> mark(sqr(X))
sqr(ok(X)) -> ok(sqr(X))
s(mark(X)) -> mark(s(X))
s(ok(X)) -> ok(s(X))
add(mark(X1), X2) -> mark(add(X1, X2))
add(X1, mark(X2)) -> mark(add(X1, X2))
add(ok(X1), ok(X2)) -> ok(add(X1, X2))
dbl(mark(X)) -> mark(dbl(X))
dbl(ok(X)) -> ok(dbl(X))
first(mark(X1), X2) -> mark(first(X1, X2))
first(X1, mark(X2)) -> mark(first(X1, X2))
first(ok(X1), ok(X2)) -> ok(first(X1, X2))
half(mark(X)) -> mark(half(X))
half(ok(X)) -> ok(half(X))
proper(terms(X)) -> terms(proper(X))
proper(cons(X1, X2)) -> cons(proper(X1), proper(X2))
proper(recip(X)) -> recip(proper(X))
proper(sqr(X)) -> sqr(proper(X))
proper(s(X)) -> s(proper(X))
proper(0) -> ok(0)
proper(add(X1, X2)) -> add(proper(X1), proper(X2))
proper(dbl(X)) -> dbl(proper(X))
proper(first(X1, X2)) -> first(proper(X1), proper(X2))
proper(nil) -> ok(nil)
proper(half(X)) -> half(proper(X))
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 5
↳UsableRules
→DP Problem 17
↳Size-Change Principle
→DP Problem 6
↳UsableRules
→DP Problem 7
↳UsableRules
→DP Problem 8
↳UsableRules
→DP Problem 9
↳UsableRules
→DP Problem 10
↳UsableRules
→DP Problem 11
↳UsableRules
→DP Problem 12
↳UsableRules
SQR(ok(X)) -> SQR(X)
SQR(mark(X)) -> SQR(X)
none
innermost
|
|
trivial
mark(x1) -> mark(x1)
ok(x1) -> ok(x1)
R
↳DPs
→DP Problem 1
↳UsableRules
→DP Problem 2
↳UsableRules
→DP Problem 3
↳UsableRules
→DP Problem 4
↳UsableRules
→DP Problem 5
↳UsableRules
→DP Problem 6
↳Usable Rules (Innermost)
→DP Problem 7
↳UsableRules
→DP Problem 8
↳UsableRules
→DP Problem 9
↳UsableRules
→DP Problem 10
↳UsableRules
→DP Problem 11
↳UsableRules
→DP Problem 12
↳UsableRules
S(ok(X)) -> S(X)
S(mark(X)) -> S(X)
active(terms(N)) -> mark(cons(recip(sqr(N)), terms(s(N))))
active(sqr(0)) -> mark(0)
active(sqr(s(X))) -> mark(s(add(sqr(X), dbl(X))))
active(dbl(0)) -> mark(0)
active(dbl(s(X))) -> mark(s(s(dbl(X))))
active(add(0, X)) -> mark(X)
active(add(s(X), Y)) -> mark(s(add(X, Y)))
active(first(0, X)) -> mark(nil)
active(first(s(X), cons(Y, Z))) -> mark(cons(Y, first(X, Z)))
active(half(0)) -> mark(0)
active(half(s(0))) -> mark(0)
active(half(s(s(X)))) -> mark(s(half(X)))
active(half(dbl(X))) -> mark(X)
active(terms(X)) -> terms(active(X))
active(cons(X1, X2)) -> cons(active(X1), X2)
active(recip(X)) -> recip(active(X))
active(sqr(X)) -> sqr(active(X))
active(s(X)) -> s(active(X))
active(add(X1, X2)) -> add(active(X1), X2)
active(add(X1, X2)) -> add(X1, active(X2))
active(dbl(X)) -> dbl(active(X))
active(first(X1, X2)) -> first(active(X1), X2)
active(first(X1, X2)) -> first(X1, active(X2))
active(half(X)) -> half(active(X))
terms(mark(X)) -> mark(terms(X))
terms(ok(X)) -> ok(terms(X))
cons(mark(X1), X2) -> mark(cons(X1, X2))
cons(ok(X1), ok(X2)) -> ok(cons(X1, X2))
recip(mark(X)) -> mark(recip(X))
recip(ok(X)) -> ok(recip(X))
sqr(mark(X)) -> mark(sqr(X))
sqr(ok(X)) -> ok(sqr(X))
s(mark(X)) -> mark(s(X))
s(ok(X)) -> ok(s(X))
add(mark(X1), X2) -> mark(add(X1, X2))
add(X1, mark(X2)) -> mark(add(X1, X2))
add(ok(X1), ok(X2)) -> ok(add(X1, X2))
dbl(mark(X)) -> mark(dbl(X))
dbl(ok(X)) -> ok(dbl(X))
first(mark(X1), X2) -> mark(first(X1, X2))
first(X1, mark(X2)) -> mark(first(X1, X2))
first(ok(X1), ok(X2)) -> ok(first(X1, X2))
half(mark(X)) -> mark(half(X))
half(ok(X)) -> ok(half(X))
proper(terms(X)) -> terms(proper(X))
proper(cons(X1, X2)) -> cons(proper(X1), proper(X2))
proper(recip(X)) -> recip(proper(X))
proper(sqr(X)) -> sqr(proper(X))
proper(s(X)) -> s(proper(X))
proper(0) -> ok(0)
proper(add(X1, X2)) -> add(proper(X1), proper(X2))
proper(dbl(X)) -> dbl(proper(X))
proper(first(X1, X2)) -> first(proper(X1), proper(X2))
proper(nil) -> ok(nil)
proper(half(X)) -> half(proper(X))
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 5
↳UsableRules
→DP Problem 6
↳UsableRules
→DP Problem 18
↳Size-Change Principle
→DP Problem 7
↳UsableRules
→DP Problem 8
↳UsableRules
→DP Problem 9
↳UsableRules
→DP Problem 10
↳UsableRules
→DP Problem 11
↳UsableRules
→DP Problem 12
↳UsableRules
S(ok(X)) -> S(X)
S(mark(X)) -> S(X)
none
innermost
|
|
trivial
mark(x1) -> mark(x1)
ok(x1) -> ok(x1)
R
↳DPs
→DP Problem 1
↳UsableRules
→DP Problem 2
↳UsableRules
→DP Problem 3
↳UsableRules
→DP Problem 4
↳UsableRules
→DP Problem 5
↳UsableRules
→DP Problem 6
↳UsableRules
→DP Problem 7
↳Usable Rules (Innermost)
→DP Problem 8
↳UsableRules
→DP Problem 9
↳UsableRules
→DP Problem 10
↳UsableRules
→DP Problem 11
↳UsableRules
→DP Problem 12
↳UsableRules
ADD(ok(X1), ok(X2)) -> ADD(X1, X2)
ADD(X1, mark(X2)) -> ADD(X1, X2)
ADD(mark(X1), X2) -> ADD(X1, X2)
active(terms(N)) -> mark(cons(recip(sqr(N)), terms(s(N))))
active(sqr(0)) -> mark(0)
active(sqr(s(X))) -> mark(s(add(sqr(X), dbl(X))))
active(dbl(0)) -> mark(0)
active(dbl(s(X))) -> mark(s(s(dbl(X))))
active(add(0, X)) -> mark(X)
active(add(s(X), Y)) -> mark(s(add(X, Y)))
active(first(0, X)) -> mark(nil)
active(first(s(X), cons(Y, Z))) -> mark(cons(Y, first(X, Z)))
active(half(0)) -> mark(0)
active(half(s(0))) -> mark(0)
active(half(s(s(X)))) -> mark(s(half(X)))
active(half(dbl(X))) -> mark(X)
active(terms(X)) -> terms(active(X))
active(cons(X1, X2)) -> cons(active(X1), X2)
active(recip(X)) -> recip(active(X))
active(sqr(X)) -> sqr(active(X))
active(s(X)) -> s(active(X))
active(add(X1, X2)) -> add(active(X1), X2)
active(add(X1, X2)) -> add(X1, active(X2))
active(dbl(X)) -> dbl(active(X))
active(first(X1, X2)) -> first(active(X1), X2)
active(first(X1, X2)) -> first(X1, active(X2))
active(half(X)) -> half(active(X))
terms(mark(X)) -> mark(terms(X))
terms(ok(X)) -> ok(terms(X))
cons(mark(X1), X2) -> mark(cons(X1, X2))
cons(ok(X1), ok(X2)) -> ok(cons(X1, X2))
recip(mark(X)) -> mark(recip(X))
recip(ok(X)) -> ok(recip(X))
sqr(mark(X)) -> mark(sqr(X))
sqr(ok(X)) -> ok(sqr(X))
s(mark(X)) -> mark(s(X))
s(ok(X)) -> ok(s(X))
add(mark(X1), X2) -> mark(add(X1, X2))
add(X1, mark(X2)) -> mark(add(X1, X2))
add(ok(X1), ok(X2)) -> ok(add(X1, X2))
dbl(mark(X)) -> mark(dbl(X))
dbl(ok(X)) -> ok(dbl(X))
first(mark(X1), X2) -> mark(first(X1, X2))
first(X1, mark(X2)) -> mark(first(X1, X2))
first(ok(X1), ok(X2)) -> ok(first(X1, X2))
half(mark(X)) -> mark(half(X))
half(ok(X)) -> ok(half(X))
proper(terms(X)) -> terms(proper(X))
proper(cons(X1, X2)) -> cons(proper(X1), proper(X2))
proper(recip(X)) -> recip(proper(X))
proper(sqr(X)) -> sqr(proper(X))
proper(s(X)) -> s(proper(X))
proper(0) -> ok(0)
proper(add(X1, X2)) -> add(proper(X1), proper(X2))
proper(dbl(X)) -> dbl(proper(X))
proper(first(X1, X2)) -> first(proper(X1), proper(X2))
proper(nil) -> ok(nil)
proper(half(X)) -> half(proper(X))
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 5
↳UsableRules
→DP Problem 6
↳UsableRules
→DP Problem 7
↳UsableRules
→DP Problem 19
↳Size-Change Principle
→DP Problem 8
↳UsableRules
→DP Problem 9
↳UsableRules
→DP Problem 10
↳UsableRules
→DP Problem 11
↳UsableRules
→DP Problem 12
↳UsableRules
ADD(ok(X1), ok(X2)) -> ADD(X1, X2)
ADD(X1, mark(X2)) -> ADD(X1, X2)
ADD(mark(X1), X2) -> ADD(X1, X2)
none
innermost
|
|
|
|
|
|
trivial
mark(x1) -> mark(x1)
ok(x1) -> ok(x1)
R
↳DPs
→DP Problem 1
↳UsableRules
→DP Problem 2
↳UsableRules
→DP Problem 3
↳UsableRules
→DP Problem 4
↳UsableRules
→DP Problem 5
↳UsableRules
→DP Problem 6
↳UsableRules
→DP Problem 7
↳UsableRules
→DP Problem 8
↳Usable Rules (Innermost)
→DP Problem 9
↳UsableRules
→DP Problem 10
↳UsableRules
→DP Problem 11
↳UsableRules
→DP Problem 12
↳UsableRules
DBL(ok(X)) -> DBL(X)
DBL(mark(X)) -> DBL(X)
active(terms(N)) -> mark(cons(recip(sqr(N)), terms(s(N))))
active(sqr(0)) -> mark(0)
active(sqr(s(X))) -> mark(s(add(sqr(X), dbl(X))))
active(dbl(0)) -> mark(0)
active(dbl(s(X))) -> mark(s(s(dbl(X))))
active(add(0, X)) -> mark(X)
active(add(s(X), Y)) -> mark(s(add(X, Y)))
active(first(0, X)) -> mark(nil)
active(first(s(X), cons(Y, Z))) -> mark(cons(Y, first(X, Z)))
active(half(0)) -> mark(0)
active(half(s(0))) -> mark(0)
active(half(s(s(X)))) -> mark(s(half(X)))
active(half(dbl(X))) -> mark(X)
active(terms(X)) -> terms(active(X))
active(cons(X1, X2)) -> cons(active(X1), X2)
active(recip(X)) -> recip(active(X))
active(sqr(X)) -> sqr(active(X))
active(s(X)) -> s(active(X))
active(add(X1, X2)) -> add(active(X1), X2)
active(add(X1, X2)) -> add(X1, active(X2))
active(dbl(X)) -> dbl(active(X))
active(first(X1, X2)) -> first(active(X1), X2)
active(first(X1, X2)) -> first(X1, active(X2))
active(half(X)) -> half(active(X))
terms(mark(X)) -> mark(terms(X))
terms(ok(X)) -> ok(terms(X))
cons(mark(X1), X2) -> mark(cons(X1, X2))
cons(ok(X1), ok(X2)) -> ok(cons(X1, X2))
recip(mark(X)) -> mark(recip(X))
recip(ok(X)) -> ok(recip(X))
sqr(mark(X)) -> mark(sqr(X))
sqr(ok(X)) -> ok(sqr(X))
s(mark(X)) -> mark(s(X))
s(ok(X)) -> ok(s(X))
add(mark(X1), X2) -> mark(add(X1, X2))
add(X1, mark(X2)) -> mark(add(X1, X2))
add(ok(X1), ok(X2)) -> ok(add(X1, X2))
dbl(mark(X)) -> mark(dbl(X))
dbl(ok(X)) -> ok(dbl(X))
first(mark(X1), X2) -> mark(first(X1, X2))
first(X1, mark(X2)) -> mark(first(X1, X2))
first(ok(X1), ok(X2)) -> ok(first(X1, X2))
half(mark(X)) -> mark(half(X))
half(ok(X)) -> ok(half(X))
proper(terms(X)) -> terms(proper(X))
proper(cons(X1, X2)) -> cons(proper(X1), proper(X2))
proper(recip(X)) -> recip(proper(X))
proper(sqr(X)) -> sqr(proper(X))
proper(s(X)) -> s(proper(X))
proper(0) -> ok(0)
proper(add(X1, X2)) -> add(proper(X1), proper(X2))
proper(dbl(X)) -> dbl(proper(X))
proper(first(X1, X2)) -> first(proper(X1), proper(X2))
proper(nil) -> ok(nil)
proper(half(X)) -> half(proper(X))
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 5
↳UsableRules
→DP Problem 6
↳UsableRules
→DP Problem 7
↳UsableRules
→DP Problem 8
↳UsableRules
→DP Problem 20
↳Size-Change Principle
→DP Problem 9
↳UsableRules
→DP Problem 10
↳UsableRules
→DP Problem 11
↳UsableRules
→DP Problem 12
↳UsableRules
DBL(ok(X)) -> DBL(X)
DBL(mark(X)) -> DBL(X)
none
innermost
|
|
trivial
mark(x1) -> mark(x1)
ok(x1) -> ok(x1)
R
↳DPs
→DP Problem 1
↳UsableRules
→DP Problem 2
↳UsableRules
→DP Problem 3
↳UsableRules
→DP Problem 4
↳UsableRules
→DP Problem 5
↳UsableRules
→DP Problem 6
↳UsableRules
→DP Problem 7
↳UsableRules
→DP Problem 8
↳UsableRules
→DP Problem 9
↳Usable Rules (Innermost)
→DP Problem 10
↳UsableRules
→DP Problem 11
↳UsableRules
→DP Problem 12
↳UsableRules
HALF(ok(X)) -> HALF(X)
HALF(mark(X)) -> HALF(X)
active(terms(N)) -> mark(cons(recip(sqr(N)), terms(s(N))))
active(sqr(0)) -> mark(0)
active(sqr(s(X))) -> mark(s(add(sqr(X), dbl(X))))
active(dbl(0)) -> mark(0)
active(dbl(s(X))) -> mark(s(s(dbl(X))))
active(add(0, X)) -> mark(X)
active(add(s(X), Y)) -> mark(s(add(X, Y)))
active(first(0, X)) -> mark(nil)
active(first(s(X), cons(Y, Z))) -> mark(cons(Y, first(X, Z)))
active(half(0)) -> mark(0)
active(half(s(0))) -> mark(0)
active(half(s(s(X)))) -> mark(s(half(X)))
active(half(dbl(X))) -> mark(X)
active(terms(X)) -> terms(active(X))
active(cons(X1, X2)) -> cons(active(X1), X2)
active(recip(X)) -> recip(active(X))
active(sqr(X)) -> sqr(active(X))
active(s(X)) -> s(active(X))
active(add(X1, X2)) -> add(active(X1), X2)
active(add(X1, X2)) -> add(X1, active(X2))
active(dbl(X)) -> dbl(active(X))
active(first(X1, X2)) -> first(active(X1), X2)
active(first(X1, X2)) -> first(X1, active(X2))
active(half(X)) -> half(active(X))
terms(mark(X)) -> mark(terms(X))
terms(ok(X)) -> ok(terms(X))
cons(mark(X1), X2) -> mark(cons(X1, X2))
cons(ok(X1), ok(X2)) -> ok(cons(X1, X2))
recip(mark(X)) -> mark(recip(X))
recip(ok(X)) -> ok(recip(X))
sqr(mark(X)) -> mark(sqr(X))
sqr(ok(X)) -> ok(sqr(X))
s(mark(X)) -> mark(s(X))
s(ok(X)) -> ok(s(X))
add(mark(X1), X2) -> mark(add(X1, X2))
add(X1, mark(X2)) -> mark(add(X1, X2))
add(ok(X1), ok(X2)) -> ok(add(X1, X2))
dbl(mark(X)) -> mark(dbl(X))
dbl(ok(X)) -> ok(dbl(X))
first(mark(X1), X2) -> mark(first(X1, X2))
first(X1, mark(X2)) -> mark(first(X1, X2))
first(ok(X1), ok(X2)) -> ok(first(X1, X2))
half(mark(X)) -> mark(half(X))
half(ok(X)) -> ok(half(X))
proper(terms(X)) -> terms(proper(X))
proper(cons(X1, X2)) -> cons(proper(X1), proper(X2))
proper(recip(X)) -> recip(proper(X))
proper(sqr(X)) -> sqr(proper(X))
proper(s(X)) -> s(proper(X))
proper(0) -> ok(0)
proper(add(X1, X2)) -> add(proper(X1), proper(X2))
proper(dbl(X)) -> dbl(proper(X))
proper(first(X1, X2)) -> first(proper(X1), proper(X2))
proper(nil) -> ok(nil)
proper(half(X)) -> half(proper(X))
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 5
↳UsableRules
→DP Problem 6
↳UsableRules
→DP Problem 7
↳UsableRules
→DP Problem 8
↳UsableRules
→DP Problem 9
↳UsableRules
→DP Problem 21
↳Size-Change Principle
→DP Problem 10
↳UsableRules
→DP Problem 11
↳UsableRules
→DP Problem 12
↳UsableRules
HALF(ok(X)) -> HALF(X)
HALF(mark(X)) -> HALF(X)
none
innermost
|
|
trivial
mark(x1) -> mark(x1)
ok(x1) -> ok(x1)
R
↳DPs
→DP Problem 1
↳UsableRules
→DP Problem 2
↳UsableRules
→DP Problem 3
↳UsableRules
→DP Problem 4
↳UsableRules
→DP Problem 5
↳UsableRules
→DP Problem 6
↳UsableRules
→DP Problem 7
↳UsableRules
→DP Problem 8
↳UsableRules
→DP Problem 9
↳UsableRules
→DP Problem 10
↳Usable Rules (Innermost)
→DP Problem 11
↳UsableRules
→DP Problem 12
↳UsableRules
ACTIVE(half(X)) -> ACTIVE(X)
ACTIVE(first(X1, X2)) -> ACTIVE(X2)
ACTIVE(first(X1, X2)) -> ACTIVE(X1)
ACTIVE(dbl(X)) -> ACTIVE(X)
ACTIVE(add(X1, X2)) -> ACTIVE(X2)
ACTIVE(add(X1, X2)) -> ACTIVE(X1)
ACTIVE(s(X)) -> ACTIVE(X)
ACTIVE(sqr(X)) -> ACTIVE(X)
ACTIVE(recip(X)) -> ACTIVE(X)
ACTIVE(cons(X1, X2)) -> ACTIVE(X1)
ACTIVE(terms(X)) -> ACTIVE(X)
active(terms(N)) -> mark(cons(recip(sqr(N)), terms(s(N))))
active(sqr(0)) -> mark(0)
active(sqr(s(X))) -> mark(s(add(sqr(X), dbl(X))))
active(dbl(0)) -> mark(0)
active(dbl(s(X))) -> mark(s(s(dbl(X))))
active(add(0, X)) -> mark(X)
active(add(s(X), Y)) -> mark(s(add(X, Y)))
active(first(0, X)) -> mark(nil)
active(first(s(X), cons(Y, Z))) -> mark(cons(Y, first(X, Z)))
active(half(0)) -> mark(0)
active(half(s(0))) -> mark(0)
active(half(s(s(X)))) -> mark(s(half(X)))
active(half(dbl(X))) -> mark(X)
active(terms(X)) -> terms(active(X))
active(cons(X1, X2)) -> cons(active(X1), X2)
active(recip(X)) -> recip(active(X))
active(sqr(X)) -> sqr(active(X))
active(s(X)) -> s(active(X))
active(add(X1, X2)) -> add(active(X1), X2)
active(add(X1, X2)) -> add(X1, active(X2))
active(dbl(X)) -> dbl(active(X))
active(first(X1, X2)) -> first(active(X1), X2)
active(first(X1, X2)) -> first(X1, active(X2))
active(half(X)) -> half(active(X))
terms(mark(X)) -> mark(terms(X))
terms(ok(X)) -> ok(terms(X))
cons(mark(X1), X2) -> mark(cons(X1, X2))
cons(ok(X1), ok(X2)) -> ok(cons(X1, X2))
recip(mark(X)) -> mark(recip(X))
recip(ok(X)) -> ok(recip(X))
sqr(mark(X)) -> mark(sqr(X))
sqr(ok(X)) -> ok(sqr(X))
s(mark(X)) -> mark(s(X))
s(ok(X)) -> ok(s(X))
add(mark(X1), X2) -> mark(add(X1, X2))
add(X1, mark(X2)) -> mark(add(X1, X2))
add(ok(X1), ok(X2)) -> ok(add(X1, X2))
dbl(mark(X)) -> mark(dbl(X))
dbl(ok(X)) -> ok(dbl(X))
first(mark(X1), X2) -> mark(first(X1, X2))
first(X1, mark(X2)) -> mark(first(X1, X2))
first(ok(X1), ok(X2)) -> ok(first(X1, X2))
half(mark(X)) -> mark(half(X))
half(ok(X)) -> ok(half(X))
proper(terms(X)) -> terms(proper(X))
proper(cons(X1, X2)) -> cons(proper(X1), proper(X2))
proper(recip(X)) -> recip(proper(X))
proper(sqr(X)) -> sqr(proper(X))
proper(s(X)) -> s(proper(X))
proper(0) -> ok(0)
proper(add(X1, X2)) -> add(proper(X1), proper(X2))
proper(dbl(X)) -> dbl(proper(X))
proper(first(X1, X2)) -> first(proper(X1), proper(X2))
proper(nil) -> ok(nil)
proper(half(X)) -> half(proper(X))
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 5
↳UsableRules
→DP Problem 6
↳UsableRules
→DP Problem 7
↳UsableRules
→DP Problem 8
↳UsableRules
→DP Problem 9
↳UsableRules
→DP Problem 10
↳UsableRules
→DP Problem 22
↳Size-Change Principle
→DP Problem 11
↳UsableRules
→DP Problem 12
↳UsableRules
ACTIVE(half(X)) -> ACTIVE(X)
ACTIVE(first(X1, X2)) -> ACTIVE(X2)
ACTIVE(first(X1, X2)) -> ACTIVE(X1)
ACTIVE(dbl(X)) -> ACTIVE(X)
ACTIVE(add(X1, X2)) -> ACTIVE(X2)
ACTIVE(add(X1, X2)) -> ACTIVE(X1)
ACTIVE(s(X)) -> ACTIVE(X)
ACTIVE(sqr(X)) -> ACTIVE(X)
ACTIVE(recip(X)) -> ACTIVE(X)
ACTIVE(cons(X1, X2)) -> ACTIVE(X1)
ACTIVE(terms(X)) -> ACTIVE(X)
none
innermost
|
|
trivial
first(x1, x2) -> first(x1, x2)
cons(x1, x2) -> cons(x1, x2)
sqr(x1) -> sqr(x1)
dbl(x1) -> dbl(x1)
s(x1) -> s(x1)
terms(x1) -> terms(x1)
recip(x1) -> recip(x1)
half(x1) -> half(x1)
add(x1, x2) -> add(x1, x2)
R
↳DPs
→DP Problem 1
↳UsableRules
→DP Problem 2
↳UsableRules
→DP Problem 3
↳UsableRules
→DP Problem 4
↳UsableRules
→DP Problem 5
↳UsableRules
→DP Problem 6
↳UsableRules
→DP Problem 7
↳UsableRules
→DP Problem 8
↳UsableRules
→DP Problem 9
↳UsableRules
→DP Problem 10
↳UsableRules
→DP Problem 11
↳Usable Rules (Innermost)
→DP Problem 12
↳UsableRules
PROPER(half(X)) -> PROPER(X)
PROPER(first(X1, X2)) -> PROPER(X2)
PROPER(first(X1, X2)) -> PROPER(X1)
PROPER(dbl(X)) -> PROPER(X)
PROPER(add(X1, X2)) -> PROPER(X2)
PROPER(add(X1, X2)) -> PROPER(X1)
PROPER(s(X)) -> PROPER(X)
PROPER(sqr(X)) -> PROPER(X)
PROPER(recip(X)) -> PROPER(X)
PROPER(cons(X1, X2)) -> PROPER(X2)
PROPER(cons(X1, X2)) -> PROPER(X1)
PROPER(terms(X)) -> PROPER(X)
active(terms(N)) -> mark(cons(recip(sqr(N)), terms(s(N))))
active(sqr(0)) -> mark(0)
active(sqr(s(X))) -> mark(s(add(sqr(X), dbl(X))))
active(dbl(0)) -> mark(0)
active(dbl(s(X))) -> mark(s(s(dbl(X))))
active(add(0, X)) -> mark(X)
active(add(s(X), Y)) -> mark(s(add(X, Y)))
active(first(0, X)) -> mark(nil)
active(first(s(X), cons(Y, Z))) -> mark(cons(Y, first(X, Z)))
active(half(0)) -> mark(0)
active(half(s(0))) -> mark(0)
active(half(s(s(X)))) -> mark(s(half(X)))
active(half(dbl(X))) -> mark(X)
active(terms(X)) -> terms(active(X))
active(cons(X1, X2)) -> cons(active(X1), X2)
active(recip(X)) -> recip(active(X))
active(sqr(X)) -> sqr(active(X))
active(s(X)) -> s(active(X))
active(add(X1, X2)) -> add(active(X1), X2)
active(add(X1, X2)) -> add(X1, active(X2))
active(dbl(X)) -> dbl(active(X))
active(first(X1, X2)) -> first(active(X1), X2)
active(first(X1, X2)) -> first(X1, active(X2))
active(half(X)) -> half(active(X))
terms(mark(X)) -> mark(terms(X))
terms(ok(X)) -> ok(terms(X))
cons(mark(X1), X2) -> mark(cons(X1, X2))
cons(ok(X1), ok(X2)) -> ok(cons(X1, X2))
recip(mark(X)) -> mark(recip(X))
recip(ok(X)) -> ok(recip(X))
sqr(mark(X)) -> mark(sqr(X))
sqr(ok(X)) -> ok(sqr(X))
s(mark(X)) -> mark(s(X))
s(ok(X)) -> ok(s(X))
add(mark(X1), X2) -> mark(add(X1, X2))
add(X1, mark(X2)) -> mark(add(X1, X2))
add(ok(X1), ok(X2)) -> ok(add(X1, X2))
dbl(mark(X)) -> mark(dbl(X))
dbl(ok(X)) -> ok(dbl(X))
first(mark(X1), X2) -> mark(first(X1, X2))
first(X1, mark(X2)) -> mark(first(X1, X2))
first(ok(X1), ok(X2)) -> ok(first(X1, X2))
half(mark(X)) -> mark(half(X))
half(ok(X)) -> ok(half(X))
proper(terms(X)) -> terms(proper(X))
proper(cons(X1, X2)) -> cons(proper(X1), proper(X2))
proper(recip(X)) -> recip(proper(X))
proper(sqr(X)) -> sqr(proper(X))
proper(s(X)) -> s(proper(X))
proper(0) -> ok(0)
proper(add(X1, X2)) -> add(proper(X1), proper(X2))
proper(dbl(X)) -> dbl(proper(X))
proper(first(X1, X2)) -> first(proper(X1), proper(X2))
proper(nil) -> ok(nil)
proper(half(X)) -> half(proper(X))
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 5
↳UsableRules
→DP Problem 6
↳UsableRules
→DP Problem 7
↳UsableRules
→DP Problem 8
↳UsableRules
→DP Problem 9
↳UsableRules
→DP Problem 10
↳UsableRules
→DP Problem 11
↳UsableRules
→DP Problem 23
↳Size-Change Principle
→DP Problem 12
↳UsableRules
PROPER(half(X)) -> PROPER(X)
PROPER(first(X1, X2)) -> PROPER(X2)
PROPER(first(X1, X2)) -> PROPER(X1)
PROPER(dbl(X)) -> PROPER(X)
PROPER(add(X1, X2)) -> PROPER(X2)
PROPER(add(X1, X2)) -> PROPER(X1)
PROPER(s(X)) -> PROPER(X)
PROPER(sqr(X)) -> PROPER(X)
PROPER(recip(X)) -> PROPER(X)
PROPER(cons(X1, X2)) -> PROPER(X2)
PROPER(cons(X1, X2)) -> PROPER(X1)
PROPER(terms(X)) -> PROPER(X)
none
innermost
|
|
trivial
first(x1, x2) -> first(x1, x2)
cons(x1, x2) -> cons(x1, x2)
sqr(x1) -> sqr(x1)
dbl(x1) -> dbl(x1)
terms(x1) -> terms(x1)
s(x1) -> s(x1)
recip(x1) -> recip(x1)
half(x1) -> half(x1)
add(x1, x2) -> add(x1, x2)
R
↳DPs
→DP Problem 1
↳UsableRules
→DP Problem 2
↳UsableRules
→DP Problem 3
↳UsableRules
→DP Problem 4
↳UsableRules
→DP Problem 5
↳UsableRules
→DP Problem 6
↳UsableRules
→DP Problem 7
↳UsableRules
→DP Problem 8
↳UsableRules
→DP Problem 9
↳UsableRules
→DP Problem 10
↳UsableRules
→DP Problem 11
↳UsableRules
→DP Problem 12
↳Usable Rules (Innermost)
TOP(ok(X)) -> TOP(active(X))
TOP(mark(X)) -> TOP(proper(X))
active(terms(N)) -> mark(cons(recip(sqr(N)), terms(s(N))))
active(sqr(0)) -> mark(0)
active(sqr(s(X))) -> mark(s(add(sqr(X), dbl(X))))
active(dbl(0)) -> mark(0)
active(dbl(s(X))) -> mark(s(s(dbl(X))))
active(add(0, X)) -> mark(X)
active(add(s(X), Y)) -> mark(s(add(X, Y)))
active(first(0, X)) -> mark(nil)
active(first(s(X), cons(Y, Z))) -> mark(cons(Y, first(X, Z)))
active(half(0)) -> mark(0)
active(half(s(0))) -> mark(0)
active(half(s(s(X)))) -> mark(s(half(X)))
active(half(dbl(X))) -> mark(X)
active(terms(X)) -> terms(active(X))
active(cons(X1, X2)) -> cons(active(X1), X2)
active(recip(X)) -> recip(active(X))
active(sqr(X)) -> sqr(active(X))
active(s(X)) -> s(active(X))
active(add(X1, X2)) -> add(active(X1), X2)
active(add(X1, X2)) -> add(X1, active(X2))
active(dbl(X)) -> dbl(active(X))
active(first(X1, X2)) -> first(active(X1), X2)
active(first(X1, X2)) -> first(X1, active(X2))
active(half(X)) -> half(active(X))
terms(mark(X)) -> mark(terms(X))
terms(ok(X)) -> ok(terms(X))
cons(mark(X1), X2) -> mark(cons(X1, X2))
cons(ok(X1), ok(X2)) -> ok(cons(X1, X2))
recip(mark(X)) -> mark(recip(X))
recip(ok(X)) -> ok(recip(X))
sqr(mark(X)) -> mark(sqr(X))
sqr(ok(X)) -> ok(sqr(X))
s(mark(X)) -> mark(s(X))
s(ok(X)) -> ok(s(X))
add(mark(X1), X2) -> mark(add(X1, X2))
add(X1, mark(X2)) -> mark(add(X1, X2))
add(ok(X1), ok(X2)) -> ok(add(X1, X2))
dbl(mark(X)) -> mark(dbl(X))
dbl(ok(X)) -> ok(dbl(X))
first(mark(X1), X2) -> mark(first(X1, X2))
first(X1, mark(X2)) -> mark(first(X1, X2))
first(ok(X1), ok(X2)) -> ok(first(X1, X2))
half(mark(X)) -> mark(half(X))
half(ok(X)) -> ok(half(X))
proper(terms(X)) -> terms(proper(X))
proper(cons(X1, X2)) -> cons(proper(X1), proper(X2))
proper(recip(X)) -> recip(proper(X))
proper(sqr(X)) -> sqr(proper(X))
proper(s(X)) -> s(proper(X))
proper(0) -> ok(0)
proper(add(X1, X2)) -> add(proper(X1), proper(X2))
proper(dbl(X)) -> dbl(proper(X))
proper(first(X1, X2)) -> first(proper(X1), proper(X2))
proper(nil) -> ok(nil)
proper(half(X)) -> half(proper(X))
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 5
↳UsableRules
→DP Problem 6
↳UsableRules
→DP Problem 7
↳UsableRules
→DP Problem 8
↳UsableRules
→DP Problem 9
↳UsableRules
→DP Problem 10
↳UsableRules
→DP Problem 11
↳UsableRules
→DP Problem 12
↳UsableRules
→DP Problem 24
↳Narrowing Transformation
TOP(ok(X)) -> TOP(active(X))
TOP(mark(X)) -> TOP(proper(X))
active(cons(X1, X2)) -> cons(active(X1), X2)
active(half(X)) -> half(active(X))
active(add(X1, X2)) -> add(active(X1), X2)
active(dbl(s(X))) -> mark(s(s(dbl(X))))
active(half(dbl(X))) -> mark(X)
active(add(s(X), Y)) -> mark(s(add(X, Y)))
active(half(0)) -> mark(0)
active(sqr(X)) -> sqr(active(X))
active(dbl(0)) -> mark(0)
active(add(0, X)) -> mark(X)
active(sqr(0)) -> mark(0)
active(half(s(0))) -> mark(0)
active(terms(X)) -> terms(active(X))
active(sqr(s(X))) -> mark(s(add(sqr(X), dbl(X))))
active(first(s(X), cons(Y, Z))) -> mark(cons(Y, first(X, Z)))
active(terms(N)) -> mark(cons(recip(sqr(N)), terms(s(N))))
active(first(X1, X2)) -> first(active(X1), X2)
active(dbl(X)) -> dbl(active(X))
active(recip(X)) -> recip(active(X))
active(first(0, X)) -> mark(nil)
active(add(X1, X2)) -> add(X1, active(X2))
active(half(s(s(X)))) -> mark(s(half(X)))
active(first(X1, X2)) -> first(X1, active(X2))
active(s(X)) -> s(active(X))
cons(mark(X1), X2) -> mark(cons(X1, X2))
cons(ok(X1), ok(X2)) -> ok(cons(X1, X2))
recip(mark(X)) -> mark(recip(X))
recip(ok(X)) -> ok(recip(X))
half(mark(X)) -> mark(half(X))
half(ok(X)) -> ok(half(X))
first(X1, mark(X2)) -> mark(first(X1, X2))
first(ok(X1), ok(X2)) -> ok(first(X1, X2))
first(mark(X1), X2) -> mark(first(X1, X2))
dbl(ok(X)) -> ok(dbl(X))
dbl(mark(X)) -> mark(dbl(X))
add(ok(X1), ok(X2)) -> ok(add(X1, X2))
add(mark(X1), X2) -> mark(add(X1, X2))
add(X1, mark(X2)) -> mark(add(X1, X2))
s(ok(X)) -> ok(s(X))
s(mark(X)) -> mark(s(X))
sqr(mark(X)) -> mark(sqr(X))
sqr(ok(X)) -> ok(sqr(X))
terms(ok(X)) -> ok(terms(X))
terms(mark(X)) -> mark(terms(X))
proper(nil) -> ok(nil)
proper(sqr(X)) -> sqr(proper(X))
proper(first(X1, X2)) -> first(proper(X1), proper(X2))
proper(dbl(X)) -> dbl(proper(X))
proper(cons(X1, X2)) -> cons(proper(X1), proper(X2))
proper(add(X1, X2)) -> add(proper(X1), proper(X2))
proper(recip(X)) -> recip(proper(X))
proper(s(X)) -> s(proper(X))
proper(terms(X)) -> terms(proper(X))
proper(half(X)) -> half(proper(X))
proper(0) -> ok(0)
innermost
24 new Dependency Pairs are created:
TOP(ok(X)) -> TOP(active(X))
TOP(ok(cons(X1', X2'))) -> TOP(cons(active(X1'), X2'))
TOP(ok(half(X''))) -> TOP(half(active(X'')))
TOP(ok(add(X1', X2'))) -> TOP(add(active(X1'), X2'))
TOP(ok(dbl(s(X'')))) -> TOP(mark(s(s(dbl(X'')))))
TOP(ok(half(dbl(X'')))) -> TOP(mark(X''))
TOP(ok(add(s(X''), Y'))) -> TOP(mark(s(add(X'', Y'))))
TOP(ok(half(0))) -> TOP(mark(0))
TOP(ok(sqr(X''))) -> TOP(sqr(active(X'')))
TOP(ok(dbl(0))) -> TOP(mark(0))
TOP(ok(add(0, X''))) -> TOP(mark(X''))
TOP(ok(sqr(0))) -> TOP(mark(0))
TOP(ok(half(s(0)))) -> TOP(mark(0))
TOP(ok(terms(X''))) -> TOP(terms(active(X'')))
TOP(ok(sqr(s(X'')))) -> TOP(mark(s(add(sqr(X''), dbl(X'')))))
TOP(ok(first(s(X''), cons(Y', Z')))) -> TOP(mark(cons(Y', first(X'', Z'))))
TOP(ok(terms(N'))) -> TOP(mark(cons(recip(sqr(N')), terms(s(N')))))
TOP(ok(first(X1', X2'))) -> TOP(first(active(X1'), X2'))
TOP(ok(dbl(X''))) -> TOP(dbl(active(X'')))
TOP(ok(recip(X''))) -> TOP(recip(active(X'')))
TOP(ok(first(0, X''))) -> TOP(mark(nil))
TOP(ok(add(X1', X2'))) -> TOP(add(X1', active(X2')))
TOP(ok(half(s(s(X''))))) -> TOP(mark(s(half(X''))))
TOP(ok(first(X1', X2'))) -> TOP(first(X1', active(X2')))
TOP(ok(s(X''))) -> TOP(s(active(X'')))
R
↳DPs
→DP Problem 1
↳UsableRules
→DP Problem 2
↳UsableRules
→DP Problem 3
↳UsableRules
→DP Problem 4
↳UsableRules
→DP Problem 5
↳UsableRules
→DP Problem 6
↳UsableRules
→DP Problem 7
↳UsableRules
→DP Problem 8
↳UsableRules
→DP Problem 9
↳UsableRules
→DP Problem 10
↳UsableRules
→DP Problem 11
↳UsableRules
→DP Problem 12
↳UsableRules
→DP Problem 24
↳Nar
...
→DP Problem 25
↳Narrowing Transformation
TOP(ok(s(X''))) -> TOP(s(active(X'')))
TOP(ok(first(X1', X2'))) -> TOP(first(X1', active(X2')))
TOP(ok(half(s(s(X''))))) -> TOP(mark(s(half(X''))))
TOP(ok(add(X1', X2'))) -> TOP(add(X1', active(X2')))
TOP(ok(first(0, X''))) -> TOP(mark(nil))
TOP(ok(recip(X''))) -> TOP(recip(active(X'')))
TOP(ok(dbl(X''))) -> TOP(dbl(active(X'')))
TOP(ok(first(X1', X2'))) -> TOP(first(active(X1'), X2'))
TOP(ok(terms(N'))) -> TOP(mark(cons(recip(sqr(N')), terms(s(N')))))
TOP(ok(first(s(X''), cons(Y', Z')))) -> TOP(mark(cons(Y', first(X'', Z'))))
TOP(ok(sqr(s(X'')))) -> TOP(mark(s(add(sqr(X''), dbl(X'')))))
TOP(ok(terms(X''))) -> TOP(terms(active(X'')))
TOP(ok(half(s(0)))) -> TOP(mark(0))
TOP(ok(sqr(0))) -> TOP(mark(0))
TOP(ok(add(0, X''))) -> TOP(mark(X''))
TOP(ok(dbl(0))) -> TOP(mark(0))
TOP(ok(sqr(X''))) -> TOP(sqr(active(X'')))
TOP(ok(half(0))) -> TOP(mark(0))
TOP(ok(add(s(X''), Y'))) -> TOP(mark(s(add(X'', Y'))))
TOP(ok(half(dbl(X'')))) -> TOP(mark(X''))
TOP(ok(dbl(s(X'')))) -> TOP(mark(s(s(dbl(X'')))))
TOP(ok(add(X1', X2'))) -> TOP(add(active(X1'), X2'))
TOP(ok(half(X''))) -> TOP(half(active(X'')))
TOP(ok(cons(X1', X2'))) -> TOP(cons(active(X1'), X2'))
TOP(mark(X)) -> TOP(proper(X))
active(cons(X1, X2)) -> cons(active(X1), X2)
active(half(X)) -> half(active(X))
active(add(X1, X2)) -> add(active(X1), X2)
active(dbl(s(X))) -> mark(s(s(dbl(X))))
active(half(dbl(X))) -> mark(X)
active(add(s(X), Y)) -> mark(s(add(X, Y)))
active(half(0)) -> mark(0)
active(sqr(X)) -> sqr(active(X))
active(dbl(0)) -> mark(0)
active(add(0, X)) -> mark(X)
active(sqr(0)) -> mark(0)
active(half(s(0))) -> mark(0)
active(terms(X)) -> terms(active(X))
active(sqr(s(X))) -> mark(s(add(sqr(X), dbl(X))))
active(first(s(X), cons(Y, Z))) -> mark(cons(Y, first(X, Z)))
active(terms(N)) -> mark(cons(recip(sqr(N)), terms(s(N))))
active(first(X1, X2)) -> first(active(X1), X2)
active(dbl(X)) -> dbl(active(X))
active(recip(X)) -> recip(active(X))
active(first(0, X)) -> mark(nil)
active(add(X1, X2)) -> add(X1, active(X2))
active(half(s(s(X)))) -> mark(s(half(X)))
active(first(X1, X2)) -> first(X1, active(X2))
active(s(X)) -> s(active(X))
cons(mark(X1), X2) -> mark(cons(X1, X2))
cons(ok(X1), ok(X2)) -> ok(cons(X1, X2))
recip(mark(X)) -> mark(recip(X))
recip(ok(X)) -> ok(recip(X))
half(mark(X)) -> mark(half(X))
half(ok(X)) -> ok(half(X))
first(X1, mark(X2)) -> mark(first(X1, X2))
first(ok(X1), ok(X2)) -> ok(first(X1, X2))
first(mark(X1), X2) -> mark(first(X1, X2))
dbl(ok(X)) -> ok(dbl(X))
dbl(mark(X)) -> mark(dbl(X))
add(ok(X1), ok(X2)) -> ok(add(X1, X2))
add(mark(X1), X2) -> mark(add(X1, X2))
add(X1, mark(X2)) -> mark(add(X1, X2))
s(ok(X)) -> ok(s(X))
s(mark(X)) -> mark(s(X))
sqr(mark(X)) -> mark(sqr(X))
sqr(ok(X)) -> ok(sqr(X))
terms(ok(X)) -> ok(terms(X))
terms(mark(X)) -> mark(terms(X))
proper(nil) -> ok(nil)
proper(sqr(X)) -> sqr(proper(X))
proper(first(X1, X2)) -> first(proper(X1), proper(X2))
proper(dbl(X)) -> dbl(proper(X))
proper(cons(X1, X2)) -> cons(proper(X1), proper(X2))
proper(add(X1, X2)) -> add(proper(X1), proper(X2))
proper(recip(X)) -> recip(proper(X))
proper(s(X)) -> s(proper(X))
proper(terms(X)) -> terms(proper(X))
proper(half(X)) -> half(proper(X))
proper(0) -> ok(0)
innermost
11 new Dependency Pairs are created:
TOP(mark(X)) -> TOP(proper(X))
TOP(mark(nil)) -> TOP(ok(nil))
TOP(mark(sqr(X''))) -> TOP(sqr(proper(X'')))
TOP(mark(first(X1', X2'))) -> TOP(first(proper(X1'), proper(X2')))
TOP(mark(dbl(X''))) -> TOP(dbl(proper(X'')))
TOP(mark(cons(X1', X2'))) -> TOP(cons(proper(X1'), proper(X2')))
TOP(mark(add(X1', X2'))) -> TOP(add(proper(X1'), proper(X2')))
TOP(mark(recip(X''))) -> TOP(recip(proper(X'')))
TOP(mark(s(X''))) -> TOP(s(proper(X'')))
TOP(mark(terms(X''))) -> TOP(terms(proper(X'')))
TOP(mark(half(X''))) -> TOP(half(proper(X'')))
TOP(mark(0)) -> TOP(ok(0))
R
↳DPs
→DP Problem 1
↳UsableRules
→DP Problem 2
↳UsableRules
→DP Problem 3
↳UsableRules
→DP Problem 4
↳UsableRules
→DP Problem 5
↳UsableRules
→DP Problem 6
↳UsableRules
→DP Problem 7
↳UsableRules
→DP Problem 8
↳UsableRules
→DP Problem 9
↳UsableRules
→DP Problem 10
↳UsableRules
→DP Problem 11
↳UsableRules
→DP Problem 12
↳UsableRules
→DP Problem 24
↳Nar
...
→DP Problem 26
↳Remaining Obligation(s)
TOP(mark(half(X''))) -> TOP(half(proper(X'')))
TOP(mark(terms(X''))) -> TOP(terms(proper(X'')))
TOP(mark(recip(X''))) -> TOP(recip(proper(X'')))
TOP(mark(add(X1', X2'))) -> TOP(add(proper(X1'), proper(X2')))
TOP(mark(dbl(X''))) -> TOP(dbl(proper(X'')))
TOP(ok(first(X1', X2'))) -> TOP(first(X1', active(X2')))
TOP(ok(half(s(s(X''))))) -> TOP(mark(s(half(X''))))
TOP(ok(add(X1', X2'))) -> TOP(add(X1', active(X2')))
TOP(ok(recip(X''))) -> TOP(recip(active(X'')))
TOP(ok(dbl(X''))) -> TOP(dbl(active(X'')))
TOP(ok(first(X1', X2'))) -> TOP(first(active(X1'), X2'))
TOP(ok(terms(N'))) -> TOP(mark(cons(recip(sqr(N')), terms(s(N')))))
TOP(mark(cons(X1', X2'))) -> TOP(cons(proper(X1'), proper(X2')))
TOP(ok(first(s(X''), cons(Y', Z')))) -> TOP(mark(cons(Y', first(X'', Z'))))
TOP(ok(sqr(s(X'')))) -> TOP(mark(s(add(sqr(X''), dbl(X'')))))
TOP(ok(terms(X''))) -> TOP(terms(active(X'')))
TOP(mark(first(X1', X2'))) -> TOP(first(proper(X1'), proper(X2')))
TOP(ok(add(0, X''))) -> TOP(mark(X''))
TOP(ok(sqr(X''))) -> TOP(sqr(active(X'')))
TOP(ok(add(s(X''), Y'))) -> TOP(mark(s(add(X'', Y'))))
TOP(mark(sqr(X''))) -> TOP(sqr(proper(X'')))
TOP(ok(half(dbl(X'')))) -> TOP(mark(X''))
TOP(mark(s(X''))) -> TOP(s(proper(X'')))
TOP(ok(dbl(s(X'')))) -> TOP(mark(s(s(dbl(X'')))))
TOP(ok(add(X1', X2'))) -> TOP(add(active(X1'), X2'))
TOP(ok(half(X''))) -> TOP(half(active(X'')))
TOP(ok(cons(X1', X2'))) -> TOP(cons(active(X1'), X2'))
TOP(ok(s(X''))) -> TOP(s(active(X'')))
active(cons(X1, X2)) -> cons(active(X1), X2)
active(half(X)) -> half(active(X))
active(add(X1, X2)) -> add(active(X1), X2)
active(dbl(s(X))) -> mark(s(s(dbl(X))))
active(half(dbl(X))) -> mark(X)
active(add(s(X), Y)) -> mark(s(add(X, Y)))
active(half(0)) -> mark(0)
active(sqr(X)) -> sqr(active(X))
active(dbl(0)) -> mark(0)
active(add(0, X)) -> mark(X)
active(sqr(0)) -> mark(0)
active(half(s(0))) -> mark(0)
active(terms(X)) -> terms(active(X))
active(sqr(s(X))) -> mark(s(add(sqr(X), dbl(X))))
active(first(s(X), cons(Y, Z))) -> mark(cons(Y, first(X, Z)))
active(terms(N)) -> mark(cons(recip(sqr(N)), terms(s(N))))
active(first(X1, X2)) -> first(active(X1), X2)
active(dbl(X)) -> dbl(active(X))
active(recip(X)) -> recip(active(X))
active(first(0, X)) -> mark(nil)
active(add(X1, X2)) -> add(X1, active(X2))
active(half(s(s(X)))) -> mark(s(half(X)))
active(first(X1, X2)) -> first(X1, active(X2))
active(s(X)) -> s(active(X))
cons(mark(X1), X2) -> mark(cons(X1, X2))
cons(ok(X1), ok(X2)) -> ok(cons(X1, X2))
recip(mark(X)) -> mark(recip(X))
recip(ok(X)) -> ok(recip(X))
half(mark(X)) -> mark(half(X))
half(ok(X)) -> ok(half(X))
first(X1, mark(X2)) -> mark(first(X1, X2))
first(ok(X1), ok(X2)) -> ok(first(X1, X2))
first(mark(X1), X2) -> mark(first(X1, X2))
dbl(ok(X)) -> ok(dbl(X))
dbl(mark(X)) -> mark(dbl(X))
add(ok(X1), ok(X2)) -> ok(add(X1, X2))
add(mark(X1), X2) -> mark(add(X1, X2))
add(X1, mark(X2)) -> mark(add(X1, X2))
s(ok(X)) -> ok(s(X))
s(mark(X)) -> mark(s(X))
sqr(mark(X)) -> mark(sqr(X))
sqr(ok(X)) -> ok(sqr(X))
terms(ok(X)) -> ok(terms(X))
terms(mark(X)) -> mark(terms(X))
proper(nil) -> ok(nil)
proper(sqr(X)) -> sqr(proper(X))
proper(first(X1, X2)) -> first(proper(X1), proper(X2))
proper(dbl(X)) -> dbl(proper(X))
proper(cons(X1, X2)) -> cons(proper(X1), proper(X2))
proper(add(X1, X2)) -> add(proper(X1), proper(X2))
proper(recip(X)) -> recip(proper(X))
proper(s(X)) -> s(proper(X))
proper(terms(X)) -> terms(proper(X))
proper(half(X)) -> half(proper(X))
proper(0) -> ok(0)
innermost