(0) Obligation:

Runtime Complexity TRS:
The TRS R consists of the following rules:

active(terms(N)) → mark(cons(recip(sqr(N)), terms(s(N))))
active(sqr(0)) → mark(0)
active(dbl(0)) → mark(0)
active(dbl(s(X))) → mark(s(s(dbl(X))))
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(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))
cons(mark(X1), X2) → mark(cons(X1, X2))
recip(mark(X)) → mark(recip(X))
sqr(mark(X)) → mark(sqr(X))
s(mark(X)) → mark(s(X))
dbl(mark(X)) → mark(dbl(X))
first(mark(X1), X2) → mark(first(X1, X2))
first(X1, mark(X2)) → mark(first(X1, X2))
half(mark(X)) → mark(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(dbl(X)) → dbl(proper(X))
proper(first(X1, X2)) → first(proper(X1), proper(X2))
proper(nil) → ok(nil)
proper(half(X)) → half(proper(X))
terms(ok(X)) → ok(terms(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
recip(ok(X)) → ok(recip(X))
sqr(ok(X)) → ok(sqr(X))
s(ok(X)) → ok(s(X))
dbl(ok(X)) → ok(dbl(X))
first(ok(X1), ok(X2)) → ok(first(X1, X2))
half(ok(X)) → ok(half(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

Rewrite Strategy: FULL

(1) DecreasingLoopProof (EQUIVALENT transformation)

The following loop(s) give(s) rise to the lower bound Ω(n1):
The rewrite sequence
terms(mark(X)) →+ mark(terms(X))
gives rise to a decreasing loop by considering the right hand sides subterm at position [0].
The pumping substitution is [X / mark(X)].
The result substitution is [ ].

(3) RenamingProof (EQUIVALENT transformation)

Renamed function symbols to avoid clashes with predefined symbol.

(4) Obligation:

Runtime Complexity Relative TRS:
The TRS R consists of the following rules:

active(terms(N)) → mark(cons(recip(sqr(N)), terms(s(N))))
active(sqr(0')) → mark(0')
active(dbl(0')) → mark(0')
active(dbl(s(X))) → mark(s(s(dbl(X))))
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(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))
cons(mark(X1), X2) → mark(cons(X1, X2))
recip(mark(X)) → mark(recip(X))
sqr(mark(X)) → mark(sqr(X))
s(mark(X)) → mark(s(X))
dbl(mark(X)) → mark(dbl(X))
first(mark(X1), X2) → mark(first(X1, X2))
first(X1, mark(X2)) → mark(first(X1, X2))
half(mark(X)) → mark(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(dbl(X)) → dbl(proper(X))
proper(first(X1, X2)) → first(proper(X1), proper(X2))
proper(nil) → ok(nil)
proper(half(X)) → half(proper(X))
terms(ok(X)) → ok(terms(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
recip(ok(X)) → ok(recip(X))
sqr(ok(X)) → ok(sqr(X))
s(ok(X)) → ok(s(X))
dbl(ok(X)) → ok(dbl(X))
first(ok(X1), ok(X2)) → ok(first(X1, X2))
half(ok(X)) → ok(half(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

S is empty.
Rewrite Strategy: FULL

Infered types.

(6) Obligation:

TRS:
Rules:
active(terms(N)) → mark(cons(recip(sqr(N)), terms(s(N))))
active(sqr(0')) → mark(0')
active(dbl(0')) → mark(0')
active(dbl(s(X))) → mark(s(s(dbl(X))))
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(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))
cons(mark(X1), X2) → mark(cons(X1, X2))
recip(mark(X)) → mark(recip(X))
sqr(mark(X)) → mark(sqr(X))
s(mark(X)) → mark(s(X))
dbl(mark(X)) → mark(dbl(X))
first(mark(X1), X2) → mark(first(X1, X2))
first(X1, mark(X2)) → mark(first(X1, X2))
half(mark(X)) → mark(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(dbl(X)) → dbl(proper(X))
proper(first(X1, X2)) → first(proper(X1), proper(X2))
proper(nil) → ok(nil)
proper(half(X)) → half(proper(X))
terms(ok(X)) → ok(terms(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
recip(ok(X)) → ok(recip(X))
sqr(ok(X)) → ok(sqr(X))
s(ok(X)) → ok(s(X))
dbl(ok(X)) → ok(dbl(X))
first(ok(X1), ok(X2)) → ok(first(X1, X2))
half(ok(X)) → ok(half(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

Types:
active :: mark:0':nil:ok → mark:0':nil:ok
terms :: mark:0':nil:ok → mark:0':nil:ok
mark :: mark:0':nil:ok → mark:0':nil:ok
cons :: mark:0':nil:ok → mark:0':nil:ok → mark:0':nil:ok
recip :: mark:0':nil:ok → mark:0':nil:ok
sqr :: mark:0':nil:ok → mark:0':nil:ok
s :: mark:0':nil:ok → mark:0':nil:ok
0' :: mark:0':nil:ok
add :: mark:0':nil:ok → mark:0':nil:ok → mark:0':nil:ok
dbl :: mark:0':nil:ok → mark:0':nil:ok
first :: mark:0':nil:ok → mark:0':nil:ok → mark:0':nil:ok
nil :: mark:0':nil:ok
half :: mark:0':nil:ok → mark:0':nil:ok
proper :: mark:0':nil:ok → mark:0':nil:ok
ok :: mark:0':nil:ok → mark:0':nil:ok
top :: mark:0':nil:ok → top
hole_mark:0':nil:ok1_0 :: mark:0':nil:ok
hole_top2_0 :: top
gen_mark:0':nil:ok3_0 :: Nat → mark:0':nil:ok

(7) OrderProof (LOWER BOUND(ID) transformation)

Heuristically decided to analyse the following defined symbols:
active, cons, recip, sqr, terms, s, add, dbl, first, half, proper, top

They will be analysed ascendingly in the following order:
cons < active
recip < active
sqr < active
terms < active
s < active
dbl < active
first < active
half < active
active < top
cons < proper
recip < proper
sqr < proper
terms < proper
s < proper
dbl < proper
first < proper
half < proper
proper < top

(8) Obligation:

TRS:
Rules:
active(terms(N)) → mark(cons(recip(sqr(N)), terms(s(N))))
active(sqr(0')) → mark(0')
active(dbl(0')) → mark(0')
active(dbl(s(X))) → mark(s(s(dbl(X))))
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(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))
cons(mark(X1), X2) → mark(cons(X1, X2))
recip(mark(X)) → mark(recip(X))
sqr(mark(X)) → mark(sqr(X))
s(mark(X)) → mark(s(X))
dbl(mark(X)) → mark(dbl(X))
first(mark(X1), X2) → mark(first(X1, X2))
first(X1, mark(X2)) → mark(first(X1, X2))
half(mark(X)) → mark(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(dbl(X)) → dbl(proper(X))
proper(first(X1, X2)) → first(proper(X1), proper(X2))
proper(nil) → ok(nil)
proper(half(X)) → half(proper(X))
terms(ok(X)) → ok(terms(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
recip(ok(X)) → ok(recip(X))
sqr(ok(X)) → ok(sqr(X))
s(ok(X)) → ok(s(X))
dbl(ok(X)) → ok(dbl(X))
first(ok(X1), ok(X2)) → ok(first(X1, X2))
half(ok(X)) → ok(half(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

Types:
active :: mark:0':nil:ok → mark:0':nil:ok
terms :: mark:0':nil:ok → mark:0':nil:ok
mark :: mark:0':nil:ok → mark:0':nil:ok
cons :: mark:0':nil:ok → mark:0':nil:ok → mark:0':nil:ok
recip :: mark:0':nil:ok → mark:0':nil:ok
sqr :: mark:0':nil:ok → mark:0':nil:ok
s :: mark:0':nil:ok → mark:0':nil:ok
0' :: mark:0':nil:ok
add :: mark:0':nil:ok → mark:0':nil:ok → mark:0':nil:ok
dbl :: mark:0':nil:ok → mark:0':nil:ok
first :: mark:0':nil:ok → mark:0':nil:ok → mark:0':nil:ok
nil :: mark:0':nil:ok
half :: mark:0':nil:ok → mark:0':nil:ok
proper :: mark:0':nil:ok → mark:0':nil:ok
ok :: mark:0':nil:ok → mark:0':nil:ok
top :: mark:0':nil:ok → top
hole_mark:0':nil:ok1_0 :: mark:0':nil:ok
hole_top2_0 :: top
gen_mark:0':nil:ok3_0 :: Nat → mark:0':nil:ok

Generator Equations:
gen_mark:0':nil:ok3_0(0) ⇔ 0'
gen_mark:0':nil:ok3_0(+(x, 1)) ⇔ mark(gen_mark:0':nil:ok3_0(x))

The following defined symbols remain to be analysed:
cons, active, recip, sqr, terms, s, add, dbl, first, half, proper, top

They will be analysed ascendingly in the following order:
cons < active
recip < active
sqr < active
terms < active
s < active
dbl < active
first < active
half < active
active < top
cons < proper
recip < proper
sqr < proper
terms < proper
s < proper
dbl < proper
first < proper
half < proper
proper < top

(9) RewriteLemmaProof (LOWER BOUND(ID) transformation)

Proved the following rewrite lemma:
cons(gen_mark:0':nil:ok3_0(+(1, n5_0)), gen_mark:0':nil:ok3_0(b)) → *4_0, rt ∈ Ω(n50)

Induction Base:
cons(gen_mark:0':nil:ok3_0(+(1, 0)), gen_mark:0':nil:ok3_0(b))

Induction Step:
cons(gen_mark:0':nil:ok3_0(+(1, +(n5_0, 1))), gen_mark:0':nil:ok3_0(b)) →RΩ(1)
mark(cons(gen_mark:0':nil:ok3_0(+(1, n5_0)), gen_mark:0':nil:ok3_0(b))) →IH
mark(*4_0)

We have rt ∈ Ω(n1) and sz ∈ O(n). Thus, we have ircR ∈ Ω(n).

(11) Obligation:

TRS:
Rules:
active(terms(N)) → mark(cons(recip(sqr(N)), terms(s(N))))
active(sqr(0')) → mark(0')
active(dbl(0')) → mark(0')
active(dbl(s(X))) → mark(s(s(dbl(X))))
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(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))
cons(mark(X1), X2) → mark(cons(X1, X2))
recip(mark(X)) → mark(recip(X))
sqr(mark(X)) → mark(sqr(X))
s(mark(X)) → mark(s(X))
dbl(mark(X)) → mark(dbl(X))
first(mark(X1), X2) → mark(first(X1, X2))
first(X1, mark(X2)) → mark(first(X1, X2))
half(mark(X)) → mark(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(dbl(X)) → dbl(proper(X))
proper(first(X1, X2)) → first(proper(X1), proper(X2))
proper(nil) → ok(nil)
proper(half(X)) → half(proper(X))
terms(ok(X)) → ok(terms(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
recip(ok(X)) → ok(recip(X))
sqr(ok(X)) → ok(sqr(X))
s(ok(X)) → ok(s(X))
dbl(ok(X)) → ok(dbl(X))
first(ok(X1), ok(X2)) → ok(first(X1, X2))
half(ok(X)) → ok(half(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

Types:
active :: mark:0':nil:ok → mark:0':nil:ok
terms :: mark:0':nil:ok → mark:0':nil:ok
mark :: mark:0':nil:ok → mark:0':nil:ok
cons :: mark:0':nil:ok → mark:0':nil:ok → mark:0':nil:ok
recip :: mark:0':nil:ok → mark:0':nil:ok
sqr :: mark:0':nil:ok → mark:0':nil:ok
s :: mark:0':nil:ok → mark:0':nil:ok
0' :: mark:0':nil:ok
add :: mark:0':nil:ok → mark:0':nil:ok → mark:0':nil:ok
dbl :: mark:0':nil:ok → mark:0':nil:ok
first :: mark:0':nil:ok → mark:0':nil:ok → mark:0':nil:ok
nil :: mark:0':nil:ok
half :: mark:0':nil:ok → mark:0':nil:ok
proper :: mark:0':nil:ok → mark:0':nil:ok
ok :: mark:0':nil:ok → mark:0':nil:ok
top :: mark:0':nil:ok → top
hole_mark:0':nil:ok1_0 :: mark:0':nil:ok
hole_top2_0 :: top
gen_mark:0':nil:ok3_0 :: Nat → mark:0':nil:ok

Lemmas:
cons(gen_mark:0':nil:ok3_0(+(1, n5_0)), gen_mark:0':nil:ok3_0(b)) → *4_0, rt ∈ Ω(n50)

Generator Equations:
gen_mark:0':nil:ok3_0(0) ⇔ 0'
gen_mark:0':nil:ok3_0(+(x, 1)) ⇔ mark(gen_mark:0':nil:ok3_0(x))

The following defined symbols remain to be analysed:
recip, active, sqr, terms, s, add, dbl, first, half, proper, top

They will be analysed ascendingly in the following order:
recip < active
sqr < active
terms < active
s < active
dbl < active
first < active
half < active
active < top
recip < proper
sqr < proper
terms < proper
s < proper
dbl < proper
first < proper
half < proper
proper < top

(12) RewriteLemmaProof (LOWER BOUND(ID) transformation)

Proved the following rewrite lemma:
recip(gen_mark:0':nil:ok3_0(+(1, n1226_0))) → *4_0, rt ∈ Ω(n12260)

Induction Base:
recip(gen_mark:0':nil:ok3_0(+(1, 0)))

Induction Step:
recip(gen_mark:0':nil:ok3_0(+(1, +(n1226_0, 1)))) →RΩ(1)
mark(recip(gen_mark:0':nil:ok3_0(+(1, n1226_0)))) →IH
mark(*4_0)

We have rt ∈ Ω(n1) and sz ∈ O(n). Thus, we have ircR ∈ Ω(n).

(14) Obligation:

TRS:
Rules:
active(terms(N)) → mark(cons(recip(sqr(N)), terms(s(N))))
active(sqr(0')) → mark(0')
active(dbl(0')) → mark(0')
active(dbl(s(X))) → mark(s(s(dbl(X))))
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(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))
cons(mark(X1), X2) → mark(cons(X1, X2))
recip(mark(X)) → mark(recip(X))
sqr(mark(X)) → mark(sqr(X))
s(mark(X)) → mark(s(X))
dbl(mark(X)) → mark(dbl(X))
first(mark(X1), X2) → mark(first(X1, X2))
first(X1, mark(X2)) → mark(first(X1, X2))
half(mark(X)) → mark(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(dbl(X)) → dbl(proper(X))
proper(first(X1, X2)) → first(proper(X1), proper(X2))
proper(nil) → ok(nil)
proper(half(X)) → half(proper(X))
terms(ok(X)) → ok(terms(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
recip(ok(X)) → ok(recip(X))
sqr(ok(X)) → ok(sqr(X))
s(ok(X)) → ok(s(X))
dbl(ok(X)) → ok(dbl(X))
first(ok(X1), ok(X2)) → ok(first(X1, X2))
half(ok(X)) → ok(half(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

Types:
active :: mark:0':nil:ok → mark:0':nil:ok
terms :: mark:0':nil:ok → mark:0':nil:ok
mark :: mark:0':nil:ok → mark:0':nil:ok
cons :: mark:0':nil:ok → mark:0':nil:ok → mark:0':nil:ok
recip :: mark:0':nil:ok → mark:0':nil:ok
sqr :: mark:0':nil:ok → mark:0':nil:ok
s :: mark:0':nil:ok → mark:0':nil:ok
0' :: mark:0':nil:ok
add :: mark:0':nil:ok → mark:0':nil:ok → mark:0':nil:ok
dbl :: mark:0':nil:ok → mark:0':nil:ok
first :: mark:0':nil:ok → mark:0':nil:ok → mark:0':nil:ok
nil :: mark:0':nil:ok
half :: mark:0':nil:ok → mark:0':nil:ok
proper :: mark:0':nil:ok → mark:0':nil:ok
ok :: mark:0':nil:ok → mark:0':nil:ok
top :: mark:0':nil:ok → top
hole_mark:0':nil:ok1_0 :: mark:0':nil:ok
hole_top2_0 :: top
gen_mark:0':nil:ok3_0 :: Nat → mark:0':nil:ok

Lemmas:
cons(gen_mark:0':nil:ok3_0(+(1, n5_0)), gen_mark:0':nil:ok3_0(b)) → *4_0, rt ∈ Ω(n50)
recip(gen_mark:0':nil:ok3_0(+(1, n1226_0))) → *4_0, rt ∈ Ω(n12260)

Generator Equations:
gen_mark:0':nil:ok3_0(0) ⇔ 0'
gen_mark:0':nil:ok3_0(+(x, 1)) ⇔ mark(gen_mark:0':nil:ok3_0(x))

The following defined symbols remain to be analysed:
sqr, active, terms, s, add, dbl, first, half, proper, top

They will be analysed ascendingly in the following order:
sqr < active
terms < active
s < active
dbl < active
first < active
half < active
active < top
sqr < proper
terms < proper
s < proper
dbl < proper
first < proper
half < proper
proper < top

(15) RewriteLemmaProof (LOWER BOUND(ID) transformation)

Proved the following rewrite lemma:
sqr(gen_mark:0':nil:ok3_0(+(1, n1814_0))) → *4_0, rt ∈ Ω(n18140)

Induction Base:
sqr(gen_mark:0':nil:ok3_0(+(1, 0)))

Induction Step:
sqr(gen_mark:0':nil:ok3_0(+(1, +(n1814_0, 1)))) →RΩ(1)
mark(sqr(gen_mark:0':nil:ok3_0(+(1, n1814_0)))) →IH
mark(*4_0)

We have rt ∈ Ω(n1) and sz ∈ O(n). Thus, we have ircR ∈ Ω(n).

(17) Obligation:

TRS:
Rules:
active(terms(N)) → mark(cons(recip(sqr(N)), terms(s(N))))
active(sqr(0')) → mark(0')
active(dbl(0')) → mark(0')
active(dbl(s(X))) → mark(s(s(dbl(X))))
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(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))
cons(mark(X1), X2) → mark(cons(X1, X2))
recip(mark(X)) → mark(recip(X))
sqr(mark(X)) → mark(sqr(X))
s(mark(X)) → mark(s(X))
dbl(mark(X)) → mark(dbl(X))
first(mark(X1), X2) → mark(first(X1, X2))
first(X1, mark(X2)) → mark(first(X1, X2))
half(mark(X)) → mark(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(dbl(X)) → dbl(proper(X))
proper(first(X1, X2)) → first(proper(X1), proper(X2))
proper(nil) → ok(nil)
proper(half(X)) → half(proper(X))
terms(ok(X)) → ok(terms(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
recip(ok(X)) → ok(recip(X))
sqr(ok(X)) → ok(sqr(X))
s(ok(X)) → ok(s(X))
dbl(ok(X)) → ok(dbl(X))
first(ok(X1), ok(X2)) → ok(first(X1, X2))
half(ok(X)) → ok(half(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

Types:
active :: mark:0':nil:ok → mark:0':nil:ok
terms :: mark:0':nil:ok → mark:0':nil:ok
mark :: mark:0':nil:ok → mark:0':nil:ok
cons :: mark:0':nil:ok → mark:0':nil:ok → mark:0':nil:ok
recip :: mark:0':nil:ok → mark:0':nil:ok
sqr :: mark:0':nil:ok → mark:0':nil:ok
s :: mark:0':nil:ok → mark:0':nil:ok
0' :: mark:0':nil:ok
add :: mark:0':nil:ok → mark:0':nil:ok → mark:0':nil:ok
dbl :: mark:0':nil:ok → mark:0':nil:ok
first :: mark:0':nil:ok → mark:0':nil:ok → mark:0':nil:ok
nil :: mark:0':nil:ok
half :: mark:0':nil:ok → mark:0':nil:ok
proper :: mark:0':nil:ok → mark:0':nil:ok
ok :: mark:0':nil:ok → mark:0':nil:ok
top :: mark:0':nil:ok → top
hole_mark:0':nil:ok1_0 :: mark:0':nil:ok
hole_top2_0 :: top
gen_mark:0':nil:ok3_0 :: Nat → mark:0':nil:ok

Lemmas:
cons(gen_mark:0':nil:ok3_0(+(1, n5_0)), gen_mark:0':nil:ok3_0(b)) → *4_0, rt ∈ Ω(n50)
recip(gen_mark:0':nil:ok3_0(+(1, n1226_0))) → *4_0, rt ∈ Ω(n12260)
sqr(gen_mark:0':nil:ok3_0(+(1, n1814_0))) → *4_0, rt ∈ Ω(n18140)

Generator Equations:
gen_mark:0':nil:ok3_0(0) ⇔ 0'
gen_mark:0':nil:ok3_0(+(x, 1)) ⇔ mark(gen_mark:0':nil:ok3_0(x))

The following defined symbols remain to be analysed:
terms, active, s, add, dbl, first, half, proper, top

They will be analysed ascendingly in the following order:
terms < active
s < active
dbl < active
first < active
half < active
active < top
terms < proper
s < proper
dbl < proper
first < proper
half < proper
proper < top

(18) RewriteLemmaProof (LOWER BOUND(ID) transformation)

Proved the following rewrite lemma:
terms(gen_mark:0':nil:ok3_0(+(1, n2503_0))) → *4_0, rt ∈ Ω(n25030)

Induction Base:
terms(gen_mark:0':nil:ok3_0(+(1, 0)))

Induction Step:
terms(gen_mark:0':nil:ok3_0(+(1, +(n2503_0, 1)))) →RΩ(1)
mark(terms(gen_mark:0':nil:ok3_0(+(1, n2503_0)))) →IH
mark(*4_0)

We have rt ∈ Ω(n1) and sz ∈ O(n). Thus, we have ircR ∈ Ω(n).

(20) Obligation:

TRS:
Rules:
active(terms(N)) → mark(cons(recip(sqr(N)), terms(s(N))))
active(sqr(0')) → mark(0')
active(dbl(0')) → mark(0')
active(dbl(s(X))) → mark(s(s(dbl(X))))
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(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))
cons(mark(X1), X2) → mark(cons(X1, X2))
recip(mark(X)) → mark(recip(X))
sqr(mark(X)) → mark(sqr(X))
s(mark(X)) → mark(s(X))
dbl(mark(X)) → mark(dbl(X))
first(mark(X1), X2) → mark(first(X1, X2))
first(X1, mark(X2)) → mark(first(X1, X2))
half(mark(X)) → mark(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(dbl(X)) → dbl(proper(X))
proper(first(X1, X2)) → first(proper(X1), proper(X2))
proper(nil) → ok(nil)
proper(half(X)) → half(proper(X))
terms(ok(X)) → ok(terms(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
recip(ok(X)) → ok(recip(X))
sqr(ok(X)) → ok(sqr(X))
s(ok(X)) → ok(s(X))
dbl(ok(X)) → ok(dbl(X))
first(ok(X1), ok(X2)) → ok(first(X1, X2))
half(ok(X)) → ok(half(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

Types:
active :: mark:0':nil:ok → mark:0':nil:ok
terms :: mark:0':nil:ok → mark:0':nil:ok
mark :: mark:0':nil:ok → mark:0':nil:ok
cons :: mark:0':nil:ok → mark:0':nil:ok → mark:0':nil:ok
recip :: mark:0':nil:ok → mark:0':nil:ok
sqr :: mark:0':nil:ok → mark:0':nil:ok
s :: mark:0':nil:ok → mark:0':nil:ok
0' :: mark:0':nil:ok
add :: mark:0':nil:ok → mark:0':nil:ok → mark:0':nil:ok
dbl :: mark:0':nil:ok → mark:0':nil:ok
first :: mark:0':nil:ok → mark:0':nil:ok → mark:0':nil:ok
nil :: mark:0':nil:ok
half :: mark:0':nil:ok → mark:0':nil:ok
proper :: mark:0':nil:ok → mark:0':nil:ok
ok :: mark:0':nil:ok → mark:0':nil:ok
top :: mark:0':nil:ok → top
hole_mark:0':nil:ok1_0 :: mark:0':nil:ok
hole_top2_0 :: top
gen_mark:0':nil:ok3_0 :: Nat → mark:0':nil:ok

Lemmas:
cons(gen_mark:0':nil:ok3_0(+(1, n5_0)), gen_mark:0':nil:ok3_0(b)) → *4_0, rt ∈ Ω(n50)
recip(gen_mark:0':nil:ok3_0(+(1, n1226_0))) → *4_0, rt ∈ Ω(n12260)
sqr(gen_mark:0':nil:ok3_0(+(1, n1814_0))) → *4_0, rt ∈ Ω(n18140)
terms(gen_mark:0':nil:ok3_0(+(1, n2503_0))) → *4_0, rt ∈ Ω(n25030)

Generator Equations:
gen_mark:0':nil:ok3_0(0) ⇔ 0'
gen_mark:0':nil:ok3_0(+(x, 1)) ⇔ mark(gen_mark:0':nil:ok3_0(x))

The following defined symbols remain to be analysed:
s, active, add, dbl, first, half, proper, top

They will be analysed ascendingly in the following order:
s < active
dbl < active
first < active
half < active
active < top
s < proper
dbl < proper
first < proper
half < proper
proper < top

(21) RewriteLemmaProof (LOWER BOUND(ID) transformation)

Proved the following rewrite lemma:
s(gen_mark:0':nil:ok3_0(+(1, n3293_0))) → *4_0, rt ∈ Ω(n32930)

Induction Base:
s(gen_mark:0':nil:ok3_0(+(1, 0)))

Induction Step:
s(gen_mark:0':nil:ok3_0(+(1, +(n3293_0, 1)))) →RΩ(1)
mark(s(gen_mark:0':nil:ok3_0(+(1, n3293_0)))) →IH
mark(*4_0)

We have rt ∈ Ω(n1) and sz ∈ O(n). Thus, we have ircR ∈ Ω(n).

(23) Obligation:

TRS:
Rules:
active(terms(N)) → mark(cons(recip(sqr(N)), terms(s(N))))
active(sqr(0')) → mark(0')
active(dbl(0')) → mark(0')
active(dbl(s(X))) → mark(s(s(dbl(X))))
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(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))
cons(mark(X1), X2) → mark(cons(X1, X2))
recip(mark(X)) → mark(recip(X))
sqr(mark(X)) → mark(sqr(X))
s(mark(X)) → mark(s(X))
dbl(mark(X)) → mark(dbl(X))
first(mark(X1), X2) → mark(first(X1, X2))
first(X1, mark(X2)) → mark(first(X1, X2))
half(mark(X)) → mark(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(dbl(X)) → dbl(proper(X))
proper(first(X1, X2)) → first(proper(X1), proper(X2))
proper(nil) → ok(nil)
proper(half(X)) → half(proper(X))
terms(ok(X)) → ok(terms(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
recip(ok(X)) → ok(recip(X))
sqr(ok(X)) → ok(sqr(X))
s(ok(X)) → ok(s(X))
dbl(ok(X)) → ok(dbl(X))
first(ok(X1), ok(X2)) → ok(first(X1, X2))
half(ok(X)) → ok(half(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

Types:
active :: mark:0':nil:ok → mark:0':nil:ok
terms :: mark:0':nil:ok → mark:0':nil:ok
mark :: mark:0':nil:ok → mark:0':nil:ok
cons :: mark:0':nil:ok → mark:0':nil:ok → mark:0':nil:ok
recip :: mark:0':nil:ok → mark:0':nil:ok
sqr :: mark:0':nil:ok → mark:0':nil:ok
s :: mark:0':nil:ok → mark:0':nil:ok
0' :: mark:0':nil:ok
add :: mark:0':nil:ok → mark:0':nil:ok → mark:0':nil:ok
dbl :: mark:0':nil:ok → mark:0':nil:ok
first :: mark:0':nil:ok → mark:0':nil:ok → mark:0':nil:ok
nil :: mark:0':nil:ok
half :: mark:0':nil:ok → mark:0':nil:ok
proper :: mark:0':nil:ok → mark:0':nil:ok
ok :: mark:0':nil:ok → mark:0':nil:ok
top :: mark:0':nil:ok → top
hole_mark:0':nil:ok1_0 :: mark:0':nil:ok
hole_top2_0 :: top
gen_mark:0':nil:ok3_0 :: Nat → mark:0':nil:ok

Lemmas:
cons(gen_mark:0':nil:ok3_0(+(1, n5_0)), gen_mark:0':nil:ok3_0(b)) → *4_0, rt ∈ Ω(n50)
recip(gen_mark:0':nil:ok3_0(+(1, n1226_0))) → *4_0, rt ∈ Ω(n12260)
sqr(gen_mark:0':nil:ok3_0(+(1, n1814_0))) → *4_0, rt ∈ Ω(n18140)
terms(gen_mark:0':nil:ok3_0(+(1, n2503_0))) → *4_0, rt ∈ Ω(n25030)
s(gen_mark:0':nil:ok3_0(+(1, n3293_0))) → *4_0, rt ∈ Ω(n32930)

Generator Equations:
gen_mark:0':nil:ok3_0(0) ⇔ 0'
gen_mark:0':nil:ok3_0(+(x, 1)) ⇔ mark(gen_mark:0':nil:ok3_0(x))

The following defined symbols remain to be analysed:
add, active, dbl, first, half, proper, top

They will be analysed ascendingly in the following order:
dbl < active
first < active
half < active
active < top
dbl < proper
first < proper
half < proper
proper < top

(24) RewriteLemmaProof (LOWER BOUND(ID) transformation)

Proved the following rewrite lemma:
add(gen_mark:0':nil:ok3_0(+(1, n4184_0)), gen_mark:0':nil:ok3_0(b)) → *4_0, rt ∈ Ω(n41840)

Induction Base:

Induction Step:
mark(*4_0)

We have rt ∈ Ω(n1) and sz ∈ O(n). Thus, we have ircR ∈ Ω(n).

(26) Obligation:

TRS:
Rules:
active(terms(N)) → mark(cons(recip(sqr(N)), terms(s(N))))
active(sqr(0')) → mark(0')
active(dbl(0')) → mark(0')
active(dbl(s(X))) → mark(s(s(dbl(X))))
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(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))
cons(mark(X1), X2) → mark(cons(X1, X2))
recip(mark(X)) → mark(recip(X))
sqr(mark(X)) → mark(sqr(X))
s(mark(X)) → mark(s(X))
dbl(mark(X)) → mark(dbl(X))
first(mark(X1), X2) → mark(first(X1, X2))
first(X1, mark(X2)) → mark(first(X1, X2))
half(mark(X)) → mark(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(dbl(X)) → dbl(proper(X))
proper(first(X1, X2)) → first(proper(X1), proper(X2))
proper(nil) → ok(nil)
proper(half(X)) → half(proper(X))
terms(ok(X)) → ok(terms(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
recip(ok(X)) → ok(recip(X))
sqr(ok(X)) → ok(sqr(X))
s(ok(X)) → ok(s(X))
dbl(ok(X)) → ok(dbl(X))
first(ok(X1), ok(X2)) → ok(first(X1, X2))
half(ok(X)) → ok(half(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

Types:
active :: mark:0':nil:ok → mark:0':nil:ok
terms :: mark:0':nil:ok → mark:0':nil:ok
mark :: mark:0':nil:ok → mark:0':nil:ok
cons :: mark:0':nil:ok → mark:0':nil:ok → mark:0':nil:ok
recip :: mark:0':nil:ok → mark:0':nil:ok
sqr :: mark:0':nil:ok → mark:0':nil:ok
s :: mark:0':nil:ok → mark:0':nil:ok
0' :: mark:0':nil:ok
add :: mark:0':nil:ok → mark:0':nil:ok → mark:0':nil:ok
dbl :: mark:0':nil:ok → mark:0':nil:ok
first :: mark:0':nil:ok → mark:0':nil:ok → mark:0':nil:ok
nil :: mark:0':nil:ok
half :: mark:0':nil:ok → mark:0':nil:ok
proper :: mark:0':nil:ok → mark:0':nil:ok
ok :: mark:0':nil:ok → mark:0':nil:ok
top :: mark:0':nil:ok → top
hole_mark:0':nil:ok1_0 :: mark:0':nil:ok
hole_top2_0 :: top
gen_mark:0':nil:ok3_0 :: Nat → mark:0':nil:ok

Lemmas:
cons(gen_mark:0':nil:ok3_0(+(1, n5_0)), gen_mark:0':nil:ok3_0(b)) → *4_0, rt ∈ Ω(n50)
recip(gen_mark:0':nil:ok3_0(+(1, n1226_0))) → *4_0, rt ∈ Ω(n12260)
sqr(gen_mark:0':nil:ok3_0(+(1, n1814_0))) → *4_0, rt ∈ Ω(n18140)
terms(gen_mark:0':nil:ok3_0(+(1, n2503_0))) → *4_0, rt ∈ Ω(n25030)
s(gen_mark:0':nil:ok3_0(+(1, n3293_0))) → *4_0, rt ∈ Ω(n32930)
add(gen_mark:0':nil:ok3_0(+(1, n4184_0)), gen_mark:0':nil:ok3_0(b)) → *4_0, rt ∈ Ω(n41840)

Generator Equations:
gen_mark:0':nil:ok3_0(0) ⇔ 0'
gen_mark:0':nil:ok3_0(+(x, 1)) ⇔ mark(gen_mark:0':nil:ok3_0(x))

The following defined symbols remain to be analysed:
dbl, active, first, half, proper, top

They will be analysed ascendingly in the following order:
dbl < active
first < active
half < active
active < top
dbl < proper
first < proper
half < proper
proper < top

(27) RewriteLemmaProof (LOWER BOUND(ID) transformation)

Proved the following rewrite lemma:
dbl(gen_mark:0':nil:ok3_0(+(1, n6732_0))) → *4_0, rt ∈ Ω(n67320)

Induction Base:
dbl(gen_mark:0':nil:ok3_0(+(1, 0)))

Induction Step:
dbl(gen_mark:0':nil:ok3_0(+(1, +(n6732_0, 1)))) →RΩ(1)
mark(dbl(gen_mark:0':nil:ok3_0(+(1, n6732_0)))) →IH
mark(*4_0)

We have rt ∈ Ω(n1) and sz ∈ O(n). Thus, we have ircR ∈ Ω(n).

(29) Obligation:

TRS:
Rules:
active(terms(N)) → mark(cons(recip(sqr(N)), terms(s(N))))
active(sqr(0')) → mark(0')
active(dbl(0')) → mark(0')
active(dbl(s(X))) → mark(s(s(dbl(X))))
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(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))
cons(mark(X1), X2) → mark(cons(X1, X2))
recip(mark(X)) → mark(recip(X))
sqr(mark(X)) → mark(sqr(X))
s(mark(X)) → mark(s(X))
dbl(mark(X)) → mark(dbl(X))
first(mark(X1), X2) → mark(first(X1, X2))
first(X1, mark(X2)) → mark(first(X1, X2))
half(mark(X)) → mark(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(dbl(X)) → dbl(proper(X))
proper(first(X1, X2)) → first(proper(X1), proper(X2))
proper(nil) → ok(nil)
proper(half(X)) → half(proper(X))
terms(ok(X)) → ok(terms(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
recip(ok(X)) → ok(recip(X))
sqr(ok(X)) → ok(sqr(X))
s(ok(X)) → ok(s(X))
dbl(ok(X)) → ok(dbl(X))
first(ok(X1), ok(X2)) → ok(first(X1, X2))
half(ok(X)) → ok(half(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

Types:
active :: mark:0':nil:ok → mark:0':nil:ok
terms :: mark:0':nil:ok → mark:0':nil:ok
mark :: mark:0':nil:ok → mark:0':nil:ok
cons :: mark:0':nil:ok → mark:0':nil:ok → mark:0':nil:ok
recip :: mark:0':nil:ok → mark:0':nil:ok
sqr :: mark:0':nil:ok → mark:0':nil:ok
s :: mark:0':nil:ok → mark:0':nil:ok
0' :: mark:0':nil:ok
add :: mark:0':nil:ok → mark:0':nil:ok → mark:0':nil:ok
dbl :: mark:0':nil:ok → mark:0':nil:ok
first :: mark:0':nil:ok → mark:0':nil:ok → mark:0':nil:ok
nil :: mark:0':nil:ok
half :: mark:0':nil:ok → mark:0':nil:ok
proper :: mark:0':nil:ok → mark:0':nil:ok
ok :: mark:0':nil:ok → mark:0':nil:ok
top :: mark:0':nil:ok → top
hole_mark:0':nil:ok1_0 :: mark:0':nil:ok
hole_top2_0 :: top
gen_mark:0':nil:ok3_0 :: Nat → mark:0':nil:ok

Lemmas:
cons(gen_mark:0':nil:ok3_0(+(1, n5_0)), gen_mark:0':nil:ok3_0(b)) → *4_0, rt ∈ Ω(n50)
recip(gen_mark:0':nil:ok3_0(+(1, n1226_0))) → *4_0, rt ∈ Ω(n12260)
sqr(gen_mark:0':nil:ok3_0(+(1, n1814_0))) → *4_0, rt ∈ Ω(n18140)
terms(gen_mark:0':nil:ok3_0(+(1, n2503_0))) → *4_0, rt ∈ Ω(n25030)
s(gen_mark:0':nil:ok3_0(+(1, n3293_0))) → *4_0, rt ∈ Ω(n32930)
add(gen_mark:0':nil:ok3_0(+(1, n4184_0)), gen_mark:0':nil:ok3_0(b)) → *4_0, rt ∈ Ω(n41840)
dbl(gen_mark:0':nil:ok3_0(+(1, n6732_0))) → *4_0, rt ∈ Ω(n67320)

Generator Equations:
gen_mark:0':nil:ok3_0(0) ⇔ 0'
gen_mark:0':nil:ok3_0(+(x, 1)) ⇔ mark(gen_mark:0':nil:ok3_0(x))

The following defined symbols remain to be analysed:
first, active, half, proper, top

They will be analysed ascendingly in the following order:
first < active
half < active
active < top
first < proper
half < proper
proper < top

(30) RewriteLemmaProof (LOWER BOUND(ID) transformation)

Proved the following rewrite lemma:
first(gen_mark:0':nil:ok3_0(+(1, n7874_0)), gen_mark:0':nil:ok3_0(b)) → *4_0, rt ∈ Ω(n78740)

Induction Base:
first(gen_mark:0':nil:ok3_0(+(1, 0)), gen_mark:0':nil:ok3_0(b))

Induction Step:
first(gen_mark:0':nil:ok3_0(+(1, +(n7874_0, 1))), gen_mark:0':nil:ok3_0(b)) →RΩ(1)
mark(first(gen_mark:0':nil:ok3_0(+(1, n7874_0)), gen_mark:0':nil:ok3_0(b))) →IH
mark(*4_0)

We have rt ∈ Ω(n1) and sz ∈ O(n). Thus, we have ircR ∈ Ω(n).

(32) Obligation:

TRS:
Rules:
active(terms(N)) → mark(cons(recip(sqr(N)), terms(s(N))))
active(sqr(0')) → mark(0')
active(dbl(0')) → mark(0')
active(dbl(s(X))) → mark(s(s(dbl(X))))
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(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))
cons(mark(X1), X2) → mark(cons(X1, X2))
recip(mark(X)) → mark(recip(X))
sqr(mark(X)) → mark(sqr(X))
s(mark(X)) → mark(s(X))
dbl(mark(X)) → mark(dbl(X))
first(mark(X1), X2) → mark(first(X1, X2))
first(X1, mark(X2)) → mark(first(X1, X2))
half(mark(X)) → mark(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(dbl(X)) → dbl(proper(X))
proper(first(X1, X2)) → first(proper(X1), proper(X2))
proper(nil) → ok(nil)
proper(half(X)) → half(proper(X))
terms(ok(X)) → ok(terms(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
recip(ok(X)) → ok(recip(X))
sqr(ok(X)) → ok(sqr(X))
s(ok(X)) → ok(s(X))
dbl(ok(X)) → ok(dbl(X))
first(ok(X1), ok(X2)) → ok(first(X1, X2))
half(ok(X)) → ok(half(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

Types:
active :: mark:0':nil:ok → mark:0':nil:ok
terms :: mark:0':nil:ok → mark:0':nil:ok
mark :: mark:0':nil:ok → mark:0':nil:ok
cons :: mark:0':nil:ok → mark:0':nil:ok → mark:0':nil:ok
recip :: mark:0':nil:ok → mark:0':nil:ok
sqr :: mark:0':nil:ok → mark:0':nil:ok
s :: mark:0':nil:ok → mark:0':nil:ok
0' :: mark:0':nil:ok
add :: mark:0':nil:ok → mark:0':nil:ok → mark:0':nil:ok
dbl :: mark:0':nil:ok → mark:0':nil:ok
first :: mark:0':nil:ok → mark:0':nil:ok → mark:0':nil:ok
nil :: mark:0':nil:ok
half :: mark:0':nil:ok → mark:0':nil:ok
proper :: mark:0':nil:ok → mark:0':nil:ok
ok :: mark:0':nil:ok → mark:0':nil:ok
top :: mark:0':nil:ok → top
hole_mark:0':nil:ok1_0 :: mark:0':nil:ok
hole_top2_0 :: top
gen_mark:0':nil:ok3_0 :: Nat → mark:0':nil:ok

Lemmas:
cons(gen_mark:0':nil:ok3_0(+(1, n5_0)), gen_mark:0':nil:ok3_0(b)) → *4_0, rt ∈ Ω(n50)
recip(gen_mark:0':nil:ok3_0(+(1, n1226_0))) → *4_0, rt ∈ Ω(n12260)
sqr(gen_mark:0':nil:ok3_0(+(1, n1814_0))) → *4_0, rt ∈ Ω(n18140)
terms(gen_mark:0':nil:ok3_0(+(1, n2503_0))) → *4_0, rt ∈ Ω(n25030)
s(gen_mark:0':nil:ok3_0(+(1, n3293_0))) → *4_0, rt ∈ Ω(n32930)
add(gen_mark:0':nil:ok3_0(+(1, n4184_0)), gen_mark:0':nil:ok3_0(b)) → *4_0, rt ∈ Ω(n41840)
dbl(gen_mark:0':nil:ok3_0(+(1, n6732_0))) → *4_0, rt ∈ Ω(n67320)
first(gen_mark:0':nil:ok3_0(+(1, n7874_0)), gen_mark:0':nil:ok3_0(b)) → *4_0, rt ∈ Ω(n78740)

Generator Equations:
gen_mark:0':nil:ok3_0(0) ⇔ 0'
gen_mark:0':nil:ok3_0(+(x, 1)) ⇔ mark(gen_mark:0':nil:ok3_0(x))

The following defined symbols remain to be analysed:
half, active, proper, top

They will be analysed ascendingly in the following order:
half < active
active < top
half < proper
proper < top

(33) RewriteLemmaProof (LOWER BOUND(ID) transformation)

Proved the following rewrite lemma:
half(gen_mark:0':nil:ok3_0(+(1, n10932_0))) → *4_0, rt ∈ Ω(n109320)

Induction Base:
half(gen_mark:0':nil:ok3_0(+(1, 0)))

Induction Step:
half(gen_mark:0':nil:ok3_0(+(1, +(n10932_0, 1)))) →RΩ(1)
mark(half(gen_mark:0':nil:ok3_0(+(1, n10932_0)))) →IH
mark(*4_0)

We have rt ∈ Ω(n1) and sz ∈ O(n). Thus, we have ircR ∈ Ω(n).

(35) Obligation:

TRS:
Rules:
active(terms(N)) → mark(cons(recip(sqr(N)), terms(s(N))))
active(sqr(0')) → mark(0')
active(dbl(0')) → mark(0')
active(dbl(s(X))) → mark(s(s(dbl(X))))
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(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))
cons(mark(X1), X2) → mark(cons(X1, X2))
recip(mark(X)) → mark(recip(X))
sqr(mark(X)) → mark(sqr(X))
s(mark(X)) → mark(s(X))
dbl(mark(X)) → mark(dbl(X))
first(mark(X1), X2) → mark(first(X1, X2))
first(X1, mark(X2)) → mark(first(X1, X2))
half(mark(X)) → mark(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(dbl(X)) → dbl(proper(X))
proper(first(X1, X2)) → first(proper(X1), proper(X2))
proper(nil) → ok(nil)
proper(half(X)) → half(proper(X))
terms(ok(X)) → ok(terms(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
recip(ok(X)) → ok(recip(X))
sqr(ok(X)) → ok(sqr(X))
s(ok(X)) → ok(s(X))
dbl(ok(X)) → ok(dbl(X))
first(ok(X1), ok(X2)) → ok(first(X1, X2))
half(ok(X)) → ok(half(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

Types:
active :: mark:0':nil:ok → mark:0':nil:ok
terms :: mark:0':nil:ok → mark:0':nil:ok
mark :: mark:0':nil:ok → mark:0':nil:ok
cons :: mark:0':nil:ok → mark:0':nil:ok → mark:0':nil:ok
recip :: mark:0':nil:ok → mark:0':nil:ok
sqr :: mark:0':nil:ok → mark:0':nil:ok
s :: mark:0':nil:ok → mark:0':nil:ok
0' :: mark:0':nil:ok
add :: mark:0':nil:ok → mark:0':nil:ok → mark:0':nil:ok
dbl :: mark:0':nil:ok → mark:0':nil:ok
first :: mark:0':nil:ok → mark:0':nil:ok → mark:0':nil:ok
nil :: mark:0':nil:ok
half :: mark:0':nil:ok → mark:0':nil:ok
proper :: mark:0':nil:ok → mark:0':nil:ok
ok :: mark:0':nil:ok → mark:0':nil:ok
top :: mark:0':nil:ok → top
hole_mark:0':nil:ok1_0 :: mark:0':nil:ok
hole_top2_0 :: top
gen_mark:0':nil:ok3_0 :: Nat → mark:0':nil:ok

Lemmas:
cons(gen_mark:0':nil:ok3_0(+(1, n5_0)), gen_mark:0':nil:ok3_0(b)) → *4_0, rt ∈ Ω(n50)
recip(gen_mark:0':nil:ok3_0(+(1, n1226_0))) → *4_0, rt ∈ Ω(n12260)
sqr(gen_mark:0':nil:ok3_0(+(1, n1814_0))) → *4_0, rt ∈ Ω(n18140)
terms(gen_mark:0':nil:ok3_0(+(1, n2503_0))) → *4_0, rt ∈ Ω(n25030)
s(gen_mark:0':nil:ok3_0(+(1, n3293_0))) → *4_0, rt ∈ Ω(n32930)
add(gen_mark:0':nil:ok3_0(+(1, n4184_0)), gen_mark:0':nil:ok3_0(b)) → *4_0, rt ∈ Ω(n41840)
dbl(gen_mark:0':nil:ok3_0(+(1, n6732_0))) → *4_0, rt ∈ Ω(n67320)
first(gen_mark:0':nil:ok3_0(+(1, n7874_0)), gen_mark:0':nil:ok3_0(b)) → *4_0, rt ∈ Ω(n78740)
half(gen_mark:0':nil:ok3_0(+(1, n10932_0))) → *4_0, rt ∈ Ω(n109320)

Generator Equations:
gen_mark:0':nil:ok3_0(0) ⇔ 0'
gen_mark:0':nil:ok3_0(+(x, 1)) ⇔ mark(gen_mark:0':nil:ok3_0(x))

The following defined symbols remain to be analysed:
active, proper, top

They will be analysed ascendingly in the following order:
active < top
proper < top

(36) NoRewriteLemmaProof (LOWER BOUND(ID) transformation)

Could not prove a rewrite lemma for the defined symbol active.

(37) Obligation:

TRS:
Rules:
active(terms(N)) → mark(cons(recip(sqr(N)), terms(s(N))))
active(sqr(0')) → mark(0')
active(dbl(0')) → mark(0')
active(dbl(s(X))) → mark(s(s(dbl(X))))
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(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))
cons(mark(X1), X2) → mark(cons(X1, X2))
recip(mark(X)) → mark(recip(X))
sqr(mark(X)) → mark(sqr(X))
s(mark(X)) → mark(s(X))
dbl(mark(X)) → mark(dbl(X))
first(mark(X1), X2) → mark(first(X1, X2))
first(X1, mark(X2)) → mark(first(X1, X2))
half(mark(X)) → mark(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(dbl(X)) → dbl(proper(X))
proper(first(X1, X2)) → first(proper(X1), proper(X2))
proper(nil) → ok(nil)
proper(half(X)) → half(proper(X))
terms(ok(X)) → ok(terms(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
recip(ok(X)) → ok(recip(X))
sqr(ok(X)) → ok(sqr(X))
s(ok(X)) → ok(s(X))
dbl(ok(X)) → ok(dbl(X))
first(ok(X1), ok(X2)) → ok(first(X1, X2))
half(ok(X)) → ok(half(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

Types:
active :: mark:0':nil:ok → mark:0':nil:ok
terms :: mark:0':nil:ok → mark:0':nil:ok
mark :: mark:0':nil:ok → mark:0':nil:ok
cons :: mark:0':nil:ok → mark:0':nil:ok → mark:0':nil:ok
recip :: mark:0':nil:ok → mark:0':nil:ok
sqr :: mark:0':nil:ok → mark:0':nil:ok
s :: mark:0':nil:ok → mark:0':nil:ok
0' :: mark:0':nil:ok
add :: mark:0':nil:ok → mark:0':nil:ok → mark:0':nil:ok
dbl :: mark:0':nil:ok → mark:0':nil:ok
first :: mark:0':nil:ok → mark:0':nil:ok → mark:0':nil:ok
nil :: mark:0':nil:ok
half :: mark:0':nil:ok → mark:0':nil:ok
proper :: mark:0':nil:ok → mark:0':nil:ok
ok :: mark:0':nil:ok → mark:0':nil:ok
top :: mark:0':nil:ok → top
hole_mark:0':nil:ok1_0 :: mark:0':nil:ok
hole_top2_0 :: top
gen_mark:0':nil:ok3_0 :: Nat → mark:0':nil:ok

Lemmas:
cons(gen_mark:0':nil:ok3_0(+(1, n5_0)), gen_mark:0':nil:ok3_0(b)) → *4_0, rt ∈ Ω(n50)
recip(gen_mark:0':nil:ok3_0(+(1, n1226_0))) → *4_0, rt ∈ Ω(n12260)
sqr(gen_mark:0':nil:ok3_0(+(1, n1814_0))) → *4_0, rt ∈ Ω(n18140)
terms(gen_mark:0':nil:ok3_0(+(1, n2503_0))) → *4_0, rt ∈ Ω(n25030)
s(gen_mark:0':nil:ok3_0(+(1, n3293_0))) → *4_0, rt ∈ Ω(n32930)
add(gen_mark:0':nil:ok3_0(+(1, n4184_0)), gen_mark:0':nil:ok3_0(b)) → *4_0, rt ∈ Ω(n41840)
dbl(gen_mark:0':nil:ok3_0(+(1, n6732_0))) → *4_0, rt ∈ Ω(n67320)
first(gen_mark:0':nil:ok3_0(+(1, n7874_0)), gen_mark:0':nil:ok3_0(b)) → *4_0, rt ∈ Ω(n78740)
half(gen_mark:0':nil:ok3_0(+(1, n10932_0))) → *4_0, rt ∈ Ω(n109320)

Generator Equations:
gen_mark:0':nil:ok3_0(0) ⇔ 0'
gen_mark:0':nil:ok3_0(+(x, 1)) ⇔ mark(gen_mark:0':nil:ok3_0(x))

The following defined symbols remain to be analysed:
proper, top

They will be analysed ascendingly in the following order:
proper < top

(38) NoRewriteLemmaProof (LOWER BOUND(ID) transformation)

Could not prove a rewrite lemma for the defined symbol proper.

(39) Obligation:

TRS:
Rules:
active(terms(N)) → mark(cons(recip(sqr(N)), terms(s(N))))
active(sqr(0')) → mark(0')
active(dbl(0')) → mark(0')
active(dbl(s(X))) → mark(s(s(dbl(X))))
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(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))
cons(mark(X1), X2) → mark(cons(X1, X2))
recip(mark(X)) → mark(recip(X))
sqr(mark(X)) → mark(sqr(X))
s(mark(X)) → mark(s(X))
dbl(mark(X)) → mark(dbl(X))
first(mark(X1), X2) → mark(first(X1, X2))
first(X1, mark(X2)) → mark(first(X1, X2))
half(mark(X)) → mark(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(dbl(X)) → dbl(proper(X))
proper(first(X1, X2)) → first(proper(X1), proper(X2))
proper(nil) → ok(nil)
proper(half(X)) → half(proper(X))
terms(ok(X)) → ok(terms(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
recip(ok(X)) → ok(recip(X))
sqr(ok(X)) → ok(sqr(X))
s(ok(X)) → ok(s(X))
dbl(ok(X)) → ok(dbl(X))
first(ok(X1), ok(X2)) → ok(first(X1, X2))
half(ok(X)) → ok(half(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

Types:
active :: mark:0':nil:ok → mark:0':nil:ok
terms :: mark:0':nil:ok → mark:0':nil:ok
mark :: mark:0':nil:ok → mark:0':nil:ok
cons :: mark:0':nil:ok → mark:0':nil:ok → mark:0':nil:ok
recip :: mark:0':nil:ok → mark:0':nil:ok
sqr :: mark:0':nil:ok → mark:0':nil:ok
s :: mark:0':nil:ok → mark:0':nil:ok
0' :: mark:0':nil:ok
add :: mark:0':nil:ok → mark:0':nil:ok → mark:0':nil:ok
dbl :: mark:0':nil:ok → mark:0':nil:ok
first :: mark:0':nil:ok → mark:0':nil:ok → mark:0':nil:ok
nil :: mark:0':nil:ok
half :: mark:0':nil:ok → mark:0':nil:ok
proper :: mark:0':nil:ok → mark:0':nil:ok
ok :: mark:0':nil:ok → mark:0':nil:ok
top :: mark:0':nil:ok → top
hole_mark:0':nil:ok1_0 :: mark:0':nil:ok
hole_top2_0 :: top
gen_mark:0':nil:ok3_0 :: Nat → mark:0':nil:ok

Lemmas:
cons(gen_mark:0':nil:ok3_0(+(1, n5_0)), gen_mark:0':nil:ok3_0(b)) → *4_0, rt ∈ Ω(n50)
recip(gen_mark:0':nil:ok3_0(+(1, n1226_0))) → *4_0, rt ∈ Ω(n12260)
sqr(gen_mark:0':nil:ok3_0(+(1, n1814_0))) → *4_0, rt ∈ Ω(n18140)
terms(gen_mark:0':nil:ok3_0(+(1, n2503_0))) → *4_0, rt ∈ Ω(n25030)
s(gen_mark:0':nil:ok3_0(+(1, n3293_0))) → *4_0, rt ∈ Ω(n32930)
add(gen_mark:0':nil:ok3_0(+(1, n4184_0)), gen_mark:0':nil:ok3_0(b)) → *4_0, rt ∈ Ω(n41840)
dbl(gen_mark:0':nil:ok3_0(+(1, n6732_0))) → *4_0, rt ∈ Ω(n67320)
first(gen_mark:0':nil:ok3_0(+(1, n7874_0)), gen_mark:0':nil:ok3_0(b)) → *4_0, rt ∈ Ω(n78740)
half(gen_mark:0':nil:ok3_0(+(1, n10932_0))) → *4_0, rt ∈ Ω(n109320)

Generator Equations:
gen_mark:0':nil:ok3_0(0) ⇔ 0'
gen_mark:0':nil:ok3_0(+(x, 1)) ⇔ mark(gen_mark:0':nil:ok3_0(x))

The following defined symbols remain to be analysed:
top

(40) NoRewriteLemmaProof (LOWER BOUND(ID) transformation)

Could not prove a rewrite lemma for the defined symbol top.

(41) Obligation:

TRS:
Rules:
active(terms(N)) → mark(cons(recip(sqr(N)), terms(s(N))))
active(sqr(0')) → mark(0')
active(dbl(0')) → mark(0')
active(dbl(s(X))) → mark(s(s(dbl(X))))
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(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))
cons(mark(X1), X2) → mark(cons(X1, X2))
recip(mark(X)) → mark(recip(X))
sqr(mark(X)) → mark(sqr(X))
s(mark(X)) → mark(s(X))
dbl(mark(X)) → mark(dbl(X))
first(mark(X1), X2) → mark(first(X1, X2))
first(X1, mark(X2)) → mark(first(X1, X2))
half(mark(X)) → mark(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(dbl(X)) → dbl(proper(X))
proper(first(X1, X2)) → first(proper(X1), proper(X2))
proper(nil) → ok(nil)
proper(half(X)) → half(proper(X))
terms(ok(X)) → ok(terms(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
recip(ok(X)) → ok(recip(X))
sqr(ok(X)) → ok(sqr(X))
s(ok(X)) → ok(s(X))
dbl(ok(X)) → ok(dbl(X))
first(ok(X1), ok(X2)) → ok(first(X1, X2))
half(ok(X)) → ok(half(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

Types:
active :: mark:0':nil:ok → mark:0':nil:ok
terms :: mark:0':nil:ok → mark:0':nil:ok
mark :: mark:0':nil:ok → mark:0':nil:ok
cons :: mark:0':nil:ok → mark:0':nil:ok → mark:0':nil:ok
recip :: mark:0':nil:ok → mark:0':nil:ok
sqr :: mark:0':nil:ok → mark:0':nil:ok
s :: mark:0':nil:ok → mark:0':nil:ok
0' :: mark:0':nil:ok
add :: mark:0':nil:ok → mark:0':nil:ok → mark:0':nil:ok
dbl :: mark:0':nil:ok → mark:0':nil:ok
first :: mark:0':nil:ok → mark:0':nil:ok → mark:0':nil:ok
nil :: mark:0':nil:ok
half :: mark:0':nil:ok → mark:0':nil:ok
proper :: mark:0':nil:ok → mark:0':nil:ok
ok :: mark:0':nil:ok → mark:0':nil:ok
top :: mark:0':nil:ok → top
hole_mark:0':nil:ok1_0 :: mark:0':nil:ok
hole_top2_0 :: top
gen_mark:0':nil:ok3_0 :: Nat → mark:0':nil:ok

Lemmas:
cons(gen_mark:0':nil:ok3_0(+(1, n5_0)), gen_mark:0':nil:ok3_0(b)) → *4_0, rt ∈ Ω(n50)
recip(gen_mark:0':nil:ok3_0(+(1, n1226_0))) → *4_0, rt ∈ Ω(n12260)
sqr(gen_mark:0':nil:ok3_0(+(1, n1814_0))) → *4_0, rt ∈ Ω(n18140)
terms(gen_mark:0':nil:ok3_0(+(1, n2503_0))) → *4_0, rt ∈ Ω(n25030)
s(gen_mark:0':nil:ok3_0(+(1, n3293_0))) → *4_0, rt ∈ Ω(n32930)
add(gen_mark:0':nil:ok3_0(+(1, n4184_0)), gen_mark:0':nil:ok3_0(b)) → *4_0, rt ∈ Ω(n41840)
dbl(gen_mark:0':nil:ok3_0(+(1, n6732_0))) → *4_0, rt ∈ Ω(n67320)
first(gen_mark:0':nil:ok3_0(+(1, n7874_0)), gen_mark:0':nil:ok3_0(b)) → *4_0, rt ∈ Ω(n78740)
half(gen_mark:0':nil:ok3_0(+(1, n10932_0))) → *4_0, rt ∈ Ω(n109320)

Generator Equations:
gen_mark:0':nil:ok3_0(0) ⇔ 0'
gen_mark:0':nil:ok3_0(+(x, 1)) ⇔ mark(gen_mark:0':nil:ok3_0(x))

No more defined symbols left to analyse.

(42) LowerBoundsProof (EQUIVALENT transformation)

The lowerbound Ω(n1) was proven with the following lemma:
cons(gen_mark:0':nil:ok3_0(+(1, n5_0)), gen_mark:0':nil:ok3_0(b)) → *4_0, rt ∈ Ω(n50)

(44) Obligation:

TRS:
Rules:
active(terms(N)) → mark(cons(recip(sqr(N)), terms(s(N))))
active(sqr(0')) → mark(0')
active(dbl(0')) → mark(0')
active(dbl(s(X))) → mark(s(s(dbl(X))))
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(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))
cons(mark(X1), X2) → mark(cons(X1, X2))
recip(mark(X)) → mark(recip(X))
sqr(mark(X)) → mark(sqr(X))
s(mark(X)) → mark(s(X))
dbl(mark(X)) → mark(dbl(X))
first(mark(X1), X2) → mark(first(X1, X2))
first(X1, mark(X2)) → mark(first(X1, X2))
half(mark(X)) → mark(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(dbl(X)) → dbl(proper(X))
proper(first(X1, X2)) → first(proper(X1), proper(X2))
proper(nil) → ok(nil)
proper(half(X)) → half(proper(X))
terms(ok(X)) → ok(terms(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
recip(ok(X)) → ok(recip(X))
sqr(ok(X)) → ok(sqr(X))
s(ok(X)) → ok(s(X))
dbl(ok(X)) → ok(dbl(X))
first(ok(X1), ok(X2)) → ok(first(X1, X2))
half(ok(X)) → ok(half(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

Types:
active :: mark:0':nil:ok → mark:0':nil:ok
terms :: mark:0':nil:ok → mark:0':nil:ok
mark :: mark:0':nil:ok → mark:0':nil:ok
cons :: mark:0':nil:ok → mark:0':nil:ok → mark:0':nil:ok
recip :: mark:0':nil:ok → mark:0':nil:ok
sqr :: mark:0':nil:ok → mark:0':nil:ok
s :: mark:0':nil:ok → mark:0':nil:ok
0' :: mark:0':nil:ok
add :: mark:0':nil:ok → mark:0':nil:ok → mark:0':nil:ok
dbl :: mark:0':nil:ok → mark:0':nil:ok
first :: mark:0':nil:ok → mark:0':nil:ok → mark:0':nil:ok
nil :: mark:0':nil:ok
half :: mark:0':nil:ok → mark:0':nil:ok
proper :: mark:0':nil:ok → mark:0':nil:ok
ok :: mark:0':nil:ok → mark:0':nil:ok
top :: mark:0':nil:ok → top
hole_mark:0':nil:ok1_0 :: mark:0':nil:ok
hole_top2_0 :: top
gen_mark:0':nil:ok3_0 :: Nat → mark:0':nil:ok

Lemmas:
cons(gen_mark:0':nil:ok3_0(+(1, n5_0)), gen_mark:0':nil:ok3_0(b)) → *4_0, rt ∈ Ω(n50)
recip(gen_mark:0':nil:ok3_0(+(1, n1226_0))) → *4_0, rt ∈ Ω(n12260)
sqr(gen_mark:0':nil:ok3_0(+(1, n1814_0))) → *4_0, rt ∈ Ω(n18140)
terms(gen_mark:0':nil:ok3_0(+(1, n2503_0))) → *4_0, rt ∈ Ω(n25030)
s(gen_mark:0':nil:ok3_0(+(1, n3293_0))) → *4_0, rt ∈ Ω(n32930)
add(gen_mark:0':nil:ok3_0(+(1, n4184_0)), gen_mark:0':nil:ok3_0(b)) → *4_0, rt ∈ Ω(n41840)
dbl(gen_mark:0':nil:ok3_0(+(1, n6732_0))) → *4_0, rt ∈ Ω(n67320)
first(gen_mark:0':nil:ok3_0(+(1, n7874_0)), gen_mark:0':nil:ok3_0(b)) → *4_0, rt ∈ Ω(n78740)
half(gen_mark:0':nil:ok3_0(+(1, n10932_0))) → *4_0, rt ∈ Ω(n109320)

Generator Equations:
gen_mark:0':nil:ok3_0(0) ⇔ 0'
gen_mark:0':nil:ok3_0(+(x, 1)) ⇔ mark(gen_mark:0':nil:ok3_0(x))

No more defined symbols left to analyse.

(45) LowerBoundsProof (EQUIVALENT transformation)

The lowerbound Ω(n1) was proven with the following lemma:
cons(gen_mark:0':nil:ok3_0(+(1, n5_0)), gen_mark:0':nil:ok3_0(b)) → *4_0, rt ∈ Ω(n50)

(47) Obligation:

TRS:
Rules:
active(terms(N)) → mark(cons(recip(sqr(N)), terms(s(N))))
active(sqr(0')) → mark(0')
active(dbl(0')) → mark(0')
active(dbl(s(X))) → mark(s(s(dbl(X))))
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(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))
cons(mark(X1), X2) → mark(cons(X1, X2))
recip(mark(X)) → mark(recip(X))
sqr(mark(X)) → mark(sqr(X))
s(mark(X)) → mark(s(X))
dbl(mark(X)) → mark(dbl(X))
first(mark(X1), X2) → mark(first(X1, X2))
first(X1, mark(X2)) → mark(first(X1, X2))
half(mark(X)) → mark(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(dbl(X)) → dbl(proper(X))
proper(first(X1, X2)) → first(proper(X1), proper(X2))
proper(nil) → ok(nil)
proper(half(X)) → half(proper(X))
terms(ok(X)) → ok(terms(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
recip(ok(X)) → ok(recip(X))
sqr(ok(X)) → ok(sqr(X))
s(ok(X)) → ok(s(X))
dbl(ok(X)) → ok(dbl(X))
first(ok(X1), ok(X2)) → ok(first(X1, X2))
half(ok(X)) → ok(half(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

Types:
active :: mark:0':nil:ok → mark:0':nil:ok
terms :: mark:0':nil:ok → mark:0':nil:ok
mark :: mark:0':nil:ok → mark:0':nil:ok
cons :: mark:0':nil:ok → mark:0':nil:ok → mark:0':nil:ok
recip :: mark:0':nil:ok → mark:0':nil:ok
sqr :: mark:0':nil:ok → mark:0':nil:ok
s :: mark:0':nil:ok → mark:0':nil:ok
0' :: mark:0':nil:ok
add :: mark:0':nil:ok → mark:0':nil:ok → mark:0':nil:ok
dbl :: mark:0':nil:ok → mark:0':nil:ok
first :: mark:0':nil:ok → mark:0':nil:ok → mark:0':nil:ok
nil :: mark:0':nil:ok
half :: mark:0':nil:ok → mark:0':nil:ok
proper :: mark:0':nil:ok → mark:0':nil:ok
ok :: mark:0':nil:ok → mark:0':nil:ok
top :: mark:0':nil:ok → top
hole_mark:0':nil:ok1_0 :: mark:0':nil:ok
hole_top2_0 :: top
gen_mark:0':nil:ok3_0 :: Nat → mark:0':nil:ok

Lemmas:
cons(gen_mark:0':nil:ok3_0(+(1, n5_0)), gen_mark:0':nil:ok3_0(b)) → *4_0, rt ∈ Ω(n50)
recip(gen_mark:0':nil:ok3_0(+(1, n1226_0))) → *4_0, rt ∈ Ω(n12260)
sqr(gen_mark:0':nil:ok3_0(+(1, n1814_0))) → *4_0, rt ∈ Ω(n18140)
terms(gen_mark:0':nil:ok3_0(+(1, n2503_0))) → *4_0, rt ∈ Ω(n25030)
s(gen_mark:0':nil:ok3_0(+(1, n3293_0))) → *4_0, rt ∈ Ω(n32930)
add(gen_mark:0':nil:ok3_0(+(1, n4184_0)), gen_mark:0':nil:ok3_0(b)) → *4_0, rt ∈ Ω(n41840)
dbl(gen_mark:0':nil:ok3_0(+(1, n6732_0))) → *4_0, rt ∈ Ω(n67320)
first(gen_mark:0':nil:ok3_0(+(1, n7874_0)), gen_mark:0':nil:ok3_0(b)) → *4_0, rt ∈ Ω(n78740)

Generator Equations:
gen_mark:0':nil:ok3_0(0) ⇔ 0'
gen_mark:0':nil:ok3_0(+(x, 1)) ⇔ mark(gen_mark:0':nil:ok3_0(x))

No more defined symbols left to analyse.

(48) LowerBoundsProof (EQUIVALENT transformation)

The lowerbound Ω(n1) was proven with the following lemma:
cons(gen_mark:0':nil:ok3_0(+(1, n5_0)), gen_mark:0':nil:ok3_0(b)) → *4_0, rt ∈ Ω(n50)

(50) Obligation:

TRS:
Rules:
active(terms(N)) → mark(cons(recip(sqr(N)), terms(s(N))))
active(sqr(0')) → mark(0')
active(dbl(0')) → mark(0')
active(dbl(s(X))) → mark(s(s(dbl(X))))
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(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))
cons(mark(X1), X2) → mark(cons(X1, X2))
recip(mark(X)) → mark(recip(X))
sqr(mark(X)) → mark(sqr(X))
s(mark(X)) → mark(s(X))
dbl(mark(X)) → mark(dbl(X))
first(mark(X1), X2) → mark(first(X1, X2))
first(X1, mark(X2)) → mark(first(X1, X2))
half(mark(X)) → mark(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(dbl(X)) → dbl(proper(X))
proper(first(X1, X2)) → first(proper(X1), proper(X2))
proper(nil) → ok(nil)
proper(half(X)) → half(proper(X))
terms(ok(X)) → ok(terms(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
recip(ok(X)) → ok(recip(X))
sqr(ok(X)) → ok(sqr(X))
s(ok(X)) → ok(s(X))
dbl(ok(X)) → ok(dbl(X))
first(ok(X1), ok(X2)) → ok(first(X1, X2))
half(ok(X)) → ok(half(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

Types:
active :: mark:0':nil:ok → mark:0':nil:ok
terms :: mark:0':nil:ok → mark:0':nil:ok
mark :: mark:0':nil:ok → mark:0':nil:ok
cons :: mark:0':nil:ok → mark:0':nil:ok → mark:0':nil:ok
recip :: mark:0':nil:ok → mark:0':nil:ok
sqr :: mark:0':nil:ok → mark:0':nil:ok
s :: mark:0':nil:ok → mark:0':nil:ok
0' :: mark:0':nil:ok
add :: mark:0':nil:ok → mark:0':nil:ok → mark:0':nil:ok
dbl :: mark:0':nil:ok → mark:0':nil:ok
first :: mark:0':nil:ok → mark:0':nil:ok → mark:0':nil:ok
nil :: mark:0':nil:ok
half :: mark:0':nil:ok → mark:0':nil:ok
proper :: mark:0':nil:ok → mark:0':nil:ok
ok :: mark:0':nil:ok → mark:0':nil:ok
top :: mark:0':nil:ok → top
hole_mark:0':nil:ok1_0 :: mark:0':nil:ok
hole_top2_0 :: top
gen_mark:0':nil:ok3_0 :: Nat → mark:0':nil:ok

Lemmas:
cons(gen_mark:0':nil:ok3_0(+(1, n5_0)), gen_mark:0':nil:ok3_0(b)) → *4_0, rt ∈ Ω(n50)
recip(gen_mark:0':nil:ok3_0(+(1, n1226_0))) → *4_0, rt ∈ Ω(n12260)
sqr(gen_mark:0':nil:ok3_0(+(1, n1814_0))) → *4_0, rt ∈ Ω(n18140)
terms(gen_mark:0':nil:ok3_0(+(1, n2503_0))) → *4_0, rt ∈ Ω(n25030)
s(gen_mark:0':nil:ok3_0(+(1, n3293_0))) → *4_0, rt ∈ Ω(n32930)
add(gen_mark:0':nil:ok3_0(+(1, n4184_0)), gen_mark:0':nil:ok3_0(b)) → *4_0, rt ∈ Ω(n41840)
dbl(gen_mark:0':nil:ok3_0(+(1, n6732_0))) → *4_0, rt ∈ Ω(n67320)

Generator Equations:
gen_mark:0':nil:ok3_0(0) ⇔ 0'
gen_mark:0':nil:ok3_0(+(x, 1)) ⇔ mark(gen_mark:0':nil:ok3_0(x))

No more defined symbols left to analyse.

(51) LowerBoundsProof (EQUIVALENT transformation)

The lowerbound Ω(n1) was proven with the following lemma:
cons(gen_mark:0':nil:ok3_0(+(1, n5_0)), gen_mark:0':nil:ok3_0(b)) → *4_0, rt ∈ Ω(n50)

(53) Obligation:

TRS:
Rules:
active(terms(N)) → mark(cons(recip(sqr(N)), terms(s(N))))
active(sqr(0')) → mark(0')
active(dbl(0')) → mark(0')
active(dbl(s(X))) → mark(s(s(dbl(X))))
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(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))
cons(mark(X1), X2) → mark(cons(X1, X2))
recip(mark(X)) → mark(recip(X))
sqr(mark(X)) → mark(sqr(X))
s(mark(X)) → mark(s(X))
dbl(mark(X)) → mark(dbl(X))
first(mark(X1), X2) → mark(first(X1, X2))
first(X1, mark(X2)) → mark(first(X1, X2))
half(mark(X)) → mark(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(dbl(X)) → dbl(proper(X))
proper(first(X1, X2)) → first(proper(X1), proper(X2))
proper(nil) → ok(nil)
proper(half(X)) → half(proper(X))
terms(ok(X)) → ok(terms(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
recip(ok(X)) → ok(recip(X))
sqr(ok(X)) → ok(sqr(X))
s(ok(X)) → ok(s(X))
dbl(ok(X)) → ok(dbl(X))
first(ok(X1), ok(X2)) → ok(first(X1, X2))
half(ok(X)) → ok(half(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

Types:
active :: mark:0':nil:ok → mark:0':nil:ok
terms :: mark:0':nil:ok → mark:0':nil:ok
mark :: mark:0':nil:ok → mark:0':nil:ok
cons :: mark:0':nil:ok → mark:0':nil:ok → mark:0':nil:ok
recip :: mark:0':nil:ok → mark:0':nil:ok
sqr :: mark:0':nil:ok → mark:0':nil:ok
s :: mark:0':nil:ok → mark:0':nil:ok
0' :: mark:0':nil:ok
add :: mark:0':nil:ok → mark:0':nil:ok → mark:0':nil:ok
dbl :: mark:0':nil:ok → mark:0':nil:ok
first :: mark:0':nil:ok → mark:0':nil:ok → mark:0':nil:ok
nil :: mark:0':nil:ok
half :: mark:0':nil:ok → mark:0':nil:ok
proper :: mark:0':nil:ok → mark:0':nil:ok
ok :: mark:0':nil:ok → mark:0':nil:ok
top :: mark:0':nil:ok → top
hole_mark:0':nil:ok1_0 :: mark:0':nil:ok
hole_top2_0 :: top
gen_mark:0':nil:ok3_0 :: Nat → mark:0':nil:ok

Lemmas:
cons(gen_mark:0':nil:ok3_0(+(1, n5_0)), gen_mark:0':nil:ok3_0(b)) → *4_0, rt ∈ Ω(n50)
recip(gen_mark:0':nil:ok3_0(+(1, n1226_0))) → *4_0, rt ∈ Ω(n12260)
sqr(gen_mark:0':nil:ok3_0(+(1, n1814_0))) → *4_0, rt ∈ Ω(n18140)
terms(gen_mark:0':nil:ok3_0(+(1, n2503_0))) → *4_0, rt ∈ Ω(n25030)
s(gen_mark:0':nil:ok3_0(+(1, n3293_0))) → *4_0, rt ∈ Ω(n32930)
add(gen_mark:0':nil:ok3_0(+(1, n4184_0)), gen_mark:0':nil:ok3_0(b)) → *4_0, rt ∈ Ω(n41840)

Generator Equations:
gen_mark:0':nil:ok3_0(0) ⇔ 0'
gen_mark:0':nil:ok3_0(+(x, 1)) ⇔ mark(gen_mark:0':nil:ok3_0(x))

No more defined symbols left to analyse.

(54) LowerBoundsProof (EQUIVALENT transformation)

The lowerbound Ω(n1) was proven with the following lemma:
cons(gen_mark:0':nil:ok3_0(+(1, n5_0)), gen_mark:0':nil:ok3_0(b)) → *4_0, rt ∈ Ω(n50)

(56) Obligation:

TRS:
Rules:
active(terms(N)) → mark(cons(recip(sqr(N)), terms(s(N))))
active(sqr(0')) → mark(0')
active(dbl(0')) → mark(0')
active(dbl(s(X))) → mark(s(s(dbl(X))))
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(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))
cons(mark(X1), X2) → mark(cons(X1, X2))
recip(mark(X)) → mark(recip(X))
sqr(mark(X)) → mark(sqr(X))
s(mark(X)) → mark(s(X))
dbl(mark(X)) → mark(dbl(X))
first(mark(X1), X2) → mark(first(X1, X2))
first(X1, mark(X2)) → mark(first(X1, X2))
half(mark(X)) → mark(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(dbl(X)) → dbl(proper(X))
proper(first(X1, X2)) → first(proper(X1), proper(X2))
proper(nil) → ok(nil)
proper(half(X)) → half(proper(X))
terms(ok(X)) → ok(terms(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
recip(ok(X)) → ok(recip(X))
sqr(ok(X)) → ok(sqr(X))
s(ok(X)) → ok(s(X))
dbl(ok(X)) → ok(dbl(X))
first(ok(X1), ok(X2)) → ok(first(X1, X2))
half(ok(X)) → ok(half(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

Types:
active :: mark:0':nil:ok → mark:0':nil:ok
terms :: mark:0':nil:ok → mark:0':nil:ok
mark :: mark:0':nil:ok → mark:0':nil:ok
cons :: mark:0':nil:ok → mark:0':nil:ok → mark:0':nil:ok
recip :: mark:0':nil:ok → mark:0':nil:ok
sqr :: mark:0':nil:ok → mark:0':nil:ok
s :: mark:0':nil:ok → mark:0':nil:ok
0' :: mark:0':nil:ok
add :: mark:0':nil:ok → mark:0':nil:ok → mark:0':nil:ok
dbl :: mark:0':nil:ok → mark:0':nil:ok
first :: mark:0':nil:ok → mark:0':nil:ok → mark:0':nil:ok
nil :: mark:0':nil:ok
half :: mark:0':nil:ok → mark:0':nil:ok
proper :: mark:0':nil:ok → mark:0':nil:ok
ok :: mark:0':nil:ok → mark:0':nil:ok
top :: mark:0':nil:ok → top
hole_mark:0':nil:ok1_0 :: mark:0':nil:ok
hole_top2_0 :: top
gen_mark:0':nil:ok3_0 :: Nat → mark:0':nil:ok

Lemmas:
cons(gen_mark:0':nil:ok3_0(+(1, n5_0)), gen_mark:0':nil:ok3_0(b)) → *4_0, rt ∈ Ω(n50)
recip(gen_mark:0':nil:ok3_0(+(1, n1226_0))) → *4_0, rt ∈ Ω(n12260)
sqr(gen_mark:0':nil:ok3_0(+(1, n1814_0))) → *4_0, rt ∈ Ω(n18140)
terms(gen_mark:0':nil:ok3_0(+(1, n2503_0))) → *4_0, rt ∈ Ω(n25030)
s(gen_mark:0':nil:ok3_0(+(1, n3293_0))) → *4_0, rt ∈ Ω(n32930)

Generator Equations:
gen_mark:0':nil:ok3_0(0) ⇔ 0'
gen_mark:0':nil:ok3_0(+(x, 1)) ⇔ mark(gen_mark:0':nil:ok3_0(x))

No more defined symbols left to analyse.

(57) LowerBoundsProof (EQUIVALENT transformation)

The lowerbound Ω(n1) was proven with the following lemma:
cons(gen_mark:0':nil:ok3_0(+(1, n5_0)), gen_mark:0':nil:ok3_0(b)) → *4_0, rt ∈ Ω(n50)

(59) Obligation:

TRS:
Rules:
active(terms(N)) → mark(cons(recip(sqr(N)), terms(s(N))))
active(sqr(0')) → mark(0')
active(dbl(0')) → mark(0')
active(dbl(s(X))) → mark(s(s(dbl(X))))
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(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))
cons(mark(X1), X2) → mark(cons(X1, X2))
recip(mark(X)) → mark(recip(X))
sqr(mark(X)) → mark(sqr(X))
s(mark(X)) → mark(s(X))
dbl(mark(X)) → mark(dbl(X))
first(mark(X1), X2) → mark(first(X1, X2))
first(X1, mark(X2)) → mark(first(X1, X2))
half(mark(X)) → mark(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(dbl(X)) → dbl(proper(X))
proper(first(X1, X2)) → first(proper(X1), proper(X2))
proper(nil) → ok(nil)
proper(half(X)) → half(proper(X))
terms(ok(X)) → ok(terms(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
recip(ok(X)) → ok(recip(X))
sqr(ok(X)) → ok(sqr(X))
s(ok(X)) → ok(s(X))
dbl(ok(X)) → ok(dbl(X))
first(ok(X1), ok(X2)) → ok(first(X1, X2))
half(ok(X)) → ok(half(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

Types:
active :: mark:0':nil:ok → mark:0':nil:ok
terms :: mark:0':nil:ok → mark:0':nil:ok
mark :: mark:0':nil:ok → mark:0':nil:ok
cons :: mark:0':nil:ok → mark:0':nil:ok → mark:0':nil:ok
recip :: mark:0':nil:ok → mark:0':nil:ok
sqr :: mark:0':nil:ok → mark:0':nil:ok
s :: mark:0':nil:ok → mark:0':nil:ok
0' :: mark:0':nil:ok
add :: mark:0':nil:ok → mark:0':nil:ok → mark:0':nil:ok
dbl :: mark:0':nil:ok → mark:0':nil:ok
first :: mark:0':nil:ok → mark:0':nil:ok → mark:0':nil:ok
nil :: mark:0':nil:ok
half :: mark:0':nil:ok → mark:0':nil:ok
proper :: mark:0':nil:ok → mark:0':nil:ok
ok :: mark:0':nil:ok → mark:0':nil:ok
top :: mark:0':nil:ok → top
hole_mark:0':nil:ok1_0 :: mark:0':nil:ok
hole_top2_0 :: top
gen_mark:0':nil:ok3_0 :: Nat → mark:0':nil:ok

Lemmas:
cons(gen_mark:0':nil:ok3_0(+(1, n5_0)), gen_mark:0':nil:ok3_0(b)) → *4_0, rt ∈ Ω(n50)
recip(gen_mark:0':nil:ok3_0(+(1, n1226_0))) → *4_0, rt ∈ Ω(n12260)
sqr(gen_mark:0':nil:ok3_0(+(1, n1814_0))) → *4_0, rt ∈ Ω(n18140)
terms(gen_mark:0':nil:ok3_0(+(1, n2503_0))) → *4_0, rt ∈ Ω(n25030)

Generator Equations:
gen_mark:0':nil:ok3_0(0) ⇔ 0'
gen_mark:0':nil:ok3_0(+(x, 1)) ⇔ mark(gen_mark:0':nil:ok3_0(x))

No more defined symbols left to analyse.

(60) LowerBoundsProof (EQUIVALENT transformation)

The lowerbound Ω(n1) was proven with the following lemma:
cons(gen_mark:0':nil:ok3_0(+(1, n5_0)), gen_mark:0':nil:ok3_0(b)) → *4_0, rt ∈ Ω(n50)

(62) Obligation:

TRS:
Rules:
active(terms(N)) → mark(cons(recip(sqr(N)), terms(s(N))))
active(sqr(0')) → mark(0')
active(dbl(0')) → mark(0')
active(dbl(s(X))) → mark(s(s(dbl(X))))
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(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))
cons(mark(X1), X2) → mark(cons(X1, X2))
recip(mark(X)) → mark(recip(X))
sqr(mark(X)) → mark(sqr(X))
s(mark(X)) → mark(s(X))
dbl(mark(X)) → mark(dbl(X))
first(mark(X1), X2) → mark(first(X1, X2))
first(X1, mark(X2)) → mark(first(X1, X2))
half(mark(X)) → mark(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(dbl(X)) → dbl(proper(X))
proper(first(X1, X2)) → first(proper(X1), proper(X2))
proper(nil) → ok(nil)
proper(half(X)) → half(proper(X))
terms(ok(X)) → ok(terms(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
recip(ok(X)) → ok(recip(X))
sqr(ok(X)) → ok(sqr(X))
s(ok(X)) → ok(s(X))
dbl(ok(X)) → ok(dbl(X))
first(ok(X1), ok(X2)) → ok(first(X1, X2))
half(ok(X)) → ok(half(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

Types:
active :: mark:0':nil:ok → mark:0':nil:ok
terms :: mark:0':nil:ok → mark:0':nil:ok
mark :: mark:0':nil:ok → mark:0':nil:ok
cons :: mark:0':nil:ok → mark:0':nil:ok → mark:0':nil:ok
recip :: mark:0':nil:ok → mark:0':nil:ok
sqr :: mark:0':nil:ok → mark:0':nil:ok
s :: mark:0':nil:ok → mark:0':nil:ok
0' :: mark:0':nil:ok
add :: mark:0':nil:ok → mark:0':nil:ok → mark:0':nil:ok
dbl :: mark:0':nil:ok → mark:0':nil:ok
first :: mark:0':nil:ok → mark:0':nil:ok → mark:0':nil:ok
nil :: mark:0':nil:ok
half :: mark:0':nil:ok → mark:0':nil:ok
proper :: mark:0':nil:ok → mark:0':nil:ok
ok :: mark:0':nil:ok → mark:0':nil:ok
top :: mark:0':nil:ok → top
hole_mark:0':nil:ok1_0 :: mark:0':nil:ok
hole_top2_0 :: top
gen_mark:0':nil:ok3_0 :: Nat → mark:0':nil:ok

Lemmas:
cons(gen_mark:0':nil:ok3_0(+(1, n5_0)), gen_mark:0':nil:ok3_0(b)) → *4_0, rt ∈ Ω(n50)
recip(gen_mark:0':nil:ok3_0(+(1, n1226_0))) → *4_0, rt ∈ Ω(n12260)
sqr(gen_mark:0':nil:ok3_0(+(1, n1814_0))) → *4_0, rt ∈ Ω(n18140)

Generator Equations:
gen_mark:0':nil:ok3_0(0) ⇔ 0'
gen_mark:0':nil:ok3_0(+(x, 1)) ⇔ mark(gen_mark:0':nil:ok3_0(x))

No more defined symbols left to analyse.

(63) LowerBoundsProof (EQUIVALENT transformation)

The lowerbound Ω(n1) was proven with the following lemma:
cons(gen_mark:0':nil:ok3_0(+(1, n5_0)), gen_mark:0':nil:ok3_0(b)) → *4_0, rt ∈ Ω(n50)

(65) Obligation:

TRS:
Rules:
active(terms(N)) → mark(cons(recip(sqr(N)), terms(s(N))))
active(sqr(0')) → mark(0')
active(dbl(0')) → mark(0')
active(dbl(s(X))) → mark(s(s(dbl(X))))
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(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))
cons(mark(X1), X2) → mark(cons(X1, X2))
recip(mark(X)) → mark(recip(X))
sqr(mark(X)) → mark(sqr(X))
s(mark(X)) → mark(s(X))
dbl(mark(X)) → mark(dbl(X))
first(mark(X1), X2) → mark(first(X1, X2))
first(X1, mark(X2)) → mark(first(X1, X2))
half(mark(X)) → mark(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(dbl(X)) → dbl(proper(X))
proper(first(X1, X2)) → first(proper(X1), proper(X2))
proper(nil) → ok(nil)
proper(half(X)) → half(proper(X))
terms(ok(X)) → ok(terms(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
recip(ok(X)) → ok(recip(X))
sqr(ok(X)) → ok(sqr(X))
s(ok(X)) → ok(s(X))
dbl(ok(X)) → ok(dbl(X))
first(ok(X1), ok(X2)) → ok(first(X1, X2))
half(ok(X)) → ok(half(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

Types:
active :: mark:0':nil:ok → mark:0':nil:ok
terms :: mark:0':nil:ok → mark:0':nil:ok
mark :: mark:0':nil:ok → mark:0':nil:ok
cons :: mark:0':nil:ok → mark:0':nil:ok → mark:0':nil:ok
recip :: mark:0':nil:ok → mark:0':nil:ok
sqr :: mark:0':nil:ok → mark:0':nil:ok
s :: mark:0':nil:ok → mark:0':nil:ok
0' :: mark:0':nil:ok
add :: mark:0':nil:ok → mark:0':nil:ok → mark:0':nil:ok
dbl :: mark:0':nil:ok → mark:0':nil:ok
first :: mark:0':nil:ok → mark:0':nil:ok → mark:0':nil:ok
nil :: mark:0':nil:ok
half :: mark:0':nil:ok → mark:0':nil:ok
proper :: mark:0':nil:ok → mark:0':nil:ok
ok :: mark:0':nil:ok → mark:0':nil:ok
top :: mark:0':nil:ok → top
hole_mark:0':nil:ok1_0 :: mark:0':nil:ok
hole_top2_0 :: top
gen_mark:0':nil:ok3_0 :: Nat → mark:0':nil:ok

Lemmas:
cons(gen_mark:0':nil:ok3_0(+(1, n5_0)), gen_mark:0':nil:ok3_0(b)) → *4_0, rt ∈ Ω(n50)
recip(gen_mark:0':nil:ok3_0(+(1, n1226_0))) → *4_0, rt ∈ Ω(n12260)

Generator Equations:
gen_mark:0':nil:ok3_0(0) ⇔ 0'
gen_mark:0':nil:ok3_0(+(x, 1)) ⇔ mark(gen_mark:0':nil:ok3_0(x))

No more defined symbols left to analyse.

(66) LowerBoundsProof (EQUIVALENT transformation)

The lowerbound Ω(n1) was proven with the following lemma:
cons(gen_mark:0':nil:ok3_0(+(1, n5_0)), gen_mark:0':nil:ok3_0(b)) → *4_0, rt ∈ Ω(n50)

(68) Obligation:

TRS:
Rules:
active(terms(N)) → mark(cons(recip(sqr(N)), terms(s(N))))
active(sqr(0')) → mark(0')
active(dbl(0')) → mark(0')
active(dbl(s(X))) → mark(s(s(dbl(X))))
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(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))
cons(mark(X1), X2) → mark(cons(X1, X2))
recip(mark(X)) → mark(recip(X))
sqr(mark(X)) → mark(sqr(X))
s(mark(X)) → mark(s(X))
dbl(mark(X)) → mark(dbl(X))
first(mark(X1), X2) → mark(first(X1, X2))
first(X1, mark(X2)) → mark(first(X1, X2))
half(mark(X)) → mark(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(dbl(X)) → dbl(proper(X))
proper(first(X1, X2)) → first(proper(X1), proper(X2))
proper(nil) → ok(nil)
proper(half(X)) → half(proper(X))
terms(ok(X)) → ok(terms(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
recip(ok(X)) → ok(recip(X))
sqr(ok(X)) → ok(sqr(X))
s(ok(X)) → ok(s(X))
dbl(ok(X)) → ok(dbl(X))
first(ok(X1), ok(X2)) → ok(first(X1, X2))
half(ok(X)) → ok(half(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

Types:
active :: mark:0':nil:ok → mark:0':nil:ok
terms :: mark:0':nil:ok → mark:0':nil:ok
mark :: mark:0':nil:ok → mark:0':nil:ok
cons :: mark:0':nil:ok → mark:0':nil:ok → mark:0':nil:ok
recip :: mark:0':nil:ok → mark:0':nil:ok
sqr :: mark:0':nil:ok → mark:0':nil:ok
s :: mark:0':nil:ok → mark:0':nil:ok
0' :: mark:0':nil:ok
add :: mark:0':nil:ok → mark:0':nil:ok → mark:0':nil:ok
dbl :: mark:0':nil:ok → mark:0':nil:ok
first :: mark:0':nil:ok → mark:0':nil:ok → mark:0':nil:ok
nil :: mark:0':nil:ok
half :: mark:0':nil:ok → mark:0':nil:ok
proper :: mark:0':nil:ok → mark:0':nil:ok
ok :: mark:0':nil:ok → mark:0':nil:ok
top :: mark:0':nil:ok → top
hole_mark:0':nil:ok1_0 :: mark:0':nil:ok
hole_top2_0 :: top
gen_mark:0':nil:ok3_0 :: Nat → mark:0':nil:ok

Lemmas:
cons(gen_mark:0':nil:ok3_0(+(1, n5_0)), gen_mark:0':nil:ok3_0(b)) → *4_0, rt ∈ Ω(n50)

Generator Equations:
gen_mark:0':nil:ok3_0(0) ⇔ 0'
gen_mark:0':nil:ok3_0(+(x, 1)) ⇔ mark(gen_mark:0':nil:ok3_0(x))

No more defined symbols left to analyse.

(69) LowerBoundsProof (EQUIVALENT transformation)

The lowerbound Ω(n1) was proven with the following lemma:
cons(gen_mark:0':nil:ok3_0(+(1, n5_0)), gen_mark:0':nil:ok3_0(b)) → *4_0, rt ∈ Ω(n50)