Runtime Complexity TRS:
The TRS R consists of the following rules:
active(dbl(0)) → mark(0)
active(dbl(s(X))) → mark(s(s(dbl(X))))
active(dbls(nil)) → mark(nil)
active(dbls(cons(X, Y))) → mark(cons(dbl(X), dbls(Y)))
active(sel(0, cons(X, Y))) → mark(X)
active(sel(s(X), cons(Y, Z))) → mark(sel(X, Z))
active(indx(nil, X)) → mark(nil)
active(indx(cons(X, Y), Z)) → mark(cons(sel(X, Z), indx(Y, Z)))
active(from(X)) → mark(cons(X, from(s(X))))
active(dbl1(0)) → mark(01)
active(dbl1(s(X))) → mark(s1(s1(dbl1(X))))
active(sel1(0, cons(X, Y))) → mark(X)
active(sel1(s(X), cons(Y, Z))) → mark(sel1(X, Z))
active(quote(0)) → mark(01)
active(quote(s(X))) → mark(s1(quote(X)))
active(quote(dbl(X))) → mark(dbl1(X))
active(quote(sel(X, Y))) → mark(sel1(X, Y))
active(dbl(X)) → dbl(active(X))
active(dbls(X)) → dbls(active(X))
active(sel(X1, X2)) → sel(active(X1), X2)
active(sel(X1, X2)) → sel(X1, active(X2))
active(indx(X1, X2)) → indx(active(X1), X2)
active(dbl1(X)) → dbl1(active(X))
active(s1(X)) → s1(active(X))
active(sel1(X1, X2)) → sel1(active(X1), X2)
active(sel1(X1, X2)) → sel1(X1, active(X2))
active(quote(X)) → quote(active(X))
dbl(mark(X)) → mark(dbl(X))
dbls(mark(X)) → mark(dbls(X))
sel(mark(X1), X2) → mark(sel(X1, X2))
sel(X1, mark(X2)) → mark(sel(X1, X2))
indx(mark(X1), X2) → mark(indx(X1, X2))
dbl1(mark(X)) → mark(dbl1(X))
s1(mark(X)) → mark(s1(X))
sel1(mark(X1), X2) → mark(sel1(X1, X2))
sel1(X1, mark(X2)) → mark(sel1(X1, X2))
quote(mark(X)) → mark(quote(X))
proper(dbl(X)) → dbl(proper(X))
proper(0) → ok(0)
proper(s(X)) → s(proper(X))
proper(dbls(X)) → dbls(proper(X))
proper(nil) → ok(nil)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(sel(X1, X2)) → sel(proper(X1), proper(X2))
proper(indx(X1, X2)) → indx(proper(X1), proper(X2))
proper(from(X)) → from(proper(X))
proper(dbl1(X)) → dbl1(proper(X))
proper(01) → ok(01)
proper(s1(X)) → s1(proper(X))
proper(sel1(X1, X2)) → sel1(proper(X1), proper(X2))
proper(quote(X)) → quote(proper(X))
dbl(ok(X)) → ok(dbl(X))
s(ok(X)) → ok(s(X))
dbls(ok(X)) → ok(dbls(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
sel(ok(X1), ok(X2)) → ok(sel(X1, X2))
indx(ok(X1), ok(X2)) → ok(indx(X1, X2))
from(ok(X)) → ok(from(X))
dbl1(ok(X)) → ok(dbl1(X))
s1(ok(X)) → ok(s1(X))
sel1(ok(X1), ok(X2)) → ok(sel1(X1, X2))
quote(ok(X)) → ok(quote(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'(dbl'(0')) → mark'(0')
active'(dbl'(s'(X))) → mark'(s'(s'(dbl'(X))))
active'(dbls'(nil')) → mark'(nil')
active'(dbls'(cons'(X, Y))) → mark'(cons'(dbl'(X), dbls'(Y)))
active'(sel'(0', cons'(X, Y))) → mark'(X)
active'(sel'(s'(X), cons'(Y, Z))) → mark'(sel'(X, Z))
active'(indx'(nil', X)) → mark'(nil')
active'(indx'(cons'(X, Y), Z)) → mark'(cons'(sel'(X, Z), indx'(Y, Z)))
active'(from'(X)) → mark'(cons'(X, from'(s'(X))))
active'(dbl1'(0')) → mark'(01')
active'(dbl1'(s'(X))) → mark'(s1'(s1'(dbl1'(X))))
active'(sel1'(0', cons'(X, Y))) → mark'(X)
active'(sel1'(s'(X), cons'(Y, Z))) → mark'(sel1'(X, Z))
active'(quote'(0')) → mark'(01')
active'(quote'(s'(X))) → mark'(s1'(quote'(X)))
active'(quote'(dbl'(X))) → mark'(dbl1'(X))
active'(quote'(sel'(X, Y))) → mark'(sel1'(X, Y))
active'(dbl'(X)) → dbl'(active'(X))
active'(dbls'(X)) → dbls'(active'(X))
active'(sel'(X1, X2)) → sel'(active'(X1), X2)
active'(sel'(X1, X2)) → sel'(X1, active'(X2))
active'(indx'(X1, X2)) → indx'(active'(X1), X2)
active'(dbl1'(X)) → dbl1'(active'(X))
active'(s1'(X)) → s1'(active'(X))
active'(sel1'(X1, X2)) → sel1'(active'(X1), X2)
active'(sel1'(X1, X2)) → sel1'(X1, active'(X2))
active'(quote'(X)) → quote'(active'(X))
dbl'(mark'(X)) → mark'(dbl'(X))
dbls'(mark'(X)) → mark'(dbls'(X))
sel'(mark'(X1), X2) → mark'(sel'(X1, X2))
sel'(X1, mark'(X2)) → mark'(sel'(X1, X2))
indx'(mark'(X1), X2) → mark'(indx'(X1, X2))
dbl1'(mark'(X)) → mark'(dbl1'(X))
s1'(mark'(X)) → mark'(s1'(X))
sel1'(mark'(X1), X2) → mark'(sel1'(X1, X2))
sel1'(X1, mark'(X2)) → mark'(sel1'(X1, X2))
quote'(mark'(X)) → mark'(quote'(X))
proper'(dbl'(X)) → dbl'(proper'(X))
proper'(0') → ok'(0')
proper'(s'(X)) → s'(proper'(X))
proper'(dbls'(X)) → dbls'(proper'(X))
proper'(nil') → ok'(nil')
proper'(cons'(X1, X2)) → cons'(proper'(X1), proper'(X2))
proper'(sel'(X1, X2)) → sel'(proper'(X1), proper'(X2))
proper'(indx'(X1, X2)) → indx'(proper'(X1), proper'(X2))
proper'(from'(X)) → from'(proper'(X))
proper'(dbl1'(X)) → dbl1'(proper'(X))
proper'(01') → ok'(01')
proper'(s1'(X)) → s1'(proper'(X))
proper'(sel1'(X1, X2)) → sel1'(proper'(X1), proper'(X2))
proper'(quote'(X)) → quote'(proper'(X))
dbl'(ok'(X)) → ok'(dbl'(X))
s'(ok'(X)) → ok'(s'(X))
dbls'(ok'(X)) → ok'(dbls'(X))
cons'(ok'(X1), ok'(X2)) → ok'(cons'(X1, X2))
sel'(ok'(X1), ok'(X2)) → ok'(sel'(X1, X2))
indx'(ok'(X1), ok'(X2)) → ok'(indx'(X1, X2))
from'(ok'(X)) → ok'(from'(X))
dbl1'(ok'(X)) → ok'(dbl1'(X))
s1'(ok'(X)) → ok'(s1'(X))
sel1'(ok'(X1), ok'(X2)) → ok'(sel1'(X1, X2))
quote'(ok'(X)) → ok'(quote'(X))
top'(mark'(X)) → top'(proper'(X))
top'(ok'(X)) → top'(active'(X))
Infered types.
Rules:
active'(dbl'(0')) → mark'(0')
active'(dbl'(s'(X))) → mark'(s'(s'(dbl'(X))))
active'(dbls'(nil')) → mark'(nil')
active'(dbls'(cons'(X, Y))) → mark'(cons'(dbl'(X), dbls'(Y)))
active'(sel'(0', cons'(X, Y))) → mark'(X)
active'(sel'(s'(X), cons'(Y, Z))) → mark'(sel'(X, Z))
active'(indx'(nil', X)) → mark'(nil')
active'(indx'(cons'(X, Y), Z)) → mark'(cons'(sel'(X, Z), indx'(Y, Z)))
active'(from'(X)) → mark'(cons'(X, from'(s'(X))))
active'(dbl1'(0')) → mark'(01')
active'(dbl1'(s'(X))) → mark'(s1'(s1'(dbl1'(X))))
active'(sel1'(0', cons'(X, Y))) → mark'(X)
active'(sel1'(s'(X), cons'(Y, Z))) → mark'(sel1'(X, Z))
active'(quote'(0')) → mark'(01')
active'(quote'(s'(X))) → mark'(s1'(quote'(X)))
active'(quote'(dbl'(X))) → mark'(dbl1'(X))
active'(quote'(sel'(X, Y))) → mark'(sel1'(X, Y))
active'(dbl'(X)) → dbl'(active'(X))
active'(dbls'(X)) → dbls'(active'(X))
active'(sel'(X1, X2)) → sel'(active'(X1), X2)
active'(sel'(X1, X2)) → sel'(X1, active'(X2))
active'(indx'(X1, X2)) → indx'(active'(X1), X2)
active'(dbl1'(X)) → dbl1'(active'(X))
active'(s1'(X)) → s1'(active'(X))
active'(sel1'(X1, X2)) → sel1'(active'(X1), X2)
active'(sel1'(X1, X2)) → sel1'(X1, active'(X2))
active'(quote'(X)) → quote'(active'(X))
dbl'(mark'(X)) → mark'(dbl'(X))
dbls'(mark'(X)) → mark'(dbls'(X))
sel'(mark'(X1), X2) → mark'(sel'(X1, X2))
sel'(X1, mark'(X2)) → mark'(sel'(X1, X2))
indx'(mark'(X1), X2) → mark'(indx'(X1, X2))
dbl1'(mark'(X)) → mark'(dbl1'(X))
s1'(mark'(X)) → mark'(s1'(X))
sel1'(mark'(X1), X2) → mark'(sel1'(X1, X2))
sel1'(X1, mark'(X2)) → mark'(sel1'(X1, X2))
quote'(mark'(X)) → mark'(quote'(X))
proper'(dbl'(X)) → dbl'(proper'(X))
proper'(0') → ok'(0')
proper'(s'(X)) → s'(proper'(X))
proper'(dbls'(X)) → dbls'(proper'(X))
proper'(nil') → ok'(nil')
proper'(cons'(X1, X2)) → cons'(proper'(X1), proper'(X2))
proper'(sel'(X1, X2)) → sel'(proper'(X1), proper'(X2))
proper'(indx'(X1, X2)) → indx'(proper'(X1), proper'(X2))
proper'(from'(X)) → from'(proper'(X))
proper'(dbl1'(X)) → dbl1'(proper'(X))
proper'(01') → ok'(01')
proper'(s1'(X)) → s1'(proper'(X))
proper'(sel1'(X1, X2)) → sel1'(proper'(X1), proper'(X2))
proper'(quote'(X)) → quote'(proper'(X))
dbl'(ok'(X)) → ok'(dbl'(X))
s'(ok'(X)) → ok'(s'(X))
dbls'(ok'(X)) → ok'(dbls'(X))
cons'(ok'(X1), ok'(X2)) → ok'(cons'(X1, X2))
sel'(ok'(X1), ok'(X2)) → ok'(sel'(X1, X2))
indx'(ok'(X1), ok'(X2)) → ok'(indx'(X1, X2))
from'(ok'(X)) → ok'(from'(X))
dbl1'(ok'(X)) → ok'(dbl1'(X))
s1'(ok'(X)) → ok'(s1'(X))
sel1'(ok'(X1), ok'(X2)) → ok'(sel1'(X1, X2))
quote'(ok'(X)) → ok'(quote'(X))
top'(mark'(X)) → top'(proper'(X))
top'(ok'(X)) → top'(active'(X))
Types:
active' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
dbl' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
0' :: 0':mark':nil':01':ok'
mark' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
s' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
dbls' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
nil' :: 0':mark':nil':01':ok'
cons' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
sel' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
indx' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
from' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
dbl1' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
01' :: 0':mark':nil':01':ok'
s1' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
sel1' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
quote' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
proper' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
ok' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
top' :: 0':mark':nil':01':ok' → top'
_hole_0':mark':nil':01':ok'1 :: 0':mark':nil':01':ok'
_hole_top'2 :: top'
_gen_0':mark':nil':01':ok'3 :: Nat → 0':mark':nil':01':ok'
Heuristically decided to analyse the following defined symbols:
active', s', dbl', cons', dbls', sel', indx', from', s1', dbl1', sel1', quote', proper', top'
They will be analysed ascendingly in the following order:
s' < active'
dbl' < active'
cons' < active'
dbls' < active'
sel' < active'
indx' < active'
from' < active'
s1' < active'
dbl1' < active'
sel1' < active'
quote' < active'
active' < top'
s' < proper'
dbl' < proper'
cons' < proper'
dbls' < proper'
sel' < proper'
indx' < proper'
from' < proper'
s1' < proper'
dbl1' < proper'
sel1' < proper'
quote' < proper'
proper' < top'
Rules:
active'(dbl'(0')) → mark'(0')
active'(dbl'(s'(X))) → mark'(s'(s'(dbl'(X))))
active'(dbls'(nil')) → mark'(nil')
active'(dbls'(cons'(X, Y))) → mark'(cons'(dbl'(X), dbls'(Y)))
active'(sel'(0', cons'(X, Y))) → mark'(X)
active'(sel'(s'(X), cons'(Y, Z))) → mark'(sel'(X, Z))
active'(indx'(nil', X)) → mark'(nil')
active'(indx'(cons'(X, Y), Z)) → mark'(cons'(sel'(X, Z), indx'(Y, Z)))
active'(from'(X)) → mark'(cons'(X, from'(s'(X))))
active'(dbl1'(0')) → mark'(01')
active'(dbl1'(s'(X))) → mark'(s1'(s1'(dbl1'(X))))
active'(sel1'(0', cons'(X, Y))) → mark'(X)
active'(sel1'(s'(X), cons'(Y, Z))) → mark'(sel1'(X, Z))
active'(quote'(0')) → mark'(01')
active'(quote'(s'(X))) → mark'(s1'(quote'(X)))
active'(quote'(dbl'(X))) → mark'(dbl1'(X))
active'(quote'(sel'(X, Y))) → mark'(sel1'(X, Y))
active'(dbl'(X)) → dbl'(active'(X))
active'(dbls'(X)) → dbls'(active'(X))
active'(sel'(X1, X2)) → sel'(active'(X1), X2)
active'(sel'(X1, X2)) → sel'(X1, active'(X2))
active'(indx'(X1, X2)) → indx'(active'(X1), X2)
active'(dbl1'(X)) → dbl1'(active'(X))
active'(s1'(X)) → s1'(active'(X))
active'(sel1'(X1, X2)) → sel1'(active'(X1), X2)
active'(sel1'(X1, X2)) → sel1'(X1, active'(X2))
active'(quote'(X)) → quote'(active'(X))
dbl'(mark'(X)) → mark'(dbl'(X))
dbls'(mark'(X)) → mark'(dbls'(X))
sel'(mark'(X1), X2) → mark'(sel'(X1, X2))
sel'(X1, mark'(X2)) → mark'(sel'(X1, X2))
indx'(mark'(X1), X2) → mark'(indx'(X1, X2))
dbl1'(mark'(X)) → mark'(dbl1'(X))
s1'(mark'(X)) → mark'(s1'(X))
sel1'(mark'(X1), X2) → mark'(sel1'(X1, X2))
sel1'(X1, mark'(X2)) → mark'(sel1'(X1, X2))
quote'(mark'(X)) → mark'(quote'(X))
proper'(dbl'(X)) → dbl'(proper'(X))
proper'(0') → ok'(0')
proper'(s'(X)) → s'(proper'(X))
proper'(dbls'(X)) → dbls'(proper'(X))
proper'(nil') → ok'(nil')
proper'(cons'(X1, X2)) → cons'(proper'(X1), proper'(X2))
proper'(sel'(X1, X2)) → sel'(proper'(X1), proper'(X2))
proper'(indx'(X1, X2)) → indx'(proper'(X1), proper'(X2))
proper'(from'(X)) → from'(proper'(X))
proper'(dbl1'(X)) → dbl1'(proper'(X))
proper'(01') → ok'(01')
proper'(s1'(X)) → s1'(proper'(X))
proper'(sel1'(X1, X2)) → sel1'(proper'(X1), proper'(X2))
proper'(quote'(X)) → quote'(proper'(X))
dbl'(ok'(X)) → ok'(dbl'(X))
s'(ok'(X)) → ok'(s'(X))
dbls'(ok'(X)) → ok'(dbls'(X))
cons'(ok'(X1), ok'(X2)) → ok'(cons'(X1, X2))
sel'(ok'(X1), ok'(X2)) → ok'(sel'(X1, X2))
indx'(ok'(X1), ok'(X2)) → ok'(indx'(X1, X2))
from'(ok'(X)) → ok'(from'(X))
dbl1'(ok'(X)) → ok'(dbl1'(X))
s1'(ok'(X)) → ok'(s1'(X))
sel1'(ok'(X1), ok'(X2)) → ok'(sel1'(X1, X2))
quote'(ok'(X)) → ok'(quote'(X))
top'(mark'(X)) → top'(proper'(X))
top'(ok'(X)) → top'(active'(X))
Types:
active' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
dbl' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
0' :: 0':mark':nil':01':ok'
mark' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
s' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
dbls' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
nil' :: 0':mark':nil':01':ok'
cons' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
sel' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
indx' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
from' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
dbl1' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
01' :: 0':mark':nil':01':ok'
s1' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
sel1' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
quote' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
proper' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
ok' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
top' :: 0':mark':nil':01':ok' → top'
_hole_0':mark':nil':01':ok'1 :: 0':mark':nil':01':ok'
_hole_top'2 :: top'
_gen_0':mark':nil':01':ok'3 :: Nat → 0':mark':nil':01':ok'
Generator Equations:
_gen_0':mark':nil':01':ok'3(0) ⇔ 0'
_gen_0':mark':nil':01':ok'3(+(x, 1)) ⇔ mark'(_gen_0':mark':nil':01':ok'3(x))
The following defined symbols remain to be analysed:
s', active', dbl', cons', dbls', sel', indx', from', s1', dbl1', sel1', quote', proper', top'
They will be analysed ascendingly in the following order:
s' < active'
dbl' < active'
cons' < active'
dbls' < active'
sel' < active'
indx' < active'
from' < active'
s1' < active'
dbl1' < active'
sel1' < active'
quote' < active'
active' < top'
s' < proper'
dbl' < proper'
cons' < proper'
dbls' < proper'
sel' < proper'
indx' < proper'
from' < proper'
s1' < proper'
dbl1' < proper'
sel1' < proper'
quote' < proper'
proper' < top'
Could not prove a rewrite lemma for the defined symbol s'.
Rules:
active'(dbl'(0')) → mark'(0')
active'(dbl'(s'(X))) → mark'(s'(s'(dbl'(X))))
active'(dbls'(nil')) → mark'(nil')
active'(dbls'(cons'(X, Y))) → mark'(cons'(dbl'(X), dbls'(Y)))
active'(sel'(0', cons'(X, Y))) → mark'(X)
active'(sel'(s'(X), cons'(Y, Z))) → mark'(sel'(X, Z))
active'(indx'(nil', X)) → mark'(nil')
active'(indx'(cons'(X, Y), Z)) → mark'(cons'(sel'(X, Z), indx'(Y, Z)))
active'(from'(X)) → mark'(cons'(X, from'(s'(X))))
active'(dbl1'(0')) → mark'(01')
active'(dbl1'(s'(X))) → mark'(s1'(s1'(dbl1'(X))))
active'(sel1'(0', cons'(X, Y))) → mark'(X)
active'(sel1'(s'(X), cons'(Y, Z))) → mark'(sel1'(X, Z))
active'(quote'(0')) → mark'(01')
active'(quote'(s'(X))) → mark'(s1'(quote'(X)))
active'(quote'(dbl'(X))) → mark'(dbl1'(X))
active'(quote'(sel'(X, Y))) → mark'(sel1'(X, Y))
active'(dbl'(X)) → dbl'(active'(X))
active'(dbls'(X)) → dbls'(active'(X))
active'(sel'(X1, X2)) → sel'(active'(X1), X2)
active'(sel'(X1, X2)) → sel'(X1, active'(X2))
active'(indx'(X1, X2)) → indx'(active'(X1), X2)
active'(dbl1'(X)) → dbl1'(active'(X))
active'(s1'(X)) → s1'(active'(X))
active'(sel1'(X1, X2)) → sel1'(active'(X1), X2)
active'(sel1'(X1, X2)) → sel1'(X1, active'(X2))
active'(quote'(X)) → quote'(active'(X))
dbl'(mark'(X)) → mark'(dbl'(X))
dbls'(mark'(X)) → mark'(dbls'(X))
sel'(mark'(X1), X2) → mark'(sel'(X1, X2))
sel'(X1, mark'(X2)) → mark'(sel'(X1, X2))
indx'(mark'(X1), X2) → mark'(indx'(X1, X2))
dbl1'(mark'(X)) → mark'(dbl1'(X))
s1'(mark'(X)) → mark'(s1'(X))
sel1'(mark'(X1), X2) → mark'(sel1'(X1, X2))
sel1'(X1, mark'(X2)) → mark'(sel1'(X1, X2))
quote'(mark'(X)) → mark'(quote'(X))
proper'(dbl'(X)) → dbl'(proper'(X))
proper'(0') → ok'(0')
proper'(s'(X)) → s'(proper'(X))
proper'(dbls'(X)) → dbls'(proper'(X))
proper'(nil') → ok'(nil')
proper'(cons'(X1, X2)) → cons'(proper'(X1), proper'(X2))
proper'(sel'(X1, X2)) → sel'(proper'(X1), proper'(X2))
proper'(indx'(X1, X2)) → indx'(proper'(X1), proper'(X2))
proper'(from'(X)) → from'(proper'(X))
proper'(dbl1'(X)) → dbl1'(proper'(X))
proper'(01') → ok'(01')
proper'(s1'(X)) → s1'(proper'(X))
proper'(sel1'(X1, X2)) → sel1'(proper'(X1), proper'(X2))
proper'(quote'(X)) → quote'(proper'(X))
dbl'(ok'(X)) → ok'(dbl'(X))
s'(ok'(X)) → ok'(s'(X))
dbls'(ok'(X)) → ok'(dbls'(X))
cons'(ok'(X1), ok'(X2)) → ok'(cons'(X1, X2))
sel'(ok'(X1), ok'(X2)) → ok'(sel'(X1, X2))
indx'(ok'(X1), ok'(X2)) → ok'(indx'(X1, X2))
from'(ok'(X)) → ok'(from'(X))
dbl1'(ok'(X)) → ok'(dbl1'(X))
s1'(ok'(X)) → ok'(s1'(X))
sel1'(ok'(X1), ok'(X2)) → ok'(sel1'(X1, X2))
quote'(ok'(X)) → ok'(quote'(X))
top'(mark'(X)) → top'(proper'(X))
top'(ok'(X)) → top'(active'(X))
Types:
active' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
dbl' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
0' :: 0':mark':nil':01':ok'
mark' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
s' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
dbls' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
nil' :: 0':mark':nil':01':ok'
cons' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
sel' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
indx' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
from' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
dbl1' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
01' :: 0':mark':nil':01':ok'
s1' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
sel1' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
quote' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
proper' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
ok' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
top' :: 0':mark':nil':01':ok' → top'
_hole_0':mark':nil':01':ok'1 :: 0':mark':nil':01':ok'
_hole_top'2 :: top'
_gen_0':mark':nil':01':ok'3 :: Nat → 0':mark':nil':01':ok'
Generator Equations:
_gen_0':mark':nil':01':ok'3(0) ⇔ 0'
_gen_0':mark':nil':01':ok'3(+(x, 1)) ⇔ mark'(_gen_0':mark':nil':01':ok'3(x))
The following defined symbols remain to be analysed:
dbl', active', cons', dbls', sel', indx', from', s1', dbl1', sel1', quote', proper', top'
They will be analysed ascendingly in the following order:
dbl' < active'
cons' < active'
dbls' < active'
sel' < active'
indx' < active'
from' < active'
s1' < active'
dbl1' < active'
sel1' < active'
quote' < active'
active' < top'
dbl' < proper'
cons' < proper'
dbls' < proper'
sel' < proper'
indx' < proper'
from' < proper'
s1' < proper'
dbl1' < proper'
sel1' < proper'
quote' < proper'
proper' < top'
Proved the following rewrite lemma:
dbl'(_gen_0':mark':nil':01':ok'3(+(1, _n11))) → _*4, rt ∈ Ω(n11)
Induction Base:
dbl'(_gen_0':mark':nil':01':ok'3(+(1, 0)))
Induction Step:
dbl'(_gen_0':mark':nil':01':ok'3(+(1, +(_$n12, 1)))) →RΩ(1)
mark'(dbl'(_gen_0':mark':nil':01':ok'3(+(1, _$n12)))) →IH
mark'(_*4)
We have rt ∈ Ω(n) and sz ∈ O(n). Thus, we have ircR ∈ Ω(n).
Rules:
active'(dbl'(0')) → mark'(0')
active'(dbl'(s'(X))) → mark'(s'(s'(dbl'(X))))
active'(dbls'(nil')) → mark'(nil')
active'(dbls'(cons'(X, Y))) → mark'(cons'(dbl'(X), dbls'(Y)))
active'(sel'(0', cons'(X, Y))) → mark'(X)
active'(sel'(s'(X), cons'(Y, Z))) → mark'(sel'(X, Z))
active'(indx'(nil', X)) → mark'(nil')
active'(indx'(cons'(X, Y), Z)) → mark'(cons'(sel'(X, Z), indx'(Y, Z)))
active'(from'(X)) → mark'(cons'(X, from'(s'(X))))
active'(dbl1'(0')) → mark'(01')
active'(dbl1'(s'(X))) → mark'(s1'(s1'(dbl1'(X))))
active'(sel1'(0', cons'(X, Y))) → mark'(X)
active'(sel1'(s'(X), cons'(Y, Z))) → mark'(sel1'(X, Z))
active'(quote'(0')) → mark'(01')
active'(quote'(s'(X))) → mark'(s1'(quote'(X)))
active'(quote'(dbl'(X))) → mark'(dbl1'(X))
active'(quote'(sel'(X, Y))) → mark'(sel1'(X, Y))
active'(dbl'(X)) → dbl'(active'(X))
active'(dbls'(X)) → dbls'(active'(X))
active'(sel'(X1, X2)) → sel'(active'(X1), X2)
active'(sel'(X1, X2)) → sel'(X1, active'(X2))
active'(indx'(X1, X2)) → indx'(active'(X1), X2)
active'(dbl1'(X)) → dbl1'(active'(X))
active'(s1'(X)) → s1'(active'(X))
active'(sel1'(X1, X2)) → sel1'(active'(X1), X2)
active'(sel1'(X1, X2)) → sel1'(X1, active'(X2))
active'(quote'(X)) → quote'(active'(X))
dbl'(mark'(X)) → mark'(dbl'(X))
dbls'(mark'(X)) → mark'(dbls'(X))
sel'(mark'(X1), X2) → mark'(sel'(X1, X2))
sel'(X1, mark'(X2)) → mark'(sel'(X1, X2))
indx'(mark'(X1), X2) → mark'(indx'(X1, X2))
dbl1'(mark'(X)) → mark'(dbl1'(X))
s1'(mark'(X)) → mark'(s1'(X))
sel1'(mark'(X1), X2) → mark'(sel1'(X1, X2))
sel1'(X1, mark'(X2)) → mark'(sel1'(X1, X2))
quote'(mark'(X)) → mark'(quote'(X))
proper'(dbl'(X)) → dbl'(proper'(X))
proper'(0') → ok'(0')
proper'(s'(X)) → s'(proper'(X))
proper'(dbls'(X)) → dbls'(proper'(X))
proper'(nil') → ok'(nil')
proper'(cons'(X1, X2)) → cons'(proper'(X1), proper'(X2))
proper'(sel'(X1, X2)) → sel'(proper'(X1), proper'(X2))
proper'(indx'(X1, X2)) → indx'(proper'(X1), proper'(X2))
proper'(from'(X)) → from'(proper'(X))
proper'(dbl1'(X)) → dbl1'(proper'(X))
proper'(01') → ok'(01')
proper'(s1'(X)) → s1'(proper'(X))
proper'(sel1'(X1, X2)) → sel1'(proper'(X1), proper'(X2))
proper'(quote'(X)) → quote'(proper'(X))
dbl'(ok'(X)) → ok'(dbl'(X))
s'(ok'(X)) → ok'(s'(X))
dbls'(ok'(X)) → ok'(dbls'(X))
cons'(ok'(X1), ok'(X2)) → ok'(cons'(X1, X2))
sel'(ok'(X1), ok'(X2)) → ok'(sel'(X1, X2))
indx'(ok'(X1), ok'(X2)) → ok'(indx'(X1, X2))
from'(ok'(X)) → ok'(from'(X))
dbl1'(ok'(X)) → ok'(dbl1'(X))
s1'(ok'(X)) → ok'(s1'(X))
sel1'(ok'(X1), ok'(X2)) → ok'(sel1'(X1, X2))
quote'(ok'(X)) → ok'(quote'(X))
top'(mark'(X)) → top'(proper'(X))
top'(ok'(X)) → top'(active'(X))
Types:
active' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
dbl' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
0' :: 0':mark':nil':01':ok'
mark' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
s' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
dbls' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
nil' :: 0':mark':nil':01':ok'
cons' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
sel' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
indx' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
from' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
dbl1' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
01' :: 0':mark':nil':01':ok'
s1' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
sel1' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
quote' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
proper' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
ok' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
top' :: 0':mark':nil':01':ok' → top'
_hole_0':mark':nil':01':ok'1 :: 0':mark':nil':01':ok'
_hole_top'2 :: top'
_gen_0':mark':nil':01':ok'3 :: Nat → 0':mark':nil':01':ok'
Lemmas:
dbl'(_gen_0':mark':nil':01':ok'3(+(1, _n11))) → _*4, rt ∈ Ω(n11)
Generator Equations:
_gen_0':mark':nil':01':ok'3(0) ⇔ 0'
_gen_0':mark':nil':01':ok'3(+(x, 1)) ⇔ mark'(_gen_0':mark':nil':01':ok'3(x))
The following defined symbols remain to be analysed:
cons', active', dbls', sel', indx', from', s1', dbl1', sel1', quote', proper', top'
They will be analysed ascendingly in the following order:
cons' < active'
dbls' < active'
sel' < active'
indx' < active'
from' < active'
s1' < active'
dbl1' < active'
sel1' < active'
quote' < active'
active' < top'
cons' < proper'
dbls' < proper'
sel' < proper'
indx' < proper'
from' < proper'
s1' < proper'
dbl1' < proper'
sel1' < proper'
quote' < proper'
proper' < top'
Could not prove a rewrite lemma for the defined symbol cons'.
Rules:
active'(dbl'(0')) → mark'(0')
active'(dbl'(s'(X))) → mark'(s'(s'(dbl'(X))))
active'(dbls'(nil')) → mark'(nil')
active'(dbls'(cons'(X, Y))) → mark'(cons'(dbl'(X), dbls'(Y)))
active'(sel'(0', cons'(X, Y))) → mark'(X)
active'(sel'(s'(X), cons'(Y, Z))) → mark'(sel'(X, Z))
active'(indx'(nil', X)) → mark'(nil')
active'(indx'(cons'(X, Y), Z)) → mark'(cons'(sel'(X, Z), indx'(Y, Z)))
active'(from'(X)) → mark'(cons'(X, from'(s'(X))))
active'(dbl1'(0')) → mark'(01')
active'(dbl1'(s'(X))) → mark'(s1'(s1'(dbl1'(X))))
active'(sel1'(0', cons'(X, Y))) → mark'(X)
active'(sel1'(s'(X), cons'(Y, Z))) → mark'(sel1'(X, Z))
active'(quote'(0')) → mark'(01')
active'(quote'(s'(X))) → mark'(s1'(quote'(X)))
active'(quote'(dbl'(X))) → mark'(dbl1'(X))
active'(quote'(sel'(X, Y))) → mark'(sel1'(X, Y))
active'(dbl'(X)) → dbl'(active'(X))
active'(dbls'(X)) → dbls'(active'(X))
active'(sel'(X1, X2)) → sel'(active'(X1), X2)
active'(sel'(X1, X2)) → sel'(X1, active'(X2))
active'(indx'(X1, X2)) → indx'(active'(X1), X2)
active'(dbl1'(X)) → dbl1'(active'(X))
active'(s1'(X)) → s1'(active'(X))
active'(sel1'(X1, X2)) → sel1'(active'(X1), X2)
active'(sel1'(X1, X2)) → sel1'(X1, active'(X2))
active'(quote'(X)) → quote'(active'(X))
dbl'(mark'(X)) → mark'(dbl'(X))
dbls'(mark'(X)) → mark'(dbls'(X))
sel'(mark'(X1), X2) → mark'(sel'(X1, X2))
sel'(X1, mark'(X2)) → mark'(sel'(X1, X2))
indx'(mark'(X1), X2) → mark'(indx'(X1, X2))
dbl1'(mark'(X)) → mark'(dbl1'(X))
s1'(mark'(X)) → mark'(s1'(X))
sel1'(mark'(X1), X2) → mark'(sel1'(X1, X2))
sel1'(X1, mark'(X2)) → mark'(sel1'(X1, X2))
quote'(mark'(X)) → mark'(quote'(X))
proper'(dbl'(X)) → dbl'(proper'(X))
proper'(0') → ok'(0')
proper'(s'(X)) → s'(proper'(X))
proper'(dbls'(X)) → dbls'(proper'(X))
proper'(nil') → ok'(nil')
proper'(cons'(X1, X2)) → cons'(proper'(X1), proper'(X2))
proper'(sel'(X1, X2)) → sel'(proper'(X1), proper'(X2))
proper'(indx'(X1, X2)) → indx'(proper'(X1), proper'(X2))
proper'(from'(X)) → from'(proper'(X))
proper'(dbl1'(X)) → dbl1'(proper'(X))
proper'(01') → ok'(01')
proper'(s1'(X)) → s1'(proper'(X))
proper'(sel1'(X1, X2)) → sel1'(proper'(X1), proper'(X2))
proper'(quote'(X)) → quote'(proper'(X))
dbl'(ok'(X)) → ok'(dbl'(X))
s'(ok'(X)) → ok'(s'(X))
dbls'(ok'(X)) → ok'(dbls'(X))
cons'(ok'(X1), ok'(X2)) → ok'(cons'(X1, X2))
sel'(ok'(X1), ok'(X2)) → ok'(sel'(X1, X2))
indx'(ok'(X1), ok'(X2)) → ok'(indx'(X1, X2))
from'(ok'(X)) → ok'(from'(X))
dbl1'(ok'(X)) → ok'(dbl1'(X))
s1'(ok'(X)) → ok'(s1'(X))
sel1'(ok'(X1), ok'(X2)) → ok'(sel1'(X1, X2))
quote'(ok'(X)) → ok'(quote'(X))
top'(mark'(X)) → top'(proper'(X))
top'(ok'(X)) → top'(active'(X))
Types:
active' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
dbl' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
0' :: 0':mark':nil':01':ok'
mark' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
s' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
dbls' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
nil' :: 0':mark':nil':01':ok'
cons' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
sel' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
indx' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
from' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
dbl1' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
01' :: 0':mark':nil':01':ok'
s1' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
sel1' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
quote' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
proper' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
ok' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
top' :: 0':mark':nil':01':ok' → top'
_hole_0':mark':nil':01':ok'1 :: 0':mark':nil':01':ok'
_hole_top'2 :: top'
_gen_0':mark':nil':01':ok'3 :: Nat → 0':mark':nil':01':ok'
Lemmas:
dbl'(_gen_0':mark':nil':01':ok'3(+(1, _n11))) → _*4, rt ∈ Ω(n11)
Generator Equations:
_gen_0':mark':nil':01':ok'3(0) ⇔ 0'
_gen_0':mark':nil':01':ok'3(+(x, 1)) ⇔ mark'(_gen_0':mark':nil':01':ok'3(x))
The following defined symbols remain to be analysed:
dbls', active', sel', indx', from', s1', dbl1', sel1', quote', proper', top'
They will be analysed ascendingly in the following order:
dbls' < active'
sel' < active'
indx' < active'
from' < active'
s1' < active'
dbl1' < active'
sel1' < active'
quote' < active'
active' < top'
dbls' < proper'
sel' < proper'
indx' < proper'
from' < proper'
s1' < proper'
dbl1' < proper'
sel1' < proper'
quote' < proper'
proper' < top'
Proved the following rewrite lemma:
dbls'(_gen_0':mark':nil':01':ok'3(+(1, _n2000))) → _*4, rt ∈ Ω(n2000)
Induction Base:
dbls'(_gen_0':mark':nil':01':ok'3(+(1, 0)))
Induction Step:
dbls'(_gen_0':mark':nil':01':ok'3(+(1, +(_$n2001, 1)))) →RΩ(1)
mark'(dbls'(_gen_0':mark':nil':01':ok'3(+(1, _$n2001)))) →IH
mark'(_*4)
We have rt ∈ Ω(n) and sz ∈ O(n). Thus, we have ircR ∈ Ω(n).
Rules:
active'(dbl'(0')) → mark'(0')
active'(dbl'(s'(X))) → mark'(s'(s'(dbl'(X))))
active'(dbls'(nil')) → mark'(nil')
active'(dbls'(cons'(X, Y))) → mark'(cons'(dbl'(X), dbls'(Y)))
active'(sel'(0', cons'(X, Y))) → mark'(X)
active'(sel'(s'(X), cons'(Y, Z))) → mark'(sel'(X, Z))
active'(indx'(nil', X)) → mark'(nil')
active'(indx'(cons'(X, Y), Z)) → mark'(cons'(sel'(X, Z), indx'(Y, Z)))
active'(from'(X)) → mark'(cons'(X, from'(s'(X))))
active'(dbl1'(0')) → mark'(01')
active'(dbl1'(s'(X))) → mark'(s1'(s1'(dbl1'(X))))
active'(sel1'(0', cons'(X, Y))) → mark'(X)
active'(sel1'(s'(X), cons'(Y, Z))) → mark'(sel1'(X, Z))
active'(quote'(0')) → mark'(01')
active'(quote'(s'(X))) → mark'(s1'(quote'(X)))
active'(quote'(dbl'(X))) → mark'(dbl1'(X))
active'(quote'(sel'(X, Y))) → mark'(sel1'(X, Y))
active'(dbl'(X)) → dbl'(active'(X))
active'(dbls'(X)) → dbls'(active'(X))
active'(sel'(X1, X2)) → sel'(active'(X1), X2)
active'(sel'(X1, X2)) → sel'(X1, active'(X2))
active'(indx'(X1, X2)) → indx'(active'(X1), X2)
active'(dbl1'(X)) → dbl1'(active'(X))
active'(s1'(X)) → s1'(active'(X))
active'(sel1'(X1, X2)) → sel1'(active'(X1), X2)
active'(sel1'(X1, X2)) → sel1'(X1, active'(X2))
active'(quote'(X)) → quote'(active'(X))
dbl'(mark'(X)) → mark'(dbl'(X))
dbls'(mark'(X)) → mark'(dbls'(X))
sel'(mark'(X1), X2) → mark'(sel'(X1, X2))
sel'(X1, mark'(X2)) → mark'(sel'(X1, X2))
indx'(mark'(X1), X2) → mark'(indx'(X1, X2))
dbl1'(mark'(X)) → mark'(dbl1'(X))
s1'(mark'(X)) → mark'(s1'(X))
sel1'(mark'(X1), X2) → mark'(sel1'(X1, X2))
sel1'(X1, mark'(X2)) → mark'(sel1'(X1, X2))
quote'(mark'(X)) → mark'(quote'(X))
proper'(dbl'(X)) → dbl'(proper'(X))
proper'(0') → ok'(0')
proper'(s'(X)) → s'(proper'(X))
proper'(dbls'(X)) → dbls'(proper'(X))
proper'(nil') → ok'(nil')
proper'(cons'(X1, X2)) → cons'(proper'(X1), proper'(X2))
proper'(sel'(X1, X2)) → sel'(proper'(X1), proper'(X2))
proper'(indx'(X1, X2)) → indx'(proper'(X1), proper'(X2))
proper'(from'(X)) → from'(proper'(X))
proper'(dbl1'(X)) → dbl1'(proper'(X))
proper'(01') → ok'(01')
proper'(s1'(X)) → s1'(proper'(X))
proper'(sel1'(X1, X2)) → sel1'(proper'(X1), proper'(X2))
proper'(quote'(X)) → quote'(proper'(X))
dbl'(ok'(X)) → ok'(dbl'(X))
s'(ok'(X)) → ok'(s'(X))
dbls'(ok'(X)) → ok'(dbls'(X))
cons'(ok'(X1), ok'(X2)) → ok'(cons'(X1, X2))
sel'(ok'(X1), ok'(X2)) → ok'(sel'(X1, X2))
indx'(ok'(X1), ok'(X2)) → ok'(indx'(X1, X2))
from'(ok'(X)) → ok'(from'(X))
dbl1'(ok'(X)) → ok'(dbl1'(X))
s1'(ok'(X)) → ok'(s1'(X))
sel1'(ok'(X1), ok'(X2)) → ok'(sel1'(X1, X2))
quote'(ok'(X)) → ok'(quote'(X))
top'(mark'(X)) → top'(proper'(X))
top'(ok'(X)) → top'(active'(X))
Types:
active' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
dbl' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
0' :: 0':mark':nil':01':ok'
mark' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
s' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
dbls' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
nil' :: 0':mark':nil':01':ok'
cons' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
sel' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
indx' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
from' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
dbl1' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
01' :: 0':mark':nil':01':ok'
s1' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
sel1' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
quote' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
proper' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
ok' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
top' :: 0':mark':nil':01':ok' → top'
_hole_0':mark':nil':01':ok'1 :: 0':mark':nil':01':ok'
_hole_top'2 :: top'
_gen_0':mark':nil':01':ok'3 :: Nat → 0':mark':nil':01':ok'
Lemmas:
dbl'(_gen_0':mark':nil':01':ok'3(+(1, _n11))) → _*4, rt ∈ Ω(n11)
dbls'(_gen_0':mark':nil':01':ok'3(+(1, _n2000))) → _*4, rt ∈ Ω(n2000)
Generator Equations:
_gen_0':mark':nil':01':ok'3(0) ⇔ 0'
_gen_0':mark':nil':01':ok'3(+(x, 1)) ⇔ mark'(_gen_0':mark':nil':01':ok'3(x))
The following defined symbols remain to be analysed:
sel', active', indx', from', s1', dbl1', sel1', quote', proper', top'
They will be analysed ascendingly in the following order:
sel' < active'
indx' < active'
from' < active'
s1' < active'
dbl1' < active'
sel1' < active'
quote' < active'
active' < top'
sel' < proper'
indx' < proper'
from' < proper'
s1' < proper'
dbl1' < proper'
sel1' < proper'
quote' < proper'
proper' < top'
Proved the following rewrite lemma:
sel'(_gen_0':mark':nil':01':ok'3(+(1, _n4091)), _gen_0':mark':nil':01':ok'3(b)) → _*4, rt ∈ Ω(n4091)
Induction Base:
sel'(_gen_0':mark':nil':01':ok'3(+(1, 0)), _gen_0':mark':nil':01':ok'3(b))
Induction Step:
sel'(_gen_0':mark':nil':01':ok'3(+(1, +(_$n4092, 1))), _gen_0':mark':nil':01':ok'3(_b5344)) →RΩ(1)
mark'(sel'(_gen_0':mark':nil':01':ok'3(+(1, _$n4092)), _gen_0':mark':nil':01':ok'3(_b5344))) →IH
mark'(_*4)
We have rt ∈ Ω(n) and sz ∈ O(n). Thus, we have ircR ∈ Ω(n).
Rules:
active'(dbl'(0')) → mark'(0')
active'(dbl'(s'(X))) → mark'(s'(s'(dbl'(X))))
active'(dbls'(nil')) → mark'(nil')
active'(dbls'(cons'(X, Y))) → mark'(cons'(dbl'(X), dbls'(Y)))
active'(sel'(0', cons'(X, Y))) → mark'(X)
active'(sel'(s'(X), cons'(Y, Z))) → mark'(sel'(X, Z))
active'(indx'(nil', X)) → mark'(nil')
active'(indx'(cons'(X, Y), Z)) → mark'(cons'(sel'(X, Z), indx'(Y, Z)))
active'(from'(X)) → mark'(cons'(X, from'(s'(X))))
active'(dbl1'(0')) → mark'(01')
active'(dbl1'(s'(X))) → mark'(s1'(s1'(dbl1'(X))))
active'(sel1'(0', cons'(X, Y))) → mark'(X)
active'(sel1'(s'(X), cons'(Y, Z))) → mark'(sel1'(X, Z))
active'(quote'(0')) → mark'(01')
active'(quote'(s'(X))) → mark'(s1'(quote'(X)))
active'(quote'(dbl'(X))) → mark'(dbl1'(X))
active'(quote'(sel'(X, Y))) → mark'(sel1'(X, Y))
active'(dbl'(X)) → dbl'(active'(X))
active'(dbls'(X)) → dbls'(active'(X))
active'(sel'(X1, X2)) → sel'(active'(X1), X2)
active'(sel'(X1, X2)) → sel'(X1, active'(X2))
active'(indx'(X1, X2)) → indx'(active'(X1), X2)
active'(dbl1'(X)) → dbl1'(active'(X))
active'(s1'(X)) → s1'(active'(X))
active'(sel1'(X1, X2)) → sel1'(active'(X1), X2)
active'(sel1'(X1, X2)) → sel1'(X1, active'(X2))
active'(quote'(X)) → quote'(active'(X))
dbl'(mark'(X)) → mark'(dbl'(X))
dbls'(mark'(X)) → mark'(dbls'(X))
sel'(mark'(X1), X2) → mark'(sel'(X1, X2))
sel'(X1, mark'(X2)) → mark'(sel'(X1, X2))
indx'(mark'(X1), X2) → mark'(indx'(X1, X2))
dbl1'(mark'(X)) → mark'(dbl1'(X))
s1'(mark'(X)) → mark'(s1'(X))
sel1'(mark'(X1), X2) → mark'(sel1'(X1, X2))
sel1'(X1, mark'(X2)) → mark'(sel1'(X1, X2))
quote'(mark'(X)) → mark'(quote'(X))
proper'(dbl'(X)) → dbl'(proper'(X))
proper'(0') → ok'(0')
proper'(s'(X)) → s'(proper'(X))
proper'(dbls'(X)) → dbls'(proper'(X))
proper'(nil') → ok'(nil')
proper'(cons'(X1, X2)) → cons'(proper'(X1), proper'(X2))
proper'(sel'(X1, X2)) → sel'(proper'(X1), proper'(X2))
proper'(indx'(X1, X2)) → indx'(proper'(X1), proper'(X2))
proper'(from'(X)) → from'(proper'(X))
proper'(dbl1'(X)) → dbl1'(proper'(X))
proper'(01') → ok'(01')
proper'(s1'(X)) → s1'(proper'(X))
proper'(sel1'(X1, X2)) → sel1'(proper'(X1), proper'(X2))
proper'(quote'(X)) → quote'(proper'(X))
dbl'(ok'(X)) → ok'(dbl'(X))
s'(ok'(X)) → ok'(s'(X))
dbls'(ok'(X)) → ok'(dbls'(X))
cons'(ok'(X1), ok'(X2)) → ok'(cons'(X1, X2))
sel'(ok'(X1), ok'(X2)) → ok'(sel'(X1, X2))
indx'(ok'(X1), ok'(X2)) → ok'(indx'(X1, X2))
from'(ok'(X)) → ok'(from'(X))
dbl1'(ok'(X)) → ok'(dbl1'(X))
s1'(ok'(X)) → ok'(s1'(X))
sel1'(ok'(X1), ok'(X2)) → ok'(sel1'(X1, X2))
quote'(ok'(X)) → ok'(quote'(X))
top'(mark'(X)) → top'(proper'(X))
top'(ok'(X)) → top'(active'(X))
Types:
active' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
dbl' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
0' :: 0':mark':nil':01':ok'
mark' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
s' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
dbls' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
nil' :: 0':mark':nil':01':ok'
cons' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
sel' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
indx' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
from' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
dbl1' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
01' :: 0':mark':nil':01':ok'
s1' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
sel1' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
quote' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
proper' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
ok' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
top' :: 0':mark':nil':01':ok' → top'
_hole_0':mark':nil':01':ok'1 :: 0':mark':nil':01':ok'
_hole_top'2 :: top'
_gen_0':mark':nil':01':ok'3 :: Nat → 0':mark':nil':01':ok'
Lemmas:
dbl'(_gen_0':mark':nil':01':ok'3(+(1, _n11))) → _*4, rt ∈ Ω(n11)
dbls'(_gen_0':mark':nil':01':ok'3(+(1, _n2000))) → _*4, rt ∈ Ω(n2000)
sel'(_gen_0':mark':nil':01':ok'3(+(1, _n4091)), _gen_0':mark':nil':01':ok'3(b)) → _*4, rt ∈ Ω(n4091)
Generator Equations:
_gen_0':mark':nil':01':ok'3(0) ⇔ 0'
_gen_0':mark':nil':01':ok'3(+(x, 1)) ⇔ mark'(_gen_0':mark':nil':01':ok'3(x))
The following defined symbols remain to be analysed:
indx', active', from', s1', dbl1', sel1', quote', proper', top'
They will be analysed ascendingly in the following order:
indx' < active'
from' < active'
s1' < active'
dbl1' < active'
sel1' < active'
quote' < active'
active' < top'
indx' < proper'
from' < proper'
s1' < proper'
dbl1' < proper'
sel1' < proper'
quote' < proper'
proper' < top'
Proved the following rewrite lemma:
indx'(_gen_0':mark':nil':01':ok'3(+(1, _n7957)), _gen_0':mark':nil':01':ok'3(b)) → _*4, rt ∈ Ω(n7957)
Induction Base:
indx'(_gen_0':mark':nil':01':ok'3(+(1, 0)), _gen_0':mark':nil':01':ok'3(b))
Induction Step:
indx'(_gen_0':mark':nil':01':ok'3(+(1, +(_$n7958, 1))), _gen_0':mark':nil':01':ok'3(_b9318)) →RΩ(1)
mark'(indx'(_gen_0':mark':nil':01':ok'3(+(1, _$n7958)), _gen_0':mark':nil':01':ok'3(_b9318))) →IH
mark'(_*4)
We have rt ∈ Ω(n) and sz ∈ O(n). Thus, we have ircR ∈ Ω(n).
Rules:
active'(dbl'(0')) → mark'(0')
active'(dbl'(s'(X))) → mark'(s'(s'(dbl'(X))))
active'(dbls'(nil')) → mark'(nil')
active'(dbls'(cons'(X, Y))) → mark'(cons'(dbl'(X), dbls'(Y)))
active'(sel'(0', cons'(X, Y))) → mark'(X)
active'(sel'(s'(X), cons'(Y, Z))) → mark'(sel'(X, Z))
active'(indx'(nil', X)) → mark'(nil')
active'(indx'(cons'(X, Y), Z)) → mark'(cons'(sel'(X, Z), indx'(Y, Z)))
active'(from'(X)) → mark'(cons'(X, from'(s'(X))))
active'(dbl1'(0')) → mark'(01')
active'(dbl1'(s'(X))) → mark'(s1'(s1'(dbl1'(X))))
active'(sel1'(0', cons'(X, Y))) → mark'(X)
active'(sel1'(s'(X), cons'(Y, Z))) → mark'(sel1'(X, Z))
active'(quote'(0')) → mark'(01')
active'(quote'(s'(X))) → mark'(s1'(quote'(X)))
active'(quote'(dbl'(X))) → mark'(dbl1'(X))
active'(quote'(sel'(X, Y))) → mark'(sel1'(X, Y))
active'(dbl'(X)) → dbl'(active'(X))
active'(dbls'(X)) → dbls'(active'(X))
active'(sel'(X1, X2)) → sel'(active'(X1), X2)
active'(sel'(X1, X2)) → sel'(X1, active'(X2))
active'(indx'(X1, X2)) → indx'(active'(X1), X2)
active'(dbl1'(X)) → dbl1'(active'(X))
active'(s1'(X)) → s1'(active'(X))
active'(sel1'(X1, X2)) → sel1'(active'(X1), X2)
active'(sel1'(X1, X2)) → sel1'(X1, active'(X2))
active'(quote'(X)) → quote'(active'(X))
dbl'(mark'(X)) → mark'(dbl'(X))
dbls'(mark'(X)) → mark'(dbls'(X))
sel'(mark'(X1), X2) → mark'(sel'(X1, X2))
sel'(X1, mark'(X2)) → mark'(sel'(X1, X2))
indx'(mark'(X1), X2) → mark'(indx'(X1, X2))
dbl1'(mark'(X)) → mark'(dbl1'(X))
s1'(mark'(X)) → mark'(s1'(X))
sel1'(mark'(X1), X2) → mark'(sel1'(X1, X2))
sel1'(X1, mark'(X2)) → mark'(sel1'(X1, X2))
quote'(mark'(X)) → mark'(quote'(X))
proper'(dbl'(X)) → dbl'(proper'(X))
proper'(0') → ok'(0')
proper'(s'(X)) → s'(proper'(X))
proper'(dbls'(X)) → dbls'(proper'(X))
proper'(nil') → ok'(nil')
proper'(cons'(X1, X2)) → cons'(proper'(X1), proper'(X2))
proper'(sel'(X1, X2)) → sel'(proper'(X1), proper'(X2))
proper'(indx'(X1, X2)) → indx'(proper'(X1), proper'(X2))
proper'(from'(X)) → from'(proper'(X))
proper'(dbl1'(X)) → dbl1'(proper'(X))
proper'(01') → ok'(01')
proper'(s1'(X)) → s1'(proper'(X))
proper'(sel1'(X1, X2)) → sel1'(proper'(X1), proper'(X2))
proper'(quote'(X)) → quote'(proper'(X))
dbl'(ok'(X)) → ok'(dbl'(X))
s'(ok'(X)) → ok'(s'(X))
dbls'(ok'(X)) → ok'(dbls'(X))
cons'(ok'(X1), ok'(X2)) → ok'(cons'(X1, X2))
sel'(ok'(X1), ok'(X2)) → ok'(sel'(X1, X2))
indx'(ok'(X1), ok'(X2)) → ok'(indx'(X1, X2))
from'(ok'(X)) → ok'(from'(X))
dbl1'(ok'(X)) → ok'(dbl1'(X))
s1'(ok'(X)) → ok'(s1'(X))
sel1'(ok'(X1), ok'(X2)) → ok'(sel1'(X1, X2))
quote'(ok'(X)) → ok'(quote'(X))
top'(mark'(X)) → top'(proper'(X))
top'(ok'(X)) → top'(active'(X))
Types:
active' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
dbl' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
0' :: 0':mark':nil':01':ok'
mark' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
s' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
dbls' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
nil' :: 0':mark':nil':01':ok'
cons' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
sel' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
indx' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
from' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
dbl1' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
01' :: 0':mark':nil':01':ok'
s1' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
sel1' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
quote' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
proper' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
ok' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
top' :: 0':mark':nil':01':ok' → top'
_hole_0':mark':nil':01':ok'1 :: 0':mark':nil':01':ok'
_hole_top'2 :: top'
_gen_0':mark':nil':01':ok'3 :: Nat → 0':mark':nil':01':ok'
Lemmas:
dbl'(_gen_0':mark':nil':01':ok'3(+(1, _n11))) → _*4, rt ∈ Ω(n11)
dbls'(_gen_0':mark':nil':01':ok'3(+(1, _n2000))) → _*4, rt ∈ Ω(n2000)
sel'(_gen_0':mark':nil':01':ok'3(+(1, _n4091)), _gen_0':mark':nil':01':ok'3(b)) → _*4, rt ∈ Ω(n4091)
indx'(_gen_0':mark':nil':01':ok'3(+(1, _n7957)), _gen_0':mark':nil':01':ok'3(b)) → _*4, rt ∈ Ω(n7957)
Generator Equations:
_gen_0':mark':nil':01':ok'3(0) ⇔ 0'
_gen_0':mark':nil':01':ok'3(+(x, 1)) ⇔ mark'(_gen_0':mark':nil':01':ok'3(x))
The following defined symbols remain to be analysed:
from', active', s1', dbl1', sel1', quote', proper', top'
They will be analysed ascendingly in the following order:
from' < active'
s1' < active'
dbl1' < active'
sel1' < active'
quote' < active'
active' < top'
from' < proper'
s1' < proper'
dbl1' < proper'
sel1' < proper'
quote' < proper'
proper' < top'
Could not prove a rewrite lemma for the defined symbol from'.
Rules:
active'(dbl'(0')) → mark'(0')
active'(dbl'(s'(X))) → mark'(s'(s'(dbl'(X))))
active'(dbls'(nil')) → mark'(nil')
active'(dbls'(cons'(X, Y))) → mark'(cons'(dbl'(X), dbls'(Y)))
active'(sel'(0', cons'(X, Y))) → mark'(X)
active'(sel'(s'(X), cons'(Y, Z))) → mark'(sel'(X, Z))
active'(indx'(nil', X)) → mark'(nil')
active'(indx'(cons'(X, Y), Z)) → mark'(cons'(sel'(X, Z), indx'(Y, Z)))
active'(from'(X)) → mark'(cons'(X, from'(s'(X))))
active'(dbl1'(0')) → mark'(01')
active'(dbl1'(s'(X))) → mark'(s1'(s1'(dbl1'(X))))
active'(sel1'(0', cons'(X, Y))) → mark'(X)
active'(sel1'(s'(X), cons'(Y, Z))) → mark'(sel1'(X, Z))
active'(quote'(0')) → mark'(01')
active'(quote'(s'(X))) → mark'(s1'(quote'(X)))
active'(quote'(dbl'(X))) → mark'(dbl1'(X))
active'(quote'(sel'(X, Y))) → mark'(sel1'(X, Y))
active'(dbl'(X)) → dbl'(active'(X))
active'(dbls'(X)) → dbls'(active'(X))
active'(sel'(X1, X2)) → sel'(active'(X1), X2)
active'(sel'(X1, X2)) → sel'(X1, active'(X2))
active'(indx'(X1, X2)) → indx'(active'(X1), X2)
active'(dbl1'(X)) → dbl1'(active'(X))
active'(s1'(X)) → s1'(active'(X))
active'(sel1'(X1, X2)) → sel1'(active'(X1), X2)
active'(sel1'(X1, X2)) → sel1'(X1, active'(X2))
active'(quote'(X)) → quote'(active'(X))
dbl'(mark'(X)) → mark'(dbl'(X))
dbls'(mark'(X)) → mark'(dbls'(X))
sel'(mark'(X1), X2) → mark'(sel'(X1, X2))
sel'(X1, mark'(X2)) → mark'(sel'(X1, X2))
indx'(mark'(X1), X2) → mark'(indx'(X1, X2))
dbl1'(mark'(X)) → mark'(dbl1'(X))
s1'(mark'(X)) → mark'(s1'(X))
sel1'(mark'(X1), X2) → mark'(sel1'(X1, X2))
sel1'(X1, mark'(X2)) → mark'(sel1'(X1, X2))
quote'(mark'(X)) → mark'(quote'(X))
proper'(dbl'(X)) → dbl'(proper'(X))
proper'(0') → ok'(0')
proper'(s'(X)) → s'(proper'(X))
proper'(dbls'(X)) → dbls'(proper'(X))
proper'(nil') → ok'(nil')
proper'(cons'(X1, X2)) → cons'(proper'(X1), proper'(X2))
proper'(sel'(X1, X2)) → sel'(proper'(X1), proper'(X2))
proper'(indx'(X1, X2)) → indx'(proper'(X1), proper'(X2))
proper'(from'(X)) → from'(proper'(X))
proper'(dbl1'(X)) → dbl1'(proper'(X))
proper'(01') → ok'(01')
proper'(s1'(X)) → s1'(proper'(X))
proper'(sel1'(X1, X2)) → sel1'(proper'(X1), proper'(X2))
proper'(quote'(X)) → quote'(proper'(X))
dbl'(ok'(X)) → ok'(dbl'(X))
s'(ok'(X)) → ok'(s'(X))
dbls'(ok'(X)) → ok'(dbls'(X))
cons'(ok'(X1), ok'(X2)) → ok'(cons'(X1, X2))
sel'(ok'(X1), ok'(X2)) → ok'(sel'(X1, X2))
indx'(ok'(X1), ok'(X2)) → ok'(indx'(X1, X2))
from'(ok'(X)) → ok'(from'(X))
dbl1'(ok'(X)) → ok'(dbl1'(X))
s1'(ok'(X)) → ok'(s1'(X))
sel1'(ok'(X1), ok'(X2)) → ok'(sel1'(X1, X2))
quote'(ok'(X)) → ok'(quote'(X))
top'(mark'(X)) → top'(proper'(X))
top'(ok'(X)) → top'(active'(X))
Types:
active' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
dbl' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
0' :: 0':mark':nil':01':ok'
mark' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
s' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
dbls' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
nil' :: 0':mark':nil':01':ok'
cons' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
sel' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
indx' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
from' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
dbl1' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
01' :: 0':mark':nil':01':ok'
s1' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
sel1' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
quote' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
proper' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
ok' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
top' :: 0':mark':nil':01':ok' → top'
_hole_0':mark':nil':01':ok'1 :: 0':mark':nil':01':ok'
_hole_top'2 :: top'
_gen_0':mark':nil':01':ok'3 :: Nat → 0':mark':nil':01':ok'
Lemmas:
dbl'(_gen_0':mark':nil':01':ok'3(+(1, _n11))) → _*4, rt ∈ Ω(n11)
dbls'(_gen_0':mark':nil':01':ok'3(+(1, _n2000))) → _*4, rt ∈ Ω(n2000)
sel'(_gen_0':mark':nil':01':ok'3(+(1, _n4091)), _gen_0':mark':nil':01':ok'3(b)) → _*4, rt ∈ Ω(n4091)
indx'(_gen_0':mark':nil':01':ok'3(+(1, _n7957)), _gen_0':mark':nil':01':ok'3(b)) → _*4, rt ∈ Ω(n7957)
Generator Equations:
_gen_0':mark':nil':01':ok'3(0) ⇔ 0'
_gen_0':mark':nil':01':ok'3(+(x, 1)) ⇔ mark'(_gen_0':mark':nil':01':ok'3(x))
The following defined symbols remain to be analysed:
s1', active', dbl1', sel1', quote', proper', top'
They will be analysed ascendingly in the following order:
s1' < active'
dbl1' < active'
sel1' < active'
quote' < active'
active' < top'
s1' < proper'
dbl1' < proper'
sel1' < proper'
quote' < proper'
proper' < top'
Proved the following rewrite lemma:
s1'(_gen_0':mark':nil':01':ok'3(+(1, _n12010))) → _*4, rt ∈ Ω(n12010)
Induction Base:
s1'(_gen_0':mark':nil':01':ok'3(+(1, 0)))
Induction Step:
s1'(_gen_0':mark':nil':01':ok'3(+(1, +(_$n12011, 1)))) →RΩ(1)
mark'(s1'(_gen_0':mark':nil':01':ok'3(+(1, _$n12011)))) →IH
mark'(_*4)
We have rt ∈ Ω(n) and sz ∈ O(n). Thus, we have ircR ∈ Ω(n).
Rules:
active'(dbl'(0')) → mark'(0')
active'(dbl'(s'(X))) → mark'(s'(s'(dbl'(X))))
active'(dbls'(nil')) → mark'(nil')
active'(dbls'(cons'(X, Y))) → mark'(cons'(dbl'(X), dbls'(Y)))
active'(sel'(0', cons'(X, Y))) → mark'(X)
active'(sel'(s'(X), cons'(Y, Z))) → mark'(sel'(X, Z))
active'(indx'(nil', X)) → mark'(nil')
active'(indx'(cons'(X, Y), Z)) → mark'(cons'(sel'(X, Z), indx'(Y, Z)))
active'(from'(X)) → mark'(cons'(X, from'(s'(X))))
active'(dbl1'(0')) → mark'(01')
active'(dbl1'(s'(X))) → mark'(s1'(s1'(dbl1'(X))))
active'(sel1'(0', cons'(X, Y))) → mark'(X)
active'(sel1'(s'(X), cons'(Y, Z))) → mark'(sel1'(X, Z))
active'(quote'(0')) → mark'(01')
active'(quote'(s'(X))) → mark'(s1'(quote'(X)))
active'(quote'(dbl'(X))) → mark'(dbl1'(X))
active'(quote'(sel'(X, Y))) → mark'(sel1'(X, Y))
active'(dbl'(X)) → dbl'(active'(X))
active'(dbls'(X)) → dbls'(active'(X))
active'(sel'(X1, X2)) → sel'(active'(X1), X2)
active'(sel'(X1, X2)) → sel'(X1, active'(X2))
active'(indx'(X1, X2)) → indx'(active'(X1), X2)
active'(dbl1'(X)) → dbl1'(active'(X))
active'(s1'(X)) → s1'(active'(X))
active'(sel1'(X1, X2)) → sel1'(active'(X1), X2)
active'(sel1'(X1, X2)) → sel1'(X1, active'(X2))
active'(quote'(X)) → quote'(active'(X))
dbl'(mark'(X)) → mark'(dbl'(X))
dbls'(mark'(X)) → mark'(dbls'(X))
sel'(mark'(X1), X2) → mark'(sel'(X1, X2))
sel'(X1, mark'(X2)) → mark'(sel'(X1, X2))
indx'(mark'(X1), X2) → mark'(indx'(X1, X2))
dbl1'(mark'(X)) → mark'(dbl1'(X))
s1'(mark'(X)) → mark'(s1'(X))
sel1'(mark'(X1), X2) → mark'(sel1'(X1, X2))
sel1'(X1, mark'(X2)) → mark'(sel1'(X1, X2))
quote'(mark'(X)) → mark'(quote'(X))
proper'(dbl'(X)) → dbl'(proper'(X))
proper'(0') → ok'(0')
proper'(s'(X)) → s'(proper'(X))
proper'(dbls'(X)) → dbls'(proper'(X))
proper'(nil') → ok'(nil')
proper'(cons'(X1, X2)) → cons'(proper'(X1), proper'(X2))
proper'(sel'(X1, X2)) → sel'(proper'(X1), proper'(X2))
proper'(indx'(X1, X2)) → indx'(proper'(X1), proper'(X2))
proper'(from'(X)) → from'(proper'(X))
proper'(dbl1'(X)) → dbl1'(proper'(X))
proper'(01') → ok'(01')
proper'(s1'(X)) → s1'(proper'(X))
proper'(sel1'(X1, X2)) → sel1'(proper'(X1), proper'(X2))
proper'(quote'(X)) → quote'(proper'(X))
dbl'(ok'(X)) → ok'(dbl'(X))
s'(ok'(X)) → ok'(s'(X))
dbls'(ok'(X)) → ok'(dbls'(X))
cons'(ok'(X1), ok'(X2)) → ok'(cons'(X1, X2))
sel'(ok'(X1), ok'(X2)) → ok'(sel'(X1, X2))
indx'(ok'(X1), ok'(X2)) → ok'(indx'(X1, X2))
from'(ok'(X)) → ok'(from'(X))
dbl1'(ok'(X)) → ok'(dbl1'(X))
s1'(ok'(X)) → ok'(s1'(X))
sel1'(ok'(X1), ok'(X2)) → ok'(sel1'(X1, X2))
quote'(ok'(X)) → ok'(quote'(X))
top'(mark'(X)) → top'(proper'(X))
top'(ok'(X)) → top'(active'(X))
Types:
active' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
dbl' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
0' :: 0':mark':nil':01':ok'
mark' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
s' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
dbls' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
nil' :: 0':mark':nil':01':ok'
cons' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
sel' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
indx' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
from' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
dbl1' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
01' :: 0':mark':nil':01':ok'
s1' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
sel1' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
quote' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
proper' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
ok' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
top' :: 0':mark':nil':01':ok' → top'
_hole_0':mark':nil':01':ok'1 :: 0':mark':nil':01':ok'
_hole_top'2 :: top'
_gen_0':mark':nil':01':ok'3 :: Nat → 0':mark':nil':01':ok'
Lemmas:
dbl'(_gen_0':mark':nil':01':ok'3(+(1, _n11))) → _*4, rt ∈ Ω(n11)
dbls'(_gen_0':mark':nil':01':ok'3(+(1, _n2000))) → _*4, rt ∈ Ω(n2000)
sel'(_gen_0':mark':nil':01':ok'3(+(1, _n4091)), _gen_0':mark':nil':01':ok'3(b)) → _*4, rt ∈ Ω(n4091)
indx'(_gen_0':mark':nil':01':ok'3(+(1, _n7957)), _gen_0':mark':nil':01':ok'3(b)) → _*4, rt ∈ Ω(n7957)
s1'(_gen_0':mark':nil':01':ok'3(+(1, _n12010))) → _*4, rt ∈ Ω(n12010)
Generator Equations:
_gen_0':mark':nil':01':ok'3(0) ⇔ 0'
_gen_0':mark':nil':01':ok'3(+(x, 1)) ⇔ mark'(_gen_0':mark':nil':01':ok'3(x))
The following defined symbols remain to be analysed:
dbl1', active', sel1', quote', proper', top'
They will be analysed ascendingly in the following order:
dbl1' < active'
sel1' < active'
quote' < active'
active' < top'
dbl1' < proper'
sel1' < proper'
quote' < proper'
proper' < top'
Proved the following rewrite lemma:
dbl1'(_gen_0':mark':nil':01':ok'3(+(1, _n14607))) → _*4, rt ∈ Ω(n14607)
Induction Base:
dbl1'(_gen_0':mark':nil':01':ok'3(+(1, 0)))
Induction Step:
dbl1'(_gen_0':mark':nil':01':ok'3(+(1, +(_$n14608, 1)))) →RΩ(1)
mark'(dbl1'(_gen_0':mark':nil':01':ok'3(+(1, _$n14608)))) →IH
mark'(_*4)
We have rt ∈ Ω(n) and sz ∈ O(n). Thus, we have ircR ∈ Ω(n).
Rules:
active'(dbl'(0')) → mark'(0')
active'(dbl'(s'(X))) → mark'(s'(s'(dbl'(X))))
active'(dbls'(nil')) → mark'(nil')
active'(dbls'(cons'(X, Y))) → mark'(cons'(dbl'(X), dbls'(Y)))
active'(sel'(0', cons'(X, Y))) → mark'(X)
active'(sel'(s'(X), cons'(Y, Z))) → mark'(sel'(X, Z))
active'(indx'(nil', X)) → mark'(nil')
active'(indx'(cons'(X, Y), Z)) → mark'(cons'(sel'(X, Z), indx'(Y, Z)))
active'(from'(X)) → mark'(cons'(X, from'(s'(X))))
active'(dbl1'(0')) → mark'(01')
active'(dbl1'(s'(X))) → mark'(s1'(s1'(dbl1'(X))))
active'(sel1'(0', cons'(X, Y))) → mark'(X)
active'(sel1'(s'(X), cons'(Y, Z))) → mark'(sel1'(X, Z))
active'(quote'(0')) → mark'(01')
active'(quote'(s'(X))) → mark'(s1'(quote'(X)))
active'(quote'(dbl'(X))) → mark'(dbl1'(X))
active'(quote'(sel'(X, Y))) → mark'(sel1'(X, Y))
active'(dbl'(X)) → dbl'(active'(X))
active'(dbls'(X)) → dbls'(active'(X))
active'(sel'(X1, X2)) → sel'(active'(X1), X2)
active'(sel'(X1, X2)) → sel'(X1, active'(X2))
active'(indx'(X1, X2)) → indx'(active'(X1), X2)
active'(dbl1'(X)) → dbl1'(active'(X))
active'(s1'(X)) → s1'(active'(X))
active'(sel1'(X1, X2)) → sel1'(active'(X1), X2)
active'(sel1'(X1, X2)) → sel1'(X1, active'(X2))
active'(quote'(X)) → quote'(active'(X))
dbl'(mark'(X)) → mark'(dbl'(X))
dbls'(mark'(X)) → mark'(dbls'(X))
sel'(mark'(X1), X2) → mark'(sel'(X1, X2))
sel'(X1, mark'(X2)) → mark'(sel'(X1, X2))
indx'(mark'(X1), X2) → mark'(indx'(X1, X2))
dbl1'(mark'(X)) → mark'(dbl1'(X))
s1'(mark'(X)) → mark'(s1'(X))
sel1'(mark'(X1), X2) → mark'(sel1'(X1, X2))
sel1'(X1, mark'(X2)) → mark'(sel1'(X1, X2))
quote'(mark'(X)) → mark'(quote'(X))
proper'(dbl'(X)) → dbl'(proper'(X))
proper'(0') → ok'(0')
proper'(s'(X)) → s'(proper'(X))
proper'(dbls'(X)) → dbls'(proper'(X))
proper'(nil') → ok'(nil')
proper'(cons'(X1, X2)) → cons'(proper'(X1), proper'(X2))
proper'(sel'(X1, X2)) → sel'(proper'(X1), proper'(X2))
proper'(indx'(X1, X2)) → indx'(proper'(X1), proper'(X2))
proper'(from'(X)) → from'(proper'(X))
proper'(dbl1'(X)) → dbl1'(proper'(X))
proper'(01') → ok'(01')
proper'(s1'(X)) → s1'(proper'(X))
proper'(sel1'(X1, X2)) → sel1'(proper'(X1), proper'(X2))
proper'(quote'(X)) → quote'(proper'(X))
dbl'(ok'(X)) → ok'(dbl'(X))
s'(ok'(X)) → ok'(s'(X))
dbls'(ok'(X)) → ok'(dbls'(X))
cons'(ok'(X1), ok'(X2)) → ok'(cons'(X1, X2))
sel'(ok'(X1), ok'(X2)) → ok'(sel'(X1, X2))
indx'(ok'(X1), ok'(X2)) → ok'(indx'(X1, X2))
from'(ok'(X)) → ok'(from'(X))
dbl1'(ok'(X)) → ok'(dbl1'(X))
s1'(ok'(X)) → ok'(s1'(X))
sel1'(ok'(X1), ok'(X2)) → ok'(sel1'(X1, X2))
quote'(ok'(X)) → ok'(quote'(X))
top'(mark'(X)) → top'(proper'(X))
top'(ok'(X)) → top'(active'(X))
Types:
active' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
dbl' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
0' :: 0':mark':nil':01':ok'
mark' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
s' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
dbls' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
nil' :: 0':mark':nil':01':ok'
cons' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
sel' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
indx' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
from' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
dbl1' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
01' :: 0':mark':nil':01':ok'
s1' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
sel1' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
quote' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
proper' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
ok' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
top' :: 0':mark':nil':01':ok' → top'
_hole_0':mark':nil':01':ok'1 :: 0':mark':nil':01':ok'
_hole_top'2 :: top'
_gen_0':mark':nil':01':ok'3 :: Nat → 0':mark':nil':01':ok'
Lemmas:
dbl'(_gen_0':mark':nil':01':ok'3(+(1, _n11))) → _*4, rt ∈ Ω(n11)
dbls'(_gen_0':mark':nil':01':ok'3(+(1, _n2000))) → _*4, rt ∈ Ω(n2000)
sel'(_gen_0':mark':nil':01':ok'3(+(1, _n4091)), _gen_0':mark':nil':01':ok'3(b)) → _*4, rt ∈ Ω(n4091)
indx'(_gen_0':mark':nil':01':ok'3(+(1, _n7957)), _gen_0':mark':nil':01':ok'3(b)) → _*4, rt ∈ Ω(n7957)
s1'(_gen_0':mark':nil':01':ok'3(+(1, _n12010))) → _*4, rt ∈ Ω(n12010)
dbl1'(_gen_0':mark':nil':01':ok'3(+(1, _n14607))) → _*4, rt ∈ Ω(n14607)
Generator Equations:
_gen_0':mark':nil':01':ok'3(0) ⇔ 0'
_gen_0':mark':nil':01':ok'3(+(x, 1)) ⇔ mark'(_gen_0':mark':nil':01':ok'3(x))
The following defined symbols remain to be analysed:
sel1', active', quote', proper', top'
They will be analysed ascendingly in the following order:
sel1' < active'
quote' < active'
active' < top'
sel1' < proper'
quote' < proper'
proper' < top'
Proved the following rewrite lemma:
sel1'(_gen_0':mark':nil':01':ok'3(+(1, _n17328)), _gen_0':mark':nil':01':ok'3(b)) → _*4, rt ∈ Ω(n17328)
Induction Base:
sel1'(_gen_0':mark':nil':01':ok'3(+(1, 0)), _gen_0':mark':nil':01':ok'3(b))
Induction Step:
sel1'(_gen_0':mark':nil':01':ok'3(+(1, +(_$n17329, 1))), _gen_0':mark':nil':01':ok'3(_b19661)) →RΩ(1)
mark'(sel1'(_gen_0':mark':nil':01':ok'3(+(1, _$n17329)), _gen_0':mark':nil':01':ok'3(_b19661))) →IH
mark'(_*4)
We have rt ∈ Ω(n) and sz ∈ O(n). Thus, we have ircR ∈ Ω(n).
Rules:
active'(dbl'(0')) → mark'(0')
active'(dbl'(s'(X))) → mark'(s'(s'(dbl'(X))))
active'(dbls'(nil')) → mark'(nil')
active'(dbls'(cons'(X, Y))) → mark'(cons'(dbl'(X), dbls'(Y)))
active'(sel'(0', cons'(X, Y))) → mark'(X)
active'(sel'(s'(X), cons'(Y, Z))) → mark'(sel'(X, Z))
active'(indx'(nil', X)) → mark'(nil')
active'(indx'(cons'(X, Y), Z)) → mark'(cons'(sel'(X, Z), indx'(Y, Z)))
active'(from'(X)) → mark'(cons'(X, from'(s'(X))))
active'(dbl1'(0')) → mark'(01')
active'(dbl1'(s'(X))) → mark'(s1'(s1'(dbl1'(X))))
active'(sel1'(0', cons'(X, Y))) → mark'(X)
active'(sel1'(s'(X), cons'(Y, Z))) → mark'(sel1'(X, Z))
active'(quote'(0')) → mark'(01')
active'(quote'(s'(X))) → mark'(s1'(quote'(X)))
active'(quote'(dbl'(X))) → mark'(dbl1'(X))
active'(quote'(sel'(X, Y))) → mark'(sel1'(X, Y))
active'(dbl'(X)) → dbl'(active'(X))
active'(dbls'(X)) → dbls'(active'(X))
active'(sel'(X1, X2)) → sel'(active'(X1), X2)
active'(sel'(X1, X2)) → sel'(X1, active'(X2))
active'(indx'(X1, X2)) → indx'(active'(X1), X2)
active'(dbl1'(X)) → dbl1'(active'(X))
active'(s1'(X)) → s1'(active'(X))
active'(sel1'(X1, X2)) → sel1'(active'(X1), X2)
active'(sel1'(X1, X2)) → sel1'(X1, active'(X2))
active'(quote'(X)) → quote'(active'(X))
dbl'(mark'(X)) → mark'(dbl'(X))
dbls'(mark'(X)) → mark'(dbls'(X))
sel'(mark'(X1), X2) → mark'(sel'(X1, X2))
sel'(X1, mark'(X2)) → mark'(sel'(X1, X2))
indx'(mark'(X1), X2) → mark'(indx'(X1, X2))
dbl1'(mark'(X)) → mark'(dbl1'(X))
s1'(mark'(X)) → mark'(s1'(X))
sel1'(mark'(X1), X2) → mark'(sel1'(X1, X2))
sel1'(X1, mark'(X2)) → mark'(sel1'(X1, X2))
quote'(mark'(X)) → mark'(quote'(X))
proper'(dbl'(X)) → dbl'(proper'(X))
proper'(0') → ok'(0')
proper'(s'(X)) → s'(proper'(X))
proper'(dbls'(X)) → dbls'(proper'(X))
proper'(nil') → ok'(nil')
proper'(cons'(X1, X2)) → cons'(proper'(X1), proper'(X2))
proper'(sel'(X1, X2)) → sel'(proper'(X1), proper'(X2))
proper'(indx'(X1, X2)) → indx'(proper'(X1), proper'(X2))
proper'(from'(X)) → from'(proper'(X))
proper'(dbl1'(X)) → dbl1'(proper'(X))
proper'(01') → ok'(01')
proper'(s1'(X)) → s1'(proper'(X))
proper'(sel1'(X1, X2)) → sel1'(proper'(X1), proper'(X2))
proper'(quote'(X)) → quote'(proper'(X))
dbl'(ok'(X)) → ok'(dbl'(X))
s'(ok'(X)) → ok'(s'(X))
dbls'(ok'(X)) → ok'(dbls'(X))
cons'(ok'(X1), ok'(X2)) → ok'(cons'(X1, X2))
sel'(ok'(X1), ok'(X2)) → ok'(sel'(X1, X2))
indx'(ok'(X1), ok'(X2)) → ok'(indx'(X1, X2))
from'(ok'(X)) → ok'(from'(X))
dbl1'(ok'(X)) → ok'(dbl1'(X))
s1'(ok'(X)) → ok'(s1'(X))
sel1'(ok'(X1), ok'(X2)) → ok'(sel1'(X1, X2))
quote'(ok'(X)) → ok'(quote'(X))
top'(mark'(X)) → top'(proper'(X))
top'(ok'(X)) → top'(active'(X))
Types:
active' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
dbl' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
0' :: 0':mark':nil':01':ok'
mark' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
s' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
dbls' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
nil' :: 0':mark':nil':01':ok'
cons' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
sel' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
indx' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
from' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
dbl1' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
01' :: 0':mark':nil':01':ok'
s1' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
sel1' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
quote' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
proper' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
ok' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
top' :: 0':mark':nil':01':ok' → top'
_hole_0':mark':nil':01':ok'1 :: 0':mark':nil':01':ok'
_hole_top'2 :: top'
_gen_0':mark':nil':01':ok'3 :: Nat → 0':mark':nil':01':ok'
Lemmas:
dbl'(_gen_0':mark':nil':01':ok'3(+(1, _n11))) → _*4, rt ∈ Ω(n11)
dbls'(_gen_0':mark':nil':01':ok'3(+(1, _n2000))) → _*4, rt ∈ Ω(n2000)
sel'(_gen_0':mark':nil':01':ok'3(+(1, _n4091)), _gen_0':mark':nil':01':ok'3(b)) → _*4, rt ∈ Ω(n4091)
indx'(_gen_0':mark':nil':01':ok'3(+(1, _n7957)), _gen_0':mark':nil':01':ok'3(b)) → _*4, rt ∈ Ω(n7957)
s1'(_gen_0':mark':nil':01':ok'3(+(1, _n12010))) → _*4, rt ∈ Ω(n12010)
dbl1'(_gen_0':mark':nil':01':ok'3(+(1, _n14607))) → _*4, rt ∈ Ω(n14607)
sel1'(_gen_0':mark':nil':01':ok'3(+(1, _n17328)), _gen_0':mark':nil':01':ok'3(b)) → _*4, rt ∈ Ω(n17328)
Generator Equations:
_gen_0':mark':nil':01':ok'3(0) ⇔ 0'
_gen_0':mark':nil':01':ok'3(+(x, 1)) ⇔ mark'(_gen_0':mark':nil':01':ok'3(x))
The following defined symbols remain to be analysed:
quote', active', proper', top'
They will be analysed ascendingly in the following order:
quote' < active'
active' < top'
quote' < proper'
proper' < top'
Proved the following rewrite lemma:
quote'(_gen_0':mark':nil':01':ok'3(+(1, _n22412))) → _*4, rt ∈ Ω(n22412)
Induction Base:
quote'(_gen_0':mark':nil':01':ok'3(+(1, 0)))
Induction Step:
quote'(_gen_0':mark':nil':01':ok'3(+(1, +(_$n22413, 1)))) →RΩ(1)
mark'(quote'(_gen_0':mark':nil':01':ok'3(+(1, _$n22413)))) →IH
mark'(_*4)
We have rt ∈ Ω(n) and sz ∈ O(n). Thus, we have ircR ∈ Ω(n).
Rules:
active'(dbl'(0')) → mark'(0')
active'(dbl'(s'(X))) → mark'(s'(s'(dbl'(X))))
active'(dbls'(nil')) → mark'(nil')
active'(dbls'(cons'(X, Y))) → mark'(cons'(dbl'(X), dbls'(Y)))
active'(sel'(0', cons'(X, Y))) → mark'(X)
active'(sel'(s'(X), cons'(Y, Z))) → mark'(sel'(X, Z))
active'(indx'(nil', X)) → mark'(nil')
active'(indx'(cons'(X, Y), Z)) → mark'(cons'(sel'(X, Z), indx'(Y, Z)))
active'(from'(X)) → mark'(cons'(X, from'(s'(X))))
active'(dbl1'(0')) → mark'(01')
active'(dbl1'(s'(X))) → mark'(s1'(s1'(dbl1'(X))))
active'(sel1'(0', cons'(X, Y))) → mark'(X)
active'(sel1'(s'(X), cons'(Y, Z))) → mark'(sel1'(X, Z))
active'(quote'(0')) → mark'(01')
active'(quote'(s'(X))) → mark'(s1'(quote'(X)))
active'(quote'(dbl'(X))) → mark'(dbl1'(X))
active'(quote'(sel'(X, Y))) → mark'(sel1'(X, Y))
active'(dbl'(X)) → dbl'(active'(X))
active'(dbls'(X)) → dbls'(active'(X))
active'(sel'(X1, X2)) → sel'(active'(X1), X2)
active'(sel'(X1, X2)) → sel'(X1, active'(X2))
active'(indx'(X1, X2)) → indx'(active'(X1), X2)
active'(dbl1'(X)) → dbl1'(active'(X))
active'(s1'(X)) → s1'(active'(X))
active'(sel1'(X1, X2)) → sel1'(active'(X1), X2)
active'(sel1'(X1, X2)) → sel1'(X1, active'(X2))
active'(quote'(X)) → quote'(active'(X))
dbl'(mark'(X)) → mark'(dbl'(X))
dbls'(mark'(X)) → mark'(dbls'(X))
sel'(mark'(X1), X2) → mark'(sel'(X1, X2))
sel'(X1, mark'(X2)) → mark'(sel'(X1, X2))
indx'(mark'(X1), X2) → mark'(indx'(X1, X2))
dbl1'(mark'(X)) → mark'(dbl1'(X))
s1'(mark'(X)) → mark'(s1'(X))
sel1'(mark'(X1), X2) → mark'(sel1'(X1, X2))
sel1'(X1, mark'(X2)) → mark'(sel1'(X1, X2))
quote'(mark'(X)) → mark'(quote'(X))
proper'(dbl'(X)) → dbl'(proper'(X))
proper'(0') → ok'(0')
proper'(s'(X)) → s'(proper'(X))
proper'(dbls'(X)) → dbls'(proper'(X))
proper'(nil') → ok'(nil')
proper'(cons'(X1, X2)) → cons'(proper'(X1), proper'(X2))
proper'(sel'(X1, X2)) → sel'(proper'(X1), proper'(X2))
proper'(indx'(X1, X2)) → indx'(proper'(X1), proper'(X2))
proper'(from'(X)) → from'(proper'(X))
proper'(dbl1'(X)) → dbl1'(proper'(X))
proper'(01') → ok'(01')
proper'(s1'(X)) → s1'(proper'(X))
proper'(sel1'(X1, X2)) → sel1'(proper'(X1), proper'(X2))
proper'(quote'(X)) → quote'(proper'(X))
dbl'(ok'(X)) → ok'(dbl'(X))
s'(ok'(X)) → ok'(s'(X))
dbls'(ok'(X)) → ok'(dbls'(X))
cons'(ok'(X1), ok'(X2)) → ok'(cons'(X1, X2))
sel'(ok'(X1), ok'(X2)) → ok'(sel'(X1, X2))
indx'(ok'(X1), ok'(X2)) → ok'(indx'(X1, X2))
from'(ok'(X)) → ok'(from'(X))
dbl1'(ok'(X)) → ok'(dbl1'(X))
s1'(ok'(X)) → ok'(s1'(X))
sel1'(ok'(X1), ok'(X2)) → ok'(sel1'(X1, X2))
quote'(ok'(X)) → ok'(quote'(X))
top'(mark'(X)) → top'(proper'(X))
top'(ok'(X)) → top'(active'(X))
Types:
active' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
dbl' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
0' :: 0':mark':nil':01':ok'
mark' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
s' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
dbls' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
nil' :: 0':mark':nil':01':ok'
cons' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
sel' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
indx' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
from' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
dbl1' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
01' :: 0':mark':nil':01':ok'
s1' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
sel1' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
quote' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
proper' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
ok' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
top' :: 0':mark':nil':01':ok' → top'
_hole_0':mark':nil':01':ok'1 :: 0':mark':nil':01':ok'
_hole_top'2 :: top'
_gen_0':mark':nil':01':ok'3 :: Nat → 0':mark':nil':01':ok'
Lemmas:
dbl'(_gen_0':mark':nil':01':ok'3(+(1, _n11))) → _*4, rt ∈ Ω(n11)
dbls'(_gen_0':mark':nil':01':ok'3(+(1, _n2000))) → _*4, rt ∈ Ω(n2000)
sel'(_gen_0':mark':nil':01':ok'3(+(1, _n4091)), _gen_0':mark':nil':01':ok'3(b)) → _*4, rt ∈ Ω(n4091)
indx'(_gen_0':mark':nil':01':ok'3(+(1, _n7957)), _gen_0':mark':nil':01':ok'3(b)) → _*4, rt ∈ Ω(n7957)
s1'(_gen_0':mark':nil':01':ok'3(+(1, _n12010))) → _*4, rt ∈ Ω(n12010)
dbl1'(_gen_0':mark':nil':01':ok'3(+(1, _n14607))) → _*4, rt ∈ Ω(n14607)
sel1'(_gen_0':mark':nil':01':ok'3(+(1, _n17328)), _gen_0':mark':nil':01':ok'3(b)) → _*4, rt ∈ Ω(n17328)
quote'(_gen_0':mark':nil':01':ok'3(+(1, _n22412))) → _*4, rt ∈ Ω(n22412)
Generator Equations:
_gen_0':mark':nil':01':ok'3(0) ⇔ 0'
_gen_0':mark':nil':01':ok'3(+(x, 1)) ⇔ mark'(_gen_0':mark':nil':01':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'(dbl'(0')) → mark'(0')
active'(dbl'(s'(X))) → mark'(s'(s'(dbl'(X))))
active'(dbls'(nil')) → mark'(nil')
active'(dbls'(cons'(X, Y))) → mark'(cons'(dbl'(X), dbls'(Y)))
active'(sel'(0', cons'(X, Y))) → mark'(X)
active'(sel'(s'(X), cons'(Y, Z))) → mark'(sel'(X, Z))
active'(indx'(nil', X)) → mark'(nil')
active'(indx'(cons'(X, Y), Z)) → mark'(cons'(sel'(X, Z), indx'(Y, Z)))
active'(from'(X)) → mark'(cons'(X, from'(s'(X))))
active'(dbl1'(0')) → mark'(01')
active'(dbl1'(s'(X))) → mark'(s1'(s1'(dbl1'(X))))
active'(sel1'(0', cons'(X, Y))) → mark'(X)
active'(sel1'(s'(X), cons'(Y, Z))) → mark'(sel1'(X, Z))
active'(quote'(0')) → mark'(01')
active'(quote'(s'(X))) → mark'(s1'(quote'(X)))
active'(quote'(dbl'(X))) → mark'(dbl1'(X))
active'(quote'(sel'(X, Y))) → mark'(sel1'(X, Y))
active'(dbl'(X)) → dbl'(active'(X))
active'(dbls'(X)) → dbls'(active'(X))
active'(sel'(X1, X2)) → sel'(active'(X1), X2)
active'(sel'(X1, X2)) → sel'(X1, active'(X2))
active'(indx'(X1, X2)) → indx'(active'(X1), X2)
active'(dbl1'(X)) → dbl1'(active'(X))
active'(s1'(X)) → s1'(active'(X))
active'(sel1'(X1, X2)) → sel1'(active'(X1), X2)
active'(sel1'(X1, X2)) → sel1'(X1, active'(X2))
active'(quote'(X)) → quote'(active'(X))
dbl'(mark'(X)) → mark'(dbl'(X))
dbls'(mark'(X)) → mark'(dbls'(X))
sel'(mark'(X1), X2) → mark'(sel'(X1, X2))
sel'(X1, mark'(X2)) → mark'(sel'(X1, X2))
indx'(mark'(X1), X2) → mark'(indx'(X1, X2))
dbl1'(mark'(X)) → mark'(dbl1'(X))
s1'(mark'(X)) → mark'(s1'(X))
sel1'(mark'(X1), X2) → mark'(sel1'(X1, X2))
sel1'(X1, mark'(X2)) → mark'(sel1'(X1, X2))
quote'(mark'(X)) → mark'(quote'(X))
proper'(dbl'(X)) → dbl'(proper'(X))
proper'(0') → ok'(0')
proper'(s'(X)) → s'(proper'(X))
proper'(dbls'(X)) → dbls'(proper'(X))
proper'(nil') → ok'(nil')
proper'(cons'(X1, X2)) → cons'(proper'(X1), proper'(X2))
proper'(sel'(X1, X2)) → sel'(proper'(X1), proper'(X2))
proper'(indx'(X1, X2)) → indx'(proper'(X1), proper'(X2))
proper'(from'(X)) → from'(proper'(X))
proper'(dbl1'(X)) → dbl1'(proper'(X))
proper'(01') → ok'(01')
proper'(s1'(X)) → s1'(proper'(X))
proper'(sel1'(X1, X2)) → sel1'(proper'(X1), proper'(X2))
proper'(quote'(X)) → quote'(proper'(X))
dbl'(ok'(X)) → ok'(dbl'(X))
s'(ok'(X)) → ok'(s'(X))
dbls'(ok'(X)) → ok'(dbls'(X))
cons'(ok'(X1), ok'(X2)) → ok'(cons'(X1, X2))
sel'(ok'(X1), ok'(X2)) → ok'(sel'(X1, X2))
indx'(ok'(X1), ok'(X2)) → ok'(indx'(X1, X2))
from'(ok'(X)) → ok'(from'(X))
dbl1'(ok'(X)) → ok'(dbl1'(X))
s1'(ok'(X)) → ok'(s1'(X))
sel1'(ok'(X1), ok'(X2)) → ok'(sel1'(X1, X2))
quote'(ok'(X)) → ok'(quote'(X))
top'(mark'(X)) → top'(proper'(X))
top'(ok'(X)) → top'(active'(X))
Types:
active' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
dbl' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
0' :: 0':mark':nil':01':ok'
mark' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
s' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
dbls' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
nil' :: 0':mark':nil':01':ok'
cons' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
sel' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
indx' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
from' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
dbl1' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
01' :: 0':mark':nil':01':ok'
s1' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
sel1' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
quote' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
proper' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
ok' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
top' :: 0':mark':nil':01':ok' → top'
_hole_0':mark':nil':01':ok'1 :: 0':mark':nil':01':ok'
_hole_top'2 :: top'
_gen_0':mark':nil':01':ok'3 :: Nat → 0':mark':nil':01':ok'
Lemmas:
dbl'(_gen_0':mark':nil':01':ok'3(+(1, _n11))) → _*4, rt ∈ Ω(n11)
dbls'(_gen_0':mark':nil':01':ok'3(+(1, _n2000))) → _*4, rt ∈ Ω(n2000)
sel'(_gen_0':mark':nil':01':ok'3(+(1, _n4091)), _gen_0':mark':nil':01':ok'3(b)) → _*4, rt ∈ Ω(n4091)
indx'(_gen_0':mark':nil':01':ok'3(+(1, _n7957)), _gen_0':mark':nil':01':ok'3(b)) → _*4, rt ∈ Ω(n7957)
s1'(_gen_0':mark':nil':01':ok'3(+(1, _n12010))) → _*4, rt ∈ Ω(n12010)
dbl1'(_gen_0':mark':nil':01':ok'3(+(1, _n14607))) → _*4, rt ∈ Ω(n14607)
sel1'(_gen_0':mark':nil':01':ok'3(+(1, _n17328)), _gen_0':mark':nil':01':ok'3(b)) → _*4, rt ∈ Ω(n17328)
quote'(_gen_0':mark':nil':01':ok'3(+(1, _n22412))) → _*4, rt ∈ Ω(n22412)
Generator Equations:
_gen_0':mark':nil':01':ok'3(0) ⇔ 0'
_gen_0':mark':nil':01':ok'3(+(x, 1)) ⇔ mark'(_gen_0':mark':nil':01':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'(dbl'(0')) → mark'(0')
active'(dbl'(s'(X))) → mark'(s'(s'(dbl'(X))))
active'(dbls'(nil')) → mark'(nil')
active'(dbls'(cons'(X, Y))) → mark'(cons'(dbl'(X), dbls'(Y)))
active'(sel'(0', cons'(X, Y))) → mark'(X)
active'(sel'(s'(X), cons'(Y, Z))) → mark'(sel'(X, Z))
active'(indx'(nil', X)) → mark'(nil')
active'(indx'(cons'(X, Y), Z)) → mark'(cons'(sel'(X, Z), indx'(Y, Z)))
active'(from'(X)) → mark'(cons'(X, from'(s'(X))))
active'(dbl1'(0')) → mark'(01')
active'(dbl1'(s'(X))) → mark'(s1'(s1'(dbl1'(X))))
active'(sel1'(0', cons'(X, Y))) → mark'(X)
active'(sel1'(s'(X), cons'(Y, Z))) → mark'(sel1'(X, Z))
active'(quote'(0')) → mark'(01')
active'(quote'(s'(X))) → mark'(s1'(quote'(X)))
active'(quote'(dbl'(X))) → mark'(dbl1'(X))
active'(quote'(sel'(X, Y))) → mark'(sel1'(X, Y))
active'(dbl'(X)) → dbl'(active'(X))
active'(dbls'(X)) → dbls'(active'(X))
active'(sel'(X1, X2)) → sel'(active'(X1), X2)
active'(sel'(X1, X2)) → sel'(X1, active'(X2))
active'(indx'(X1, X2)) → indx'(active'(X1), X2)
active'(dbl1'(X)) → dbl1'(active'(X))
active'(s1'(X)) → s1'(active'(X))
active'(sel1'(X1, X2)) → sel1'(active'(X1), X2)
active'(sel1'(X1, X2)) → sel1'(X1, active'(X2))
active'(quote'(X)) → quote'(active'(X))
dbl'(mark'(X)) → mark'(dbl'(X))
dbls'(mark'(X)) → mark'(dbls'(X))
sel'(mark'(X1), X2) → mark'(sel'(X1, X2))
sel'(X1, mark'(X2)) → mark'(sel'(X1, X2))
indx'(mark'(X1), X2) → mark'(indx'(X1, X2))
dbl1'(mark'(X)) → mark'(dbl1'(X))
s1'(mark'(X)) → mark'(s1'(X))
sel1'(mark'(X1), X2) → mark'(sel1'(X1, X2))
sel1'(X1, mark'(X2)) → mark'(sel1'(X1, X2))
quote'(mark'(X)) → mark'(quote'(X))
proper'(dbl'(X)) → dbl'(proper'(X))
proper'(0') → ok'(0')
proper'(s'(X)) → s'(proper'(X))
proper'(dbls'(X)) → dbls'(proper'(X))
proper'(nil') → ok'(nil')
proper'(cons'(X1, X2)) → cons'(proper'(X1), proper'(X2))
proper'(sel'(X1, X2)) → sel'(proper'(X1), proper'(X2))
proper'(indx'(X1, X2)) → indx'(proper'(X1), proper'(X2))
proper'(from'(X)) → from'(proper'(X))
proper'(dbl1'(X)) → dbl1'(proper'(X))
proper'(01') → ok'(01')
proper'(s1'(X)) → s1'(proper'(X))
proper'(sel1'(X1, X2)) → sel1'(proper'(X1), proper'(X2))
proper'(quote'(X)) → quote'(proper'(X))
dbl'(ok'(X)) → ok'(dbl'(X))
s'(ok'(X)) → ok'(s'(X))
dbls'(ok'(X)) → ok'(dbls'(X))
cons'(ok'(X1), ok'(X2)) → ok'(cons'(X1, X2))
sel'(ok'(X1), ok'(X2)) → ok'(sel'(X1, X2))
indx'(ok'(X1), ok'(X2)) → ok'(indx'(X1, X2))
from'(ok'(X)) → ok'(from'(X))
dbl1'(ok'(X)) → ok'(dbl1'(X))
s1'(ok'(X)) → ok'(s1'(X))
sel1'(ok'(X1), ok'(X2)) → ok'(sel1'(X1, X2))
quote'(ok'(X)) → ok'(quote'(X))
top'(mark'(X)) → top'(proper'(X))
top'(ok'(X)) → top'(active'(X))
Types:
active' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
dbl' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
0' :: 0':mark':nil':01':ok'
mark' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
s' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
dbls' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
nil' :: 0':mark':nil':01':ok'
cons' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
sel' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
indx' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
from' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
dbl1' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
01' :: 0':mark':nil':01':ok'
s1' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
sel1' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
quote' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
proper' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
ok' :: 0':mark':nil':01':ok' → 0':mark':nil':01':ok'
top' :: 0':mark':nil':01':ok' → top'
_hole_0':mark':nil':01':ok'1 :: 0':mark':nil':01':ok'
_hole_top'2 :: top'
_gen_0':mark':nil':01':ok'3 :: Nat → 0':mark':nil':01':ok'
Lemmas:
dbl'(_gen_0':mark':nil':01':ok'3(+(1, _n11))) → _*4, rt ∈ Ω(n11)
dbls'(_gen_0':mark':nil':01':ok'3(+(1, _n2000))) → _*4, rt ∈ Ω(n2000)
sel'(_gen_0':mark':nil':01':ok'3(+(1, _n4091)), _gen_0':mark':nil':01':ok'3(b)) → _*4, rt ∈ Ω(n4091)
indx'(_gen_0':mark':nil':01':ok'3(+(1, _n7957)), _gen_0':mark':nil':01':ok'3(b)) → _*4, rt ∈ Ω(n7957)
s1'(_gen_0':mark':nil':01':ok'3(+(1, _n12010))) → _*4, rt ∈ Ω(n12010)
dbl1'(_gen_0':mark':nil':01':ok'3(+(1, _n14607))) → _*4, rt ∈ Ω(n14607)
sel1'(_gen_0':mark':nil':01':ok'3(+(1, _n17328)), _gen_0':mark':nil':01':ok'3(b)) → _*4, rt ∈ Ω(n17328)
quote'(_gen_0':mark':nil':01':ok'3(+(1, _n22412))) → _*4, rt ∈ Ω(n22412)
Generator Equations:
_gen_0':mark':nil':01':ok'3(0) ⇔ 0'
_gen_0':mark':nil':01':ok'3(+(x, 1)) ⇔ mark'(_gen_0':mark':nil':01':ok'3(x))
The following defined symbols remain to be analysed:
top'