Runtime Complexity TRS:
The TRS R consists of the following rules:
active(zeros) → mark(cons(0, zeros))
active(U11(tt, L)) → mark(s(length(L)))
active(and(tt, X)) → mark(X)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(isNatList(V1))
active(isNat(s(V1))) → mark(isNat(V1))
active(isNatIList(V)) → mark(isNatList(V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(and(isNat(V1), isNatIList(V2)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(and(isNat(V1), isNatList(V2)))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U11(and(isNatList(L), isNat(N)), L))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U11(X1, X2)) → U11(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(and(X1, X2)) → and(active(X1), X2)
cons(mark(X1), X2) → mark(cons(X1, X2))
U11(mark(X1), X2) → mark(U11(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
and(mark(X1), X2) → mark(and(X1, X2))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(tt) → ok(tt)
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(and(X1, X2)) → and(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(nil) → ok(nil)
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
and(ok(X1), ok(X2)) → ok(and(X1, X2))
isNat(ok(X)) → ok(isNat(X))
isNatList(ok(X)) → ok(isNatList(X))
isNatIList(ok(X)) → ok(isNatIList(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))
Renamed function symbols to avoid clashes with predefined symbol.
Runtime Complexity TRS:
The TRS R consists of the following rules:
active'(zeros') → mark'(cons'(0', zeros'))
active'(U11'(tt', L)) → mark'(s'(length'(L)))
active'(and'(tt', X)) → mark'(X)
active'(isNat'(0')) → mark'(tt')
active'(isNat'(length'(V1))) → mark'(isNatList'(V1))
active'(isNat'(s'(V1))) → mark'(isNat'(V1))
active'(isNatIList'(V)) → mark'(isNatList'(V))
active'(isNatIList'(zeros')) → mark'(tt')
active'(isNatIList'(cons'(V1, V2))) → mark'(and'(isNat'(V1), isNatIList'(V2)))
active'(isNatList'(nil')) → mark'(tt')
active'(isNatList'(cons'(V1, V2))) → mark'(and'(isNat'(V1), isNatList'(V2)))
active'(length'(nil')) → mark'(0')
active'(length'(cons'(N, L))) → mark'(U11'(and'(isNatList'(L), isNat'(N)), L))
active'(cons'(X1, X2)) → cons'(active'(X1), X2)
active'(U11'(X1, X2)) → U11'(active'(X1), X2)
active'(s'(X)) → s'(active'(X))
active'(length'(X)) → length'(active'(X))
active'(and'(X1, X2)) → and'(active'(X1), X2)
cons'(mark'(X1), X2) → mark'(cons'(X1, X2))
U11'(mark'(X1), X2) → mark'(U11'(X1, X2))
s'(mark'(X)) → mark'(s'(X))
length'(mark'(X)) → mark'(length'(X))
and'(mark'(X1), X2) → mark'(and'(X1, X2))
proper'(zeros') → ok'(zeros')
proper'(cons'(X1, X2)) → cons'(proper'(X1), proper'(X2))
proper'(0') → ok'(0')
proper'(U11'(X1, X2)) → U11'(proper'(X1), proper'(X2))
proper'(tt') → ok'(tt')
proper'(s'(X)) → s'(proper'(X))
proper'(length'(X)) → length'(proper'(X))
proper'(and'(X1, X2)) → and'(proper'(X1), proper'(X2))
proper'(isNat'(X)) → isNat'(proper'(X))
proper'(isNatList'(X)) → isNatList'(proper'(X))
proper'(isNatIList'(X)) → isNatIList'(proper'(X))
proper'(nil') → ok'(nil')
cons'(ok'(X1), ok'(X2)) → ok'(cons'(X1, X2))
U11'(ok'(X1), ok'(X2)) → ok'(U11'(X1, X2))
s'(ok'(X)) → ok'(s'(X))
length'(ok'(X)) → ok'(length'(X))
and'(ok'(X1), ok'(X2)) → ok'(and'(X1, X2))
isNat'(ok'(X)) → ok'(isNat'(X))
isNatList'(ok'(X)) → ok'(isNatList'(X))
isNatIList'(ok'(X)) → ok'(isNatIList'(X))
top'(mark'(X)) → top'(proper'(X))
top'(ok'(X)) → top'(active'(X))
Infered types.
Rules:
active'(zeros') → mark'(cons'(0', zeros'))
active'(U11'(tt', L)) → mark'(s'(length'(L)))
active'(and'(tt', X)) → mark'(X)
active'(isNat'(0')) → mark'(tt')
active'(isNat'(length'(V1))) → mark'(isNatList'(V1))
active'(isNat'(s'(V1))) → mark'(isNat'(V1))
active'(isNatIList'(V)) → mark'(isNatList'(V))
active'(isNatIList'(zeros')) → mark'(tt')
active'(isNatIList'(cons'(V1, V2))) → mark'(and'(isNat'(V1), isNatIList'(V2)))
active'(isNatList'(nil')) → mark'(tt')
active'(isNatList'(cons'(V1, V2))) → mark'(and'(isNat'(V1), isNatList'(V2)))
active'(length'(nil')) → mark'(0')
active'(length'(cons'(N, L))) → mark'(U11'(and'(isNatList'(L), isNat'(N)), L))
active'(cons'(X1, X2)) → cons'(active'(X1), X2)
active'(U11'(X1, X2)) → U11'(active'(X1), X2)
active'(s'(X)) → s'(active'(X))
active'(length'(X)) → length'(active'(X))
active'(and'(X1, X2)) → and'(active'(X1), X2)
cons'(mark'(X1), X2) → mark'(cons'(X1, X2))
U11'(mark'(X1), X2) → mark'(U11'(X1, X2))
s'(mark'(X)) → mark'(s'(X))
length'(mark'(X)) → mark'(length'(X))
and'(mark'(X1), X2) → mark'(and'(X1, X2))
proper'(zeros') → ok'(zeros')
proper'(cons'(X1, X2)) → cons'(proper'(X1), proper'(X2))
proper'(0') → ok'(0')
proper'(U11'(X1, X2)) → U11'(proper'(X1), proper'(X2))
proper'(tt') → ok'(tt')
proper'(s'(X)) → s'(proper'(X))
proper'(length'(X)) → length'(proper'(X))
proper'(and'(X1, X2)) → and'(proper'(X1), proper'(X2))
proper'(isNat'(X)) → isNat'(proper'(X))
proper'(isNatList'(X)) → isNatList'(proper'(X))
proper'(isNatIList'(X)) → isNatIList'(proper'(X))
proper'(nil') → ok'(nil')
cons'(ok'(X1), ok'(X2)) → ok'(cons'(X1, X2))
U11'(ok'(X1), ok'(X2)) → ok'(U11'(X1, X2))
s'(ok'(X)) → ok'(s'(X))
length'(ok'(X)) → ok'(length'(X))
and'(ok'(X1), ok'(X2)) → ok'(and'(X1, X2))
isNat'(ok'(X)) → ok'(isNat'(X))
isNatList'(ok'(X)) → ok'(isNatList'(X))
isNatIList'(ok'(X)) → ok'(isNatIList'(X))
top'(mark'(X)) → top'(proper'(X))
top'(ok'(X)) → top'(active'(X))
Types:
active' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
zeros' :: zeros':0':mark':tt':nil':ok'
mark' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
cons' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
0' :: zeros':0':mark':tt':nil':ok'
U11' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
tt' :: zeros':0':mark':tt':nil':ok'
s' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
length' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
and' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
isNat' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
isNatList' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
isNatIList' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
nil' :: zeros':0':mark':tt':nil':ok'
proper' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
ok' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
top' :: zeros':0':mark':tt':nil':ok' → top'
_hole_zeros':0':mark':tt':nil':ok'1 :: zeros':0':mark':tt':nil':ok'
_hole_top'2 :: top'
_gen_zeros':0':mark':tt':nil':ok'3 :: Nat → zeros':0':mark':tt':nil':ok'
Heuristically decided to analyse the following defined symbols:
active', cons', s', length', isNatList', isNat', and', isNatIList', U11', proper', top'
They will be analysed ascendingly in the following order:
cons' < active'
s' < active'
length' < active'
isNatList' < active'
isNat' < active'
and' < active'
isNatIList' < active'
U11' < active'
active' < top'
cons' < proper'
s' < proper'
length' < proper'
isNatList' < proper'
isNat' < proper'
and' < proper'
isNatIList' < proper'
U11' < proper'
proper' < top'
Rules:
active'(zeros') → mark'(cons'(0', zeros'))
active'(U11'(tt', L)) → mark'(s'(length'(L)))
active'(and'(tt', X)) → mark'(X)
active'(isNat'(0')) → mark'(tt')
active'(isNat'(length'(V1))) → mark'(isNatList'(V1))
active'(isNat'(s'(V1))) → mark'(isNat'(V1))
active'(isNatIList'(V)) → mark'(isNatList'(V))
active'(isNatIList'(zeros')) → mark'(tt')
active'(isNatIList'(cons'(V1, V2))) → mark'(and'(isNat'(V1), isNatIList'(V2)))
active'(isNatList'(nil')) → mark'(tt')
active'(isNatList'(cons'(V1, V2))) → mark'(and'(isNat'(V1), isNatList'(V2)))
active'(length'(nil')) → mark'(0')
active'(length'(cons'(N, L))) → mark'(U11'(and'(isNatList'(L), isNat'(N)), L))
active'(cons'(X1, X2)) → cons'(active'(X1), X2)
active'(U11'(X1, X2)) → U11'(active'(X1), X2)
active'(s'(X)) → s'(active'(X))
active'(length'(X)) → length'(active'(X))
active'(and'(X1, X2)) → and'(active'(X1), X2)
cons'(mark'(X1), X2) → mark'(cons'(X1, X2))
U11'(mark'(X1), X2) → mark'(U11'(X1, X2))
s'(mark'(X)) → mark'(s'(X))
length'(mark'(X)) → mark'(length'(X))
and'(mark'(X1), X2) → mark'(and'(X1, X2))
proper'(zeros') → ok'(zeros')
proper'(cons'(X1, X2)) → cons'(proper'(X1), proper'(X2))
proper'(0') → ok'(0')
proper'(U11'(X1, X2)) → U11'(proper'(X1), proper'(X2))
proper'(tt') → ok'(tt')
proper'(s'(X)) → s'(proper'(X))
proper'(length'(X)) → length'(proper'(X))
proper'(and'(X1, X2)) → and'(proper'(X1), proper'(X2))
proper'(isNat'(X)) → isNat'(proper'(X))
proper'(isNatList'(X)) → isNatList'(proper'(X))
proper'(isNatIList'(X)) → isNatIList'(proper'(X))
proper'(nil') → ok'(nil')
cons'(ok'(X1), ok'(X2)) → ok'(cons'(X1, X2))
U11'(ok'(X1), ok'(X2)) → ok'(U11'(X1, X2))
s'(ok'(X)) → ok'(s'(X))
length'(ok'(X)) → ok'(length'(X))
and'(ok'(X1), ok'(X2)) → ok'(and'(X1, X2))
isNat'(ok'(X)) → ok'(isNat'(X))
isNatList'(ok'(X)) → ok'(isNatList'(X))
isNatIList'(ok'(X)) → ok'(isNatIList'(X))
top'(mark'(X)) → top'(proper'(X))
top'(ok'(X)) → top'(active'(X))
Types:
active' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
zeros' :: zeros':0':mark':tt':nil':ok'
mark' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
cons' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
0' :: zeros':0':mark':tt':nil':ok'
U11' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
tt' :: zeros':0':mark':tt':nil':ok'
s' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
length' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
and' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
isNat' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
isNatList' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
isNatIList' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
nil' :: zeros':0':mark':tt':nil':ok'
proper' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
ok' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
top' :: zeros':0':mark':tt':nil':ok' → top'
_hole_zeros':0':mark':tt':nil':ok'1 :: zeros':0':mark':tt':nil':ok'
_hole_top'2 :: top'
_gen_zeros':0':mark':tt':nil':ok'3 :: Nat → zeros':0':mark':tt':nil':ok'
Generator Equations:
_gen_zeros':0':mark':tt':nil':ok'3(0) ⇔ zeros'
_gen_zeros':0':mark':tt':nil':ok'3(+(x, 1)) ⇔ mark'(_gen_zeros':0':mark':tt':nil':ok'3(x))
The following defined symbols remain to be analysed:
cons', active', s', length', isNatList', isNat', and', isNatIList', U11', proper', top'
They will be analysed ascendingly in the following order:
cons' < active'
s' < active'
length' < active'
isNatList' < active'
isNat' < active'
and' < active'
isNatIList' < active'
U11' < active'
active' < top'
cons' < proper'
s' < proper'
length' < proper'
isNatList' < proper'
isNat' < proper'
and' < proper'
isNatIList' < proper'
U11' < proper'
proper' < top'
Proved the following rewrite lemma:
cons'(_gen_zeros':0':mark':tt':nil':ok'3(+(1, _n5)), _gen_zeros':0':mark':tt':nil':ok'3(b)) → _*4, rt ∈ Ω(n5)
Induction Base:
cons'(_gen_zeros':0':mark':tt':nil':ok'3(+(1, 0)), _gen_zeros':0':mark':tt':nil':ok'3(b))
Induction Step:
cons'(_gen_zeros':0':mark':tt':nil':ok'3(+(1, +(_$n6, 1))), _gen_zeros':0':mark':tt':nil':ok'3(_b610)) →RΩ(1)
mark'(cons'(_gen_zeros':0':mark':tt':nil':ok'3(+(1, _$n6)), _gen_zeros':0':mark':tt':nil':ok'3(_b610))) →IH
mark'(_*4)
We have rt ∈ Ω(n) and sz ∈ O(n). Thus, we have ircR ∈ Ω(n).
Rules:
active'(zeros') → mark'(cons'(0', zeros'))
active'(U11'(tt', L)) → mark'(s'(length'(L)))
active'(and'(tt', X)) → mark'(X)
active'(isNat'(0')) → mark'(tt')
active'(isNat'(length'(V1))) → mark'(isNatList'(V1))
active'(isNat'(s'(V1))) → mark'(isNat'(V1))
active'(isNatIList'(V)) → mark'(isNatList'(V))
active'(isNatIList'(zeros')) → mark'(tt')
active'(isNatIList'(cons'(V1, V2))) → mark'(and'(isNat'(V1), isNatIList'(V2)))
active'(isNatList'(nil')) → mark'(tt')
active'(isNatList'(cons'(V1, V2))) → mark'(and'(isNat'(V1), isNatList'(V2)))
active'(length'(nil')) → mark'(0')
active'(length'(cons'(N, L))) → mark'(U11'(and'(isNatList'(L), isNat'(N)), L))
active'(cons'(X1, X2)) → cons'(active'(X1), X2)
active'(U11'(X1, X2)) → U11'(active'(X1), X2)
active'(s'(X)) → s'(active'(X))
active'(length'(X)) → length'(active'(X))
active'(and'(X1, X2)) → and'(active'(X1), X2)
cons'(mark'(X1), X2) → mark'(cons'(X1, X2))
U11'(mark'(X1), X2) → mark'(U11'(X1, X2))
s'(mark'(X)) → mark'(s'(X))
length'(mark'(X)) → mark'(length'(X))
and'(mark'(X1), X2) → mark'(and'(X1, X2))
proper'(zeros') → ok'(zeros')
proper'(cons'(X1, X2)) → cons'(proper'(X1), proper'(X2))
proper'(0') → ok'(0')
proper'(U11'(X1, X2)) → U11'(proper'(X1), proper'(X2))
proper'(tt') → ok'(tt')
proper'(s'(X)) → s'(proper'(X))
proper'(length'(X)) → length'(proper'(X))
proper'(and'(X1, X2)) → and'(proper'(X1), proper'(X2))
proper'(isNat'(X)) → isNat'(proper'(X))
proper'(isNatList'(X)) → isNatList'(proper'(X))
proper'(isNatIList'(X)) → isNatIList'(proper'(X))
proper'(nil') → ok'(nil')
cons'(ok'(X1), ok'(X2)) → ok'(cons'(X1, X2))
U11'(ok'(X1), ok'(X2)) → ok'(U11'(X1, X2))
s'(ok'(X)) → ok'(s'(X))
length'(ok'(X)) → ok'(length'(X))
and'(ok'(X1), ok'(X2)) → ok'(and'(X1, X2))
isNat'(ok'(X)) → ok'(isNat'(X))
isNatList'(ok'(X)) → ok'(isNatList'(X))
isNatIList'(ok'(X)) → ok'(isNatIList'(X))
top'(mark'(X)) → top'(proper'(X))
top'(ok'(X)) → top'(active'(X))
Types:
active' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
zeros' :: zeros':0':mark':tt':nil':ok'
mark' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
cons' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
0' :: zeros':0':mark':tt':nil':ok'
U11' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
tt' :: zeros':0':mark':tt':nil':ok'
s' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
length' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
and' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
isNat' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
isNatList' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
isNatIList' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
nil' :: zeros':0':mark':tt':nil':ok'
proper' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
ok' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
top' :: zeros':0':mark':tt':nil':ok' → top'
_hole_zeros':0':mark':tt':nil':ok'1 :: zeros':0':mark':tt':nil':ok'
_hole_top'2 :: top'
_gen_zeros':0':mark':tt':nil':ok'3 :: Nat → zeros':0':mark':tt':nil':ok'
Lemmas:
cons'(_gen_zeros':0':mark':tt':nil':ok'3(+(1, _n5)), _gen_zeros':0':mark':tt':nil':ok'3(b)) → _*4, rt ∈ Ω(n5)
Generator Equations:
_gen_zeros':0':mark':tt':nil':ok'3(0) ⇔ zeros'
_gen_zeros':0':mark':tt':nil':ok'3(+(x, 1)) ⇔ mark'(_gen_zeros':0':mark':tt':nil':ok'3(x))
The following defined symbols remain to be analysed:
s', active', length', isNatList', isNat', and', isNatIList', U11', proper', top'
They will be analysed ascendingly in the following order:
s' < active'
length' < active'
isNatList' < active'
isNat' < active'
and' < active'
isNatIList' < active'
U11' < active'
active' < top'
s' < proper'
length' < proper'
isNatList' < proper'
isNat' < proper'
and' < proper'
isNatIList' < proper'
U11' < proper'
proper' < top'
Proved the following rewrite lemma:
s'(_gen_zeros':0':mark':tt':nil':ok'3(+(1, _n2228))) → _*4, rt ∈ Ω(n2228)
Induction Base:
s'(_gen_zeros':0':mark':tt':nil':ok'3(+(1, 0)))
Induction Step:
s'(_gen_zeros':0':mark':tt':nil':ok'3(+(1, +(_$n2229, 1)))) →RΩ(1)
mark'(s'(_gen_zeros':0':mark':tt':nil':ok'3(+(1, _$n2229)))) →IH
mark'(_*4)
We have rt ∈ Ω(n) and sz ∈ O(n). Thus, we have ircR ∈ Ω(n).
Rules:
active'(zeros') → mark'(cons'(0', zeros'))
active'(U11'(tt', L)) → mark'(s'(length'(L)))
active'(and'(tt', X)) → mark'(X)
active'(isNat'(0')) → mark'(tt')
active'(isNat'(length'(V1))) → mark'(isNatList'(V1))
active'(isNat'(s'(V1))) → mark'(isNat'(V1))
active'(isNatIList'(V)) → mark'(isNatList'(V))
active'(isNatIList'(zeros')) → mark'(tt')
active'(isNatIList'(cons'(V1, V2))) → mark'(and'(isNat'(V1), isNatIList'(V2)))
active'(isNatList'(nil')) → mark'(tt')
active'(isNatList'(cons'(V1, V2))) → mark'(and'(isNat'(V1), isNatList'(V2)))
active'(length'(nil')) → mark'(0')
active'(length'(cons'(N, L))) → mark'(U11'(and'(isNatList'(L), isNat'(N)), L))
active'(cons'(X1, X2)) → cons'(active'(X1), X2)
active'(U11'(X1, X2)) → U11'(active'(X1), X2)
active'(s'(X)) → s'(active'(X))
active'(length'(X)) → length'(active'(X))
active'(and'(X1, X2)) → and'(active'(X1), X2)
cons'(mark'(X1), X2) → mark'(cons'(X1, X2))
U11'(mark'(X1), X2) → mark'(U11'(X1, X2))
s'(mark'(X)) → mark'(s'(X))
length'(mark'(X)) → mark'(length'(X))
and'(mark'(X1), X2) → mark'(and'(X1, X2))
proper'(zeros') → ok'(zeros')
proper'(cons'(X1, X2)) → cons'(proper'(X1), proper'(X2))
proper'(0') → ok'(0')
proper'(U11'(X1, X2)) → U11'(proper'(X1), proper'(X2))
proper'(tt') → ok'(tt')
proper'(s'(X)) → s'(proper'(X))
proper'(length'(X)) → length'(proper'(X))
proper'(and'(X1, X2)) → and'(proper'(X1), proper'(X2))
proper'(isNat'(X)) → isNat'(proper'(X))
proper'(isNatList'(X)) → isNatList'(proper'(X))
proper'(isNatIList'(X)) → isNatIList'(proper'(X))
proper'(nil') → ok'(nil')
cons'(ok'(X1), ok'(X2)) → ok'(cons'(X1, X2))
U11'(ok'(X1), ok'(X2)) → ok'(U11'(X1, X2))
s'(ok'(X)) → ok'(s'(X))
length'(ok'(X)) → ok'(length'(X))
and'(ok'(X1), ok'(X2)) → ok'(and'(X1, X2))
isNat'(ok'(X)) → ok'(isNat'(X))
isNatList'(ok'(X)) → ok'(isNatList'(X))
isNatIList'(ok'(X)) → ok'(isNatIList'(X))
top'(mark'(X)) → top'(proper'(X))
top'(ok'(X)) → top'(active'(X))
Types:
active' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
zeros' :: zeros':0':mark':tt':nil':ok'
mark' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
cons' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
0' :: zeros':0':mark':tt':nil':ok'
U11' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
tt' :: zeros':0':mark':tt':nil':ok'
s' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
length' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
and' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
isNat' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
isNatList' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
isNatIList' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
nil' :: zeros':0':mark':tt':nil':ok'
proper' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
ok' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
top' :: zeros':0':mark':tt':nil':ok' → top'
_hole_zeros':0':mark':tt':nil':ok'1 :: zeros':0':mark':tt':nil':ok'
_hole_top'2 :: top'
_gen_zeros':0':mark':tt':nil':ok'3 :: Nat → zeros':0':mark':tt':nil':ok'
Lemmas:
cons'(_gen_zeros':0':mark':tt':nil':ok'3(+(1, _n5)), _gen_zeros':0':mark':tt':nil':ok'3(b)) → _*4, rt ∈ Ω(n5)
s'(_gen_zeros':0':mark':tt':nil':ok'3(+(1, _n2228))) → _*4, rt ∈ Ω(n2228)
Generator Equations:
_gen_zeros':0':mark':tt':nil':ok'3(0) ⇔ zeros'
_gen_zeros':0':mark':tt':nil':ok'3(+(x, 1)) ⇔ mark'(_gen_zeros':0':mark':tt':nil':ok'3(x))
The following defined symbols remain to be analysed:
length', active', isNatList', isNat', and', isNatIList', U11', proper', top'
They will be analysed ascendingly in the following order:
length' < active'
isNatList' < active'
isNat' < active'
and' < active'
isNatIList' < active'
U11' < active'
active' < top'
length' < proper'
isNatList' < proper'
isNat' < proper'
and' < proper'
isNatIList' < proper'
U11' < proper'
proper' < top'
Proved the following rewrite lemma:
length'(_gen_zeros':0':mark':tt':nil':ok'3(+(1, _n3762))) → _*4, rt ∈ Ω(n3762)
Induction Base:
length'(_gen_zeros':0':mark':tt':nil':ok'3(+(1, 0)))
Induction Step:
length'(_gen_zeros':0':mark':tt':nil':ok'3(+(1, +(_$n3763, 1)))) →RΩ(1)
mark'(length'(_gen_zeros':0':mark':tt':nil':ok'3(+(1, _$n3763)))) →IH
mark'(_*4)
We have rt ∈ Ω(n) and sz ∈ O(n). Thus, we have ircR ∈ Ω(n).
Rules:
active'(zeros') → mark'(cons'(0', zeros'))
active'(U11'(tt', L)) → mark'(s'(length'(L)))
active'(and'(tt', X)) → mark'(X)
active'(isNat'(0')) → mark'(tt')
active'(isNat'(length'(V1))) → mark'(isNatList'(V1))
active'(isNat'(s'(V1))) → mark'(isNat'(V1))
active'(isNatIList'(V)) → mark'(isNatList'(V))
active'(isNatIList'(zeros')) → mark'(tt')
active'(isNatIList'(cons'(V1, V2))) → mark'(and'(isNat'(V1), isNatIList'(V2)))
active'(isNatList'(nil')) → mark'(tt')
active'(isNatList'(cons'(V1, V2))) → mark'(and'(isNat'(V1), isNatList'(V2)))
active'(length'(nil')) → mark'(0')
active'(length'(cons'(N, L))) → mark'(U11'(and'(isNatList'(L), isNat'(N)), L))
active'(cons'(X1, X2)) → cons'(active'(X1), X2)
active'(U11'(X1, X2)) → U11'(active'(X1), X2)
active'(s'(X)) → s'(active'(X))
active'(length'(X)) → length'(active'(X))
active'(and'(X1, X2)) → and'(active'(X1), X2)
cons'(mark'(X1), X2) → mark'(cons'(X1, X2))
U11'(mark'(X1), X2) → mark'(U11'(X1, X2))
s'(mark'(X)) → mark'(s'(X))
length'(mark'(X)) → mark'(length'(X))
and'(mark'(X1), X2) → mark'(and'(X1, X2))
proper'(zeros') → ok'(zeros')
proper'(cons'(X1, X2)) → cons'(proper'(X1), proper'(X2))
proper'(0') → ok'(0')
proper'(U11'(X1, X2)) → U11'(proper'(X1), proper'(X2))
proper'(tt') → ok'(tt')
proper'(s'(X)) → s'(proper'(X))
proper'(length'(X)) → length'(proper'(X))
proper'(and'(X1, X2)) → and'(proper'(X1), proper'(X2))
proper'(isNat'(X)) → isNat'(proper'(X))
proper'(isNatList'(X)) → isNatList'(proper'(X))
proper'(isNatIList'(X)) → isNatIList'(proper'(X))
proper'(nil') → ok'(nil')
cons'(ok'(X1), ok'(X2)) → ok'(cons'(X1, X2))
U11'(ok'(X1), ok'(X2)) → ok'(U11'(X1, X2))
s'(ok'(X)) → ok'(s'(X))
length'(ok'(X)) → ok'(length'(X))
and'(ok'(X1), ok'(X2)) → ok'(and'(X1, X2))
isNat'(ok'(X)) → ok'(isNat'(X))
isNatList'(ok'(X)) → ok'(isNatList'(X))
isNatIList'(ok'(X)) → ok'(isNatIList'(X))
top'(mark'(X)) → top'(proper'(X))
top'(ok'(X)) → top'(active'(X))
Types:
active' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
zeros' :: zeros':0':mark':tt':nil':ok'
mark' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
cons' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
0' :: zeros':0':mark':tt':nil':ok'
U11' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
tt' :: zeros':0':mark':tt':nil':ok'
s' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
length' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
and' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
isNat' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
isNatList' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
isNatIList' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
nil' :: zeros':0':mark':tt':nil':ok'
proper' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
ok' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
top' :: zeros':0':mark':tt':nil':ok' → top'
_hole_zeros':0':mark':tt':nil':ok'1 :: zeros':0':mark':tt':nil':ok'
_hole_top'2 :: top'
_gen_zeros':0':mark':tt':nil':ok'3 :: Nat → zeros':0':mark':tt':nil':ok'
Lemmas:
cons'(_gen_zeros':0':mark':tt':nil':ok'3(+(1, _n5)), _gen_zeros':0':mark':tt':nil':ok'3(b)) → _*4, rt ∈ Ω(n5)
s'(_gen_zeros':0':mark':tt':nil':ok'3(+(1, _n2228))) → _*4, rt ∈ Ω(n2228)
length'(_gen_zeros':0':mark':tt':nil':ok'3(+(1, _n3762))) → _*4, rt ∈ Ω(n3762)
Generator Equations:
_gen_zeros':0':mark':tt':nil':ok'3(0) ⇔ zeros'
_gen_zeros':0':mark':tt':nil':ok'3(+(x, 1)) ⇔ mark'(_gen_zeros':0':mark':tt':nil':ok'3(x))
The following defined symbols remain to be analysed:
isNatList', active', isNat', and', isNatIList', U11', proper', top'
They will be analysed ascendingly in the following order:
isNatList' < active'
isNat' < active'
and' < active'
isNatIList' < active'
U11' < active'
active' < top'
isNatList' < proper'
isNat' < proper'
and' < proper'
isNatIList' < proper'
U11' < proper'
proper' < top'
Could not prove a rewrite lemma for the defined symbol isNatList'.
Rules:
active'(zeros') → mark'(cons'(0', zeros'))
active'(U11'(tt', L)) → mark'(s'(length'(L)))
active'(and'(tt', X)) → mark'(X)
active'(isNat'(0')) → mark'(tt')
active'(isNat'(length'(V1))) → mark'(isNatList'(V1))
active'(isNat'(s'(V1))) → mark'(isNat'(V1))
active'(isNatIList'(V)) → mark'(isNatList'(V))
active'(isNatIList'(zeros')) → mark'(tt')
active'(isNatIList'(cons'(V1, V2))) → mark'(and'(isNat'(V1), isNatIList'(V2)))
active'(isNatList'(nil')) → mark'(tt')
active'(isNatList'(cons'(V1, V2))) → mark'(and'(isNat'(V1), isNatList'(V2)))
active'(length'(nil')) → mark'(0')
active'(length'(cons'(N, L))) → mark'(U11'(and'(isNatList'(L), isNat'(N)), L))
active'(cons'(X1, X2)) → cons'(active'(X1), X2)
active'(U11'(X1, X2)) → U11'(active'(X1), X2)
active'(s'(X)) → s'(active'(X))
active'(length'(X)) → length'(active'(X))
active'(and'(X1, X2)) → and'(active'(X1), X2)
cons'(mark'(X1), X2) → mark'(cons'(X1, X2))
U11'(mark'(X1), X2) → mark'(U11'(X1, X2))
s'(mark'(X)) → mark'(s'(X))
length'(mark'(X)) → mark'(length'(X))
and'(mark'(X1), X2) → mark'(and'(X1, X2))
proper'(zeros') → ok'(zeros')
proper'(cons'(X1, X2)) → cons'(proper'(X1), proper'(X2))
proper'(0') → ok'(0')
proper'(U11'(X1, X2)) → U11'(proper'(X1), proper'(X2))
proper'(tt') → ok'(tt')
proper'(s'(X)) → s'(proper'(X))
proper'(length'(X)) → length'(proper'(X))
proper'(and'(X1, X2)) → and'(proper'(X1), proper'(X2))
proper'(isNat'(X)) → isNat'(proper'(X))
proper'(isNatList'(X)) → isNatList'(proper'(X))
proper'(isNatIList'(X)) → isNatIList'(proper'(X))
proper'(nil') → ok'(nil')
cons'(ok'(X1), ok'(X2)) → ok'(cons'(X1, X2))
U11'(ok'(X1), ok'(X2)) → ok'(U11'(X1, X2))
s'(ok'(X)) → ok'(s'(X))
length'(ok'(X)) → ok'(length'(X))
and'(ok'(X1), ok'(X2)) → ok'(and'(X1, X2))
isNat'(ok'(X)) → ok'(isNat'(X))
isNatList'(ok'(X)) → ok'(isNatList'(X))
isNatIList'(ok'(X)) → ok'(isNatIList'(X))
top'(mark'(X)) → top'(proper'(X))
top'(ok'(X)) → top'(active'(X))
Types:
active' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
zeros' :: zeros':0':mark':tt':nil':ok'
mark' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
cons' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
0' :: zeros':0':mark':tt':nil':ok'
U11' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
tt' :: zeros':0':mark':tt':nil':ok'
s' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
length' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
and' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
isNat' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
isNatList' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
isNatIList' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
nil' :: zeros':0':mark':tt':nil':ok'
proper' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
ok' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
top' :: zeros':0':mark':tt':nil':ok' → top'
_hole_zeros':0':mark':tt':nil':ok'1 :: zeros':0':mark':tt':nil':ok'
_hole_top'2 :: top'
_gen_zeros':0':mark':tt':nil':ok'3 :: Nat → zeros':0':mark':tt':nil':ok'
Lemmas:
cons'(_gen_zeros':0':mark':tt':nil':ok'3(+(1, _n5)), _gen_zeros':0':mark':tt':nil':ok'3(b)) → _*4, rt ∈ Ω(n5)
s'(_gen_zeros':0':mark':tt':nil':ok'3(+(1, _n2228))) → _*4, rt ∈ Ω(n2228)
length'(_gen_zeros':0':mark':tt':nil':ok'3(+(1, _n3762))) → _*4, rt ∈ Ω(n3762)
Generator Equations:
_gen_zeros':0':mark':tt':nil':ok'3(0) ⇔ zeros'
_gen_zeros':0':mark':tt':nil':ok'3(+(x, 1)) ⇔ mark'(_gen_zeros':0':mark':tt':nil':ok'3(x))
The following defined symbols remain to be analysed:
isNat', active', and', isNatIList', U11', proper', top'
They will be analysed ascendingly in the following order:
isNat' < active'
and' < active'
isNatIList' < active'
U11' < active'
active' < top'
isNat' < proper'
and' < proper'
isNatIList' < proper'
U11' < proper'
proper' < top'
Could not prove a rewrite lemma for the defined symbol isNat'.
Rules:
active'(zeros') → mark'(cons'(0', zeros'))
active'(U11'(tt', L)) → mark'(s'(length'(L)))
active'(and'(tt', X)) → mark'(X)
active'(isNat'(0')) → mark'(tt')
active'(isNat'(length'(V1))) → mark'(isNatList'(V1))
active'(isNat'(s'(V1))) → mark'(isNat'(V1))
active'(isNatIList'(V)) → mark'(isNatList'(V))
active'(isNatIList'(zeros')) → mark'(tt')
active'(isNatIList'(cons'(V1, V2))) → mark'(and'(isNat'(V1), isNatIList'(V2)))
active'(isNatList'(nil')) → mark'(tt')
active'(isNatList'(cons'(V1, V2))) → mark'(and'(isNat'(V1), isNatList'(V2)))
active'(length'(nil')) → mark'(0')
active'(length'(cons'(N, L))) → mark'(U11'(and'(isNatList'(L), isNat'(N)), L))
active'(cons'(X1, X2)) → cons'(active'(X1), X2)
active'(U11'(X1, X2)) → U11'(active'(X1), X2)
active'(s'(X)) → s'(active'(X))
active'(length'(X)) → length'(active'(X))
active'(and'(X1, X2)) → and'(active'(X1), X2)
cons'(mark'(X1), X2) → mark'(cons'(X1, X2))
U11'(mark'(X1), X2) → mark'(U11'(X1, X2))
s'(mark'(X)) → mark'(s'(X))
length'(mark'(X)) → mark'(length'(X))
and'(mark'(X1), X2) → mark'(and'(X1, X2))
proper'(zeros') → ok'(zeros')
proper'(cons'(X1, X2)) → cons'(proper'(X1), proper'(X2))
proper'(0') → ok'(0')
proper'(U11'(X1, X2)) → U11'(proper'(X1), proper'(X2))
proper'(tt') → ok'(tt')
proper'(s'(X)) → s'(proper'(X))
proper'(length'(X)) → length'(proper'(X))
proper'(and'(X1, X2)) → and'(proper'(X1), proper'(X2))
proper'(isNat'(X)) → isNat'(proper'(X))
proper'(isNatList'(X)) → isNatList'(proper'(X))
proper'(isNatIList'(X)) → isNatIList'(proper'(X))
proper'(nil') → ok'(nil')
cons'(ok'(X1), ok'(X2)) → ok'(cons'(X1, X2))
U11'(ok'(X1), ok'(X2)) → ok'(U11'(X1, X2))
s'(ok'(X)) → ok'(s'(X))
length'(ok'(X)) → ok'(length'(X))
and'(ok'(X1), ok'(X2)) → ok'(and'(X1, X2))
isNat'(ok'(X)) → ok'(isNat'(X))
isNatList'(ok'(X)) → ok'(isNatList'(X))
isNatIList'(ok'(X)) → ok'(isNatIList'(X))
top'(mark'(X)) → top'(proper'(X))
top'(ok'(X)) → top'(active'(X))
Types:
active' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
zeros' :: zeros':0':mark':tt':nil':ok'
mark' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
cons' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
0' :: zeros':0':mark':tt':nil':ok'
U11' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
tt' :: zeros':0':mark':tt':nil':ok'
s' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
length' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
and' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
isNat' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
isNatList' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
isNatIList' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
nil' :: zeros':0':mark':tt':nil':ok'
proper' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
ok' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
top' :: zeros':0':mark':tt':nil':ok' → top'
_hole_zeros':0':mark':tt':nil':ok'1 :: zeros':0':mark':tt':nil':ok'
_hole_top'2 :: top'
_gen_zeros':0':mark':tt':nil':ok'3 :: Nat → zeros':0':mark':tt':nil':ok'
Lemmas:
cons'(_gen_zeros':0':mark':tt':nil':ok'3(+(1, _n5)), _gen_zeros':0':mark':tt':nil':ok'3(b)) → _*4, rt ∈ Ω(n5)
s'(_gen_zeros':0':mark':tt':nil':ok'3(+(1, _n2228))) → _*4, rt ∈ Ω(n2228)
length'(_gen_zeros':0':mark':tt':nil':ok'3(+(1, _n3762))) → _*4, rt ∈ Ω(n3762)
Generator Equations:
_gen_zeros':0':mark':tt':nil':ok'3(0) ⇔ zeros'
_gen_zeros':0':mark':tt':nil':ok'3(+(x, 1)) ⇔ mark'(_gen_zeros':0':mark':tt':nil':ok'3(x))
The following defined symbols remain to be analysed:
and', active', isNatIList', U11', proper', top'
They will be analysed ascendingly in the following order:
and' < active'
isNatIList' < active'
U11' < active'
active' < top'
and' < proper'
isNatIList' < proper'
U11' < proper'
proper' < top'
Proved the following rewrite lemma:
and'(_gen_zeros':0':mark':tt':nil':ok'3(+(1, _n5476)), _gen_zeros':0':mark':tt':nil':ok'3(b)) → _*4, rt ∈ Ω(n5476)
Induction Base:
and'(_gen_zeros':0':mark':tt':nil':ok'3(+(1, 0)), _gen_zeros':0':mark':tt':nil':ok'3(b))
Induction Step:
and'(_gen_zeros':0':mark':tt':nil':ok'3(+(1, +(_$n5477, 1))), _gen_zeros':0':mark':tt':nil':ok'3(_b6837)) →RΩ(1)
mark'(and'(_gen_zeros':0':mark':tt':nil':ok'3(+(1, _$n5477)), _gen_zeros':0':mark':tt':nil':ok'3(_b6837))) →IH
mark'(_*4)
We have rt ∈ Ω(n) and sz ∈ O(n). Thus, we have ircR ∈ Ω(n).
Rules:
active'(zeros') → mark'(cons'(0', zeros'))
active'(U11'(tt', L)) → mark'(s'(length'(L)))
active'(and'(tt', X)) → mark'(X)
active'(isNat'(0')) → mark'(tt')
active'(isNat'(length'(V1))) → mark'(isNatList'(V1))
active'(isNat'(s'(V1))) → mark'(isNat'(V1))
active'(isNatIList'(V)) → mark'(isNatList'(V))
active'(isNatIList'(zeros')) → mark'(tt')
active'(isNatIList'(cons'(V1, V2))) → mark'(and'(isNat'(V1), isNatIList'(V2)))
active'(isNatList'(nil')) → mark'(tt')
active'(isNatList'(cons'(V1, V2))) → mark'(and'(isNat'(V1), isNatList'(V2)))
active'(length'(nil')) → mark'(0')
active'(length'(cons'(N, L))) → mark'(U11'(and'(isNatList'(L), isNat'(N)), L))
active'(cons'(X1, X2)) → cons'(active'(X1), X2)
active'(U11'(X1, X2)) → U11'(active'(X1), X2)
active'(s'(X)) → s'(active'(X))
active'(length'(X)) → length'(active'(X))
active'(and'(X1, X2)) → and'(active'(X1), X2)
cons'(mark'(X1), X2) → mark'(cons'(X1, X2))
U11'(mark'(X1), X2) → mark'(U11'(X1, X2))
s'(mark'(X)) → mark'(s'(X))
length'(mark'(X)) → mark'(length'(X))
and'(mark'(X1), X2) → mark'(and'(X1, X2))
proper'(zeros') → ok'(zeros')
proper'(cons'(X1, X2)) → cons'(proper'(X1), proper'(X2))
proper'(0') → ok'(0')
proper'(U11'(X1, X2)) → U11'(proper'(X1), proper'(X2))
proper'(tt') → ok'(tt')
proper'(s'(X)) → s'(proper'(X))
proper'(length'(X)) → length'(proper'(X))
proper'(and'(X1, X2)) → and'(proper'(X1), proper'(X2))
proper'(isNat'(X)) → isNat'(proper'(X))
proper'(isNatList'(X)) → isNatList'(proper'(X))
proper'(isNatIList'(X)) → isNatIList'(proper'(X))
proper'(nil') → ok'(nil')
cons'(ok'(X1), ok'(X2)) → ok'(cons'(X1, X2))
U11'(ok'(X1), ok'(X2)) → ok'(U11'(X1, X2))
s'(ok'(X)) → ok'(s'(X))
length'(ok'(X)) → ok'(length'(X))
and'(ok'(X1), ok'(X2)) → ok'(and'(X1, X2))
isNat'(ok'(X)) → ok'(isNat'(X))
isNatList'(ok'(X)) → ok'(isNatList'(X))
isNatIList'(ok'(X)) → ok'(isNatIList'(X))
top'(mark'(X)) → top'(proper'(X))
top'(ok'(X)) → top'(active'(X))
Types:
active' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
zeros' :: zeros':0':mark':tt':nil':ok'
mark' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
cons' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
0' :: zeros':0':mark':tt':nil':ok'
U11' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
tt' :: zeros':0':mark':tt':nil':ok'
s' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
length' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
and' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
isNat' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
isNatList' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
isNatIList' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
nil' :: zeros':0':mark':tt':nil':ok'
proper' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
ok' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
top' :: zeros':0':mark':tt':nil':ok' → top'
_hole_zeros':0':mark':tt':nil':ok'1 :: zeros':0':mark':tt':nil':ok'
_hole_top'2 :: top'
_gen_zeros':0':mark':tt':nil':ok'3 :: Nat → zeros':0':mark':tt':nil':ok'
Lemmas:
cons'(_gen_zeros':0':mark':tt':nil':ok'3(+(1, _n5)), _gen_zeros':0':mark':tt':nil':ok'3(b)) → _*4, rt ∈ Ω(n5)
s'(_gen_zeros':0':mark':tt':nil':ok'3(+(1, _n2228))) → _*4, rt ∈ Ω(n2228)
length'(_gen_zeros':0':mark':tt':nil':ok'3(+(1, _n3762))) → _*4, rt ∈ Ω(n3762)
and'(_gen_zeros':0':mark':tt':nil':ok'3(+(1, _n5476)), _gen_zeros':0':mark':tt':nil':ok'3(b)) → _*4, rt ∈ Ω(n5476)
Generator Equations:
_gen_zeros':0':mark':tt':nil':ok'3(0) ⇔ zeros'
_gen_zeros':0':mark':tt':nil':ok'3(+(x, 1)) ⇔ mark'(_gen_zeros':0':mark':tt':nil':ok'3(x))
The following defined symbols remain to be analysed:
isNatIList', active', U11', proper', top'
They will be analysed ascendingly in the following order:
isNatIList' < active'
U11' < active'
active' < top'
isNatIList' < proper'
U11' < proper'
proper' < top'
Could not prove a rewrite lemma for the defined symbol isNatIList'.
Rules:
active'(zeros') → mark'(cons'(0', zeros'))
active'(U11'(tt', L)) → mark'(s'(length'(L)))
active'(and'(tt', X)) → mark'(X)
active'(isNat'(0')) → mark'(tt')
active'(isNat'(length'(V1))) → mark'(isNatList'(V1))
active'(isNat'(s'(V1))) → mark'(isNat'(V1))
active'(isNatIList'(V)) → mark'(isNatList'(V))
active'(isNatIList'(zeros')) → mark'(tt')
active'(isNatIList'(cons'(V1, V2))) → mark'(and'(isNat'(V1), isNatIList'(V2)))
active'(isNatList'(nil')) → mark'(tt')
active'(isNatList'(cons'(V1, V2))) → mark'(and'(isNat'(V1), isNatList'(V2)))
active'(length'(nil')) → mark'(0')
active'(length'(cons'(N, L))) → mark'(U11'(and'(isNatList'(L), isNat'(N)), L))
active'(cons'(X1, X2)) → cons'(active'(X1), X2)
active'(U11'(X1, X2)) → U11'(active'(X1), X2)
active'(s'(X)) → s'(active'(X))
active'(length'(X)) → length'(active'(X))
active'(and'(X1, X2)) → and'(active'(X1), X2)
cons'(mark'(X1), X2) → mark'(cons'(X1, X2))
U11'(mark'(X1), X2) → mark'(U11'(X1, X2))
s'(mark'(X)) → mark'(s'(X))
length'(mark'(X)) → mark'(length'(X))
and'(mark'(X1), X2) → mark'(and'(X1, X2))
proper'(zeros') → ok'(zeros')
proper'(cons'(X1, X2)) → cons'(proper'(X1), proper'(X2))
proper'(0') → ok'(0')
proper'(U11'(X1, X2)) → U11'(proper'(X1), proper'(X2))
proper'(tt') → ok'(tt')
proper'(s'(X)) → s'(proper'(X))
proper'(length'(X)) → length'(proper'(X))
proper'(and'(X1, X2)) → and'(proper'(X1), proper'(X2))
proper'(isNat'(X)) → isNat'(proper'(X))
proper'(isNatList'(X)) → isNatList'(proper'(X))
proper'(isNatIList'(X)) → isNatIList'(proper'(X))
proper'(nil') → ok'(nil')
cons'(ok'(X1), ok'(X2)) → ok'(cons'(X1, X2))
U11'(ok'(X1), ok'(X2)) → ok'(U11'(X1, X2))
s'(ok'(X)) → ok'(s'(X))
length'(ok'(X)) → ok'(length'(X))
and'(ok'(X1), ok'(X2)) → ok'(and'(X1, X2))
isNat'(ok'(X)) → ok'(isNat'(X))
isNatList'(ok'(X)) → ok'(isNatList'(X))
isNatIList'(ok'(X)) → ok'(isNatIList'(X))
top'(mark'(X)) → top'(proper'(X))
top'(ok'(X)) → top'(active'(X))
Types:
active' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
zeros' :: zeros':0':mark':tt':nil':ok'
mark' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
cons' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
0' :: zeros':0':mark':tt':nil':ok'
U11' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
tt' :: zeros':0':mark':tt':nil':ok'
s' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
length' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
and' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
isNat' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
isNatList' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
isNatIList' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
nil' :: zeros':0':mark':tt':nil':ok'
proper' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
ok' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
top' :: zeros':0':mark':tt':nil':ok' → top'
_hole_zeros':0':mark':tt':nil':ok'1 :: zeros':0':mark':tt':nil':ok'
_hole_top'2 :: top'
_gen_zeros':0':mark':tt':nil':ok'3 :: Nat → zeros':0':mark':tt':nil':ok'
Lemmas:
cons'(_gen_zeros':0':mark':tt':nil':ok'3(+(1, _n5)), _gen_zeros':0':mark':tt':nil':ok'3(b)) → _*4, rt ∈ Ω(n5)
s'(_gen_zeros':0':mark':tt':nil':ok'3(+(1, _n2228))) → _*4, rt ∈ Ω(n2228)
length'(_gen_zeros':0':mark':tt':nil':ok'3(+(1, _n3762))) → _*4, rt ∈ Ω(n3762)
and'(_gen_zeros':0':mark':tt':nil':ok'3(+(1, _n5476)), _gen_zeros':0':mark':tt':nil':ok'3(b)) → _*4, rt ∈ Ω(n5476)
Generator Equations:
_gen_zeros':0':mark':tt':nil':ok'3(0) ⇔ zeros'
_gen_zeros':0':mark':tt':nil':ok'3(+(x, 1)) ⇔ mark'(_gen_zeros':0':mark':tt':nil':ok'3(x))
The following defined symbols remain to be analysed:
U11', active', proper', top'
They will be analysed ascendingly in the following order:
U11' < active'
active' < top'
U11' < proper'
proper' < top'
Proved the following rewrite lemma:
U11'(_gen_zeros':0':mark':tt':nil':ok'3(+(1, _n8587)), _gen_zeros':0':mark':tt':nil':ok'3(b)) → _*4, rt ∈ Ω(n8587)
Induction Base:
U11'(_gen_zeros':0':mark':tt':nil':ok'3(+(1, 0)), _gen_zeros':0':mark':tt':nil':ok'3(b))
Induction Step:
U11'(_gen_zeros':0':mark':tt':nil':ok'3(+(1, +(_$n8588, 1))), _gen_zeros':0':mark':tt':nil':ok'3(_b10272)) →RΩ(1)
mark'(U11'(_gen_zeros':0':mark':tt':nil':ok'3(+(1, _$n8588)), _gen_zeros':0':mark':tt':nil':ok'3(_b10272))) →IH
mark'(_*4)
We have rt ∈ Ω(n) and sz ∈ O(n). Thus, we have ircR ∈ Ω(n).
Rules:
active'(zeros') → mark'(cons'(0', zeros'))
active'(U11'(tt', L)) → mark'(s'(length'(L)))
active'(and'(tt', X)) → mark'(X)
active'(isNat'(0')) → mark'(tt')
active'(isNat'(length'(V1))) → mark'(isNatList'(V1))
active'(isNat'(s'(V1))) → mark'(isNat'(V1))
active'(isNatIList'(V)) → mark'(isNatList'(V))
active'(isNatIList'(zeros')) → mark'(tt')
active'(isNatIList'(cons'(V1, V2))) → mark'(and'(isNat'(V1), isNatIList'(V2)))
active'(isNatList'(nil')) → mark'(tt')
active'(isNatList'(cons'(V1, V2))) → mark'(and'(isNat'(V1), isNatList'(V2)))
active'(length'(nil')) → mark'(0')
active'(length'(cons'(N, L))) → mark'(U11'(and'(isNatList'(L), isNat'(N)), L))
active'(cons'(X1, X2)) → cons'(active'(X1), X2)
active'(U11'(X1, X2)) → U11'(active'(X1), X2)
active'(s'(X)) → s'(active'(X))
active'(length'(X)) → length'(active'(X))
active'(and'(X1, X2)) → and'(active'(X1), X2)
cons'(mark'(X1), X2) → mark'(cons'(X1, X2))
U11'(mark'(X1), X2) → mark'(U11'(X1, X2))
s'(mark'(X)) → mark'(s'(X))
length'(mark'(X)) → mark'(length'(X))
and'(mark'(X1), X2) → mark'(and'(X1, X2))
proper'(zeros') → ok'(zeros')
proper'(cons'(X1, X2)) → cons'(proper'(X1), proper'(X2))
proper'(0') → ok'(0')
proper'(U11'(X1, X2)) → U11'(proper'(X1), proper'(X2))
proper'(tt') → ok'(tt')
proper'(s'(X)) → s'(proper'(X))
proper'(length'(X)) → length'(proper'(X))
proper'(and'(X1, X2)) → and'(proper'(X1), proper'(X2))
proper'(isNat'(X)) → isNat'(proper'(X))
proper'(isNatList'(X)) → isNatList'(proper'(X))
proper'(isNatIList'(X)) → isNatIList'(proper'(X))
proper'(nil') → ok'(nil')
cons'(ok'(X1), ok'(X2)) → ok'(cons'(X1, X2))
U11'(ok'(X1), ok'(X2)) → ok'(U11'(X1, X2))
s'(ok'(X)) → ok'(s'(X))
length'(ok'(X)) → ok'(length'(X))
and'(ok'(X1), ok'(X2)) → ok'(and'(X1, X2))
isNat'(ok'(X)) → ok'(isNat'(X))
isNatList'(ok'(X)) → ok'(isNatList'(X))
isNatIList'(ok'(X)) → ok'(isNatIList'(X))
top'(mark'(X)) → top'(proper'(X))
top'(ok'(X)) → top'(active'(X))
Types:
active' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
zeros' :: zeros':0':mark':tt':nil':ok'
mark' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
cons' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
0' :: zeros':0':mark':tt':nil':ok'
U11' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
tt' :: zeros':0':mark':tt':nil':ok'
s' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
length' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
and' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
isNat' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
isNatList' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
isNatIList' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
nil' :: zeros':0':mark':tt':nil':ok'
proper' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
ok' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
top' :: zeros':0':mark':tt':nil':ok' → top'
_hole_zeros':0':mark':tt':nil':ok'1 :: zeros':0':mark':tt':nil':ok'
_hole_top'2 :: top'
_gen_zeros':0':mark':tt':nil':ok'3 :: Nat → zeros':0':mark':tt':nil':ok'
Lemmas:
cons'(_gen_zeros':0':mark':tt':nil':ok'3(+(1, _n5)), _gen_zeros':0':mark':tt':nil':ok'3(b)) → _*4, rt ∈ Ω(n5)
s'(_gen_zeros':0':mark':tt':nil':ok'3(+(1, _n2228))) → _*4, rt ∈ Ω(n2228)
length'(_gen_zeros':0':mark':tt':nil':ok'3(+(1, _n3762))) → _*4, rt ∈ Ω(n3762)
and'(_gen_zeros':0':mark':tt':nil':ok'3(+(1, _n5476)), _gen_zeros':0':mark':tt':nil':ok'3(b)) → _*4, rt ∈ Ω(n5476)
U11'(_gen_zeros':0':mark':tt':nil':ok'3(+(1, _n8587)), _gen_zeros':0':mark':tt':nil':ok'3(b)) → _*4, rt ∈ Ω(n8587)
Generator Equations:
_gen_zeros':0':mark':tt':nil':ok'3(0) ⇔ zeros'
_gen_zeros':0':mark':tt':nil':ok'3(+(x, 1)) ⇔ mark'(_gen_zeros':0':mark':tt':nil':ok'3(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'
Could not prove a rewrite lemma for the defined symbol active'.
Rules:
active'(zeros') → mark'(cons'(0', zeros'))
active'(U11'(tt', L)) → mark'(s'(length'(L)))
active'(and'(tt', X)) → mark'(X)
active'(isNat'(0')) → mark'(tt')
active'(isNat'(length'(V1))) → mark'(isNatList'(V1))
active'(isNat'(s'(V1))) → mark'(isNat'(V1))
active'(isNatIList'(V)) → mark'(isNatList'(V))
active'(isNatIList'(zeros')) → mark'(tt')
active'(isNatIList'(cons'(V1, V2))) → mark'(and'(isNat'(V1), isNatIList'(V2)))
active'(isNatList'(nil')) → mark'(tt')
active'(isNatList'(cons'(V1, V2))) → mark'(and'(isNat'(V1), isNatList'(V2)))
active'(length'(nil')) → mark'(0')
active'(length'(cons'(N, L))) → mark'(U11'(and'(isNatList'(L), isNat'(N)), L))
active'(cons'(X1, X2)) → cons'(active'(X1), X2)
active'(U11'(X1, X2)) → U11'(active'(X1), X2)
active'(s'(X)) → s'(active'(X))
active'(length'(X)) → length'(active'(X))
active'(and'(X1, X2)) → and'(active'(X1), X2)
cons'(mark'(X1), X2) → mark'(cons'(X1, X2))
U11'(mark'(X1), X2) → mark'(U11'(X1, X2))
s'(mark'(X)) → mark'(s'(X))
length'(mark'(X)) → mark'(length'(X))
and'(mark'(X1), X2) → mark'(and'(X1, X2))
proper'(zeros') → ok'(zeros')
proper'(cons'(X1, X2)) → cons'(proper'(X1), proper'(X2))
proper'(0') → ok'(0')
proper'(U11'(X1, X2)) → U11'(proper'(X1), proper'(X2))
proper'(tt') → ok'(tt')
proper'(s'(X)) → s'(proper'(X))
proper'(length'(X)) → length'(proper'(X))
proper'(and'(X1, X2)) → and'(proper'(X1), proper'(X2))
proper'(isNat'(X)) → isNat'(proper'(X))
proper'(isNatList'(X)) → isNatList'(proper'(X))
proper'(isNatIList'(X)) → isNatIList'(proper'(X))
proper'(nil') → ok'(nil')
cons'(ok'(X1), ok'(X2)) → ok'(cons'(X1, X2))
U11'(ok'(X1), ok'(X2)) → ok'(U11'(X1, X2))
s'(ok'(X)) → ok'(s'(X))
length'(ok'(X)) → ok'(length'(X))
and'(ok'(X1), ok'(X2)) → ok'(and'(X1, X2))
isNat'(ok'(X)) → ok'(isNat'(X))
isNatList'(ok'(X)) → ok'(isNatList'(X))
isNatIList'(ok'(X)) → ok'(isNatIList'(X))
top'(mark'(X)) → top'(proper'(X))
top'(ok'(X)) → top'(active'(X))
Types:
active' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
zeros' :: zeros':0':mark':tt':nil':ok'
mark' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
cons' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
0' :: zeros':0':mark':tt':nil':ok'
U11' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
tt' :: zeros':0':mark':tt':nil':ok'
s' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
length' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
and' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
isNat' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
isNatList' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
isNatIList' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
nil' :: zeros':0':mark':tt':nil':ok'
proper' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
ok' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
top' :: zeros':0':mark':tt':nil':ok' → top'
_hole_zeros':0':mark':tt':nil':ok'1 :: zeros':0':mark':tt':nil':ok'
_hole_top'2 :: top'
_gen_zeros':0':mark':tt':nil':ok'3 :: Nat → zeros':0':mark':tt':nil':ok'
Lemmas:
cons'(_gen_zeros':0':mark':tt':nil':ok'3(+(1, _n5)), _gen_zeros':0':mark':tt':nil':ok'3(b)) → _*4, rt ∈ Ω(n5)
s'(_gen_zeros':0':mark':tt':nil':ok'3(+(1, _n2228))) → _*4, rt ∈ Ω(n2228)
length'(_gen_zeros':0':mark':tt':nil':ok'3(+(1, _n3762))) → _*4, rt ∈ Ω(n3762)
and'(_gen_zeros':0':mark':tt':nil':ok'3(+(1, _n5476)), _gen_zeros':0':mark':tt':nil':ok'3(b)) → _*4, rt ∈ Ω(n5476)
U11'(_gen_zeros':0':mark':tt':nil':ok'3(+(1, _n8587)), _gen_zeros':0':mark':tt':nil':ok'3(b)) → _*4, rt ∈ Ω(n8587)
Generator Equations:
_gen_zeros':0':mark':tt':nil':ok'3(0) ⇔ zeros'
_gen_zeros':0':mark':tt':nil':ok'3(+(x, 1)) ⇔ mark'(_gen_zeros':0':mark':tt':nil':ok'3(x))
The following defined symbols remain to be analysed:
proper', top'
They will be analysed ascendingly in the following order:
proper' < top'
Could not prove a rewrite lemma for the defined symbol proper'.
Rules:
active'(zeros') → mark'(cons'(0', zeros'))
active'(U11'(tt', L)) → mark'(s'(length'(L)))
active'(and'(tt', X)) → mark'(X)
active'(isNat'(0')) → mark'(tt')
active'(isNat'(length'(V1))) → mark'(isNatList'(V1))
active'(isNat'(s'(V1))) → mark'(isNat'(V1))
active'(isNatIList'(V)) → mark'(isNatList'(V))
active'(isNatIList'(zeros')) → mark'(tt')
active'(isNatIList'(cons'(V1, V2))) → mark'(and'(isNat'(V1), isNatIList'(V2)))
active'(isNatList'(nil')) → mark'(tt')
active'(isNatList'(cons'(V1, V2))) → mark'(and'(isNat'(V1), isNatList'(V2)))
active'(length'(nil')) → mark'(0')
active'(length'(cons'(N, L))) → mark'(U11'(and'(isNatList'(L), isNat'(N)), L))
active'(cons'(X1, X2)) → cons'(active'(X1), X2)
active'(U11'(X1, X2)) → U11'(active'(X1), X2)
active'(s'(X)) → s'(active'(X))
active'(length'(X)) → length'(active'(X))
active'(and'(X1, X2)) → and'(active'(X1), X2)
cons'(mark'(X1), X2) → mark'(cons'(X1, X2))
U11'(mark'(X1), X2) → mark'(U11'(X1, X2))
s'(mark'(X)) → mark'(s'(X))
length'(mark'(X)) → mark'(length'(X))
and'(mark'(X1), X2) → mark'(and'(X1, X2))
proper'(zeros') → ok'(zeros')
proper'(cons'(X1, X2)) → cons'(proper'(X1), proper'(X2))
proper'(0') → ok'(0')
proper'(U11'(X1, X2)) → U11'(proper'(X1), proper'(X2))
proper'(tt') → ok'(tt')
proper'(s'(X)) → s'(proper'(X))
proper'(length'(X)) → length'(proper'(X))
proper'(and'(X1, X2)) → and'(proper'(X1), proper'(X2))
proper'(isNat'(X)) → isNat'(proper'(X))
proper'(isNatList'(X)) → isNatList'(proper'(X))
proper'(isNatIList'(X)) → isNatIList'(proper'(X))
proper'(nil') → ok'(nil')
cons'(ok'(X1), ok'(X2)) → ok'(cons'(X1, X2))
U11'(ok'(X1), ok'(X2)) → ok'(U11'(X1, X2))
s'(ok'(X)) → ok'(s'(X))
length'(ok'(X)) → ok'(length'(X))
and'(ok'(X1), ok'(X2)) → ok'(and'(X1, X2))
isNat'(ok'(X)) → ok'(isNat'(X))
isNatList'(ok'(X)) → ok'(isNatList'(X))
isNatIList'(ok'(X)) → ok'(isNatIList'(X))
top'(mark'(X)) → top'(proper'(X))
top'(ok'(X)) → top'(active'(X))
Types:
active' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
zeros' :: zeros':0':mark':tt':nil':ok'
mark' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
cons' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
0' :: zeros':0':mark':tt':nil':ok'
U11' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
tt' :: zeros':0':mark':tt':nil':ok'
s' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
length' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
and' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
isNat' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
isNatList' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
isNatIList' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
nil' :: zeros':0':mark':tt':nil':ok'
proper' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
ok' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
top' :: zeros':0':mark':tt':nil':ok' → top'
_hole_zeros':0':mark':tt':nil':ok'1 :: zeros':0':mark':tt':nil':ok'
_hole_top'2 :: top'
_gen_zeros':0':mark':tt':nil':ok'3 :: Nat → zeros':0':mark':tt':nil':ok'
Lemmas:
cons'(_gen_zeros':0':mark':tt':nil':ok'3(+(1, _n5)), _gen_zeros':0':mark':tt':nil':ok'3(b)) → _*4, rt ∈ Ω(n5)
s'(_gen_zeros':0':mark':tt':nil':ok'3(+(1, _n2228))) → _*4, rt ∈ Ω(n2228)
length'(_gen_zeros':0':mark':tt':nil':ok'3(+(1, _n3762))) → _*4, rt ∈ Ω(n3762)
and'(_gen_zeros':0':mark':tt':nil':ok'3(+(1, _n5476)), _gen_zeros':0':mark':tt':nil':ok'3(b)) → _*4, rt ∈ Ω(n5476)
U11'(_gen_zeros':0':mark':tt':nil':ok'3(+(1, _n8587)), _gen_zeros':0':mark':tt':nil':ok'3(b)) → _*4, rt ∈ Ω(n8587)
Generator Equations:
_gen_zeros':0':mark':tt':nil':ok'3(0) ⇔ zeros'
_gen_zeros':0':mark':tt':nil':ok'3(+(x, 1)) ⇔ mark'(_gen_zeros':0':mark':tt':nil':ok'3(x))
The following defined symbols remain to be analysed:
top'
Could not prove a rewrite lemma for the defined symbol top'.
Rules:
active'(zeros') → mark'(cons'(0', zeros'))
active'(U11'(tt', L)) → mark'(s'(length'(L)))
active'(and'(tt', X)) → mark'(X)
active'(isNat'(0')) → mark'(tt')
active'(isNat'(length'(V1))) → mark'(isNatList'(V1))
active'(isNat'(s'(V1))) → mark'(isNat'(V1))
active'(isNatIList'(V)) → mark'(isNatList'(V))
active'(isNatIList'(zeros')) → mark'(tt')
active'(isNatIList'(cons'(V1, V2))) → mark'(and'(isNat'(V1), isNatIList'(V2)))
active'(isNatList'(nil')) → mark'(tt')
active'(isNatList'(cons'(V1, V2))) → mark'(and'(isNat'(V1), isNatList'(V2)))
active'(length'(nil')) → mark'(0')
active'(length'(cons'(N, L))) → mark'(U11'(and'(isNatList'(L), isNat'(N)), L))
active'(cons'(X1, X2)) → cons'(active'(X1), X2)
active'(U11'(X1, X2)) → U11'(active'(X1), X2)
active'(s'(X)) → s'(active'(X))
active'(length'(X)) → length'(active'(X))
active'(and'(X1, X2)) → and'(active'(X1), X2)
cons'(mark'(X1), X2) → mark'(cons'(X1, X2))
U11'(mark'(X1), X2) → mark'(U11'(X1, X2))
s'(mark'(X)) → mark'(s'(X))
length'(mark'(X)) → mark'(length'(X))
and'(mark'(X1), X2) → mark'(and'(X1, X2))
proper'(zeros') → ok'(zeros')
proper'(cons'(X1, X2)) → cons'(proper'(X1), proper'(X2))
proper'(0') → ok'(0')
proper'(U11'(X1, X2)) → U11'(proper'(X1), proper'(X2))
proper'(tt') → ok'(tt')
proper'(s'(X)) → s'(proper'(X))
proper'(length'(X)) → length'(proper'(X))
proper'(and'(X1, X2)) → and'(proper'(X1), proper'(X2))
proper'(isNat'(X)) → isNat'(proper'(X))
proper'(isNatList'(X)) → isNatList'(proper'(X))
proper'(isNatIList'(X)) → isNatIList'(proper'(X))
proper'(nil') → ok'(nil')
cons'(ok'(X1), ok'(X2)) → ok'(cons'(X1, X2))
U11'(ok'(X1), ok'(X2)) → ok'(U11'(X1, X2))
s'(ok'(X)) → ok'(s'(X))
length'(ok'(X)) → ok'(length'(X))
and'(ok'(X1), ok'(X2)) → ok'(and'(X1, X2))
isNat'(ok'(X)) → ok'(isNat'(X))
isNatList'(ok'(X)) → ok'(isNatList'(X))
isNatIList'(ok'(X)) → ok'(isNatIList'(X))
top'(mark'(X)) → top'(proper'(X))
top'(ok'(X)) → top'(active'(X))
Types:
active' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
zeros' :: zeros':0':mark':tt':nil':ok'
mark' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
cons' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
0' :: zeros':0':mark':tt':nil':ok'
U11' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
tt' :: zeros':0':mark':tt':nil':ok'
s' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
length' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
and' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
isNat' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
isNatList' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
isNatIList' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
nil' :: zeros':0':mark':tt':nil':ok'
proper' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
ok' :: zeros':0':mark':tt':nil':ok' → zeros':0':mark':tt':nil':ok'
top' :: zeros':0':mark':tt':nil':ok' → top'
_hole_zeros':0':mark':tt':nil':ok'1 :: zeros':0':mark':tt':nil':ok'
_hole_top'2 :: top'
_gen_zeros':0':mark':tt':nil':ok'3 :: Nat → zeros':0':mark':tt':nil':ok'
Lemmas:
cons'(_gen_zeros':0':mark':tt':nil':ok'3(+(1, _n5)), _gen_zeros':0':mark':tt':nil':ok'3(b)) → _*4, rt ∈ Ω(n5)
s'(_gen_zeros':0':mark':tt':nil':ok'3(+(1, _n2228))) → _*4, rt ∈ Ω(n2228)
length'(_gen_zeros':0':mark':tt':nil':ok'3(+(1, _n3762))) → _*4, rt ∈ Ω(n3762)
and'(_gen_zeros':0':mark':tt':nil':ok'3(+(1, _n5476)), _gen_zeros':0':mark':tt':nil':ok'3(b)) → _*4, rt ∈ Ω(n5476)
U11'(_gen_zeros':0':mark':tt':nil':ok'3(+(1, _n8587)), _gen_zeros':0':mark':tt':nil':ok'3(b)) → _*4, rt ∈ Ω(n8587)
Generator Equations:
_gen_zeros':0':mark':tt':nil':ok'3(0) ⇔ zeros'
_gen_zeros':0':mark':tt':nil':ok'3(+(x, 1)) ⇔ mark'(_gen_zeros':0':mark':tt':nil':ok'3(x))
No more defined symbols left to analyse.
The lowerbound Ω(n) was proven with the following lemma:
cons'(_gen_zeros':0':mark':tt':nil':ok'3(+(1, _n5)), _gen_zeros':0':mark':tt':nil':ok'3(b)) → _*4, rt ∈ Ω(n5)