Runtime Complexity TRS:
The TRS R consists of the following rules:
active(U11(tt, V1, V2)) → mark(U12(isNat(V1), V2))
active(U12(tt, V2)) → mark(U13(isNat(V2)))
active(U13(tt)) → mark(tt)
active(U21(tt, V1)) → mark(U22(isNat(V1)))
active(U22(tt)) → mark(tt)
active(U31(tt, V1, V2)) → mark(U32(isNat(V1), V2))
active(U32(tt, V2)) → mark(U33(isNat(V2)))
active(U33(tt)) → mark(tt)
active(U41(tt, N)) → mark(N)
active(U51(tt, M, N)) → mark(s(plus(N, M)))
active(U61(tt)) → mark(0)
active(U71(tt, M, N)) → mark(plus(x(N, M), N))
active(and(tt, X)) → mark(X)
active(isNat(0)) → mark(tt)
active(isNat(plus(V1, V2))) → mark(U11(and(isNatKind(V1), isNatKind(V2)), V1, V2))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNat(x(V1, V2))) → mark(U31(and(isNatKind(V1), isNatKind(V2)), V1, V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(plus(V1, V2))) → mark(and(isNatKind(V1), isNatKind(V2)))
active(isNatKind(s(V1))) → mark(isNatKind(V1))
active(isNatKind(x(V1, V2))) → mark(and(isNatKind(V1), isNatKind(V2)))
active(plus(N, 0)) → mark(U41(and(isNat(N), isNatKind(N)), N))
active(plus(N, s(M))) → mark(U51(and(and(isNat(M), isNatKind(M)), and(isNat(N), isNatKind(N))), M, N))
active(x(N, 0)) → mark(U61(and(isNat(N), isNatKind(N))))
active(x(N, s(M))) → mark(U71(and(and(isNat(M), isNatKind(M)), and(isNat(N), isNatKind(N))), M, N))
active(U11(X1, X2, X3)) → U11(active(X1), X2, X3)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U13(X)) → U13(active(X))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X)) → U22(active(X))
active(U31(X1, X2, X3)) → U31(active(X1), X2, X3)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2)) → U41(active(X1), X2)
active(U51(X1, X2, X3)) → U51(active(X1), X2, X3)
active(s(X)) → s(active(X))
active(plus(X1, X2)) → plus(active(X1), X2)
active(plus(X1, X2)) → plus(X1, active(X2))
active(U61(X)) → U61(active(X))
active(U71(X1, X2, X3)) → U71(active(X1), X2, X3)
active(x(X1, X2)) → x(active(X1), X2)
active(x(X1, X2)) → x(X1, active(X2))
active(and(X1, X2)) → and(active(X1), X2)
U11(mark(X1), X2, X3) → mark(U11(X1, X2, X3))
U12(mark(X1), X2) → mark(U12(X1, X2))
U13(mark(X)) → mark(U13(X))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X)) → mark(U22(X))
U31(mark(X1), X2, X3) → mark(U31(X1, X2, X3))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2) → mark(U41(X1, X2))
U51(mark(X1), X2, X3) → mark(U51(X1, X2, X3))
s(mark(X)) → mark(s(X))
plus(mark(X1), X2) → mark(plus(X1, X2))
plus(X1, mark(X2)) → mark(plus(X1, X2))
U61(mark(X)) → mark(U61(X))
U71(mark(X1), X2, X3) → mark(U71(X1, X2, X3))
x(mark(X1), X2) → mark(x(X1, X2))
x(X1, mark(X2)) → mark(x(X1, X2))
and(mark(X1), X2) → mark(and(X1, X2))
proper(U11(X1, X2, X3)) → U11(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U13(X)) → U13(proper(X))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X)) → U22(proper(X))
proper(U31(X1, X2, X3)) → U31(proper(X1), proper(X2), proper(X3))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2)) → U41(proper(X1), proper(X2))
proper(U51(X1, X2, X3)) → U51(proper(X1), proper(X2), proper(X3))
proper(s(X)) → s(proper(X))
proper(plus(X1, X2)) → plus(proper(X1), proper(X2))
proper(U61(X)) → U61(proper(X))
proper(0) → ok(0)
proper(U71(X1, X2, X3)) → U71(proper(X1), proper(X2), proper(X3))
proper(x(X1, X2)) → x(proper(X1), proper(X2))
proper(and(X1, X2)) → and(proper(X1), proper(X2))
proper(isNatKind(X)) → isNatKind(proper(X))
U11(ok(X1), ok(X2), ok(X3)) → ok(U11(X1, X2, X3))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U13(ok(X)) → ok(U13(X))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X)) → ok(U22(X))
U31(ok(X1), ok(X2), ok(X3)) → ok(U31(X1, X2, X3))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2)) → ok(U41(X1, X2))
U51(ok(X1), ok(X2), ok(X3)) → ok(U51(X1, X2, X3))
s(ok(X)) → ok(s(X))
plus(ok(X1), ok(X2)) → ok(plus(X1, X2))
U61(ok(X)) → ok(U61(X))
U71(ok(X1), ok(X2), ok(X3)) → ok(U71(X1, X2, X3))
x(ok(X1), ok(X2)) → ok(x(X1, X2))
and(ok(X1), ok(X2)) → ok(and(X1, X2))
isNatKind(ok(X)) → ok(isNatKind(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'(U11'(tt', V1, V2)) → mark'(U12'(isNat'(V1), V2))
active'(U12'(tt', V2)) → mark'(U13'(isNat'(V2)))
active'(U13'(tt')) → mark'(tt')
active'(U21'(tt', V1)) → mark'(U22'(isNat'(V1)))
active'(U22'(tt')) → mark'(tt')
active'(U31'(tt', V1, V2)) → mark'(U32'(isNat'(V1), V2))
active'(U32'(tt', V2)) → mark'(U33'(isNat'(V2)))
active'(U33'(tt')) → mark'(tt')
active'(U41'(tt', N)) → mark'(N)
active'(U51'(tt', M, N)) → mark'(s'(plus'(N, M)))
active'(U61'(tt')) → mark'(0')
active'(U71'(tt', M, N)) → mark'(plus'(x'(N, M), N))
active'(and'(tt', X)) → mark'(X)
active'(isNat'(0')) → mark'(tt')
active'(isNat'(plus'(V1, V2))) → mark'(U11'(and'(isNatKind'(V1), isNatKind'(V2)), V1, V2))
active'(isNat'(s'(V1))) → mark'(U21'(isNatKind'(V1), V1))
active'(isNat'(x'(V1, V2))) → mark'(U31'(and'(isNatKind'(V1), isNatKind'(V2)), V1, V2))
active'(isNatKind'(0')) → mark'(tt')
active'(isNatKind'(plus'(V1, V2))) → mark'(and'(isNatKind'(V1), isNatKind'(V2)))
active'(isNatKind'(s'(V1))) → mark'(isNatKind'(V1))
active'(isNatKind'(x'(V1, V2))) → mark'(and'(isNatKind'(V1), isNatKind'(V2)))
active'(plus'(N, 0')) → mark'(U41'(and'(isNat'(N), isNatKind'(N)), N))
active'(plus'(N, s'(M))) → mark'(U51'(and'(and'(isNat'(M), isNatKind'(M)), and'(isNat'(N), isNatKind'(N))), M, N))
active'(x'(N, 0')) → mark'(U61'(and'(isNat'(N), isNatKind'(N))))
active'(x'(N, s'(M))) → mark'(U71'(and'(and'(isNat'(M), isNatKind'(M)), and'(isNat'(N), isNatKind'(N))), M, N))
active'(U11'(X1, X2, X3)) → U11'(active'(X1), X2, X3)
active'(U12'(X1, X2)) → U12'(active'(X1), X2)
active'(U13'(X)) → U13'(active'(X))
active'(U21'(X1, X2)) → U21'(active'(X1), X2)
active'(U22'(X)) → U22'(active'(X))
active'(U31'(X1, X2, X3)) → U31'(active'(X1), X2, X3)
active'(U32'(X1, X2)) → U32'(active'(X1), X2)
active'(U33'(X)) → U33'(active'(X))
active'(U41'(X1, X2)) → U41'(active'(X1), X2)
active'(U51'(X1, X2, X3)) → U51'(active'(X1), X2, X3)
active'(s'(X)) → s'(active'(X))
active'(plus'(X1, X2)) → plus'(active'(X1), X2)
active'(plus'(X1, X2)) → plus'(X1, active'(X2))
active'(U61'(X)) → U61'(active'(X))
active'(U71'(X1, X2, X3)) → U71'(active'(X1), X2, X3)
active'(x'(X1, X2)) → x'(active'(X1), X2)
active'(x'(X1, X2)) → x'(X1, active'(X2))
active'(and'(X1, X2)) → and'(active'(X1), X2)
U11'(mark'(X1), X2, X3) → mark'(U11'(X1, X2, X3))
U12'(mark'(X1), X2) → mark'(U12'(X1, X2))
U13'(mark'(X)) → mark'(U13'(X))
U21'(mark'(X1), X2) → mark'(U21'(X1, X2))
U22'(mark'(X)) → mark'(U22'(X))
U31'(mark'(X1), X2, X3) → mark'(U31'(X1, X2, X3))
U32'(mark'(X1), X2) → mark'(U32'(X1, X2))
U33'(mark'(X)) → mark'(U33'(X))
U41'(mark'(X1), X2) → mark'(U41'(X1, X2))
U51'(mark'(X1), X2, X3) → mark'(U51'(X1, X2, X3))
s'(mark'(X)) → mark'(s'(X))
plus'(mark'(X1), X2) → mark'(plus'(X1, X2))
plus'(X1, mark'(X2)) → mark'(plus'(X1, X2))
U61'(mark'(X)) → mark'(U61'(X))
U71'(mark'(X1), X2, X3) → mark'(U71'(X1, X2, X3))
x'(mark'(X1), X2) → mark'(x'(X1, X2))
x'(X1, mark'(X2)) → mark'(x'(X1, X2))
and'(mark'(X1), X2) → mark'(and'(X1, X2))
proper'(U11'(X1, X2, X3)) → U11'(proper'(X1), proper'(X2), proper'(X3))
proper'(tt') → ok'(tt')
proper'(U12'(X1, X2)) → U12'(proper'(X1), proper'(X2))
proper'(isNat'(X)) → isNat'(proper'(X))
proper'(U13'(X)) → U13'(proper'(X))
proper'(U21'(X1, X2)) → U21'(proper'(X1), proper'(X2))
proper'(U22'(X)) → U22'(proper'(X))
proper'(U31'(X1, X2, X3)) → U31'(proper'(X1), proper'(X2), proper'(X3))
proper'(U32'(X1, X2)) → U32'(proper'(X1), proper'(X2))
proper'(U33'(X)) → U33'(proper'(X))
proper'(U41'(X1, X2)) → U41'(proper'(X1), proper'(X2))
proper'(U51'(X1, X2, X3)) → U51'(proper'(X1), proper'(X2), proper'(X3))
proper'(s'(X)) → s'(proper'(X))
proper'(plus'(X1, X2)) → plus'(proper'(X1), proper'(X2))
proper'(U61'(X)) → U61'(proper'(X))
proper'(0') → ok'(0')
proper'(U71'(X1, X2, X3)) → U71'(proper'(X1), proper'(X2), proper'(X3))
proper'(x'(X1, X2)) → x'(proper'(X1), proper'(X2))
proper'(and'(X1, X2)) → and'(proper'(X1), proper'(X2))
proper'(isNatKind'(X)) → isNatKind'(proper'(X))
U11'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U11'(X1, X2, X3))
U12'(ok'(X1), ok'(X2)) → ok'(U12'(X1, X2))
isNat'(ok'(X)) → ok'(isNat'(X))
U13'(ok'(X)) → ok'(U13'(X))
U21'(ok'(X1), ok'(X2)) → ok'(U21'(X1, X2))
U22'(ok'(X)) → ok'(U22'(X))
U31'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U31'(X1, X2, X3))
U32'(ok'(X1), ok'(X2)) → ok'(U32'(X1, X2))
U33'(ok'(X)) → ok'(U33'(X))
U41'(ok'(X1), ok'(X2)) → ok'(U41'(X1, X2))
U51'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U51'(X1, X2, X3))
s'(ok'(X)) → ok'(s'(X))
plus'(ok'(X1), ok'(X2)) → ok'(plus'(X1, X2))
U61'(ok'(X)) → ok'(U61'(X))
U71'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U71'(X1, X2, X3))
x'(ok'(X1), ok'(X2)) → ok'(x'(X1, X2))
and'(ok'(X1), ok'(X2)) → ok'(and'(X1, X2))
isNatKind'(ok'(X)) → ok'(isNatKind'(X))
top'(mark'(X)) → top'(proper'(X))
top'(ok'(X)) → top'(active'(X))
Infered types.
Rules:
active'(U11'(tt', V1, V2)) → mark'(U12'(isNat'(V1), V2))
active'(U12'(tt', V2)) → mark'(U13'(isNat'(V2)))
active'(U13'(tt')) → mark'(tt')
active'(U21'(tt', V1)) → mark'(U22'(isNat'(V1)))
active'(U22'(tt')) → mark'(tt')
active'(U31'(tt', V1, V2)) → mark'(U32'(isNat'(V1), V2))
active'(U32'(tt', V2)) → mark'(U33'(isNat'(V2)))
active'(U33'(tt')) → mark'(tt')
active'(U41'(tt', N)) → mark'(N)
active'(U51'(tt', M, N)) → mark'(s'(plus'(N, M)))
active'(U61'(tt')) → mark'(0')
active'(U71'(tt', M, N)) → mark'(plus'(x'(N, M), N))
active'(and'(tt', X)) → mark'(X)
active'(isNat'(0')) → mark'(tt')
active'(isNat'(plus'(V1, V2))) → mark'(U11'(and'(isNatKind'(V1), isNatKind'(V2)), V1, V2))
active'(isNat'(s'(V1))) → mark'(U21'(isNatKind'(V1), V1))
active'(isNat'(x'(V1, V2))) → mark'(U31'(and'(isNatKind'(V1), isNatKind'(V2)), V1, V2))
active'(isNatKind'(0')) → mark'(tt')
active'(isNatKind'(plus'(V1, V2))) → mark'(and'(isNatKind'(V1), isNatKind'(V2)))
active'(isNatKind'(s'(V1))) → mark'(isNatKind'(V1))
active'(isNatKind'(x'(V1, V2))) → mark'(and'(isNatKind'(V1), isNatKind'(V2)))
active'(plus'(N, 0')) → mark'(U41'(and'(isNat'(N), isNatKind'(N)), N))
active'(plus'(N, s'(M))) → mark'(U51'(and'(and'(isNat'(M), isNatKind'(M)), and'(isNat'(N), isNatKind'(N))), M, N))
active'(x'(N, 0')) → mark'(U61'(and'(isNat'(N), isNatKind'(N))))
active'(x'(N, s'(M))) → mark'(U71'(and'(and'(isNat'(M), isNatKind'(M)), and'(isNat'(N), isNatKind'(N))), M, N))
active'(U11'(X1, X2, X3)) → U11'(active'(X1), X2, X3)
active'(U12'(X1, X2)) → U12'(active'(X1), X2)
active'(U13'(X)) → U13'(active'(X))
active'(U21'(X1, X2)) → U21'(active'(X1), X2)
active'(U22'(X)) → U22'(active'(X))
active'(U31'(X1, X2, X3)) → U31'(active'(X1), X2, X3)
active'(U32'(X1, X2)) → U32'(active'(X1), X2)
active'(U33'(X)) → U33'(active'(X))
active'(U41'(X1, X2)) → U41'(active'(X1), X2)
active'(U51'(X1, X2, X3)) → U51'(active'(X1), X2, X3)
active'(s'(X)) → s'(active'(X))
active'(plus'(X1, X2)) → plus'(active'(X1), X2)
active'(plus'(X1, X2)) → plus'(X1, active'(X2))
active'(U61'(X)) → U61'(active'(X))
active'(U71'(X1, X2, X3)) → U71'(active'(X1), X2, X3)
active'(x'(X1, X2)) → x'(active'(X1), X2)
active'(x'(X1, X2)) → x'(X1, active'(X2))
active'(and'(X1, X2)) → and'(active'(X1), X2)
U11'(mark'(X1), X2, X3) → mark'(U11'(X1, X2, X3))
U12'(mark'(X1), X2) → mark'(U12'(X1, X2))
U13'(mark'(X)) → mark'(U13'(X))
U21'(mark'(X1), X2) → mark'(U21'(X1, X2))
U22'(mark'(X)) → mark'(U22'(X))
U31'(mark'(X1), X2, X3) → mark'(U31'(X1, X2, X3))
U32'(mark'(X1), X2) → mark'(U32'(X1, X2))
U33'(mark'(X)) → mark'(U33'(X))
U41'(mark'(X1), X2) → mark'(U41'(X1, X2))
U51'(mark'(X1), X2, X3) → mark'(U51'(X1, X2, X3))
s'(mark'(X)) → mark'(s'(X))
plus'(mark'(X1), X2) → mark'(plus'(X1, X2))
plus'(X1, mark'(X2)) → mark'(plus'(X1, X2))
U61'(mark'(X)) → mark'(U61'(X))
U71'(mark'(X1), X2, X3) → mark'(U71'(X1, X2, X3))
x'(mark'(X1), X2) → mark'(x'(X1, X2))
x'(X1, mark'(X2)) → mark'(x'(X1, X2))
and'(mark'(X1), X2) → mark'(and'(X1, X2))
proper'(U11'(X1, X2, X3)) → U11'(proper'(X1), proper'(X2), proper'(X3))
proper'(tt') → ok'(tt')
proper'(U12'(X1, X2)) → U12'(proper'(X1), proper'(X2))
proper'(isNat'(X)) → isNat'(proper'(X))
proper'(U13'(X)) → U13'(proper'(X))
proper'(U21'(X1, X2)) → U21'(proper'(X1), proper'(X2))
proper'(U22'(X)) → U22'(proper'(X))
proper'(U31'(X1, X2, X3)) → U31'(proper'(X1), proper'(X2), proper'(X3))
proper'(U32'(X1, X2)) → U32'(proper'(X1), proper'(X2))
proper'(U33'(X)) → U33'(proper'(X))
proper'(U41'(X1, X2)) → U41'(proper'(X1), proper'(X2))
proper'(U51'(X1, X2, X3)) → U51'(proper'(X1), proper'(X2), proper'(X3))
proper'(s'(X)) → s'(proper'(X))
proper'(plus'(X1, X2)) → plus'(proper'(X1), proper'(X2))
proper'(U61'(X)) → U61'(proper'(X))
proper'(0') → ok'(0')
proper'(U71'(X1, X2, X3)) → U71'(proper'(X1), proper'(X2), proper'(X3))
proper'(x'(X1, X2)) → x'(proper'(X1), proper'(X2))
proper'(and'(X1, X2)) → and'(proper'(X1), proper'(X2))
proper'(isNatKind'(X)) → isNatKind'(proper'(X))
U11'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U11'(X1, X2, X3))
U12'(ok'(X1), ok'(X2)) → ok'(U12'(X1, X2))
isNat'(ok'(X)) → ok'(isNat'(X))
U13'(ok'(X)) → ok'(U13'(X))
U21'(ok'(X1), ok'(X2)) → ok'(U21'(X1, X2))
U22'(ok'(X)) → ok'(U22'(X))
U31'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U31'(X1, X2, X3))
U32'(ok'(X1), ok'(X2)) → ok'(U32'(X1, X2))
U33'(ok'(X)) → ok'(U33'(X))
U41'(ok'(X1), ok'(X2)) → ok'(U41'(X1, X2))
U51'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U51'(X1, X2, X3))
s'(ok'(X)) → ok'(s'(X))
plus'(ok'(X1), ok'(X2)) → ok'(plus'(X1, X2))
U61'(ok'(X)) → ok'(U61'(X))
U71'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U71'(X1, X2, X3))
x'(ok'(X1), ok'(X2)) → ok'(x'(X1, X2))
and'(ok'(X1), ok'(X2)) → ok'(and'(X1, X2))
isNatKind'(ok'(X)) → ok'(isNatKind'(X))
top'(mark'(X)) → top'(proper'(X))
top'(ok'(X)) → top'(active'(X))
Types:
active' :: tt':mark':0':ok' → tt':mark':0':ok'
U11' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
tt' :: tt':mark':0':ok'
mark' :: tt':mark':0':ok' → tt':mark':0':ok'
U12' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
isNat' :: tt':mark':0':ok' → tt':mark':0':ok'
U13' :: tt':mark':0':ok' → tt':mark':0':ok'
U21' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U22' :: tt':mark':0':ok' → tt':mark':0':ok'
U31' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U32' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U33' :: tt':mark':0':ok' → tt':mark':0':ok'
U41' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U51' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
s' :: tt':mark':0':ok' → tt':mark':0':ok'
plus' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U61' :: tt':mark':0':ok' → tt':mark':0':ok'
0' :: tt':mark':0':ok'
U71' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
x' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
and' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
isNatKind' :: tt':mark':0':ok' → tt':mark':0':ok'
proper' :: tt':mark':0':ok' → tt':mark':0':ok'
ok' :: tt':mark':0':ok' → tt':mark':0':ok'
top' :: tt':mark':0':ok' → top'
_hole_tt':mark':0':ok'1 :: tt':mark':0':ok'
_hole_top'2 :: top'
_gen_tt':mark':0':ok'3 :: Nat → tt':mark':0':ok'
Heuristically decided to analyse the following defined symbols:
active', U12', isNat', U13', U22', U32', U33', s', plus', x', U11', and', isNatKind', U21', U31', U41', U51', U61', U71', proper', top'
They will be analysed ascendingly in the following order:
U12' < active'
isNat' < active'
U13' < active'
U22' < active'
U32' < active'
U33' < active'
s' < active'
plus' < active'
x' < active'
U11' < active'
and' < active'
isNatKind' < active'
U21' < active'
U31' < active'
U41' < active'
U51' < active'
U61' < active'
U71' < active'
active' < top'
U12' < proper'
isNat' < proper'
U13' < proper'
U22' < proper'
U32' < proper'
U33' < proper'
s' < proper'
plus' < proper'
x' < proper'
U11' < proper'
and' < proper'
isNatKind' < proper'
U21' < proper'
U31' < proper'
U41' < proper'
U51' < proper'
U61' < proper'
U71' < proper'
proper' < top'
Rules:
active'(U11'(tt', V1, V2)) → mark'(U12'(isNat'(V1), V2))
active'(U12'(tt', V2)) → mark'(U13'(isNat'(V2)))
active'(U13'(tt')) → mark'(tt')
active'(U21'(tt', V1)) → mark'(U22'(isNat'(V1)))
active'(U22'(tt')) → mark'(tt')
active'(U31'(tt', V1, V2)) → mark'(U32'(isNat'(V1), V2))
active'(U32'(tt', V2)) → mark'(U33'(isNat'(V2)))
active'(U33'(tt')) → mark'(tt')
active'(U41'(tt', N)) → mark'(N)
active'(U51'(tt', M, N)) → mark'(s'(plus'(N, M)))
active'(U61'(tt')) → mark'(0')
active'(U71'(tt', M, N)) → mark'(plus'(x'(N, M), N))
active'(and'(tt', X)) → mark'(X)
active'(isNat'(0')) → mark'(tt')
active'(isNat'(plus'(V1, V2))) → mark'(U11'(and'(isNatKind'(V1), isNatKind'(V2)), V1, V2))
active'(isNat'(s'(V1))) → mark'(U21'(isNatKind'(V1), V1))
active'(isNat'(x'(V1, V2))) → mark'(U31'(and'(isNatKind'(V1), isNatKind'(V2)), V1, V2))
active'(isNatKind'(0')) → mark'(tt')
active'(isNatKind'(plus'(V1, V2))) → mark'(and'(isNatKind'(V1), isNatKind'(V2)))
active'(isNatKind'(s'(V1))) → mark'(isNatKind'(V1))
active'(isNatKind'(x'(V1, V2))) → mark'(and'(isNatKind'(V1), isNatKind'(V2)))
active'(plus'(N, 0')) → mark'(U41'(and'(isNat'(N), isNatKind'(N)), N))
active'(plus'(N, s'(M))) → mark'(U51'(and'(and'(isNat'(M), isNatKind'(M)), and'(isNat'(N), isNatKind'(N))), M, N))
active'(x'(N, 0')) → mark'(U61'(and'(isNat'(N), isNatKind'(N))))
active'(x'(N, s'(M))) → mark'(U71'(and'(and'(isNat'(M), isNatKind'(M)), and'(isNat'(N), isNatKind'(N))), M, N))
active'(U11'(X1, X2, X3)) → U11'(active'(X1), X2, X3)
active'(U12'(X1, X2)) → U12'(active'(X1), X2)
active'(U13'(X)) → U13'(active'(X))
active'(U21'(X1, X2)) → U21'(active'(X1), X2)
active'(U22'(X)) → U22'(active'(X))
active'(U31'(X1, X2, X3)) → U31'(active'(X1), X2, X3)
active'(U32'(X1, X2)) → U32'(active'(X1), X2)
active'(U33'(X)) → U33'(active'(X))
active'(U41'(X1, X2)) → U41'(active'(X1), X2)
active'(U51'(X1, X2, X3)) → U51'(active'(X1), X2, X3)
active'(s'(X)) → s'(active'(X))
active'(plus'(X1, X2)) → plus'(active'(X1), X2)
active'(plus'(X1, X2)) → plus'(X1, active'(X2))
active'(U61'(X)) → U61'(active'(X))
active'(U71'(X1, X2, X3)) → U71'(active'(X1), X2, X3)
active'(x'(X1, X2)) → x'(active'(X1), X2)
active'(x'(X1, X2)) → x'(X1, active'(X2))
active'(and'(X1, X2)) → and'(active'(X1), X2)
U11'(mark'(X1), X2, X3) → mark'(U11'(X1, X2, X3))
U12'(mark'(X1), X2) → mark'(U12'(X1, X2))
U13'(mark'(X)) → mark'(U13'(X))
U21'(mark'(X1), X2) → mark'(U21'(X1, X2))
U22'(mark'(X)) → mark'(U22'(X))
U31'(mark'(X1), X2, X3) → mark'(U31'(X1, X2, X3))
U32'(mark'(X1), X2) → mark'(U32'(X1, X2))
U33'(mark'(X)) → mark'(U33'(X))
U41'(mark'(X1), X2) → mark'(U41'(X1, X2))
U51'(mark'(X1), X2, X3) → mark'(U51'(X1, X2, X3))
s'(mark'(X)) → mark'(s'(X))
plus'(mark'(X1), X2) → mark'(plus'(X1, X2))
plus'(X1, mark'(X2)) → mark'(plus'(X1, X2))
U61'(mark'(X)) → mark'(U61'(X))
U71'(mark'(X1), X2, X3) → mark'(U71'(X1, X2, X3))
x'(mark'(X1), X2) → mark'(x'(X1, X2))
x'(X1, mark'(X2)) → mark'(x'(X1, X2))
and'(mark'(X1), X2) → mark'(and'(X1, X2))
proper'(U11'(X1, X2, X3)) → U11'(proper'(X1), proper'(X2), proper'(X3))
proper'(tt') → ok'(tt')
proper'(U12'(X1, X2)) → U12'(proper'(X1), proper'(X2))
proper'(isNat'(X)) → isNat'(proper'(X))
proper'(U13'(X)) → U13'(proper'(X))
proper'(U21'(X1, X2)) → U21'(proper'(X1), proper'(X2))
proper'(U22'(X)) → U22'(proper'(X))
proper'(U31'(X1, X2, X3)) → U31'(proper'(X1), proper'(X2), proper'(X3))
proper'(U32'(X1, X2)) → U32'(proper'(X1), proper'(X2))
proper'(U33'(X)) → U33'(proper'(X))
proper'(U41'(X1, X2)) → U41'(proper'(X1), proper'(X2))
proper'(U51'(X1, X2, X3)) → U51'(proper'(X1), proper'(X2), proper'(X3))
proper'(s'(X)) → s'(proper'(X))
proper'(plus'(X1, X2)) → plus'(proper'(X1), proper'(X2))
proper'(U61'(X)) → U61'(proper'(X))
proper'(0') → ok'(0')
proper'(U71'(X1, X2, X3)) → U71'(proper'(X1), proper'(X2), proper'(X3))
proper'(x'(X1, X2)) → x'(proper'(X1), proper'(X2))
proper'(and'(X1, X2)) → and'(proper'(X1), proper'(X2))
proper'(isNatKind'(X)) → isNatKind'(proper'(X))
U11'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U11'(X1, X2, X3))
U12'(ok'(X1), ok'(X2)) → ok'(U12'(X1, X2))
isNat'(ok'(X)) → ok'(isNat'(X))
U13'(ok'(X)) → ok'(U13'(X))
U21'(ok'(X1), ok'(X2)) → ok'(U21'(X1, X2))
U22'(ok'(X)) → ok'(U22'(X))
U31'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U31'(X1, X2, X3))
U32'(ok'(X1), ok'(X2)) → ok'(U32'(X1, X2))
U33'(ok'(X)) → ok'(U33'(X))
U41'(ok'(X1), ok'(X2)) → ok'(U41'(X1, X2))
U51'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U51'(X1, X2, X3))
s'(ok'(X)) → ok'(s'(X))
plus'(ok'(X1), ok'(X2)) → ok'(plus'(X1, X2))
U61'(ok'(X)) → ok'(U61'(X))
U71'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U71'(X1, X2, X3))
x'(ok'(X1), ok'(X2)) → ok'(x'(X1, X2))
and'(ok'(X1), ok'(X2)) → ok'(and'(X1, X2))
isNatKind'(ok'(X)) → ok'(isNatKind'(X))
top'(mark'(X)) → top'(proper'(X))
top'(ok'(X)) → top'(active'(X))
Types:
active' :: tt':mark':0':ok' → tt':mark':0':ok'
U11' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
tt' :: tt':mark':0':ok'
mark' :: tt':mark':0':ok' → tt':mark':0':ok'
U12' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
isNat' :: tt':mark':0':ok' → tt':mark':0':ok'
U13' :: tt':mark':0':ok' → tt':mark':0':ok'
U21' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U22' :: tt':mark':0':ok' → tt':mark':0':ok'
U31' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U32' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U33' :: tt':mark':0':ok' → tt':mark':0':ok'
U41' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U51' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
s' :: tt':mark':0':ok' → tt':mark':0':ok'
plus' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U61' :: tt':mark':0':ok' → tt':mark':0':ok'
0' :: tt':mark':0':ok'
U71' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
x' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
and' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
isNatKind' :: tt':mark':0':ok' → tt':mark':0':ok'
proper' :: tt':mark':0':ok' → tt':mark':0':ok'
ok' :: tt':mark':0':ok' → tt':mark':0':ok'
top' :: tt':mark':0':ok' → top'
_hole_tt':mark':0':ok'1 :: tt':mark':0':ok'
_hole_top'2 :: top'
_gen_tt':mark':0':ok'3 :: Nat → tt':mark':0':ok'
Generator Equations:
_gen_tt':mark':0':ok'3(0) ⇔ tt'
_gen_tt':mark':0':ok'3(+(x, 1)) ⇔ mark'(_gen_tt':mark':0':ok'3(x))
The following defined symbols remain to be analysed:
U12', active', isNat', U13', U22', U32', U33', s', plus', x', U11', and', isNatKind', U21', U31', U41', U51', U61', U71', proper', top'
They will be analysed ascendingly in the following order:
U12' < active'
isNat' < active'
U13' < active'
U22' < active'
U32' < active'
U33' < active'
s' < active'
plus' < active'
x' < active'
U11' < active'
and' < active'
isNatKind' < active'
U21' < active'
U31' < active'
U41' < active'
U51' < active'
U61' < active'
U71' < active'
active' < top'
U12' < proper'
isNat' < proper'
U13' < proper'
U22' < proper'
U32' < proper'
U33' < proper'
s' < proper'
plus' < proper'
x' < proper'
U11' < proper'
and' < proper'
isNatKind' < proper'
U21' < proper'
U31' < proper'
U41' < proper'
U51' < proper'
U61' < proper'
U71' < proper'
proper' < top'
Proved the following rewrite lemma:
U12'(_gen_tt':mark':0':ok'3(+(1, _n5)), _gen_tt':mark':0':ok'3(b)) → _*4, rt ∈ Ω(n5)
Induction Base:
U12'(_gen_tt':mark':0':ok'3(+(1, 0)), _gen_tt':mark':0':ok'3(b))
Induction Step:
U12'(_gen_tt':mark':0':ok'3(+(1, +(_$n6, 1))), _gen_tt':mark':0':ok'3(_b610)) →RΩ(1)
mark'(U12'(_gen_tt':mark':0':ok'3(+(1, _$n6)), _gen_tt':mark':0':ok'3(_b610))) →IH
mark'(_*4)
We have rt ∈ Ω(n) and sz ∈ O(n). Thus, we have ircR ∈ Ω(n).
Rules:
active'(U11'(tt', V1, V2)) → mark'(U12'(isNat'(V1), V2))
active'(U12'(tt', V2)) → mark'(U13'(isNat'(V2)))
active'(U13'(tt')) → mark'(tt')
active'(U21'(tt', V1)) → mark'(U22'(isNat'(V1)))
active'(U22'(tt')) → mark'(tt')
active'(U31'(tt', V1, V2)) → mark'(U32'(isNat'(V1), V2))
active'(U32'(tt', V2)) → mark'(U33'(isNat'(V2)))
active'(U33'(tt')) → mark'(tt')
active'(U41'(tt', N)) → mark'(N)
active'(U51'(tt', M, N)) → mark'(s'(plus'(N, M)))
active'(U61'(tt')) → mark'(0')
active'(U71'(tt', M, N)) → mark'(plus'(x'(N, M), N))
active'(and'(tt', X)) → mark'(X)
active'(isNat'(0')) → mark'(tt')
active'(isNat'(plus'(V1, V2))) → mark'(U11'(and'(isNatKind'(V1), isNatKind'(V2)), V1, V2))
active'(isNat'(s'(V1))) → mark'(U21'(isNatKind'(V1), V1))
active'(isNat'(x'(V1, V2))) → mark'(U31'(and'(isNatKind'(V1), isNatKind'(V2)), V1, V2))
active'(isNatKind'(0')) → mark'(tt')
active'(isNatKind'(plus'(V1, V2))) → mark'(and'(isNatKind'(V1), isNatKind'(V2)))
active'(isNatKind'(s'(V1))) → mark'(isNatKind'(V1))
active'(isNatKind'(x'(V1, V2))) → mark'(and'(isNatKind'(V1), isNatKind'(V2)))
active'(plus'(N, 0')) → mark'(U41'(and'(isNat'(N), isNatKind'(N)), N))
active'(plus'(N, s'(M))) → mark'(U51'(and'(and'(isNat'(M), isNatKind'(M)), and'(isNat'(N), isNatKind'(N))), M, N))
active'(x'(N, 0')) → mark'(U61'(and'(isNat'(N), isNatKind'(N))))
active'(x'(N, s'(M))) → mark'(U71'(and'(and'(isNat'(M), isNatKind'(M)), and'(isNat'(N), isNatKind'(N))), M, N))
active'(U11'(X1, X2, X3)) → U11'(active'(X1), X2, X3)
active'(U12'(X1, X2)) → U12'(active'(X1), X2)
active'(U13'(X)) → U13'(active'(X))
active'(U21'(X1, X2)) → U21'(active'(X1), X2)
active'(U22'(X)) → U22'(active'(X))
active'(U31'(X1, X2, X3)) → U31'(active'(X1), X2, X3)
active'(U32'(X1, X2)) → U32'(active'(X1), X2)
active'(U33'(X)) → U33'(active'(X))
active'(U41'(X1, X2)) → U41'(active'(X1), X2)
active'(U51'(X1, X2, X3)) → U51'(active'(X1), X2, X3)
active'(s'(X)) → s'(active'(X))
active'(plus'(X1, X2)) → plus'(active'(X1), X2)
active'(plus'(X1, X2)) → plus'(X1, active'(X2))
active'(U61'(X)) → U61'(active'(X))
active'(U71'(X1, X2, X3)) → U71'(active'(X1), X2, X3)
active'(x'(X1, X2)) → x'(active'(X1), X2)
active'(x'(X1, X2)) → x'(X1, active'(X2))
active'(and'(X1, X2)) → and'(active'(X1), X2)
U11'(mark'(X1), X2, X3) → mark'(U11'(X1, X2, X3))
U12'(mark'(X1), X2) → mark'(U12'(X1, X2))
U13'(mark'(X)) → mark'(U13'(X))
U21'(mark'(X1), X2) → mark'(U21'(X1, X2))
U22'(mark'(X)) → mark'(U22'(X))
U31'(mark'(X1), X2, X3) → mark'(U31'(X1, X2, X3))
U32'(mark'(X1), X2) → mark'(U32'(X1, X2))
U33'(mark'(X)) → mark'(U33'(X))
U41'(mark'(X1), X2) → mark'(U41'(X1, X2))
U51'(mark'(X1), X2, X3) → mark'(U51'(X1, X2, X3))
s'(mark'(X)) → mark'(s'(X))
plus'(mark'(X1), X2) → mark'(plus'(X1, X2))
plus'(X1, mark'(X2)) → mark'(plus'(X1, X2))
U61'(mark'(X)) → mark'(U61'(X))
U71'(mark'(X1), X2, X3) → mark'(U71'(X1, X2, X3))
x'(mark'(X1), X2) → mark'(x'(X1, X2))
x'(X1, mark'(X2)) → mark'(x'(X1, X2))
and'(mark'(X1), X2) → mark'(and'(X1, X2))
proper'(U11'(X1, X2, X3)) → U11'(proper'(X1), proper'(X2), proper'(X3))
proper'(tt') → ok'(tt')
proper'(U12'(X1, X2)) → U12'(proper'(X1), proper'(X2))
proper'(isNat'(X)) → isNat'(proper'(X))
proper'(U13'(X)) → U13'(proper'(X))
proper'(U21'(X1, X2)) → U21'(proper'(X1), proper'(X2))
proper'(U22'(X)) → U22'(proper'(X))
proper'(U31'(X1, X2, X3)) → U31'(proper'(X1), proper'(X2), proper'(X3))
proper'(U32'(X1, X2)) → U32'(proper'(X1), proper'(X2))
proper'(U33'(X)) → U33'(proper'(X))
proper'(U41'(X1, X2)) → U41'(proper'(X1), proper'(X2))
proper'(U51'(X1, X2, X3)) → U51'(proper'(X1), proper'(X2), proper'(X3))
proper'(s'(X)) → s'(proper'(X))
proper'(plus'(X1, X2)) → plus'(proper'(X1), proper'(X2))
proper'(U61'(X)) → U61'(proper'(X))
proper'(0') → ok'(0')
proper'(U71'(X1, X2, X3)) → U71'(proper'(X1), proper'(X2), proper'(X3))
proper'(x'(X1, X2)) → x'(proper'(X1), proper'(X2))
proper'(and'(X1, X2)) → and'(proper'(X1), proper'(X2))
proper'(isNatKind'(X)) → isNatKind'(proper'(X))
U11'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U11'(X1, X2, X3))
U12'(ok'(X1), ok'(X2)) → ok'(U12'(X1, X2))
isNat'(ok'(X)) → ok'(isNat'(X))
U13'(ok'(X)) → ok'(U13'(X))
U21'(ok'(X1), ok'(X2)) → ok'(U21'(X1, X2))
U22'(ok'(X)) → ok'(U22'(X))
U31'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U31'(X1, X2, X3))
U32'(ok'(X1), ok'(X2)) → ok'(U32'(X1, X2))
U33'(ok'(X)) → ok'(U33'(X))
U41'(ok'(X1), ok'(X2)) → ok'(U41'(X1, X2))
U51'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U51'(X1, X2, X3))
s'(ok'(X)) → ok'(s'(X))
plus'(ok'(X1), ok'(X2)) → ok'(plus'(X1, X2))
U61'(ok'(X)) → ok'(U61'(X))
U71'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U71'(X1, X2, X3))
x'(ok'(X1), ok'(X2)) → ok'(x'(X1, X2))
and'(ok'(X1), ok'(X2)) → ok'(and'(X1, X2))
isNatKind'(ok'(X)) → ok'(isNatKind'(X))
top'(mark'(X)) → top'(proper'(X))
top'(ok'(X)) → top'(active'(X))
Types:
active' :: tt':mark':0':ok' → tt':mark':0':ok'
U11' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
tt' :: tt':mark':0':ok'
mark' :: tt':mark':0':ok' → tt':mark':0':ok'
U12' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
isNat' :: tt':mark':0':ok' → tt':mark':0':ok'
U13' :: tt':mark':0':ok' → tt':mark':0':ok'
U21' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U22' :: tt':mark':0':ok' → tt':mark':0':ok'
U31' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U32' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U33' :: tt':mark':0':ok' → tt':mark':0':ok'
U41' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U51' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
s' :: tt':mark':0':ok' → tt':mark':0':ok'
plus' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U61' :: tt':mark':0':ok' → tt':mark':0':ok'
0' :: tt':mark':0':ok'
U71' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
x' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
and' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
isNatKind' :: tt':mark':0':ok' → tt':mark':0':ok'
proper' :: tt':mark':0':ok' → tt':mark':0':ok'
ok' :: tt':mark':0':ok' → tt':mark':0':ok'
top' :: tt':mark':0':ok' → top'
_hole_tt':mark':0':ok'1 :: tt':mark':0':ok'
_hole_top'2 :: top'
_gen_tt':mark':0':ok'3 :: Nat → tt':mark':0':ok'
Lemmas:
U12'(_gen_tt':mark':0':ok'3(+(1, _n5)), _gen_tt':mark':0':ok'3(b)) → _*4, rt ∈ Ω(n5)
Generator Equations:
_gen_tt':mark':0':ok'3(0) ⇔ tt'
_gen_tt':mark':0':ok'3(+(x, 1)) ⇔ mark'(_gen_tt':mark':0':ok'3(x))
The following defined symbols remain to be analysed:
isNat', active', U13', U22', U32', U33', s', plus', x', U11', and', isNatKind', U21', U31', U41', U51', U61', U71', proper', top'
They will be analysed ascendingly in the following order:
isNat' < active'
U13' < active'
U22' < active'
U32' < active'
U33' < active'
s' < active'
plus' < active'
x' < active'
U11' < active'
and' < active'
isNatKind' < active'
U21' < active'
U31' < active'
U41' < active'
U51' < active'
U61' < active'
U71' < active'
active' < top'
isNat' < proper'
U13' < proper'
U22' < proper'
U32' < proper'
U33' < proper'
s' < proper'
plus' < proper'
x' < proper'
U11' < proper'
and' < proper'
isNatKind' < proper'
U21' < proper'
U31' < proper'
U41' < proper'
U51' < proper'
U61' < proper'
U71' < proper'
proper' < top'
Could not prove a rewrite lemma for the defined symbol isNat'.
Rules:
active'(U11'(tt', V1, V2)) → mark'(U12'(isNat'(V1), V2))
active'(U12'(tt', V2)) → mark'(U13'(isNat'(V2)))
active'(U13'(tt')) → mark'(tt')
active'(U21'(tt', V1)) → mark'(U22'(isNat'(V1)))
active'(U22'(tt')) → mark'(tt')
active'(U31'(tt', V1, V2)) → mark'(U32'(isNat'(V1), V2))
active'(U32'(tt', V2)) → mark'(U33'(isNat'(V2)))
active'(U33'(tt')) → mark'(tt')
active'(U41'(tt', N)) → mark'(N)
active'(U51'(tt', M, N)) → mark'(s'(plus'(N, M)))
active'(U61'(tt')) → mark'(0')
active'(U71'(tt', M, N)) → mark'(plus'(x'(N, M), N))
active'(and'(tt', X)) → mark'(X)
active'(isNat'(0')) → mark'(tt')
active'(isNat'(plus'(V1, V2))) → mark'(U11'(and'(isNatKind'(V1), isNatKind'(V2)), V1, V2))
active'(isNat'(s'(V1))) → mark'(U21'(isNatKind'(V1), V1))
active'(isNat'(x'(V1, V2))) → mark'(U31'(and'(isNatKind'(V1), isNatKind'(V2)), V1, V2))
active'(isNatKind'(0')) → mark'(tt')
active'(isNatKind'(plus'(V1, V2))) → mark'(and'(isNatKind'(V1), isNatKind'(V2)))
active'(isNatKind'(s'(V1))) → mark'(isNatKind'(V1))
active'(isNatKind'(x'(V1, V2))) → mark'(and'(isNatKind'(V1), isNatKind'(V2)))
active'(plus'(N, 0')) → mark'(U41'(and'(isNat'(N), isNatKind'(N)), N))
active'(plus'(N, s'(M))) → mark'(U51'(and'(and'(isNat'(M), isNatKind'(M)), and'(isNat'(N), isNatKind'(N))), M, N))
active'(x'(N, 0')) → mark'(U61'(and'(isNat'(N), isNatKind'(N))))
active'(x'(N, s'(M))) → mark'(U71'(and'(and'(isNat'(M), isNatKind'(M)), and'(isNat'(N), isNatKind'(N))), M, N))
active'(U11'(X1, X2, X3)) → U11'(active'(X1), X2, X3)
active'(U12'(X1, X2)) → U12'(active'(X1), X2)
active'(U13'(X)) → U13'(active'(X))
active'(U21'(X1, X2)) → U21'(active'(X1), X2)
active'(U22'(X)) → U22'(active'(X))
active'(U31'(X1, X2, X3)) → U31'(active'(X1), X2, X3)
active'(U32'(X1, X2)) → U32'(active'(X1), X2)
active'(U33'(X)) → U33'(active'(X))
active'(U41'(X1, X2)) → U41'(active'(X1), X2)
active'(U51'(X1, X2, X3)) → U51'(active'(X1), X2, X3)
active'(s'(X)) → s'(active'(X))
active'(plus'(X1, X2)) → plus'(active'(X1), X2)
active'(plus'(X1, X2)) → plus'(X1, active'(X2))
active'(U61'(X)) → U61'(active'(X))
active'(U71'(X1, X2, X3)) → U71'(active'(X1), X2, X3)
active'(x'(X1, X2)) → x'(active'(X1), X2)
active'(x'(X1, X2)) → x'(X1, active'(X2))
active'(and'(X1, X2)) → and'(active'(X1), X2)
U11'(mark'(X1), X2, X3) → mark'(U11'(X1, X2, X3))
U12'(mark'(X1), X2) → mark'(U12'(X1, X2))
U13'(mark'(X)) → mark'(U13'(X))
U21'(mark'(X1), X2) → mark'(U21'(X1, X2))
U22'(mark'(X)) → mark'(U22'(X))
U31'(mark'(X1), X2, X3) → mark'(U31'(X1, X2, X3))
U32'(mark'(X1), X2) → mark'(U32'(X1, X2))
U33'(mark'(X)) → mark'(U33'(X))
U41'(mark'(X1), X2) → mark'(U41'(X1, X2))
U51'(mark'(X1), X2, X3) → mark'(U51'(X1, X2, X3))
s'(mark'(X)) → mark'(s'(X))
plus'(mark'(X1), X2) → mark'(plus'(X1, X2))
plus'(X1, mark'(X2)) → mark'(plus'(X1, X2))
U61'(mark'(X)) → mark'(U61'(X))
U71'(mark'(X1), X2, X3) → mark'(U71'(X1, X2, X3))
x'(mark'(X1), X2) → mark'(x'(X1, X2))
x'(X1, mark'(X2)) → mark'(x'(X1, X2))
and'(mark'(X1), X2) → mark'(and'(X1, X2))
proper'(U11'(X1, X2, X3)) → U11'(proper'(X1), proper'(X2), proper'(X3))
proper'(tt') → ok'(tt')
proper'(U12'(X1, X2)) → U12'(proper'(X1), proper'(X2))
proper'(isNat'(X)) → isNat'(proper'(X))
proper'(U13'(X)) → U13'(proper'(X))
proper'(U21'(X1, X2)) → U21'(proper'(X1), proper'(X2))
proper'(U22'(X)) → U22'(proper'(X))
proper'(U31'(X1, X2, X3)) → U31'(proper'(X1), proper'(X2), proper'(X3))
proper'(U32'(X1, X2)) → U32'(proper'(X1), proper'(X2))
proper'(U33'(X)) → U33'(proper'(X))
proper'(U41'(X1, X2)) → U41'(proper'(X1), proper'(X2))
proper'(U51'(X1, X2, X3)) → U51'(proper'(X1), proper'(X2), proper'(X3))
proper'(s'(X)) → s'(proper'(X))
proper'(plus'(X1, X2)) → plus'(proper'(X1), proper'(X2))
proper'(U61'(X)) → U61'(proper'(X))
proper'(0') → ok'(0')
proper'(U71'(X1, X2, X3)) → U71'(proper'(X1), proper'(X2), proper'(X3))
proper'(x'(X1, X2)) → x'(proper'(X1), proper'(X2))
proper'(and'(X1, X2)) → and'(proper'(X1), proper'(X2))
proper'(isNatKind'(X)) → isNatKind'(proper'(X))
U11'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U11'(X1, X2, X3))
U12'(ok'(X1), ok'(X2)) → ok'(U12'(X1, X2))
isNat'(ok'(X)) → ok'(isNat'(X))
U13'(ok'(X)) → ok'(U13'(X))
U21'(ok'(X1), ok'(X2)) → ok'(U21'(X1, X2))
U22'(ok'(X)) → ok'(U22'(X))
U31'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U31'(X1, X2, X3))
U32'(ok'(X1), ok'(X2)) → ok'(U32'(X1, X2))
U33'(ok'(X)) → ok'(U33'(X))
U41'(ok'(X1), ok'(X2)) → ok'(U41'(X1, X2))
U51'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U51'(X1, X2, X3))
s'(ok'(X)) → ok'(s'(X))
plus'(ok'(X1), ok'(X2)) → ok'(plus'(X1, X2))
U61'(ok'(X)) → ok'(U61'(X))
U71'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U71'(X1, X2, X3))
x'(ok'(X1), ok'(X2)) → ok'(x'(X1, X2))
and'(ok'(X1), ok'(X2)) → ok'(and'(X1, X2))
isNatKind'(ok'(X)) → ok'(isNatKind'(X))
top'(mark'(X)) → top'(proper'(X))
top'(ok'(X)) → top'(active'(X))
Types:
active' :: tt':mark':0':ok' → tt':mark':0':ok'
U11' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
tt' :: tt':mark':0':ok'
mark' :: tt':mark':0':ok' → tt':mark':0':ok'
U12' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
isNat' :: tt':mark':0':ok' → tt':mark':0':ok'
U13' :: tt':mark':0':ok' → tt':mark':0':ok'
U21' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U22' :: tt':mark':0':ok' → tt':mark':0':ok'
U31' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U32' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U33' :: tt':mark':0':ok' → tt':mark':0':ok'
U41' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U51' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
s' :: tt':mark':0':ok' → tt':mark':0':ok'
plus' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U61' :: tt':mark':0':ok' → tt':mark':0':ok'
0' :: tt':mark':0':ok'
U71' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
x' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
and' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
isNatKind' :: tt':mark':0':ok' → tt':mark':0':ok'
proper' :: tt':mark':0':ok' → tt':mark':0':ok'
ok' :: tt':mark':0':ok' → tt':mark':0':ok'
top' :: tt':mark':0':ok' → top'
_hole_tt':mark':0':ok'1 :: tt':mark':0':ok'
_hole_top'2 :: top'
_gen_tt':mark':0':ok'3 :: Nat → tt':mark':0':ok'
Lemmas:
U12'(_gen_tt':mark':0':ok'3(+(1, _n5)), _gen_tt':mark':0':ok'3(b)) → _*4, rt ∈ Ω(n5)
Generator Equations:
_gen_tt':mark':0':ok'3(0) ⇔ tt'
_gen_tt':mark':0':ok'3(+(x, 1)) ⇔ mark'(_gen_tt':mark':0':ok'3(x))
The following defined symbols remain to be analysed:
U13', active', U22', U32', U33', s', plus', x', U11', and', isNatKind', U21', U31', U41', U51', U61', U71', proper', top'
They will be analysed ascendingly in the following order:
U13' < active'
U22' < active'
U32' < active'
U33' < active'
s' < active'
plus' < active'
x' < active'
U11' < active'
and' < active'
isNatKind' < active'
U21' < active'
U31' < active'
U41' < active'
U51' < active'
U61' < active'
U71' < active'
active' < top'
U13' < proper'
U22' < proper'
U32' < proper'
U33' < proper'
s' < proper'
plus' < proper'
x' < proper'
U11' < proper'
and' < proper'
isNatKind' < proper'
U21' < proper'
U31' < proper'
U41' < proper'
U51' < proper'
U61' < proper'
U71' < proper'
proper' < top'
Proved the following rewrite lemma:
U13'(_gen_tt':mark':0':ok'3(+(1, _n5352))) → _*4, rt ∈ Ω(n5352)
Induction Base:
U13'(_gen_tt':mark':0':ok'3(+(1, 0)))
Induction Step:
U13'(_gen_tt':mark':0':ok'3(+(1, +(_$n5353, 1)))) →RΩ(1)
mark'(U13'(_gen_tt':mark':0':ok'3(+(1, _$n5353)))) →IH
mark'(_*4)
We have rt ∈ Ω(n) and sz ∈ O(n). Thus, we have ircR ∈ Ω(n).
Rules:
active'(U11'(tt', V1, V2)) → mark'(U12'(isNat'(V1), V2))
active'(U12'(tt', V2)) → mark'(U13'(isNat'(V2)))
active'(U13'(tt')) → mark'(tt')
active'(U21'(tt', V1)) → mark'(U22'(isNat'(V1)))
active'(U22'(tt')) → mark'(tt')
active'(U31'(tt', V1, V2)) → mark'(U32'(isNat'(V1), V2))
active'(U32'(tt', V2)) → mark'(U33'(isNat'(V2)))
active'(U33'(tt')) → mark'(tt')
active'(U41'(tt', N)) → mark'(N)
active'(U51'(tt', M, N)) → mark'(s'(plus'(N, M)))
active'(U61'(tt')) → mark'(0')
active'(U71'(tt', M, N)) → mark'(plus'(x'(N, M), N))
active'(and'(tt', X)) → mark'(X)
active'(isNat'(0')) → mark'(tt')
active'(isNat'(plus'(V1, V2))) → mark'(U11'(and'(isNatKind'(V1), isNatKind'(V2)), V1, V2))
active'(isNat'(s'(V1))) → mark'(U21'(isNatKind'(V1), V1))
active'(isNat'(x'(V1, V2))) → mark'(U31'(and'(isNatKind'(V1), isNatKind'(V2)), V1, V2))
active'(isNatKind'(0')) → mark'(tt')
active'(isNatKind'(plus'(V1, V2))) → mark'(and'(isNatKind'(V1), isNatKind'(V2)))
active'(isNatKind'(s'(V1))) → mark'(isNatKind'(V1))
active'(isNatKind'(x'(V1, V2))) → mark'(and'(isNatKind'(V1), isNatKind'(V2)))
active'(plus'(N, 0')) → mark'(U41'(and'(isNat'(N), isNatKind'(N)), N))
active'(plus'(N, s'(M))) → mark'(U51'(and'(and'(isNat'(M), isNatKind'(M)), and'(isNat'(N), isNatKind'(N))), M, N))
active'(x'(N, 0')) → mark'(U61'(and'(isNat'(N), isNatKind'(N))))
active'(x'(N, s'(M))) → mark'(U71'(and'(and'(isNat'(M), isNatKind'(M)), and'(isNat'(N), isNatKind'(N))), M, N))
active'(U11'(X1, X2, X3)) → U11'(active'(X1), X2, X3)
active'(U12'(X1, X2)) → U12'(active'(X1), X2)
active'(U13'(X)) → U13'(active'(X))
active'(U21'(X1, X2)) → U21'(active'(X1), X2)
active'(U22'(X)) → U22'(active'(X))
active'(U31'(X1, X2, X3)) → U31'(active'(X1), X2, X3)
active'(U32'(X1, X2)) → U32'(active'(X1), X2)
active'(U33'(X)) → U33'(active'(X))
active'(U41'(X1, X2)) → U41'(active'(X1), X2)
active'(U51'(X1, X2, X3)) → U51'(active'(X1), X2, X3)
active'(s'(X)) → s'(active'(X))
active'(plus'(X1, X2)) → plus'(active'(X1), X2)
active'(plus'(X1, X2)) → plus'(X1, active'(X2))
active'(U61'(X)) → U61'(active'(X))
active'(U71'(X1, X2, X3)) → U71'(active'(X1), X2, X3)
active'(x'(X1, X2)) → x'(active'(X1), X2)
active'(x'(X1, X2)) → x'(X1, active'(X2))
active'(and'(X1, X2)) → and'(active'(X1), X2)
U11'(mark'(X1), X2, X3) → mark'(U11'(X1, X2, X3))
U12'(mark'(X1), X2) → mark'(U12'(X1, X2))
U13'(mark'(X)) → mark'(U13'(X))
U21'(mark'(X1), X2) → mark'(U21'(X1, X2))
U22'(mark'(X)) → mark'(U22'(X))
U31'(mark'(X1), X2, X3) → mark'(U31'(X1, X2, X3))
U32'(mark'(X1), X2) → mark'(U32'(X1, X2))
U33'(mark'(X)) → mark'(U33'(X))
U41'(mark'(X1), X2) → mark'(U41'(X1, X2))
U51'(mark'(X1), X2, X3) → mark'(U51'(X1, X2, X3))
s'(mark'(X)) → mark'(s'(X))
plus'(mark'(X1), X2) → mark'(plus'(X1, X2))
plus'(X1, mark'(X2)) → mark'(plus'(X1, X2))
U61'(mark'(X)) → mark'(U61'(X))
U71'(mark'(X1), X2, X3) → mark'(U71'(X1, X2, X3))
x'(mark'(X1), X2) → mark'(x'(X1, X2))
x'(X1, mark'(X2)) → mark'(x'(X1, X2))
and'(mark'(X1), X2) → mark'(and'(X1, X2))
proper'(U11'(X1, X2, X3)) → U11'(proper'(X1), proper'(X2), proper'(X3))
proper'(tt') → ok'(tt')
proper'(U12'(X1, X2)) → U12'(proper'(X1), proper'(X2))
proper'(isNat'(X)) → isNat'(proper'(X))
proper'(U13'(X)) → U13'(proper'(X))
proper'(U21'(X1, X2)) → U21'(proper'(X1), proper'(X2))
proper'(U22'(X)) → U22'(proper'(X))
proper'(U31'(X1, X2, X3)) → U31'(proper'(X1), proper'(X2), proper'(X3))
proper'(U32'(X1, X2)) → U32'(proper'(X1), proper'(X2))
proper'(U33'(X)) → U33'(proper'(X))
proper'(U41'(X1, X2)) → U41'(proper'(X1), proper'(X2))
proper'(U51'(X1, X2, X3)) → U51'(proper'(X1), proper'(X2), proper'(X3))
proper'(s'(X)) → s'(proper'(X))
proper'(plus'(X1, X2)) → plus'(proper'(X1), proper'(X2))
proper'(U61'(X)) → U61'(proper'(X))
proper'(0') → ok'(0')
proper'(U71'(X1, X2, X3)) → U71'(proper'(X1), proper'(X2), proper'(X3))
proper'(x'(X1, X2)) → x'(proper'(X1), proper'(X2))
proper'(and'(X1, X2)) → and'(proper'(X1), proper'(X2))
proper'(isNatKind'(X)) → isNatKind'(proper'(X))
U11'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U11'(X1, X2, X3))
U12'(ok'(X1), ok'(X2)) → ok'(U12'(X1, X2))
isNat'(ok'(X)) → ok'(isNat'(X))
U13'(ok'(X)) → ok'(U13'(X))
U21'(ok'(X1), ok'(X2)) → ok'(U21'(X1, X2))
U22'(ok'(X)) → ok'(U22'(X))
U31'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U31'(X1, X2, X3))
U32'(ok'(X1), ok'(X2)) → ok'(U32'(X1, X2))
U33'(ok'(X)) → ok'(U33'(X))
U41'(ok'(X1), ok'(X2)) → ok'(U41'(X1, X2))
U51'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U51'(X1, X2, X3))
s'(ok'(X)) → ok'(s'(X))
plus'(ok'(X1), ok'(X2)) → ok'(plus'(X1, X2))
U61'(ok'(X)) → ok'(U61'(X))
U71'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U71'(X1, X2, X3))
x'(ok'(X1), ok'(X2)) → ok'(x'(X1, X2))
and'(ok'(X1), ok'(X2)) → ok'(and'(X1, X2))
isNatKind'(ok'(X)) → ok'(isNatKind'(X))
top'(mark'(X)) → top'(proper'(X))
top'(ok'(X)) → top'(active'(X))
Types:
active' :: tt':mark':0':ok' → tt':mark':0':ok'
U11' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
tt' :: tt':mark':0':ok'
mark' :: tt':mark':0':ok' → tt':mark':0':ok'
U12' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
isNat' :: tt':mark':0':ok' → tt':mark':0':ok'
U13' :: tt':mark':0':ok' → tt':mark':0':ok'
U21' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U22' :: tt':mark':0':ok' → tt':mark':0':ok'
U31' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U32' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U33' :: tt':mark':0':ok' → tt':mark':0':ok'
U41' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U51' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
s' :: tt':mark':0':ok' → tt':mark':0':ok'
plus' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U61' :: tt':mark':0':ok' → tt':mark':0':ok'
0' :: tt':mark':0':ok'
U71' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
x' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
and' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
isNatKind' :: tt':mark':0':ok' → tt':mark':0':ok'
proper' :: tt':mark':0':ok' → tt':mark':0':ok'
ok' :: tt':mark':0':ok' → tt':mark':0':ok'
top' :: tt':mark':0':ok' → top'
_hole_tt':mark':0':ok'1 :: tt':mark':0':ok'
_hole_top'2 :: top'
_gen_tt':mark':0':ok'3 :: Nat → tt':mark':0':ok'
Lemmas:
U12'(_gen_tt':mark':0':ok'3(+(1, _n5)), _gen_tt':mark':0':ok'3(b)) → _*4, rt ∈ Ω(n5)
U13'(_gen_tt':mark':0':ok'3(+(1, _n5352))) → _*4, rt ∈ Ω(n5352)
Generator Equations:
_gen_tt':mark':0':ok'3(0) ⇔ tt'
_gen_tt':mark':0':ok'3(+(x, 1)) ⇔ mark'(_gen_tt':mark':0':ok'3(x))
The following defined symbols remain to be analysed:
U22', active', U32', U33', s', plus', x', U11', and', isNatKind', U21', U31', U41', U51', U61', U71', proper', top'
They will be analysed ascendingly in the following order:
U22' < active'
U32' < active'
U33' < active'
s' < active'
plus' < active'
x' < active'
U11' < active'
and' < active'
isNatKind' < active'
U21' < active'
U31' < active'
U41' < active'
U51' < active'
U61' < active'
U71' < active'
active' < top'
U22' < proper'
U32' < proper'
U33' < proper'
s' < proper'
plus' < proper'
x' < proper'
U11' < proper'
and' < proper'
isNatKind' < proper'
U21' < proper'
U31' < proper'
U41' < proper'
U51' < proper'
U61' < proper'
U71' < proper'
proper' < top'
Proved the following rewrite lemma:
U22'(_gen_tt':mark':0':ok'3(+(1, _n8962))) → _*4, rt ∈ Ω(n8962)
Induction Base:
U22'(_gen_tt':mark':0':ok'3(+(1, 0)))
Induction Step:
U22'(_gen_tt':mark':0':ok'3(+(1, +(_$n8963, 1)))) →RΩ(1)
mark'(U22'(_gen_tt':mark':0':ok'3(+(1, _$n8963)))) →IH
mark'(_*4)
We have rt ∈ Ω(n) and sz ∈ O(n). Thus, we have ircR ∈ Ω(n).
Rules:
active'(U11'(tt', V1, V2)) → mark'(U12'(isNat'(V1), V2))
active'(U12'(tt', V2)) → mark'(U13'(isNat'(V2)))
active'(U13'(tt')) → mark'(tt')
active'(U21'(tt', V1)) → mark'(U22'(isNat'(V1)))
active'(U22'(tt')) → mark'(tt')
active'(U31'(tt', V1, V2)) → mark'(U32'(isNat'(V1), V2))
active'(U32'(tt', V2)) → mark'(U33'(isNat'(V2)))
active'(U33'(tt')) → mark'(tt')
active'(U41'(tt', N)) → mark'(N)
active'(U51'(tt', M, N)) → mark'(s'(plus'(N, M)))
active'(U61'(tt')) → mark'(0')
active'(U71'(tt', M, N)) → mark'(plus'(x'(N, M), N))
active'(and'(tt', X)) → mark'(X)
active'(isNat'(0')) → mark'(tt')
active'(isNat'(plus'(V1, V2))) → mark'(U11'(and'(isNatKind'(V1), isNatKind'(V2)), V1, V2))
active'(isNat'(s'(V1))) → mark'(U21'(isNatKind'(V1), V1))
active'(isNat'(x'(V1, V2))) → mark'(U31'(and'(isNatKind'(V1), isNatKind'(V2)), V1, V2))
active'(isNatKind'(0')) → mark'(tt')
active'(isNatKind'(plus'(V1, V2))) → mark'(and'(isNatKind'(V1), isNatKind'(V2)))
active'(isNatKind'(s'(V1))) → mark'(isNatKind'(V1))
active'(isNatKind'(x'(V1, V2))) → mark'(and'(isNatKind'(V1), isNatKind'(V2)))
active'(plus'(N, 0')) → mark'(U41'(and'(isNat'(N), isNatKind'(N)), N))
active'(plus'(N, s'(M))) → mark'(U51'(and'(and'(isNat'(M), isNatKind'(M)), and'(isNat'(N), isNatKind'(N))), M, N))
active'(x'(N, 0')) → mark'(U61'(and'(isNat'(N), isNatKind'(N))))
active'(x'(N, s'(M))) → mark'(U71'(and'(and'(isNat'(M), isNatKind'(M)), and'(isNat'(N), isNatKind'(N))), M, N))
active'(U11'(X1, X2, X3)) → U11'(active'(X1), X2, X3)
active'(U12'(X1, X2)) → U12'(active'(X1), X2)
active'(U13'(X)) → U13'(active'(X))
active'(U21'(X1, X2)) → U21'(active'(X1), X2)
active'(U22'(X)) → U22'(active'(X))
active'(U31'(X1, X2, X3)) → U31'(active'(X1), X2, X3)
active'(U32'(X1, X2)) → U32'(active'(X1), X2)
active'(U33'(X)) → U33'(active'(X))
active'(U41'(X1, X2)) → U41'(active'(X1), X2)
active'(U51'(X1, X2, X3)) → U51'(active'(X1), X2, X3)
active'(s'(X)) → s'(active'(X))
active'(plus'(X1, X2)) → plus'(active'(X1), X2)
active'(plus'(X1, X2)) → plus'(X1, active'(X2))
active'(U61'(X)) → U61'(active'(X))
active'(U71'(X1, X2, X3)) → U71'(active'(X1), X2, X3)
active'(x'(X1, X2)) → x'(active'(X1), X2)
active'(x'(X1, X2)) → x'(X1, active'(X2))
active'(and'(X1, X2)) → and'(active'(X1), X2)
U11'(mark'(X1), X2, X3) → mark'(U11'(X1, X2, X3))
U12'(mark'(X1), X2) → mark'(U12'(X1, X2))
U13'(mark'(X)) → mark'(U13'(X))
U21'(mark'(X1), X2) → mark'(U21'(X1, X2))
U22'(mark'(X)) → mark'(U22'(X))
U31'(mark'(X1), X2, X3) → mark'(U31'(X1, X2, X3))
U32'(mark'(X1), X2) → mark'(U32'(X1, X2))
U33'(mark'(X)) → mark'(U33'(X))
U41'(mark'(X1), X2) → mark'(U41'(X1, X2))
U51'(mark'(X1), X2, X3) → mark'(U51'(X1, X2, X3))
s'(mark'(X)) → mark'(s'(X))
plus'(mark'(X1), X2) → mark'(plus'(X1, X2))
plus'(X1, mark'(X2)) → mark'(plus'(X1, X2))
U61'(mark'(X)) → mark'(U61'(X))
U71'(mark'(X1), X2, X3) → mark'(U71'(X1, X2, X3))
x'(mark'(X1), X2) → mark'(x'(X1, X2))
x'(X1, mark'(X2)) → mark'(x'(X1, X2))
and'(mark'(X1), X2) → mark'(and'(X1, X2))
proper'(U11'(X1, X2, X3)) → U11'(proper'(X1), proper'(X2), proper'(X3))
proper'(tt') → ok'(tt')
proper'(U12'(X1, X2)) → U12'(proper'(X1), proper'(X2))
proper'(isNat'(X)) → isNat'(proper'(X))
proper'(U13'(X)) → U13'(proper'(X))
proper'(U21'(X1, X2)) → U21'(proper'(X1), proper'(X2))
proper'(U22'(X)) → U22'(proper'(X))
proper'(U31'(X1, X2, X3)) → U31'(proper'(X1), proper'(X2), proper'(X3))
proper'(U32'(X1, X2)) → U32'(proper'(X1), proper'(X2))
proper'(U33'(X)) → U33'(proper'(X))
proper'(U41'(X1, X2)) → U41'(proper'(X1), proper'(X2))
proper'(U51'(X1, X2, X3)) → U51'(proper'(X1), proper'(X2), proper'(X3))
proper'(s'(X)) → s'(proper'(X))
proper'(plus'(X1, X2)) → plus'(proper'(X1), proper'(X2))
proper'(U61'(X)) → U61'(proper'(X))
proper'(0') → ok'(0')
proper'(U71'(X1, X2, X3)) → U71'(proper'(X1), proper'(X2), proper'(X3))
proper'(x'(X1, X2)) → x'(proper'(X1), proper'(X2))
proper'(and'(X1, X2)) → and'(proper'(X1), proper'(X2))
proper'(isNatKind'(X)) → isNatKind'(proper'(X))
U11'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U11'(X1, X2, X3))
U12'(ok'(X1), ok'(X2)) → ok'(U12'(X1, X2))
isNat'(ok'(X)) → ok'(isNat'(X))
U13'(ok'(X)) → ok'(U13'(X))
U21'(ok'(X1), ok'(X2)) → ok'(U21'(X1, X2))
U22'(ok'(X)) → ok'(U22'(X))
U31'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U31'(X1, X2, X3))
U32'(ok'(X1), ok'(X2)) → ok'(U32'(X1, X2))
U33'(ok'(X)) → ok'(U33'(X))
U41'(ok'(X1), ok'(X2)) → ok'(U41'(X1, X2))
U51'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U51'(X1, X2, X3))
s'(ok'(X)) → ok'(s'(X))
plus'(ok'(X1), ok'(X2)) → ok'(plus'(X1, X2))
U61'(ok'(X)) → ok'(U61'(X))
U71'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U71'(X1, X2, X3))
x'(ok'(X1), ok'(X2)) → ok'(x'(X1, X2))
and'(ok'(X1), ok'(X2)) → ok'(and'(X1, X2))
isNatKind'(ok'(X)) → ok'(isNatKind'(X))
top'(mark'(X)) → top'(proper'(X))
top'(ok'(X)) → top'(active'(X))
Types:
active' :: tt':mark':0':ok' → tt':mark':0':ok'
U11' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
tt' :: tt':mark':0':ok'
mark' :: tt':mark':0':ok' → tt':mark':0':ok'
U12' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
isNat' :: tt':mark':0':ok' → tt':mark':0':ok'
U13' :: tt':mark':0':ok' → tt':mark':0':ok'
U21' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U22' :: tt':mark':0':ok' → tt':mark':0':ok'
U31' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U32' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U33' :: tt':mark':0':ok' → tt':mark':0':ok'
U41' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U51' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
s' :: tt':mark':0':ok' → tt':mark':0':ok'
plus' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U61' :: tt':mark':0':ok' → tt':mark':0':ok'
0' :: tt':mark':0':ok'
U71' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
x' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
and' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
isNatKind' :: tt':mark':0':ok' → tt':mark':0':ok'
proper' :: tt':mark':0':ok' → tt':mark':0':ok'
ok' :: tt':mark':0':ok' → tt':mark':0':ok'
top' :: tt':mark':0':ok' → top'
_hole_tt':mark':0':ok'1 :: tt':mark':0':ok'
_hole_top'2 :: top'
_gen_tt':mark':0':ok'3 :: Nat → tt':mark':0':ok'
Lemmas:
U12'(_gen_tt':mark':0':ok'3(+(1, _n5)), _gen_tt':mark':0':ok'3(b)) → _*4, rt ∈ Ω(n5)
U13'(_gen_tt':mark':0':ok'3(+(1, _n5352))) → _*4, rt ∈ Ω(n5352)
U22'(_gen_tt':mark':0':ok'3(+(1, _n8962))) → _*4, rt ∈ Ω(n8962)
Generator Equations:
_gen_tt':mark':0':ok'3(0) ⇔ tt'
_gen_tt':mark':0':ok'3(+(x, 1)) ⇔ mark'(_gen_tt':mark':0':ok'3(x))
The following defined symbols remain to be analysed:
U32', active', U33', s', plus', x', U11', and', isNatKind', U21', U31', U41', U51', U61', U71', proper', top'
They will be analysed ascendingly in the following order:
U32' < active'
U33' < active'
s' < active'
plus' < active'
x' < active'
U11' < active'
and' < active'
isNatKind' < active'
U21' < active'
U31' < active'
U41' < active'
U51' < active'
U61' < active'
U71' < active'
active' < top'
U32' < proper'
U33' < proper'
s' < proper'
plus' < proper'
x' < proper'
U11' < proper'
and' < proper'
isNatKind' < proper'
U21' < proper'
U31' < proper'
U41' < proper'
U51' < proper'
U61' < proper'
U71' < proper'
proper' < top'
Proved the following rewrite lemma:
U32'(_gen_tt':mark':0':ok'3(+(1, _n12696)), _gen_tt':mark':0':ok'3(b)) → _*4, rt ∈ Ω(n12696)
Induction Base:
U32'(_gen_tt':mark':0':ok'3(+(1, 0)), _gen_tt':mark':0':ok'3(b))
Induction Step:
U32'(_gen_tt':mark':0':ok'3(+(1, +(_$n12697, 1))), _gen_tt':mark':0':ok'3(_b14057)) →RΩ(1)
mark'(U32'(_gen_tt':mark':0':ok'3(+(1, _$n12697)), _gen_tt':mark':0':ok'3(_b14057))) →IH
mark'(_*4)
We have rt ∈ Ω(n) and sz ∈ O(n). Thus, we have ircR ∈ Ω(n).
Rules:
active'(U11'(tt', V1, V2)) → mark'(U12'(isNat'(V1), V2))
active'(U12'(tt', V2)) → mark'(U13'(isNat'(V2)))
active'(U13'(tt')) → mark'(tt')
active'(U21'(tt', V1)) → mark'(U22'(isNat'(V1)))
active'(U22'(tt')) → mark'(tt')
active'(U31'(tt', V1, V2)) → mark'(U32'(isNat'(V1), V2))
active'(U32'(tt', V2)) → mark'(U33'(isNat'(V2)))
active'(U33'(tt')) → mark'(tt')
active'(U41'(tt', N)) → mark'(N)
active'(U51'(tt', M, N)) → mark'(s'(plus'(N, M)))
active'(U61'(tt')) → mark'(0')
active'(U71'(tt', M, N)) → mark'(plus'(x'(N, M), N))
active'(and'(tt', X)) → mark'(X)
active'(isNat'(0')) → mark'(tt')
active'(isNat'(plus'(V1, V2))) → mark'(U11'(and'(isNatKind'(V1), isNatKind'(V2)), V1, V2))
active'(isNat'(s'(V1))) → mark'(U21'(isNatKind'(V1), V1))
active'(isNat'(x'(V1, V2))) → mark'(U31'(and'(isNatKind'(V1), isNatKind'(V2)), V1, V2))
active'(isNatKind'(0')) → mark'(tt')
active'(isNatKind'(plus'(V1, V2))) → mark'(and'(isNatKind'(V1), isNatKind'(V2)))
active'(isNatKind'(s'(V1))) → mark'(isNatKind'(V1))
active'(isNatKind'(x'(V1, V2))) → mark'(and'(isNatKind'(V1), isNatKind'(V2)))
active'(plus'(N, 0')) → mark'(U41'(and'(isNat'(N), isNatKind'(N)), N))
active'(plus'(N, s'(M))) → mark'(U51'(and'(and'(isNat'(M), isNatKind'(M)), and'(isNat'(N), isNatKind'(N))), M, N))
active'(x'(N, 0')) → mark'(U61'(and'(isNat'(N), isNatKind'(N))))
active'(x'(N, s'(M))) → mark'(U71'(and'(and'(isNat'(M), isNatKind'(M)), and'(isNat'(N), isNatKind'(N))), M, N))
active'(U11'(X1, X2, X3)) → U11'(active'(X1), X2, X3)
active'(U12'(X1, X2)) → U12'(active'(X1), X2)
active'(U13'(X)) → U13'(active'(X))
active'(U21'(X1, X2)) → U21'(active'(X1), X2)
active'(U22'(X)) → U22'(active'(X))
active'(U31'(X1, X2, X3)) → U31'(active'(X1), X2, X3)
active'(U32'(X1, X2)) → U32'(active'(X1), X2)
active'(U33'(X)) → U33'(active'(X))
active'(U41'(X1, X2)) → U41'(active'(X1), X2)
active'(U51'(X1, X2, X3)) → U51'(active'(X1), X2, X3)
active'(s'(X)) → s'(active'(X))
active'(plus'(X1, X2)) → plus'(active'(X1), X2)
active'(plus'(X1, X2)) → plus'(X1, active'(X2))
active'(U61'(X)) → U61'(active'(X))
active'(U71'(X1, X2, X3)) → U71'(active'(X1), X2, X3)
active'(x'(X1, X2)) → x'(active'(X1), X2)
active'(x'(X1, X2)) → x'(X1, active'(X2))
active'(and'(X1, X2)) → and'(active'(X1), X2)
U11'(mark'(X1), X2, X3) → mark'(U11'(X1, X2, X3))
U12'(mark'(X1), X2) → mark'(U12'(X1, X2))
U13'(mark'(X)) → mark'(U13'(X))
U21'(mark'(X1), X2) → mark'(U21'(X1, X2))
U22'(mark'(X)) → mark'(U22'(X))
U31'(mark'(X1), X2, X3) → mark'(U31'(X1, X2, X3))
U32'(mark'(X1), X2) → mark'(U32'(X1, X2))
U33'(mark'(X)) → mark'(U33'(X))
U41'(mark'(X1), X2) → mark'(U41'(X1, X2))
U51'(mark'(X1), X2, X3) → mark'(U51'(X1, X2, X3))
s'(mark'(X)) → mark'(s'(X))
plus'(mark'(X1), X2) → mark'(plus'(X1, X2))
plus'(X1, mark'(X2)) → mark'(plus'(X1, X2))
U61'(mark'(X)) → mark'(U61'(X))
U71'(mark'(X1), X2, X3) → mark'(U71'(X1, X2, X3))
x'(mark'(X1), X2) → mark'(x'(X1, X2))
x'(X1, mark'(X2)) → mark'(x'(X1, X2))
and'(mark'(X1), X2) → mark'(and'(X1, X2))
proper'(U11'(X1, X2, X3)) → U11'(proper'(X1), proper'(X2), proper'(X3))
proper'(tt') → ok'(tt')
proper'(U12'(X1, X2)) → U12'(proper'(X1), proper'(X2))
proper'(isNat'(X)) → isNat'(proper'(X))
proper'(U13'(X)) → U13'(proper'(X))
proper'(U21'(X1, X2)) → U21'(proper'(X1), proper'(X2))
proper'(U22'(X)) → U22'(proper'(X))
proper'(U31'(X1, X2, X3)) → U31'(proper'(X1), proper'(X2), proper'(X3))
proper'(U32'(X1, X2)) → U32'(proper'(X1), proper'(X2))
proper'(U33'(X)) → U33'(proper'(X))
proper'(U41'(X1, X2)) → U41'(proper'(X1), proper'(X2))
proper'(U51'(X1, X2, X3)) → U51'(proper'(X1), proper'(X2), proper'(X3))
proper'(s'(X)) → s'(proper'(X))
proper'(plus'(X1, X2)) → plus'(proper'(X1), proper'(X2))
proper'(U61'(X)) → U61'(proper'(X))
proper'(0') → ok'(0')
proper'(U71'(X1, X2, X3)) → U71'(proper'(X1), proper'(X2), proper'(X3))
proper'(x'(X1, X2)) → x'(proper'(X1), proper'(X2))
proper'(and'(X1, X2)) → and'(proper'(X1), proper'(X2))
proper'(isNatKind'(X)) → isNatKind'(proper'(X))
U11'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U11'(X1, X2, X3))
U12'(ok'(X1), ok'(X2)) → ok'(U12'(X1, X2))
isNat'(ok'(X)) → ok'(isNat'(X))
U13'(ok'(X)) → ok'(U13'(X))
U21'(ok'(X1), ok'(X2)) → ok'(U21'(X1, X2))
U22'(ok'(X)) → ok'(U22'(X))
U31'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U31'(X1, X2, X3))
U32'(ok'(X1), ok'(X2)) → ok'(U32'(X1, X2))
U33'(ok'(X)) → ok'(U33'(X))
U41'(ok'(X1), ok'(X2)) → ok'(U41'(X1, X2))
U51'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U51'(X1, X2, X3))
s'(ok'(X)) → ok'(s'(X))
plus'(ok'(X1), ok'(X2)) → ok'(plus'(X1, X2))
U61'(ok'(X)) → ok'(U61'(X))
U71'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U71'(X1, X2, X3))
x'(ok'(X1), ok'(X2)) → ok'(x'(X1, X2))
and'(ok'(X1), ok'(X2)) → ok'(and'(X1, X2))
isNatKind'(ok'(X)) → ok'(isNatKind'(X))
top'(mark'(X)) → top'(proper'(X))
top'(ok'(X)) → top'(active'(X))
Types:
active' :: tt':mark':0':ok' → tt':mark':0':ok'
U11' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
tt' :: tt':mark':0':ok'
mark' :: tt':mark':0':ok' → tt':mark':0':ok'
U12' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
isNat' :: tt':mark':0':ok' → tt':mark':0':ok'
U13' :: tt':mark':0':ok' → tt':mark':0':ok'
U21' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U22' :: tt':mark':0':ok' → tt':mark':0':ok'
U31' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U32' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U33' :: tt':mark':0':ok' → tt':mark':0':ok'
U41' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U51' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
s' :: tt':mark':0':ok' → tt':mark':0':ok'
plus' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U61' :: tt':mark':0':ok' → tt':mark':0':ok'
0' :: tt':mark':0':ok'
U71' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
x' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
and' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
isNatKind' :: tt':mark':0':ok' → tt':mark':0':ok'
proper' :: tt':mark':0':ok' → tt':mark':0':ok'
ok' :: tt':mark':0':ok' → tt':mark':0':ok'
top' :: tt':mark':0':ok' → top'
_hole_tt':mark':0':ok'1 :: tt':mark':0':ok'
_hole_top'2 :: top'
_gen_tt':mark':0':ok'3 :: Nat → tt':mark':0':ok'
Lemmas:
U12'(_gen_tt':mark':0':ok'3(+(1, _n5)), _gen_tt':mark':0':ok'3(b)) → _*4, rt ∈ Ω(n5)
U13'(_gen_tt':mark':0':ok'3(+(1, _n5352))) → _*4, rt ∈ Ω(n5352)
U22'(_gen_tt':mark':0':ok'3(+(1, _n8962))) → _*4, rt ∈ Ω(n8962)
U32'(_gen_tt':mark':0':ok'3(+(1, _n12696)), _gen_tt':mark':0':ok'3(b)) → _*4, rt ∈ Ω(n12696)
Generator Equations:
_gen_tt':mark':0':ok'3(0) ⇔ tt'
_gen_tt':mark':0':ok'3(+(x, 1)) ⇔ mark'(_gen_tt':mark':0':ok'3(x))
The following defined symbols remain to be analysed:
U33', active', s', plus', x', U11', and', isNatKind', U21', U31', U41', U51', U61', U71', proper', top'
They will be analysed ascendingly in the following order:
U33' < active'
s' < active'
plus' < active'
x' < active'
U11' < active'
and' < active'
isNatKind' < active'
U21' < active'
U31' < active'
U41' < active'
U51' < active'
U61' < active'
U71' < active'
active' < top'
U33' < proper'
s' < proper'
plus' < proper'
x' < proper'
U11' < proper'
and' < proper'
isNatKind' < proper'
U21' < proper'
U31' < proper'
U41' < proper'
U51' < proper'
U61' < proper'
U71' < proper'
proper' < top'
Proved the following rewrite lemma:
U33'(_gen_tt':mark':0':ok'3(+(1, _n18877))) → _*4, rt ∈ Ω(n18877)
Induction Base:
U33'(_gen_tt':mark':0':ok'3(+(1, 0)))
Induction Step:
U33'(_gen_tt':mark':0':ok'3(+(1, +(_$n18878, 1)))) →RΩ(1)
mark'(U33'(_gen_tt':mark':0':ok'3(+(1, _$n18878)))) →IH
mark'(_*4)
We have rt ∈ Ω(n) and sz ∈ O(n). Thus, we have ircR ∈ Ω(n).
Rules:
active'(U11'(tt', V1, V2)) → mark'(U12'(isNat'(V1), V2))
active'(U12'(tt', V2)) → mark'(U13'(isNat'(V2)))
active'(U13'(tt')) → mark'(tt')
active'(U21'(tt', V1)) → mark'(U22'(isNat'(V1)))
active'(U22'(tt')) → mark'(tt')
active'(U31'(tt', V1, V2)) → mark'(U32'(isNat'(V1), V2))
active'(U32'(tt', V2)) → mark'(U33'(isNat'(V2)))
active'(U33'(tt')) → mark'(tt')
active'(U41'(tt', N)) → mark'(N)
active'(U51'(tt', M, N)) → mark'(s'(plus'(N, M)))
active'(U61'(tt')) → mark'(0')
active'(U71'(tt', M, N)) → mark'(plus'(x'(N, M), N))
active'(and'(tt', X)) → mark'(X)
active'(isNat'(0')) → mark'(tt')
active'(isNat'(plus'(V1, V2))) → mark'(U11'(and'(isNatKind'(V1), isNatKind'(V2)), V1, V2))
active'(isNat'(s'(V1))) → mark'(U21'(isNatKind'(V1), V1))
active'(isNat'(x'(V1, V2))) → mark'(U31'(and'(isNatKind'(V1), isNatKind'(V2)), V1, V2))
active'(isNatKind'(0')) → mark'(tt')
active'(isNatKind'(plus'(V1, V2))) → mark'(and'(isNatKind'(V1), isNatKind'(V2)))
active'(isNatKind'(s'(V1))) → mark'(isNatKind'(V1))
active'(isNatKind'(x'(V1, V2))) → mark'(and'(isNatKind'(V1), isNatKind'(V2)))
active'(plus'(N, 0')) → mark'(U41'(and'(isNat'(N), isNatKind'(N)), N))
active'(plus'(N, s'(M))) → mark'(U51'(and'(and'(isNat'(M), isNatKind'(M)), and'(isNat'(N), isNatKind'(N))), M, N))
active'(x'(N, 0')) → mark'(U61'(and'(isNat'(N), isNatKind'(N))))
active'(x'(N, s'(M))) → mark'(U71'(and'(and'(isNat'(M), isNatKind'(M)), and'(isNat'(N), isNatKind'(N))), M, N))
active'(U11'(X1, X2, X3)) → U11'(active'(X1), X2, X3)
active'(U12'(X1, X2)) → U12'(active'(X1), X2)
active'(U13'(X)) → U13'(active'(X))
active'(U21'(X1, X2)) → U21'(active'(X1), X2)
active'(U22'(X)) → U22'(active'(X))
active'(U31'(X1, X2, X3)) → U31'(active'(X1), X2, X3)
active'(U32'(X1, X2)) → U32'(active'(X1), X2)
active'(U33'(X)) → U33'(active'(X))
active'(U41'(X1, X2)) → U41'(active'(X1), X2)
active'(U51'(X1, X2, X3)) → U51'(active'(X1), X2, X3)
active'(s'(X)) → s'(active'(X))
active'(plus'(X1, X2)) → plus'(active'(X1), X2)
active'(plus'(X1, X2)) → plus'(X1, active'(X2))
active'(U61'(X)) → U61'(active'(X))
active'(U71'(X1, X2, X3)) → U71'(active'(X1), X2, X3)
active'(x'(X1, X2)) → x'(active'(X1), X2)
active'(x'(X1, X2)) → x'(X1, active'(X2))
active'(and'(X1, X2)) → and'(active'(X1), X2)
U11'(mark'(X1), X2, X3) → mark'(U11'(X1, X2, X3))
U12'(mark'(X1), X2) → mark'(U12'(X1, X2))
U13'(mark'(X)) → mark'(U13'(X))
U21'(mark'(X1), X2) → mark'(U21'(X1, X2))
U22'(mark'(X)) → mark'(U22'(X))
U31'(mark'(X1), X2, X3) → mark'(U31'(X1, X2, X3))
U32'(mark'(X1), X2) → mark'(U32'(X1, X2))
U33'(mark'(X)) → mark'(U33'(X))
U41'(mark'(X1), X2) → mark'(U41'(X1, X2))
U51'(mark'(X1), X2, X3) → mark'(U51'(X1, X2, X3))
s'(mark'(X)) → mark'(s'(X))
plus'(mark'(X1), X2) → mark'(plus'(X1, X2))
plus'(X1, mark'(X2)) → mark'(plus'(X1, X2))
U61'(mark'(X)) → mark'(U61'(X))
U71'(mark'(X1), X2, X3) → mark'(U71'(X1, X2, X3))
x'(mark'(X1), X2) → mark'(x'(X1, X2))
x'(X1, mark'(X2)) → mark'(x'(X1, X2))
and'(mark'(X1), X2) → mark'(and'(X1, X2))
proper'(U11'(X1, X2, X3)) → U11'(proper'(X1), proper'(X2), proper'(X3))
proper'(tt') → ok'(tt')
proper'(U12'(X1, X2)) → U12'(proper'(X1), proper'(X2))
proper'(isNat'(X)) → isNat'(proper'(X))
proper'(U13'(X)) → U13'(proper'(X))
proper'(U21'(X1, X2)) → U21'(proper'(X1), proper'(X2))
proper'(U22'(X)) → U22'(proper'(X))
proper'(U31'(X1, X2, X3)) → U31'(proper'(X1), proper'(X2), proper'(X3))
proper'(U32'(X1, X2)) → U32'(proper'(X1), proper'(X2))
proper'(U33'(X)) → U33'(proper'(X))
proper'(U41'(X1, X2)) → U41'(proper'(X1), proper'(X2))
proper'(U51'(X1, X2, X3)) → U51'(proper'(X1), proper'(X2), proper'(X3))
proper'(s'(X)) → s'(proper'(X))
proper'(plus'(X1, X2)) → plus'(proper'(X1), proper'(X2))
proper'(U61'(X)) → U61'(proper'(X))
proper'(0') → ok'(0')
proper'(U71'(X1, X2, X3)) → U71'(proper'(X1), proper'(X2), proper'(X3))
proper'(x'(X1, X2)) → x'(proper'(X1), proper'(X2))
proper'(and'(X1, X2)) → and'(proper'(X1), proper'(X2))
proper'(isNatKind'(X)) → isNatKind'(proper'(X))
U11'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U11'(X1, X2, X3))
U12'(ok'(X1), ok'(X2)) → ok'(U12'(X1, X2))
isNat'(ok'(X)) → ok'(isNat'(X))
U13'(ok'(X)) → ok'(U13'(X))
U21'(ok'(X1), ok'(X2)) → ok'(U21'(X1, X2))
U22'(ok'(X)) → ok'(U22'(X))
U31'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U31'(X1, X2, X3))
U32'(ok'(X1), ok'(X2)) → ok'(U32'(X1, X2))
U33'(ok'(X)) → ok'(U33'(X))
U41'(ok'(X1), ok'(X2)) → ok'(U41'(X1, X2))
U51'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U51'(X1, X2, X3))
s'(ok'(X)) → ok'(s'(X))
plus'(ok'(X1), ok'(X2)) → ok'(plus'(X1, X2))
U61'(ok'(X)) → ok'(U61'(X))
U71'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U71'(X1, X2, X3))
x'(ok'(X1), ok'(X2)) → ok'(x'(X1, X2))
and'(ok'(X1), ok'(X2)) → ok'(and'(X1, X2))
isNatKind'(ok'(X)) → ok'(isNatKind'(X))
top'(mark'(X)) → top'(proper'(X))
top'(ok'(X)) → top'(active'(X))
Types:
active' :: tt':mark':0':ok' → tt':mark':0':ok'
U11' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
tt' :: tt':mark':0':ok'
mark' :: tt':mark':0':ok' → tt':mark':0':ok'
U12' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
isNat' :: tt':mark':0':ok' → tt':mark':0':ok'
U13' :: tt':mark':0':ok' → tt':mark':0':ok'
U21' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U22' :: tt':mark':0':ok' → tt':mark':0':ok'
U31' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U32' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U33' :: tt':mark':0':ok' → tt':mark':0':ok'
U41' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U51' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
s' :: tt':mark':0':ok' → tt':mark':0':ok'
plus' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U61' :: tt':mark':0':ok' → tt':mark':0':ok'
0' :: tt':mark':0':ok'
U71' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
x' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
and' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
isNatKind' :: tt':mark':0':ok' → tt':mark':0':ok'
proper' :: tt':mark':0':ok' → tt':mark':0':ok'
ok' :: tt':mark':0':ok' → tt':mark':0':ok'
top' :: tt':mark':0':ok' → top'
_hole_tt':mark':0':ok'1 :: tt':mark':0':ok'
_hole_top'2 :: top'
_gen_tt':mark':0':ok'3 :: Nat → tt':mark':0':ok'
Lemmas:
U12'(_gen_tt':mark':0':ok'3(+(1, _n5)), _gen_tt':mark':0':ok'3(b)) → _*4, rt ∈ Ω(n5)
U13'(_gen_tt':mark':0':ok'3(+(1, _n5352))) → _*4, rt ∈ Ω(n5352)
U22'(_gen_tt':mark':0':ok'3(+(1, _n8962))) → _*4, rt ∈ Ω(n8962)
U32'(_gen_tt':mark':0':ok'3(+(1, _n12696)), _gen_tt':mark':0':ok'3(b)) → _*4, rt ∈ Ω(n12696)
U33'(_gen_tt':mark':0':ok'3(+(1, _n18877))) → _*4, rt ∈ Ω(n18877)
Generator Equations:
_gen_tt':mark':0':ok'3(0) ⇔ tt'
_gen_tt':mark':0':ok'3(+(x, 1)) ⇔ mark'(_gen_tt':mark':0':ok'3(x))
The following defined symbols remain to be analysed:
s', active', plus', x', U11', and', isNatKind', U21', U31', U41', U51', U61', U71', proper', top'
They will be analysed ascendingly in the following order:
s' < active'
plus' < active'
x' < active'
U11' < active'
and' < active'
isNatKind' < active'
U21' < active'
U31' < active'
U41' < active'
U51' < active'
U61' < active'
U71' < active'
active' < top'
s' < proper'
plus' < proper'
x' < proper'
U11' < proper'
and' < proper'
isNatKind' < proper'
U21' < proper'
U31' < proper'
U41' < proper'
U51' < proper'
U61' < proper'
U71' < proper'
proper' < top'
Proved the following rewrite lemma:
s'(_gen_tt':mark':0':ok'3(+(1, _n22926))) → _*4, rt ∈ Ω(n22926)
Induction Base:
s'(_gen_tt':mark':0':ok'3(+(1, 0)))
Induction Step:
s'(_gen_tt':mark':0':ok'3(+(1, +(_$n22927, 1)))) →RΩ(1)
mark'(s'(_gen_tt':mark':0':ok'3(+(1, _$n22927)))) →IH
mark'(_*4)
We have rt ∈ Ω(n) and sz ∈ O(n). Thus, we have ircR ∈ Ω(n).
Rules:
active'(U11'(tt', V1, V2)) → mark'(U12'(isNat'(V1), V2))
active'(U12'(tt', V2)) → mark'(U13'(isNat'(V2)))
active'(U13'(tt')) → mark'(tt')
active'(U21'(tt', V1)) → mark'(U22'(isNat'(V1)))
active'(U22'(tt')) → mark'(tt')
active'(U31'(tt', V1, V2)) → mark'(U32'(isNat'(V1), V2))
active'(U32'(tt', V2)) → mark'(U33'(isNat'(V2)))
active'(U33'(tt')) → mark'(tt')
active'(U41'(tt', N)) → mark'(N)
active'(U51'(tt', M, N)) → mark'(s'(plus'(N, M)))
active'(U61'(tt')) → mark'(0')
active'(U71'(tt', M, N)) → mark'(plus'(x'(N, M), N))
active'(and'(tt', X)) → mark'(X)
active'(isNat'(0')) → mark'(tt')
active'(isNat'(plus'(V1, V2))) → mark'(U11'(and'(isNatKind'(V1), isNatKind'(V2)), V1, V2))
active'(isNat'(s'(V1))) → mark'(U21'(isNatKind'(V1), V1))
active'(isNat'(x'(V1, V2))) → mark'(U31'(and'(isNatKind'(V1), isNatKind'(V2)), V1, V2))
active'(isNatKind'(0')) → mark'(tt')
active'(isNatKind'(plus'(V1, V2))) → mark'(and'(isNatKind'(V1), isNatKind'(V2)))
active'(isNatKind'(s'(V1))) → mark'(isNatKind'(V1))
active'(isNatKind'(x'(V1, V2))) → mark'(and'(isNatKind'(V1), isNatKind'(V2)))
active'(plus'(N, 0')) → mark'(U41'(and'(isNat'(N), isNatKind'(N)), N))
active'(plus'(N, s'(M))) → mark'(U51'(and'(and'(isNat'(M), isNatKind'(M)), and'(isNat'(N), isNatKind'(N))), M, N))
active'(x'(N, 0')) → mark'(U61'(and'(isNat'(N), isNatKind'(N))))
active'(x'(N, s'(M))) → mark'(U71'(and'(and'(isNat'(M), isNatKind'(M)), and'(isNat'(N), isNatKind'(N))), M, N))
active'(U11'(X1, X2, X3)) → U11'(active'(X1), X2, X3)
active'(U12'(X1, X2)) → U12'(active'(X1), X2)
active'(U13'(X)) → U13'(active'(X))
active'(U21'(X1, X2)) → U21'(active'(X1), X2)
active'(U22'(X)) → U22'(active'(X))
active'(U31'(X1, X2, X3)) → U31'(active'(X1), X2, X3)
active'(U32'(X1, X2)) → U32'(active'(X1), X2)
active'(U33'(X)) → U33'(active'(X))
active'(U41'(X1, X2)) → U41'(active'(X1), X2)
active'(U51'(X1, X2, X3)) → U51'(active'(X1), X2, X3)
active'(s'(X)) → s'(active'(X))
active'(plus'(X1, X2)) → plus'(active'(X1), X2)
active'(plus'(X1, X2)) → plus'(X1, active'(X2))
active'(U61'(X)) → U61'(active'(X))
active'(U71'(X1, X2, X3)) → U71'(active'(X1), X2, X3)
active'(x'(X1, X2)) → x'(active'(X1), X2)
active'(x'(X1, X2)) → x'(X1, active'(X2))
active'(and'(X1, X2)) → and'(active'(X1), X2)
U11'(mark'(X1), X2, X3) → mark'(U11'(X1, X2, X3))
U12'(mark'(X1), X2) → mark'(U12'(X1, X2))
U13'(mark'(X)) → mark'(U13'(X))
U21'(mark'(X1), X2) → mark'(U21'(X1, X2))
U22'(mark'(X)) → mark'(U22'(X))
U31'(mark'(X1), X2, X3) → mark'(U31'(X1, X2, X3))
U32'(mark'(X1), X2) → mark'(U32'(X1, X2))
U33'(mark'(X)) → mark'(U33'(X))
U41'(mark'(X1), X2) → mark'(U41'(X1, X2))
U51'(mark'(X1), X2, X3) → mark'(U51'(X1, X2, X3))
s'(mark'(X)) → mark'(s'(X))
plus'(mark'(X1), X2) → mark'(plus'(X1, X2))
plus'(X1, mark'(X2)) → mark'(plus'(X1, X2))
U61'(mark'(X)) → mark'(U61'(X))
U71'(mark'(X1), X2, X3) → mark'(U71'(X1, X2, X3))
x'(mark'(X1), X2) → mark'(x'(X1, X2))
x'(X1, mark'(X2)) → mark'(x'(X1, X2))
and'(mark'(X1), X2) → mark'(and'(X1, X2))
proper'(U11'(X1, X2, X3)) → U11'(proper'(X1), proper'(X2), proper'(X3))
proper'(tt') → ok'(tt')
proper'(U12'(X1, X2)) → U12'(proper'(X1), proper'(X2))
proper'(isNat'(X)) → isNat'(proper'(X))
proper'(U13'(X)) → U13'(proper'(X))
proper'(U21'(X1, X2)) → U21'(proper'(X1), proper'(X2))
proper'(U22'(X)) → U22'(proper'(X))
proper'(U31'(X1, X2, X3)) → U31'(proper'(X1), proper'(X2), proper'(X3))
proper'(U32'(X1, X2)) → U32'(proper'(X1), proper'(X2))
proper'(U33'(X)) → U33'(proper'(X))
proper'(U41'(X1, X2)) → U41'(proper'(X1), proper'(X2))
proper'(U51'(X1, X2, X3)) → U51'(proper'(X1), proper'(X2), proper'(X3))
proper'(s'(X)) → s'(proper'(X))
proper'(plus'(X1, X2)) → plus'(proper'(X1), proper'(X2))
proper'(U61'(X)) → U61'(proper'(X))
proper'(0') → ok'(0')
proper'(U71'(X1, X2, X3)) → U71'(proper'(X1), proper'(X2), proper'(X3))
proper'(x'(X1, X2)) → x'(proper'(X1), proper'(X2))
proper'(and'(X1, X2)) → and'(proper'(X1), proper'(X2))
proper'(isNatKind'(X)) → isNatKind'(proper'(X))
U11'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U11'(X1, X2, X3))
U12'(ok'(X1), ok'(X2)) → ok'(U12'(X1, X2))
isNat'(ok'(X)) → ok'(isNat'(X))
U13'(ok'(X)) → ok'(U13'(X))
U21'(ok'(X1), ok'(X2)) → ok'(U21'(X1, X2))
U22'(ok'(X)) → ok'(U22'(X))
U31'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U31'(X1, X2, X3))
U32'(ok'(X1), ok'(X2)) → ok'(U32'(X1, X2))
U33'(ok'(X)) → ok'(U33'(X))
U41'(ok'(X1), ok'(X2)) → ok'(U41'(X1, X2))
U51'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U51'(X1, X2, X3))
s'(ok'(X)) → ok'(s'(X))
plus'(ok'(X1), ok'(X2)) → ok'(plus'(X1, X2))
U61'(ok'(X)) → ok'(U61'(X))
U71'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U71'(X1, X2, X3))
x'(ok'(X1), ok'(X2)) → ok'(x'(X1, X2))
and'(ok'(X1), ok'(X2)) → ok'(and'(X1, X2))
isNatKind'(ok'(X)) → ok'(isNatKind'(X))
top'(mark'(X)) → top'(proper'(X))
top'(ok'(X)) → top'(active'(X))
Types:
active' :: tt':mark':0':ok' → tt':mark':0':ok'
U11' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
tt' :: tt':mark':0':ok'
mark' :: tt':mark':0':ok' → tt':mark':0':ok'
U12' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
isNat' :: tt':mark':0':ok' → tt':mark':0':ok'
U13' :: tt':mark':0':ok' → tt':mark':0':ok'
U21' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U22' :: tt':mark':0':ok' → tt':mark':0':ok'
U31' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U32' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U33' :: tt':mark':0':ok' → tt':mark':0':ok'
U41' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U51' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
s' :: tt':mark':0':ok' → tt':mark':0':ok'
plus' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U61' :: tt':mark':0':ok' → tt':mark':0':ok'
0' :: tt':mark':0':ok'
U71' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
x' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
and' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
isNatKind' :: tt':mark':0':ok' → tt':mark':0':ok'
proper' :: tt':mark':0':ok' → tt':mark':0':ok'
ok' :: tt':mark':0':ok' → tt':mark':0':ok'
top' :: tt':mark':0':ok' → top'
_hole_tt':mark':0':ok'1 :: tt':mark':0':ok'
_hole_top'2 :: top'
_gen_tt':mark':0':ok'3 :: Nat → tt':mark':0':ok'
Lemmas:
U12'(_gen_tt':mark':0':ok'3(+(1, _n5)), _gen_tt':mark':0':ok'3(b)) → _*4, rt ∈ Ω(n5)
U13'(_gen_tt':mark':0':ok'3(+(1, _n5352))) → _*4, rt ∈ Ω(n5352)
U22'(_gen_tt':mark':0':ok'3(+(1, _n8962))) → _*4, rt ∈ Ω(n8962)
U32'(_gen_tt':mark':0':ok'3(+(1, _n12696)), _gen_tt':mark':0':ok'3(b)) → _*4, rt ∈ Ω(n12696)
U33'(_gen_tt':mark':0':ok'3(+(1, _n18877))) → _*4, rt ∈ Ω(n18877)
s'(_gen_tt':mark':0':ok'3(+(1, _n22926))) → _*4, rt ∈ Ω(n22926)
Generator Equations:
_gen_tt':mark':0':ok'3(0) ⇔ tt'
_gen_tt':mark':0':ok'3(+(x, 1)) ⇔ mark'(_gen_tt':mark':0':ok'3(x))
The following defined symbols remain to be analysed:
plus', active', x', U11', and', isNatKind', U21', U31', U41', U51', U61', U71', proper', top'
They will be analysed ascendingly in the following order:
plus' < active'
x' < active'
U11' < active'
and' < active'
isNatKind' < active'
U21' < active'
U31' < active'
U41' < active'
U51' < active'
U61' < active'
U71' < active'
active' < top'
plus' < proper'
x' < proper'
U11' < proper'
and' < proper'
isNatKind' < proper'
U21' < proper'
U31' < proper'
U41' < proper'
U51' < proper'
U61' < proper'
U71' < proper'
proper' < top'
Proved the following rewrite lemma:
plus'(_gen_tt':mark':0':ok'3(+(1, _n27099)), _gen_tt':mark':0':ok'3(b)) → _*4, rt ∈ Ω(n27099)
Induction Base:
plus'(_gen_tt':mark':0':ok'3(+(1, 0)), _gen_tt':mark':0':ok'3(b))
Induction Step:
plus'(_gen_tt':mark':0':ok'3(+(1, +(_$n27100, 1))), _gen_tt':mark':0':ok'3(_b29432)) →RΩ(1)
mark'(plus'(_gen_tt':mark':0':ok'3(+(1, _$n27100)), _gen_tt':mark':0':ok'3(_b29432))) →IH
mark'(_*4)
We have rt ∈ Ω(n) and sz ∈ O(n). Thus, we have ircR ∈ Ω(n).
Rules:
active'(U11'(tt', V1, V2)) → mark'(U12'(isNat'(V1), V2))
active'(U12'(tt', V2)) → mark'(U13'(isNat'(V2)))
active'(U13'(tt')) → mark'(tt')
active'(U21'(tt', V1)) → mark'(U22'(isNat'(V1)))
active'(U22'(tt')) → mark'(tt')
active'(U31'(tt', V1, V2)) → mark'(U32'(isNat'(V1), V2))
active'(U32'(tt', V2)) → mark'(U33'(isNat'(V2)))
active'(U33'(tt')) → mark'(tt')
active'(U41'(tt', N)) → mark'(N)
active'(U51'(tt', M, N)) → mark'(s'(plus'(N, M)))
active'(U61'(tt')) → mark'(0')
active'(U71'(tt', M, N)) → mark'(plus'(x'(N, M), N))
active'(and'(tt', X)) → mark'(X)
active'(isNat'(0')) → mark'(tt')
active'(isNat'(plus'(V1, V2))) → mark'(U11'(and'(isNatKind'(V1), isNatKind'(V2)), V1, V2))
active'(isNat'(s'(V1))) → mark'(U21'(isNatKind'(V1), V1))
active'(isNat'(x'(V1, V2))) → mark'(U31'(and'(isNatKind'(V1), isNatKind'(V2)), V1, V2))
active'(isNatKind'(0')) → mark'(tt')
active'(isNatKind'(plus'(V1, V2))) → mark'(and'(isNatKind'(V1), isNatKind'(V2)))
active'(isNatKind'(s'(V1))) → mark'(isNatKind'(V1))
active'(isNatKind'(x'(V1, V2))) → mark'(and'(isNatKind'(V1), isNatKind'(V2)))
active'(plus'(N, 0')) → mark'(U41'(and'(isNat'(N), isNatKind'(N)), N))
active'(plus'(N, s'(M))) → mark'(U51'(and'(and'(isNat'(M), isNatKind'(M)), and'(isNat'(N), isNatKind'(N))), M, N))
active'(x'(N, 0')) → mark'(U61'(and'(isNat'(N), isNatKind'(N))))
active'(x'(N, s'(M))) → mark'(U71'(and'(and'(isNat'(M), isNatKind'(M)), and'(isNat'(N), isNatKind'(N))), M, N))
active'(U11'(X1, X2, X3)) → U11'(active'(X1), X2, X3)
active'(U12'(X1, X2)) → U12'(active'(X1), X2)
active'(U13'(X)) → U13'(active'(X))
active'(U21'(X1, X2)) → U21'(active'(X1), X2)
active'(U22'(X)) → U22'(active'(X))
active'(U31'(X1, X2, X3)) → U31'(active'(X1), X2, X3)
active'(U32'(X1, X2)) → U32'(active'(X1), X2)
active'(U33'(X)) → U33'(active'(X))
active'(U41'(X1, X2)) → U41'(active'(X1), X2)
active'(U51'(X1, X2, X3)) → U51'(active'(X1), X2, X3)
active'(s'(X)) → s'(active'(X))
active'(plus'(X1, X2)) → plus'(active'(X1), X2)
active'(plus'(X1, X2)) → plus'(X1, active'(X2))
active'(U61'(X)) → U61'(active'(X))
active'(U71'(X1, X2, X3)) → U71'(active'(X1), X2, X3)
active'(x'(X1, X2)) → x'(active'(X1), X2)
active'(x'(X1, X2)) → x'(X1, active'(X2))
active'(and'(X1, X2)) → and'(active'(X1), X2)
U11'(mark'(X1), X2, X3) → mark'(U11'(X1, X2, X3))
U12'(mark'(X1), X2) → mark'(U12'(X1, X2))
U13'(mark'(X)) → mark'(U13'(X))
U21'(mark'(X1), X2) → mark'(U21'(X1, X2))
U22'(mark'(X)) → mark'(U22'(X))
U31'(mark'(X1), X2, X3) → mark'(U31'(X1, X2, X3))
U32'(mark'(X1), X2) → mark'(U32'(X1, X2))
U33'(mark'(X)) → mark'(U33'(X))
U41'(mark'(X1), X2) → mark'(U41'(X1, X2))
U51'(mark'(X1), X2, X3) → mark'(U51'(X1, X2, X3))
s'(mark'(X)) → mark'(s'(X))
plus'(mark'(X1), X2) → mark'(plus'(X1, X2))
plus'(X1, mark'(X2)) → mark'(plus'(X1, X2))
U61'(mark'(X)) → mark'(U61'(X))
U71'(mark'(X1), X2, X3) → mark'(U71'(X1, X2, X3))
x'(mark'(X1), X2) → mark'(x'(X1, X2))
x'(X1, mark'(X2)) → mark'(x'(X1, X2))
and'(mark'(X1), X2) → mark'(and'(X1, X2))
proper'(U11'(X1, X2, X3)) → U11'(proper'(X1), proper'(X2), proper'(X3))
proper'(tt') → ok'(tt')
proper'(U12'(X1, X2)) → U12'(proper'(X1), proper'(X2))
proper'(isNat'(X)) → isNat'(proper'(X))
proper'(U13'(X)) → U13'(proper'(X))
proper'(U21'(X1, X2)) → U21'(proper'(X1), proper'(X2))
proper'(U22'(X)) → U22'(proper'(X))
proper'(U31'(X1, X2, X3)) → U31'(proper'(X1), proper'(X2), proper'(X3))
proper'(U32'(X1, X2)) → U32'(proper'(X1), proper'(X2))
proper'(U33'(X)) → U33'(proper'(X))
proper'(U41'(X1, X2)) → U41'(proper'(X1), proper'(X2))
proper'(U51'(X1, X2, X3)) → U51'(proper'(X1), proper'(X2), proper'(X3))
proper'(s'(X)) → s'(proper'(X))
proper'(plus'(X1, X2)) → plus'(proper'(X1), proper'(X2))
proper'(U61'(X)) → U61'(proper'(X))
proper'(0') → ok'(0')
proper'(U71'(X1, X2, X3)) → U71'(proper'(X1), proper'(X2), proper'(X3))
proper'(x'(X1, X2)) → x'(proper'(X1), proper'(X2))
proper'(and'(X1, X2)) → and'(proper'(X1), proper'(X2))
proper'(isNatKind'(X)) → isNatKind'(proper'(X))
U11'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U11'(X1, X2, X3))
U12'(ok'(X1), ok'(X2)) → ok'(U12'(X1, X2))
isNat'(ok'(X)) → ok'(isNat'(X))
U13'(ok'(X)) → ok'(U13'(X))
U21'(ok'(X1), ok'(X2)) → ok'(U21'(X1, X2))
U22'(ok'(X)) → ok'(U22'(X))
U31'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U31'(X1, X2, X3))
U32'(ok'(X1), ok'(X2)) → ok'(U32'(X1, X2))
U33'(ok'(X)) → ok'(U33'(X))
U41'(ok'(X1), ok'(X2)) → ok'(U41'(X1, X2))
U51'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U51'(X1, X2, X3))
s'(ok'(X)) → ok'(s'(X))
plus'(ok'(X1), ok'(X2)) → ok'(plus'(X1, X2))
U61'(ok'(X)) → ok'(U61'(X))
U71'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U71'(X1, X2, X3))
x'(ok'(X1), ok'(X2)) → ok'(x'(X1, X2))
and'(ok'(X1), ok'(X2)) → ok'(and'(X1, X2))
isNatKind'(ok'(X)) → ok'(isNatKind'(X))
top'(mark'(X)) → top'(proper'(X))
top'(ok'(X)) → top'(active'(X))
Types:
active' :: tt':mark':0':ok' → tt':mark':0':ok'
U11' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
tt' :: tt':mark':0':ok'
mark' :: tt':mark':0':ok' → tt':mark':0':ok'
U12' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
isNat' :: tt':mark':0':ok' → tt':mark':0':ok'
U13' :: tt':mark':0':ok' → tt':mark':0':ok'
U21' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U22' :: tt':mark':0':ok' → tt':mark':0':ok'
U31' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U32' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U33' :: tt':mark':0':ok' → tt':mark':0':ok'
U41' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U51' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
s' :: tt':mark':0':ok' → tt':mark':0':ok'
plus' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U61' :: tt':mark':0':ok' → tt':mark':0':ok'
0' :: tt':mark':0':ok'
U71' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
x' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
and' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
isNatKind' :: tt':mark':0':ok' → tt':mark':0':ok'
proper' :: tt':mark':0':ok' → tt':mark':0':ok'
ok' :: tt':mark':0':ok' → tt':mark':0':ok'
top' :: tt':mark':0':ok' → top'
_hole_tt':mark':0':ok'1 :: tt':mark':0':ok'
_hole_top'2 :: top'
_gen_tt':mark':0':ok'3 :: Nat → tt':mark':0':ok'
Lemmas:
U12'(_gen_tt':mark':0':ok'3(+(1, _n5)), _gen_tt':mark':0':ok'3(b)) → _*4, rt ∈ Ω(n5)
U13'(_gen_tt':mark':0':ok'3(+(1, _n5352))) → _*4, rt ∈ Ω(n5352)
U22'(_gen_tt':mark':0':ok'3(+(1, _n8962))) → _*4, rt ∈ Ω(n8962)
U32'(_gen_tt':mark':0':ok'3(+(1, _n12696)), _gen_tt':mark':0':ok'3(b)) → _*4, rt ∈ Ω(n12696)
U33'(_gen_tt':mark':0':ok'3(+(1, _n18877))) → _*4, rt ∈ Ω(n18877)
s'(_gen_tt':mark':0':ok'3(+(1, _n22926))) → _*4, rt ∈ Ω(n22926)
plus'(_gen_tt':mark':0':ok'3(+(1, _n27099)), _gen_tt':mark':0':ok'3(b)) → _*4, rt ∈ Ω(n27099)
Generator Equations:
_gen_tt':mark':0':ok'3(0) ⇔ tt'
_gen_tt':mark':0':ok'3(+(x, 1)) ⇔ mark'(_gen_tt':mark':0':ok'3(x))
The following defined symbols remain to be analysed:
x', active', U11', and', isNatKind', U21', U31', U41', U51', U61', U71', proper', top'
They will be analysed ascendingly in the following order:
x' < active'
U11' < active'
and' < active'
isNatKind' < active'
U21' < active'
U31' < active'
U41' < active'
U51' < active'
U61' < active'
U71' < active'
active' < top'
x' < proper'
U11' < proper'
and' < proper'
isNatKind' < proper'
U21' < proper'
U31' < proper'
U41' < proper'
U51' < proper'
U61' < proper'
U71' < proper'
proper' < top'
Proved the following rewrite lemma:
x'(_gen_tt':mark':0':ok'3(+(1, _n34349)), _gen_tt':mark':0':ok'3(b)) → _*4, rt ∈ Ω(n34349)
Induction Base:
x'(_gen_tt':mark':0':ok'3(+(1, 0)), _gen_tt':mark':0':ok'3(b))
Induction Step:
x'(_gen_tt':mark':0':ok'3(+(1, +(_$n34350, 1))), _gen_tt':mark':0':ok'3(_b37006)) →RΩ(1)
mark'(x'(_gen_tt':mark':0':ok'3(+(1, _$n34350)), _gen_tt':mark':0':ok'3(_b37006))) →IH
mark'(_*4)
We have rt ∈ Ω(n) and sz ∈ O(n). Thus, we have ircR ∈ Ω(n).
Rules:
active'(U11'(tt', V1, V2)) → mark'(U12'(isNat'(V1), V2))
active'(U12'(tt', V2)) → mark'(U13'(isNat'(V2)))
active'(U13'(tt')) → mark'(tt')
active'(U21'(tt', V1)) → mark'(U22'(isNat'(V1)))
active'(U22'(tt')) → mark'(tt')
active'(U31'(tt', V1, V2)) → mark'(U32'(isNat'(V1), V2))
active'(U32'(tt', V2)) → mark'(U33'(isNat'(V2)))
active'(U33'(tt')) → mark'(tt')
active'(U41'(tt', N)) → mark'(N)
active'(U51'(tt', M, N)) → mark'(s'(plus'(N, M)))
active'(U61'(tt')) → mark'(0')
active'(U71'(tt', M, N)) → mark'(plus'(x'(N, M), N))
active'(and'(tt', X)) → mark'(X)
active'(isNat'(0')) → mark'(tt')
active'(isNat'(plus'(V1, V2))) → mark'(U11'(and'(isNatKind'(V1), isNatKind'(V2)), V1, V2))
active'(isNat'(s'(V1))) → mark'(U21'(isNatKind'(V1), V1))
active'(isNat'(x'(V1, V2))) → mark'(U31'(and'(isNatKind'(V1), isNatKind'(V2)), V1, V2))
active'(isNatKind'(0')) → mark'(tt')
active'(isNatKind'(plus'(V1, V2))) → mark'(and'(isNatKind'(V1), isNatKind'(V2)))
active'(isNatKind'(s'(V1))) → mark'(isNatKind'(V1))
active'(isNatKind'(x'(V1, V2))) → mark'(and'(isNatKind'(V1), isNatKind'(V2)))
active'(plus'(N, 0')) → mark'(U41'(and'(isNat'(N), isNatKind'(N)), N))
active'(plus'(N, s'(M))) → mark'(U51'(and'(and'(isNat'(M), isNatKind'(M)), and'(isNat'(N), isNatKind'(N))), M, N))
active'(x'(N, 0')) → mark'(U61'(and'(isNat'(N), isNatKind'(N))))
active'(x'(N, s'(M))) → mark'(U71'(and'(and'(isNat'(M), isNatKind'(M)), and'(isNat'(N), isNatKind'(N))), M, N))
active'(U11'(X1, X2, X3)) → U11'(active'(X1), X2, X3)
active'(U12'(X1, X2)) → U12'(active'(X1), X2)
active'(U13'(X)) → U13'(active'(X))
active'(U21'(X1, X2)) → U21'(active'(X1), X2)
active'(U22'(X)) → U22'(active'(X))
active'(U31'(X1, X2, X3)) → U31'(active'(X1), X2, X3)
active'(U32'(X1, X2)) → U32'(active'(X1), X2)
active'(U33'(X)) → U33'(active'(X))
active'(U41'(X1, X2)) → U41'(active'(X1), X2)
active'(U51'(X1, X2, X3)) → U51'(active'(X1), X2, X3)
active'(s'(X)) → s'(active'(X))
active'(plus'(X1, X2)) → plus'(active'(X1), X2)
active'(plus'(X1, X2)) → plus'(X1, active'(X2))
active'(U61'(X)) → U61'(active'(X))
active'(U71'(X1, X2, X3)) → U71'(active'(X1), X2, X3)
active'(x'(X1, X2)) → x'(active'(X1), X2)
active'(x'(X1, X2)) → x'(X1, active'(X2))
active'(and'(X1, X2)) → and'(active'(X1), X2)
U11'(mark'(X1), X2, X3) → mark'(U11'(X1, X2, X3))
U12'(mark'(X1), X2) → mark'(U12'(X1, X2))
U13'(mark'(X)) → mark'(U13'(X))
U21'(mark'(X1), X2) → mark'(U21'(X1, X2))
U22'(mark'(X)) → mark'(U22'(X))
U31'(mark'(X1), X2, X3) → mark'(U31'(X1, X2, X3))
U32'(mark'(X1), X2) → mark'(U32'(X1, X2))
U33'(mark'(X)) → mark'(U33'(X))
U41'(mark'(X1), X2) → mark'(U41'(X1, X2))
U51'(mark'(X1), X2, X3) → mark'(U51'(X1, X2, X3))
s'(mark'(X)) → mark'(s'(X))
plus'(mark'(X1), X2) → mark'(plus'(X1, X2))
plus'(X1, mark'(X2)) → mark'(plus'(X1, X2))
U61'(mark'(X)) → mark'(U61'(X))
U71'(mark'(X1), X2, X3) → mark'(U71'(X1, X2, X3))
x'(mark'(X1), X2) → mark'(x'(X1, X2))
x'(X1, mark'(X2)) → mark'(x'(X1, X2))
and'(mark'(X1), X2) → mark'(and'(X1, X2))
proper'(U11'(X1, X2, X3)) → U11'(proper'(X1), proper'(X2), proper'(X3))
proper'(tt') → ok'(tt')
proper'(U12'(X1, X2)) → U12'(proper'(X1), proper'(X2))
proper'(isNat'(X)) → isNat'(proper'(X))
proper'(U13'(X)) → U13'(proper'(X))
proper'(U21'(X1, X2)) → U21'(proper'(X1), proper'(X2))
proper'(U22'(X)) → U22'(proper'(X))
proper'(U31'(X1, X2, X3)) → U31'(proper'(X1), proper'(X2), proper'(X3))
proper'(U32'(X1, X2)) → U32'(proper'(X1), proper'(X2))
proper'(U33'(X)) → U33'(proper'(X))
proper'(U41'(X1, X2)) → U41'(proper'(X1), proper'(X2))
proper'(U51'(X1, X2, X3)) → U51'(proper'(X1), proper'(X2), proper'(X3))
proper'(s'(X)) → s'(proper'(X))
proper'(plus'(X1, X2)) → plus'(proper'(X1), proper'(X2))
proper'(U61'(X)) → U61'(proper'(X))
proper'(0') → ok'(0')
proper'(U71'(X1, X2, X3)) → U71'(proper'(X1), proper'(X2), proper'(X3))
proper'(x'(X1, X2)) → x'(proper'(X1), proper'(X2))
proper'(and'(X1, X2)) → and'(proper'(X1), proper'(X2))
proper'(isNatKind'(X)) → isNatKind'(proper'(X))
U11'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U11'(X1, X2, X3))
U12'(ok'(X1), ok'(X2)) → ok'(U12'(X1, X2))
isNat'(ok'(X)) → ok'(isNat'(X))
U13'(ok'(X)) → ok'(U13'(X))
U21'(ok'(X1), ok'(X2)) → ok'(U21'(X1, X2))
U22'(ok'(X)) → ok'(U22'(X))
U31'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U31'(X1, X2, X3))
U32'(ok'(X1), ok'(X2)) → ok'(U32'(X1, X2))
U33'(ok'(X)) → ok'(U33'(X))
U41'(ok'(X1), ok'(X2)) → ok'(U41'(X1, X2))
U51'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U51'(X1, X2, X3))
s'(ok'(X)) → ok'(s'(X))
plus'(ok'(X1), ok'(X2)) → ok'(plus'(X1, X2))
U61'(ok'(X)) → ok'(U61'(X))
U71'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U71'(X1, X2, X3))
x'(ok'(X1), ok'(X2)) → ok'(x'(X1, X2))
and'(ok'(X1), ok'(X2)) → ok'(and'(X1, X2))
isNatKind'(ok'(X)) → ok'(isNatKind'(X))
top'(mark'(X)) → top'(proper'(X))
top'(ok'(X)) → top'(active'(X))
Types:
active' :: tt':mark':0':ok' → tt':mark':0':ok'
U11' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
tt' :: tt':mark':0':ok'
mark' :: tt':mark':0':ok' → tt':mark':0':ok'
U12' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
isNat' :: tt':mark':0':ok' → tt':mark':0':ok'
U13' :: tt':mark':0':ok' → tt':mark':0':ok'
U21' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U22' :: tt':mark':0':ok' → tt':mark':0':ok'
U31' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U32' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U33' :: tt':mark':0':ok' → tt':mark':0':ok'
U41' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U51' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
s' :: tt':mark':0':ok' → tt':mark':0':ok'
plus' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U61' :: tt':mark':0':ok' → tt':mark':0':ok'
0' :: tt':mark':0':ok'
U71' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
x' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
and' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
isNatKind' :: tt':mark':0':ok' → tt':mark':0':ok'
proper' :: tt':mark':0':ok' → tt':mark':0':ok'
ok' :: tt':mark':0':ok' → tt':mark':0':ok'
top' :: tt':mark':0':ok' → top'
_hole_tt':mark':0':ok'1 :: tt':mark':0':ok'
_hole_top'2 :: top'
_gen_tt':mark':0':ok'3 :: Nat → tt':mark':0':ok'
Lemmas:
U12'(_gen_tt':mark':0':ok'3(+(1, _n5)), _gen_tt':mark':0':ok'3(b)) → _*4, rt ∈ Ω(n5)
U13'(_gen_tt':mark':0':ok'3(+(1, _n5352))) → _*4, rt ∈ Ω(n5352)
U22'(_gen_tt':mark':0':ok'3(+(1, _n8962))) → _*4, rt ∈ Ω(n8962)
U32'(_gen_tt':mark':0':ok'3(+(1, _n12696)), _gen_tt':mark':0':ok'3(b)) → _*4, rt ∈ Ω(n12696)
U33'(_gen_tt':mark':0':ok'3(+(1, _n18877))) → _*4, rt ∈ Ω(n18877)
s'(_gen_tt':mark':0':ok'3(+(1, _n22926))) → _*4, rt ∈ Ω(n22926)
plus'(_gen_tt':mark':0':ok'3(+(1, _n27099)), _gen_tt':mark':0':ok'3(b)) → _*4, rt ∈ Ω(n27099)
x'(_gen_tt':mark':0':ok'3(+(1, _n34349)), _gen_tt':mark':0':ok'3(b)) → _*4, rt ∈ Ω(n34349)
Generator Equations:
_gen_tt':mark':0':ok'3(0) ⇔ tt'
_gen_tt':mark':0':ok'3(+(x, 1)) ⇔ mark'(_gen_tt':mark':0':ok'3(x))
The following defined symbols remain to be analysed:
U11', active', and', isNatKind', U21', U31', U41', U51', U61', U71', proper', top'
They will be analysed ascendingly in the following order:
U11' < active'
and' < active'
isNatKind' < active'
U21' < active'
U31' < active'
U41' < active'
U51' < active'
U61' < active'
U71' < active'
active' < top'
U11' < proper'
and' < proper'
isNatKind' < proper'
U21' < proper'
U31' < proper'
U41' < proper'
U51' < proper'
U61' < proper'
U71' < proper'
proper' < top'
Proved the following rewrite lemma:
U11'(_gen_tt':mark':0':ok'3(+(1, _n41967)), _gen_tt':mark':0':ok'3(b), _gen_tt':mark':0':ok'3(c)) → _*4, rt ∈ Ω(n41967)
Induction Base:
U11'(_gen_tt':mark':0':ok'3(+(1, 0)), _gen_tt':mark':0':ok'3(b), _gen_tt':mark':0':ok'3(c))
Induction Step:
U11'(_gen_tt':mark':0':ok'3(+(1, +(_$n41968, 1))), _gen_tt':mark':0':ok'3(_b46220), _gen_tt':mark':0':ok'3(_c46221)) →RΩ(1)
mark'(U11'(_gen_tt':mark':0':ok'3(+(1, _$n41968)), _gen_tt':mark':0':ok'3(_b46220), _gen_tt':mark':0':ok'3(_c46221))) →IH
mark'(_*4)
We have rt ∈ Ω(n) and sz ∈ O(n). Thus, we have ircR ∈ Ω(n).
Rules:
active'(U11'(tt', V1, V2)) → mark'(U12'(isNat'(V1), V2))
active'(U12'(tt', V2)) → mark'(U13'(isNat'(V2)))
active'(U13'(tt')) → mark'(tt')
active'(U21'(tt', V1)) → mark'(U22'(isNat'(V1)))
active'(U22'(tt')) → mark'(tt')
active'(U31'(tt', V1, V2)) → mark'(U32'(isNat'(V1), V2))
active'(U32'(tt', V2)) → mark'(U33'(isNat'(V2)))
active'(U33'(tt')) → mark'(tt')
active'(U41'(tt', N)) → mark'(N)
active'(U51'(tt', M, N)) → mark'(s'(plus'(N, M)))
active'(U61'(tt')) → mark'(0')
active'(U71'(tt', M, N)) → mark'(plus'(x'(N, M), N))
active'(and'(tt', X)) → mark'(X)
active'(isNat'(0')) → mark'(tt')
active'(isNat'(plus'(V1, V2))) → mark'(U11'(and'(isNatKind'(V1), isNatKind'(V2)), V1, V2))
active'(isNat'(s'(V1))) → mark'(U21'(isNatKind'(V1), V1))
active'(isNat'(x'(V1, V2))) → mark'(U31'(and'(isNatKind'(V1), isNatKind'(V2)), V1, V2))
active'(isNatKind'(0')) → mark'(tt')
active'(isNatKind'(plus'(V1, V2))) → mark'(and'(isNatKind'(V1), isNatKind'(V2)))
active'(isNatKind'(s'(V1))) → mark'(isNatKind'(V1))
active'(isNatKind'(x'(V1, V2))) → mark'(and'(isNatKind'(V1), isNatKind'(V2)))
active'(plus'(N, 0')) → mark'(U41'(and'(isNat'(N), isNatKind'(N)), N))
active'(plus'(N, s'(M))) → mark'(U51'(and'(and'(isNat'(M), isNatKind'(M)), and'(isNat'(N), isNatKind'(N))), M, N))
active'(x'(N, 0')) → mark'(U61'(and'(isNat'(N), isNatKind'(N))))
active'(x'(N, s'(M))) → mark'(U71'(and'(and'(isNat'(M), isNatKind'(M)), and'(isNat'(N), isNatKind'(N))), M, N))
active'(U11'(X1, X2, X3)) → U11'(active'(X1), X2, X3)
active'(U12'(X1, X2)) → U12'(active'(X1), X2)
active'(U13'(X)) → U13'(active'(X))
active'(U21'(X1, X2)) → U21'(active'(X1), X2)
active'(U22'(X)) → U22'(active'(X))
active'(U31'(X1, X2, X3)) → U31'(active'(X1), X2, X3)
active'(U32'(X1, X2)) → U32'(active'(X1), X2)
active'(U33'(X)) → U33'(active'(X))
active'(U41'(X1, X2)) → U41'(active'(X1), X2)
active'(U51'(X1, X2, X3)) → U51'(active'(X1), X2, X3)
active'(s'(X)) → s'(active'(X))
active'(plus'(X1, X2)) → plus'(active'(X1), X2)
active'(plus'(X1, X2)) → plus'(X1, active'(X2))
active'(U61'(X)) → U61'(active'(X))
active'(U71'(X1, X2, X3)) → U71'(active'(X1), X2, X3)
active'(x'(X1, X2)) → x'(active'(X1), X2)
active'(x'(X1, X2)) → x'(X1, active'(X2))
active'(and'(X1, X2)) → and'(active'(X1), X2)
U11'(mark'(X1), X2, X3) → mark'(U11'(X1, X2, X3))
U12'(mark'(X1), X2) → mark'(U12'(X1, X2))
U13'(mark'(X)) → mark'(U13'(X))
U21'(mark'(X1), X2) → mark'(U21'(X1, X2))
U22'(mark'(X)) → mark'(U22'(X))
U31'(mark'(X1), X2, X3) → mark'(U31'(X1, X2, X3))
U32'(mark'(X1), X2) → mark'(U32'(X1, X2))
U33'(mark'(X)) → mark'(U33'(X))
U41'(mark'(X1), X2) → mark'(U41'(X1, X2))
U51'(mark'(X1), X2, X3) → mark'(U51'(X1, X2, X3))
s'(mark'(X)) → mark'(s'(X))
plus'(mark'(X1), X2) → mark'(plus'(X1, X2))
plus'(X1, mark'(X2)) → mark'(plus'(X1, X2))
U61'(mark'(X)) → mark'(U61'(X))
U71'(mark'(X1), X2, X3) → mark'(U71'(X1, X2, X3))
x'(mark'(X1), X2) → mark'(x'(X1, X2))
x'(X1, mark'(X2)) → mark'(x'(X1, X2))
and'(mark'(X1), X2) → mark'(and'(X1, X2))
proper'(U11'(X1, X2, X3)) → U11'(proper'(X1), proper'(X2), proper'(X3))
proper'(tt') → ok'(tt')
proper'(U12'(X1, X2)) → U12'(proper'(X1), proper'(X2))
proper'(isNat'(X)) → isNat'(proper'(X))
proper'(U13'(X)) → U13'(proper'(X))
proper'(U21'(X1, X2)) → U21'(proper'(X1), proper'(X2))
proper'(U22'(X)) → U22'(proper'(X))
proper'(U31'(X1, X2, X3)) → U31'(proper'(X1), proper'(X2), proper'(X3))
proper'(U32'(X1, X2)) → U32'(proper'(X1), proper'(X2))
proper'(U33'(X)) → U33'(proper'(X))
proper'(U41'(X1, X2)) → U41'(proper'(X1), proper'(X2))
proper'(U51'(X1, X2, X3)) → U51'(proper'(X1), proper'(X2), proper'(X3))
proper'(s'(X)) → s'(proper'(X))
proper'(plus'(X1, X2)) → plus'(proper'(X1), proper'(X2))
proper'(U61'(X)) → U61'(proper'(X))
proper'(0') → ok'(0')
proper'(U71'(X1, X2, X3)) → U71'(proper'(X1), proper'(X2), proper'(X3))
proper'(x'(X1, X2)) → x'(proper'(X1), proper'(X2))
proper'(and'(X1, X2)) → and'(proper'(X1), proper'(X2))
proper'(isNatKind'(X)) → isNatKind'(proper'(X))
U11'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U11'(X1, X2, X3))
U12'(ok'(X1), ok'(X2)) → ok'(U12'(X1, X2))
isNat'(ok'(X)) → ok'(isNat'(X))
U13'(ok'(X)) → ok'(U13'(X))
U21'(ok'(X1), ok'(X2)) → ok'(U21'(X1, X2))
U22'(ok'(X)) → ok'(U22'(X))
U31'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U31'(X1, X2, X3))
U32'(ok'(X1), ok'(X2)) → ok'(U32'(X1, X2))
U33'(ok'(X)) → ok'(U33'(X))
U41'(ok'(X1), ok'(X2)) → ok'(U41'(X1, X2))
U51'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U51'(X1, X2, X3))
s'(ok'(X)) → ok'(s'(X))
plus'(ok'(X1), ok'(X2)) → ok'(plus'(X1, X2))
U61'(ok'(X)) → ok'(U61'(X))
U71'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U71'(X1, X2, X3))
x'(ok'(X1), ok'(X2)) → ok'(x'(X1, X2))
and'(ok'(X1), ok'(X2)) → ok'(and'(X1, X2))
isNatKind'(ok'(X)) → ok'(isNatKind'(X))
top'(mark'(X)) → top'(proper'(X))
top'(ok'(X)) → top'(active'(X))
Types:
active' :: tt':mark':0':ok' → tt':mark':0':ok'
U11' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
tt' :: tt':mark':0':ok'
mark' :: tt':mark':0':ok' → tt':mark':0':ok'
U12' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
isNat' :: tt':mark':0':ok' → tt':mark':0':ok'
U13' :: tt':mark':0':ok' → tt':mark':0':ok'
U21' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U22' :: tt':mark':0':ok' → tt':mark':0':ok'
U31' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U32' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U33' :: tt':mark':0':ok' → tt':mark':0':ok'
U41' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U51' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
s' :: tt':mark':0':ok' → tt':mark':0':ok'
plus' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U61' :: tt':mark':0':ok' → tt':mark':0':ok'
0' :: tt':mark':0':ok'
U71' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
x' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
and' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
isNatKind' :: tt':mark':0':ok' → tt':mark':0':ok'
proper' :: tt':mark':0':ok' → tt':mark':0':ok'
ok' :: tt':mark':0':ok' → tt':mark':0':ok'
top' :: tt':mark':0':ok' → top'
_hole_tt':mark':0':ok'1 :: tt':mark':0':ok'
_hole_top'2 :: top'
_gen_tt':mark':0':ok'3 :: Nat → tt':mark':0':ok'
Lemmas:
U12'(_gen_tt':mark':0':ok'3(+(1, _n5)), _gen_tt':mark':0':ok'3(b)) → _*4, rt ∈ Ω(n5)
U13'(_gen_tt':mark':0':ok'3(+(1, _n5352))) → _*4, rt ∈ Ω(n5352)
U22'(_gen_tt':mark':0':ok'3(+(1, _n8962))) → _*4, rt ∈ Ω(n8962)
U32'(_gen_tt':mark':0':ok'3(+(1, _n12696)), _gen_tt':mark':0':ok'3(b)) → _*4, rt ∈ Ω(n12696)
U33'(_gen_tt':mark':0':ok'3(+(1, _n18877))) → _*4, rt ∈ Ω(n18877)
s'(_gen_tt':mark':0':ok'3(+(1, _n22926))) → _*4, rt ∈ Ω(n22926)
plus'(_gen_tt':mark':0':ok'3(+(1, _n27099)), _gen_tt':mark':0':ok'3(b)) → _*4, rt ∈ Ω(n27099)
x'(_gen_tt':mark':0':ok'3(+(1, _n34349)), _gen_tt':mark':0':ok'3(b)) → _*4, rt ∈ Ω(n34349)
U11'(_gen_tt':mark':0':ok'3(+(1, _n41967)), _gen_tt':mark':0':ok'3(b), _gen_tt':mark':0':ok'3(c)) → _*4, rt ∈ Ω(n41967)
Generator Equations:
_gen_tt':mark':0':ok'3(0) ⇔ tt'
_gen_tt':mark':0':ok'3(+(x, 1)) ⇔ mark'(_gen_tt':mark':0':ok'3(x))
The following defined symbols remain to be analysed:
and', active', isNatKind', U21', U31', U41', U51', U61', U71', proper', top'
They will be analysed ascendingly in the following order:
and' < active'
isNatKind' < active'
U21' < active'
U31' < active'
U41' < active'
U51' < active'
U61' < active'
U71' < active'
active' < top'
and' < proper'
isNatKind' < proper'
U21' < proper'
U31' < proper'
U41' < proper'
U51' < proper'
U61' < proper'
U71' < proper'
proper' < top'
Proved the following rewrite lemma:
and'(_gen_tt':mark':0':ok'3(+(1, _n52936)), _gen_tt':mark':0':ok'3(b)) → _*4, rt ∈ Ω(n52936)
Induction Base:
and'(_gen_tt':mark':0':ok'3(+(1, 0)), _gen_tt':mark':0':ok'3(b))
Induction Step:
and'(_gen_tt':mark':0':ok'3(+(1, +(_$n52937, 1))), _gen_tt':mark':0':ok'3(_b56133)) →RΩ(1)
mark'(and'(_gen_tt':mark':0':ok'3(+(1, _$n52937)), _gen_tt':mark':0':ok'3(_b56133))) →IH
mark'(_*4)
We have rt ∈ Ω(n) and sz ∈ O(n). Thus, we have ircR ∈ Ω(n).
Rules:
active'(U11'(tt', V1, V2)) → mark'(U12'(isNat'(V1), V2))
active'(U12'(tt', V2)) → mark'(U13'(isNat'(V2)))
active'(U13'(tt')) → mark'(tt')
active'(U21'(tt', V1)) → mark'(U22'(isNat'(V1)))
active'(U22'(tt')) → mark'(tt')
active'(U31'(tt', V1, V2)) → mark'(U32'(isNat'(V1), V2))
active'(U32'(tt', V2)) → mark'(U33'(isNat'(V2)))
active'(U33'(tt')) → mark'(tt')
active'(U41'(tt', N)) → mark'(N)
active'(U51'(tt', M, N)) → mark'(s'(plus'(N, M)))
active'(U61'(tt')) → mark'(0')
active'(U71'(tt', M, N)) → mark'(plus'(x'(N, M), N))
active'(and'(tt', X)) → mark'(X)
active'(isNat'(0')) → mark'(tt')
active'(isNat'(plus'(V1, V2))) → mark'(U11'(and'(isNatKind'(V1), isNatKind'(V2)), V1, V2))
active'(isNat'(s'(V1))) → mark'(U21'(isNatKind'(V1), V1))
active'(isNat'(x'(V1, V2))) → mark'(U31'(and'(isNatKind'(V1), isNatKind'(V2)), V1, V2))
active'(isNatKind'(0')) → mark'(tt')
active'(isNatKind'(plus'(V1, V2))) → mark'(and'(isNatKind'(V1), isNatKind'(V2)))
active'(isNatKind'(s'(V1))) → mark'(isNatKind'(V1))
active'(isNatKind'(x'(V1, V2))) → mark'(and'(isNatKind'(V1), isNatKind'(V2)))
active'(plus'(N, 0')) → mark'(U41'(and'(isNat'(N), isNatKind'(N)), N))
active'(plus'(N, s'(M))) → mark'(U51'(and'(and'(isNat'(M), isNatKind'(M)), and'(isNat'(N), isNatKind'(N))), M, N))
active'(x'(N, 0')) → mark'(U61'(and'(isNat'(N), isNatKind'(N))))
active'(x'(N, s'(M))) → mark'(U71'(and'(and'(isNat'(M), isNatKind'(M)), and'(isNat'(N), isNatKind'(N))), M, N))
active'(U11'(X1, X2, X3)) → U11'(active'(X1), X2, X3)
active'(U12'(X1, X2)) → U12'(active'(X1), X2)
active'(U13'(X)) → U13'(active'(X))
active'(U21'(X1, X2)) → U21'(active'(X1), X2)
active'(U22'(X)) → U22'(active'(X))
active'(U31'(X1, X2, X3)) → U31'(active'(X1), X2, X3)
active'(U32'(X1, X2)) → U32'(active'(X1), X2)
active'(U33'(X)) → U33'(active'(X))
active'(U41'(X1, X2)) → U41'(active'(X1), X2)
active'(U51'(X1, X2, X3)) → U51'(active'(X1), X2, X3)
active'(s'(X)) → s'(active'(X))
active'(plus'(X1, X2)) → plus'(active'(X1), X2)
active'(plus'(X1, X2)) → plus'(X1, active'(X2))
active'(U61'(X)) → U61'(active'(X))
active'(U71'(X1, X2, X3)) → U71'(active'(X1), X2, X3)
active'(x'(X1, X2)) → x'(active'(X1), X2)
active'(x'(X1, X2)) → x'(X1, active'(X2))
active'(and'(X1, X2)) → and'(active'(X1), X2)
U11'(mark'(X1), X2, X3) → mark'(U11'(X1, X2, X3))
U12'(mark'(X1), X2) → mark'(U12'(X1, X2))
U13'(mark'(X)) → mark'(U13'(X))
U21'(mark'(X1), X2) → mark'(U21'(X1, X2))
U22'(mark'(X)) → mark'(U22'(X))
U31'(mark'(X1), X2, X3) → mark'(U31'(X1, X2, X3))
U32'(mark'(X1), X2) → mark'(U32'(X1, X2))
U33'(mark'(X)) → mark'(U33'(X))
U41'(mark'(X1), X2) → mark'(U41'(X1, X2))
U51'(mark'(X1), X2, X3) → mark'(U51'(X1, X2, X3))
s'(mark'(X)) → mark'(s'(X))
plus'(mark'(X1), X2) → mark'(plus'(X1, X2))
plus'(X1, mark'(X2)) → mark'(plus'(X1, X2))
U61'(mark'(X)) → mark'(U61'(X))
U71'(mark'(X1), X2, X3) → mark'(U71'(X1, X2, X3))
x'(mark'(X1), X2) → mark'(x'(X1, X2))
x'(X1, mark'(X2)) → mark'(x'(X1, X2))
and'(mark'(X1), X2) → mark'(and'(X1, X2))
proper'(U11'(X1, X2, X3)) → U11'(proper'(X1), proper'(X2), proper'(X3))
proper'(tt') → ok'(tt')
proper'(U12'(X1, X2)) → U12'(proper'(X1), proper'(X2))
proper'(isNat'(X)) → isNat'(proper'(X))
proper'(U13'(X)) → U13'(proper'(X))
proper'(U21'(X1, X2)) → U21'(proper'(X1), proper'(X2))
proper'(U22'(X)) → U22'(proper'(X))
proper'(U31'(X1, X2, X3)) → U31'(proper'(X1), proper'(X2), proper'(X3))
proper'(U32'(X1, X2)) → U32'(proper'(X1), proper'(X2))
proper'(U33'(X)) → U33'(proper'(X))
proper'(U41'(X1, X2)) → U41'(proper'(X1), proper'(X2))
proper'(U51'(X1, X2, X3)) → U51'(proper'(X1), proper'(X2), proper'(X3))
proper'(s'(X)) → s'(proper'(X))
proper'(plus'(X1, X2)) → plus'(proper'(X1), proper'(X2))
proper'(U61'(X)) → U61'(proper'(X))
proper'(0') → ok'(0')
proper'(U71'(X1, X2, X3)) → U71'(proper'(X1), proper'(X2), proper'(X3))
proper'(x'(X1, X2)) → x'(proper'(X1), proper'(X2))
proper'(and'(X1, X2)) → and'(proper'(X1), proper'(X2))
proper'(isNatKind'(X)) → isNatKind'(proper'(X))
U11'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U11'(X1, X2, X3))
U12'(ok'(X1), ok'(X2)) → ok'(U12'(X1, X2))
isNat'(ok'(X)) → ok'(isNat'(X))
U13'(ok'(X)) → ok'(U13'(X))
U21'(ok'(X1), ok'(X2)) → ok'(U21'(X1, X2))
U22'(ok'(X)) → ok'(U22'(X))
U31'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U31'(X1, X2, X3))
U32'(ok'(X1), ok'(X2)) → ok'(U32'(X1, X2))
U33'(ok'(X)) → ok'(U33'(X))
U41'(ok'(X1), ok'(X2)) → ok'(U41'(X1, X2))
U51'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U51'(X1, X2, X3))
s'(ok'(X)) → ok'(s'(X))
plus'(ok'(X1), ok'(X2)) → ok'(plus'(X1, X2))
U61'(ok'(X)) → ok'(U61'(X))
U71'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U71'(X1, X2, X3))
x'(ok'(X1), ok'(X2)) → ok'(x'(X1, X2))
and'(ok'(X1), ok'(X2)) → ok'(and'(X1, X2))
isNatKind'(ok'(X)) → ok'(isNatKind'(X))
top'(mark'(X)) → top'(proper'(X))
top'(ok'(X)) → top'(active'(X))
Types:
active' :: tt':mark':0':ok' → tt':mark':0':ok'
U11' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
tt' :: tt':mark':0':ok'
mark' :: tt':mark':0':ok' → tt':mark':0':ok'
U12' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
isNat' :: tt':mark':0':ok' → tt':mark':0':ok'
U13' :: tt':mark':0':ok' → tt':mark':0':ok'
U21' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U22' :: tt':mark':0':ok' → tt':mark':0':ok'
U31' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U32' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U33' :: tt':mark':0':ok' → tt':mark':0':ok'
U41' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U51' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
s' :: tt':mark':0':ok' → tt':mark':0':ok'
plus' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U61' :: tt':mark':0':ok' → tt':mark':0':ok'
0' :: tt':mark':0':ok'
U71' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
x' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
and' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
isNatKind' :: tt':mark':0':ok' → tt':mark':0':ok'
proper' :: tt':mark':0':ok' → tt':mark':0':ok'
ok' :: tt':mark':0':ok' → tt':mark':0':ok'
top' :: tt':mark':0':ok' → top'
_hole_tt':mark':0':ok'1 :: tt':mark':0':ok'
_hole_top'2 :: top'
_gen_tt':mark':0':ok'3 :: Nat → tt':mark':0':ok'
Lemmas:
U12'(_gen_tt':mark':0':ok'3(+(1, _n5)), _gen_tt':mark':0':ok'3(b)) → _*4, rt ∈ Ω(n5)
U13'(_gen_tt':mark':0':ok'3(+(1, _n5352))) → _*4, rt ∈ Ω(n5352)
U22'(_gen_tt':mark':0':ok'3(+(1, _n8962))) → _*4, rt ∈ Ω(n8962)
U32'(_gen_tt':mark':0':ok'3(+(1, _n12696)), _gen_tt':mark':0':ok'3(b)) → _*4, rt ∈ Ω(n12696)
U33'(_gen_tt':mark':0':ok'3(+(1, _n18877))) → _*4, rt ∈ Ω(n18877)
s'(_gen_tt':mark':0':ok'3(+(1, _n22926))) → _*4, rt ∈ Ω(n22926)
plus'(_gen_tt':mark':0':ok'3(+(1, _n27099)), _gen_tt':mark':0':ok'3(b)) → _*4, rt ∈ Ω(n27099)
x'(_gen_tt':mark':0':ok'3(+(1, _n34349)), _gen_tt':mark':0':ok'3(b)) → _*4, rt ∈ Ω(n34349)
U11'(_gen_tt':mark':0':ok'3(+(1, _n41967)), _gen_tt':mark':0':ok'3(b), _gen_tt':mark':0':ok'3(c)) → _*4, rt ∈ Ω(n41967)
and'(_gen_tt':mark':0':ok'3(+(1, _n52936)), _gen_tt':mark':0':ok'3(b)) → _*4, rt ∈ Ω(n52936)
Generator Equations:
_gen_tt':mark':0':ok'3(0) ⇔ tt'
_gen_tt':mark':0':ok'3(+(x, 1)) ⇔ mark'(_gen_tt':mark':0':ok'3(x))
The following defined symbols remain to be analysed:
isNatKind', active', U21', U31', U41', U51', U61', U71', proper', top'
They will be analysed ascendingly in the following order:
isNatKind' < active'
U21' < active'
U31' < active'
U41' < active'
U51' < active'
U61' < active'
U71' < active'
active' < top'
isNatKind' < proper'
U21' < proper'
U31' < proper'
U41' < proper'
U51' < proper'
U61' < proper'
U71' < proper'
proper' < top'
Could not prove a rewrite lemma for the defined symbol isNatKind'.
Rules:
active'(U11'(tt', V1, V2)) → mark'(U12'(isNat'(V1), V2))
active'(U12'(tt', V2)) → mark'(U13'(isNat'(V2)))
active'(U13'(tt')) → mark'(tt')
active'(U21'(tt', V1)) → mark'(U22'(isNat'(V1)))
active'(U22'(tt')) → mark'(tt')
active'(U31'(tt', V1, V2)) → mark'(U32'(isNat'(V1), V2))
active'(U32'(tt', V2)) → mark'(U33'(isNat'(V2)))
active'(U33'(tt')) → mark'(tt')
active'(U41'(tt', N)) → mark'(N)
active'(U51'(tt', M, N)) → mark'(s'(plus'(N, M)))
active'(U61'(tt')) → mark'(0')
active'(U71'(tt', M, N)) → mark'(plus'(x'(N, M), N))
active'(and'(tt', X)) → mark'(X)
active'(isNat'(0')) → mark'(tt')
active'(isNat'(plus'(V1, V2))) → mark'(U11'(and'(isNatKind'(V1), isNatKind'(V2)), V1, V2))
active'(isNat'(s'(V1))) → mark'(U21'(isNatKind'(V1), V1))
active'(isNat'(x'(V1, V2))) → mark'(U31'(and'(isNatKind'(V1), isNatKind'(V2)), V1, V2))
active'(isNatKind'(0')) → mark'(tt')
active'(isNatKind'(plus'(V1, V2))) → mark'(and'(isNatKind'(V1), isNatKind'(V2)))
active'(isNatKind'(s'(V1))) → mark'(isNatKind'(V1))
active'(isNatKind'(x'(V1, V2))) → mark'(and'(isNatKind'(V1), isNatKind'(V2)))
active'(plus'(N, 0')) → mark'(U41'(and'(isNat'(N), isNatKind'(N)), N))
active'(plus'(N, s'(M))) → mark'(U51'(and'(and'(isNat'(M), isNatKind'(M)), and'(isNat'(N), isNatKind'(N))), M, N))
active'(x'(N, 0')) → mark'(U61'(and'(isNat'(N), isNatKind'(N))))
active'(x'(N, s'(M))) → mark'(U71'(and'(and'(isNat'(M), isNatKind'(M)), and'(isNat'(N), isNatKind'(N))), M, N))
active'(U11'(X1, X2, X3)) → U11'(active'(X1), X2, X3)
active'(U12'(X1, X2)) → U12'(active'(X1), X2)
active'(U13'(X)) → U13'(active'(X))
active'(U21'(X1, X2)) → U21'(active'(X1), X2)
active'(U22'(X)) → U22'(active'(X))
active'(U31'(X1, X2, X3)) → U31'(active'(X1), X2, X3)
active'(U32'(X1, X2)) → U32'(active'(X1), X2)
active'(U33'(X)) → U33'(active'(X))
active'(U41'(X1, X2)) → U41'(active'(X1), X2)
active'(U51'(X1, X2, X3)) → U51'(active'(X1), X2, X3)
active'(s'(X)) → s'(active'(X))
active'(plus'(X1, X2)) → plus'(active'(X1), X2)
active'(plus'(X1, X2)) → plus'(X1, active'(X2))
active'(U61'(X)) → U61'(active'(X))
active'(U71'(X1, X2, X3)) → U71'(active'(X1), X2, X3)
active'(x'(X1, X2)) → x'(active'(X1), X2)
active'(x'(X1, X2)) → x'(X1, active'(X2))
active'(and'(X1, X2)) → and'(active'(X1), X2)
U11'(mark'(X1), X2, X3) → mark'(U11'(X1, X2, X3))
U12'(mark'(X1), X2) → mark'(U12'(X1, X2))
U13'(mark'(X)) → mark'(U13'(X))
U21'(mark'(X1), X2) → mark'(U21'(X1, X2))
U22'(mark'(X)) → mark'(U22'(X))
U31'(mark'(X1), X2, X3) → mark'(U31'(X1, X2, X3))
U32'(mark'(X1), X2) → mark'(U32'(X1, X2))
U33'(mark'(X)) → mark'(U33'(X))
U41'(mark'(X1), X2) → mark'(U41'(X1, X2))
U51'(mark'(X1), X2, X3) → mark'(U51'(X1, X2, X3))
s'(mark'(X)) → mark'(s'(X))
plus'(mark'(X1), X2) → mark'(plus'(X1, X2))
plus'(X1, mark'(X2)) → mark'(plus'(X1, X2))
U61'(mark'(X)) → mark'(U61'(X))
U71'(mark'(X1), X2, X3) → mark'(U71'(X1, X2, X3))
x'(mark'(X1), X2) → mark'(x'(X1, X2))
x'(X1, mark'(X2)) → mark'(x'(X1, X2))
and'(mark'(X1), X2) → mark'(and'(X1, X2))
proper'(U11'(X1, X2, X3)) → U11'(proper'(X1), proper'(X2), proper'(X3))
proper'(tt') → ok'(tt')
proper'(U12'(X1, X2)) → U12'(proper'(X1), proper'(X2))
proper'(isNat'(X)) → isNat'(proper'(X))
proper'(U13'(X)) → U13'(proper'(X))
proper'(U21'(X1, X2)) → U21'(proper'(X1), proper'(X2))
proper'(U22'(X)) → U22'(proper'(X))
proper'(U31'(X1, X2, X3)) → U31'(proper'(X1), proper'(X2), proper'(X3))
proper'(U32'(X1, X2)) → U32'(proper'(X1), proper'(X2))
proper'(U33'(X)) → U33'(proper'(X))
proper'(U41'(X1, X2)) → U41'(proper'(X1), proper'(X2))
proper'(U51'(X1, X2, X3)) → U51'(proper'(X1), proper'(X2), proper'(X3))
proper'(s'(X)) → s'(proper'(X))
proper'(plus'(X1, X2)) → plus'(proper'(X1), proper'(X2))
proper'(U61'(X)) → U61'(proper'(X))
proper'(0') → ok'(0')
proper'(U71'(X1, X2, X3)) → U71'(proper'(X1), proper'(X2), proper'(X3))
proper'(x'(X1, X2)) → x'(proper'(X1), proper'(X2))
proper'(and'(X1, X2)) → and'(proper'(X1), proper'(X2))
proper'(isNatKind'(X)) → isNatKind'(proper'(X))
U11'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U11'(X1, X2, X3))
U12'(ok'(X1), ok'(X2)) → ok'(U12'(X1, X2))
isNat'(ok'(X)) → ok'(isNat'(X))
U13'(ok'(X)) → ok'(U13'(X))
U21'(ok'(X1), ok'(X2)) → ok'(U21'(X1, X2))
U22'(ok'(X)) → ok'(U22'(X))
U31'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U31'(X1, X2, X3))
U32'(ok'(X1), ok'(X2)) → ok'(U32'(X1, X2))
U33'(ok'(X)) → ok'(U33'(X))
U41'(ok'(X1), ok'(X2)) → ok'(U41'(X1, X2))
U51'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U51'(X1, X2, X3))
s'(ok'(X)) → ok'(s'(X))
plus'(ok'(X1), ok'(X2)) → ok'(plus'(X1, X2))
U61'(ok'(X)) → ok'(U61'(X))
U71'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U71'(X1, X2, X3))
x'(ok'(X1), ok'(X2)) → ok'(x'(X1, X2))
and'(ok'(X1), ok'(X2)) → ok'(and'(X1, X2))
isNatKind'(ok'(X)) → ok'(isNatKind'(X))
top'(mark'(X)) → top'(proper'(X))
top'(ok'(X)) → top'(active'(X))
Types:
active' :: tt':mark':0':ok' → tt':mark':0':ok'
U11' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
tt' :: tt':mark':0':ok'
mark' :: tt':mark':0':ok' → tt':mark':0':ok'
U12' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
isNat' :: tt':mark':0':ok' → tt':mark':0':ok'
U13' :: tt':mark':0':ok' → tt':mark':0':ok'
U21' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U22' :: tt':mark':0':ok' → tt':mark':0':ok'
U31' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U32' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U33' :: tt':mark':0':ok' → tt':mark':0':ok'
U41' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U51' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
s' :: tt':mark':0':ok' → tt':mark':0':ok'
plus' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U61' :: tt':mark':0':ok' → tt':mark':0':ok'
0' :: tt':mark':0':ok'
U71' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
x' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
and' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
isNatKind' :: tt':mark':0':ok' → tt':mark':0':ok'
proper' :: tt':mark':0':ok' → tt':mark':0':ok'
ok' :: tt':mark':0':ok' → tt':mark':0':ok'
top' :: tt':mark':0':ok' → top'
_hole_tt':mark':0':ok'1 :: tt':mark':0':ok'
_hole_top'2 :: top'
_gen_tt':mark':0':ok'3 :: Nat → tt':mark':0':ok'
Lemmas:
U12'(_gen_tt':mark':0':ok'3(+(1, _n5)), _gen_tt':mark':0':ok'3(b)) → _*4, rt ∈ Ω(n5)
U13'(_gen_tt':mark':0':ok'3(+(1, _n5352))) → _*4, rt ∈ Ω(n5352)
U22'(_gen_tt':mark':0':ok'3(+(1, _n8962))) → _*4, rt ∈ Ω(n8962)
U32'(_gen_tt':mark':0':ok'3(+(1, _n12696)), _gen_tt':mark':0':ok'3(b)) → _*4, rt ∈ Ω(n12696)
U33'(_gen_tt':mark':0':ok'3(+(1, _n18877))) → _*4, rt ∈ Ω(n18877)
s'(_gen_tt':mark':0':ok'3(+(1, _n22926))) → _*4, rt ∈ Ω(n22926)
plus'(_gen_tt':mark':0':ok'3(+(1, _n27099)), _gen_tt':mark':0':ok'3(b)) → _*4, rt ∈ Ω(n27099)
x'(_gen_tt':mark':0':ok'3(+(1, _n34349)), _gen_tt':mark':0':ok'3(b)) → _*4, rt ∈ Ω(n34349)
U11'(_gen_tt':mark':0':ok'3(+(1, _n41967)), _gen_tt':mark':0':ok'3(b), _gen_tt':mark':0':ok'3(c)) → _*4, rt ∈ Ω(n41967)
and'(_gen_tt':mark':0':ok'3(+(1, _n52936)), _gen_tt':mark':0':ok'3(b)) → _*4, rt ∈ Ω(n52936)
Generator Equations:
_gen_tt':mark':0':ok'3(0) ⇔ tt'
_gen_tt':mark':0':ok'3(+(x, 1)) ⇔ mark'(_gen_tt':mark':0':ok'3(x))
The following defined symbols remain to be analysed:
U21', active', U31', U41', U51', U61', U71', proper', top'
They will be analysed ascendingly in the following order:
U21' < active'
U31' < active'
U41' < active'
U51' < active'
U61' < active'
U71' < active'
active' < top'
U21' < proper'
U31' < proper'
U41' < proper'
U51' < proper'
U61' < proper'
U71' < proper'
proper' < top'
Proved the following rewrite lemma:
U21'(_gen_tt':mark':0':ok'3(+(1, _n61292)), _gen_tt':mark':0':ok'3(b)) → _*4, rt ∈ Ω(n61292)
Induction Base:
U21'(_gen_tt':mark':0':ok'3(+(1, 0)), _gen_tt':mark':0':ok'3(b))
Induction Step:
U21'(_gen_tt':mark':0':ok'3(+(1, +(_$n61293, 1))), _gen_tt':mark':0':ok'3(_b64813)) →RΩ(1)
mark'(U21'(_gen_tt':mark':0':ok'3(+(1, _$n61293)), _gen_tt':mark':0':ok'3(_b64813))) →IH
mark'(_*4)
We have rt ∈ Ω(n) and sz ∈ O(n). Thus, we have ircR ∈ Ω(n).
Rules:
active'(U11'(tt', V1, V2)) → mark'(U12'(isNat'(V1), V2))
active'(U12'(tt', V2)) → mark'(U13'(isNat'(V2)))
active'(U13'(tt')) → mark'(tt')
active'(U21'(tt', V1)) → mark'(U22'(isNat'(V1)))
active'(U22'(tt')) → mark'(tt')
active'(U31'(tt', V1, V2)) → mark'(U32'(isNat'(V1), V2))
active'(U32'(tt', V2)) → mark'(U33'(isNat'(V2)))
active'(U33'(tt')) → mark'(tt')
active'(U41'(tt', N)) → mark'(N)
active'(U51'(tt', M, N)) → mark'(s'(plus'(N, M)))
active'(U61'(tt')) → mark'(0')
active'(U71'(tt', M, N)) → mark'(plus'(x'(N, M), N))
active'(and'(tt', X)) → mark'(X)
active'(isNat'(0')) → mark'(tt')
active'(isNat'(plus'(V1, V2))) → mark'(U11'(and'(isNatKind'(V1), isNatKind'(V2)), V1, V2))
active'(isNat'(s'(V1))) → mark'(U21'(isNatKind'(V1), V1))
active'(isNat'(x'(V1, V2))) → mark'(U31'(and'(isNatKind'(V1), isNatKind'(V2)), V1, V2))
active'(isNatKind'(0')) → mark'(tt')
active'(isNatKind'(plus'(V1, V2))) → mark'(and'(isNatKind'(V1), isNatKind'(V2)))
active'(isNatKind'(s'(V1))) → mark'(isNatKind'(V1))
active'(isNatKind'(x'(V1, V2))) → mark'(and'(isNatKind'(V1), isNatKind'(V2)))
active'(plus'(N, 0')) → mark'(U41'(and'(isNat'(N), isNatKind'(N)), N))
active'(plus'(N, s'(M))) → mark'(U51'(and'(and'(isNat'(M), isNatKind'(M)), and'(isNat'(N), isNatKind'(N))), M, N))
active'(x'(N, 0')) → mark'(U61'(and'(isNat'(N), isNatKind'(N))))
active'(x'(N, s'(M))) → mark'(U71'(and'(and'(isNat'(M), isNatKind'(M)), and'(isNat'(N), isNatKind'(N))), M, N))
active'(U11'(X1, X2, X3)) → U11'(active'(X1), X2, X3)
active'(U12'(X1, X2)) → U12'(active'(X1), X2)
active'(U13'(X)) → U13'(active'(X))
active'(U21'(X1, X2)) → U21'(active'(X1), X2)
active'(U22'(X)) → U22'(active'(X))
active'(U31'(X1, X2, X3)) → U31'(active'(X1), X2, X3)
active'(U32'(X1, X2)) → U32'(active'(X1), X2)
active'(U33'(X)) → U33'(active'(X))
active'(U41'(X1, X2)) → U41'(active'(X1), X2)
active'(U51'(X1, X2, X3)) → U51'(active'(X1), X2, X3)
active'(s'(X)) → s'(active'(X))
active'(plus'(X1, X2)) → plus'(active'(X1), X2)
active'(plus'(X1, X2)) → plus'(X1, active'(X2))
active'(U61'(X)) → U61'(active'(X))
active'(U71'(X1, X2, X3)) → U71'(active'(X1), X2, X3)
active'(x'(X1, X2)) → x'(active'(X1), X2)
active'(x'(X1, X2)) → x'(X1, active'(X2))
active'(and'(X1, X2)) → and'(active'(X1), X2)
U11'(mark'(X1), X2, X3) → mark'(U11'(X1, X2, X3))
U12'(mark'(X1), X2) → mark'(U12'(X1, X2))
U13'(mark'(X)) → mark'(U13'(X))
U21'(mark'(X1), X2) → mark'(U21'(X1, X2))
U22'(mark'(X)) → mark'(U22'(X))
U31'(mark'(X1), X2, X3) → mark'(U31'(X1, X2, X3))
U32'(mark'(X1), X2) → mark'(U32'(X1, X2))
U33'(mark'(X)) → mark'(U33'(X))
U41'(mark'(X1), X2) → mark'(U41'(X1, X2))
U51'(mark'(X1), X2, X3) → mark'(U51'(X1, X2, X3))
s'(mark'(X)) → mark'(s'(X))
plus'(mark'(X1), X2) → mark'(plus'(X1, X2))
plus'(X1, mark'(X2)) → mark'(plus'(X1, X2))
U61'(mark'(X)) → mark'(U61'(X))
U71'(mark'(X1), X2, X3) → mark'(U71'(X1, X2, X3))
x'(mark'(X1), X2) → mark'(x'(X1, X2))
x'(X1, mark'(X2)) → mark'(x'(X1, X2))
and'(mark'(X1), X2) → mark'(and'(X1, X2))
proper'(U11'(X1, X2, X3)) → U11'(proper'(X1), proper'(X2), proper'(X3))
proper'(tt') → ok'(tt')
proper'(U12'(X1, X2)) → U12'(proper'(X1), proper'(X2))
proper'(isNat'(X)) → isNat'(proper'(X))
proper'(U13'(X)) → U13'(proper'(X))
proper'(U21'(X1, X2)) → U21'(proper'(X1), proper'(X2))
proper'(U22'(X)) → U22'(proper'(X))
proper'(U31'(X1, X2, X3)) → U31'(proper'(X1), proper'(X2), proper'(X3))
proper'(U32'(X1, X2)) → U32'(proper'(X1), proper'(X2))
proper'(U33'(X)) → U33'(proper'(X))
proper'(U41'(X1, X2)) → U41'(proper'(X1), proper'(X2))
proper'(U51'(X1, X2, X3)) → U51'(proper'(X1), proper'(X2), proper'(X3))
proper'(s'(X)) → s'(proper'(X))
proper'(plus'(X1, X2)) → plus'(proper'(X1), proper'(X2))
proper'(U61'(X)) → U61'(proper'(X))
proper'(0') → ok'(0')
proper'(U71'(X1, X2, X3)) → U71'(proper'(X1), proper'(X2), proper'(X3))
proper'(x'(X1, X2)) → x'(proper'(X1), proper'(X2))
proper'(and'(X1, X2)) → and'(proper'(X1), proper'(X2))
proper'(isNatKind'(X)) → isNatKind'(proper'(X))
U11'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U11'(X1, X2, X3))
U12'(ok'(X1), ok'(X2)) → ok'(U12'(X1, X2))
isNat'(ok'(X)) → ok'(isNat'(X))
U13'(ok'(X)) → ok'(U13'(X))
U21'(ok'(X1), ok'(X2)) → ok'(U21'(X1, X2))
U22'(ok'(X)) → ok'(U22'(X))
U31'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U31'(X1, X2, X3))
U32'(ok'(X1), ok'(X2)) → ok'(U32'(X1, X2))
U33'(ok'(X)) → ok'(U33'(X))
U41'(ok'(X1), ok'(X2)) → ok'(U41'(X1, X2))
U51'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U51'(X1, X2, X3))
s'(ok'(X)) → ok'(s'(X))
plus'(ok'(X1), ok'(X2)) → ok'(plus'(X1, X2))
U61'(ok'(X)) → ok'(U61'(X))
U71'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U71'(X1, X2, X3))
x'(ok'(X1), ok'(X2)) → ok'(x'(X1, X2))
and'(ok'(X1), ok'(X2)) → ok'(and'(X1, X2))
isNatKind'(ok'(X)) → ok'(isNatKind'(X))
top'(mark'(X)) → top'(proper'(X))
top'(ok'(X)) → top'(active'(X))
Types:
active' :: tt':mark':0':ok' → tt':mark':0':ok'
U11' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
tt' :: tt':mark':0':ok'
mark' :: tt':mark':0':ok' → tt':mark':0':ok'
U12' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
isNat' :: tt':mark':0':ok' → tt':mark':0':ok'
U13' :: tt':mark':0':ok' → tt':mark':0':ok'
U21' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U22' :: tt':mark':0':ok' → tt':mark':0':ok'
U31' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U32' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U33' :: tt':mark':0':ok' → tt':mark':0':ok'
U41' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U51' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
s' :: tt':mark':0':ok' → tt':mark':0':ok'
plus' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U61' :: tt':mark':0':ok' → tt':mark':0':ok'
0' :: tt':mark':0':ok'
U71' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
x' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
and' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
isNatKind' :: tt':mark':0':ok' → tt':mark':0':ok'
proper' :: tt':mark':0':ok' → tt':mark':0':ok'
ok' :: tt':mark':0':ok' → tt':mark':0':ok'
top' :: tt':mark':0':ok' → top'
_hole_tt':mark':0':ok'1 :: tt':mark':0':ok'
_hole_top'2 :: top'
_gen_tt':mark':0':ok'3 :: Nat → tt':mark':0':ok'
Lemmas:
U12'(_gen_tt':mark':0':ok'3(+(1, _n5)), _gen_tt':mark':0':ok'3(b)) → _*4, rt ∈ Ω(n5)
U13'(_gen_tt':mark':0':ok'3(+(1, _n5352))) → _*4, rt ∈ Ω(n5352)
U22'(_gen_tt':mark':0':ok'3(+(1, _n8962))) → _*4, rt ∈ Ω(n8962)
U32'(_gen_tt':mark':0':ok'3(+(1, _n12696)), _gen_tt':mark':0':ok'3(b)) → _*4, rt ∈ Ω(n12696)
U33'(_gen_tt':mark':0':ok'3(+(1, _n18877))) → _*4, rt ∈ Ω(n18877)
s'(_gen_tt':mark':0':ok'3(+(1, _n22926))) → _*4, rt ∈ Ω(n22926)
plus'(_gen_tt':mark':0':ok'3(+(1, _n27099)), _gen_tt':mark':0':ok'3(b)) → _*4, rt ∈ Ω(n27099)
x'(_gen_tt':mark':0':ok'3(+(1, _n34349)), _gen_tt':mark':0':ok'3(b)) → _*4, rt ∈ Ω(n34349)
U11'(_gen_tt':mark':0':ok'3(+(1, _n41967)), _gen_tt':mark':0':ok'3(b), _gen_tt':mark':0':ok'3(c)) → _*4, rt ∈ Ω(n41967)
and'(_gen_tt':mark':0':ok'3(+(1, _n52936)), _gen_tt':mark':0':ok'3(b)) → _*4, rt ∈ Ω(n52936)
U21'(_gen_tt':mark':0':ok'3(+(1, _n61292)), _gen_tt':mark':0':ok'3(b)) → _*4, rt ∈ Ω(n61292)
Generator Equations:
_gen_tt':mark':0':ok'3(0) ⇔ tt'
_gen_tt':mark':0':ok'3(+(x, 1)) ⇔ mark'(_gen_tt':mark':0':ok'3(x))
The following defined symbols remain to be analysed:
U31', active', U41', U51', U61', U71', proper', top'
They will be analysed ascendingly in the following order:
U31' < active'
U41' < active'
U51' < active'
U61' < active'
U71' < active'
active' < top'
U31' < proper'
U41' < proper'
U51' < proper'
U61' < proper'
U71' < proper'
proper' < top'
Proved the following rewrite lemma:
U31'(_gen_tt':mark':0':ok'3(+(1, _n69922)), _gen_tt':mark':0':ok'3(b), _gen_tt':mark':0':ok'3(c)) → _*4, rt ∈ Ω(n69922)
Induction Base:
U31'(_gen_tt':mark':0':ok'3(+(1, 0)), _gen_tt':mark':0':ok'3(b), _gen_tt':mark':0':ok'3(c))
Induction Step:
U31'(_gen_tt':mark':0':ok'3(+(1, +(_$n69923, 1))), _gen_tt':mark':0':ok'3(_b75795), _gen_tt':mark':0':ok'3(_c75796)) →RΩ(1)
mark'(U31'(_gen_tt':mark':0':ok'3(+(1, _$n69923)), _gen_tt':mark':0':ok'3(_b75795), _gen_tt':mark':0':ok'3(_c75796))) →IH
mark'(_*4)
We have rt ∈ Ω(n) and sz ∈ O(n). Thus, we have ircR ∈ Ω(n).
Rules:
active'(U11'(tt', V1, V2)) → mark'(U12'(isNat'(V1), V2))
active'(U12'(tt', V2)) → mark'(U13'(isNat'(V2)))
active'(U13'(tt')) → mark'(tt')
active'(U21'(tt', V1)) → mark'(U22'(isNat'(V1)))
active'(U22'(tt')) → mark'(tt')
active'(U31'(tt', V1, V2)) → mark'(U32'(isNat'(V1), V2))
active'(U32'(tt', V2)) → mark'(U33'(isNat'(V2)))
active'(U33'(tt')) → mark'(tt')
active'(U41'(tt', N)) → mark'(N)
active'(U51'(tt', M, N)) → mark'(s'(plus'(N, M)))
active'(U61'(tt')) → mark'(0')
active'(U71'(tt', M, N)) → mark'(plus'(x'(N, M), N))
active'(and'(tt', X)) → mark'(X)
active'(isNat'(0')) → mark'(tt')
active'(isNat'(plus'(V1, V2))) → mark'(U11'(and'(isNatKind'(V1), isNatKind'(V2)), V1, V2))
active'(isNat'(s'(V1))) → mark'(U21'(isNatKind'(V1), V1))
active'(isNat'(x'(V1, V2))) → mark'(U31'(and'(isNatKind'(V1), isNatKind'(V2)), V1, V2))
active'(isNatKind'(0')) → mark'(tt')
active'(isNatKind'(plus'(V1, V2))) → mark'(and'(isNatKind'(V1), isNatKind'(V2)))
active'(isNatKind'(s'(V1))) → mark'(isNatKind'(V1))
active'(isNatKind'(x'(V1, V2))) → mark'(and'(isNatKind'(V1), isNatKind'(V2)))
active'(plus'(N, 0')) → mark'(U41'(and'(isNat'(N), isNatKind'(N)), N))
active'(plus'(N, s'(M))) → mark'(U51'(and'(and'(isNat'(M), isNatKind'(M)), and'(isNat'(N), isNatKind'(N))), M, N))
active'(x'(N, 0')) → mark'(U61'(and'(isNat'(N), isNatKind'(N))))
active'(x'(N, s'(M))) → mark'(U71'(and'(and'(isNat'(M), isNatKind'(M)), and'(isNat'(N), isNatKind'(N))), M, N))
active'(U11'(X1, X2, X3)) → U11'(active'(X1), X2, X3)
active'(U12'(X1, X2)) → U12'(active'(X1), X2)
active'(U13'(X)) → U13'(active'(X))
active'(U21'(X1, X2)) → U21'(active'(X1), X2)
active'(U22'(X)) → U22'(active'(X))
active'(U31'(X1, X2, X3)) → U31'(active'(X1), X2, X3)
active'(U32'(X1, X2)) → U32'(active'(X1), X2)
active'(U33'(X)) → U33'(active'(X))
active'(U41'(X1, X2)) → U41'(active'(X1), X2)
active'(U51'(X1, X2, X3)) → U51'(active'(X1), X2, X3)
active'(s'(X)) → s'(active'(X))
active'(plus'(X1, X2)) → plus'(active'(X1), X2)
active'(plus'(X1, X2)) → plus'(X1, active'(X2))
active'(U61'(X)) → U61'(active'(X))
active'(U71'(X1, X2, X3)) → U71'(active'(X1), X2, X3)
active'(x'(X1, X2)) → x'(active'(X1), X2)
active'(x'(X1, X2)) → x'(X1, active'(X2))
active'(and'(X1, X2)) → and'(active'(X1), X2)
U11'(mark'(X1), X2, X3) → mark'(U11'(X1, X2, X3))
U12'(mark'(X1), X2) → mark'(U12'(X1, X2))
U13'(mark'(X)) → mark'(U13'(X))
U21'(mark'(X1), X2) → mark'(U21'(X1, X2))
U22'(mark'(X)) → mark'(U22'(X))
U31'(mark'(X1), X2, X3) → mark'(U31'(X1, X2, X3))
U32'(mark'(X1), X2) → mark'(U32'(X1, X2))
U33'(mark'(X)) → mark'(U33'(X))
U41'(mark'(X1), X2) → mark'(U41'(X1, X2))
U51'(mark'(X1), X2, X3) → mark'(U51'(X1, X2, X3))
s'(mark'(X)) → mark'(s'(X))
plus'(mark'(X1), X2) → mark'(plus'(X1, X2))
plus'(X1, mark'(X2)) → mark'(plus'(X1, X2))
U61'(mark'(X)) → mark'(U61'(X))
U71'(mark'(X1), X2, X3) → mark'(U71'(X1, X2, X3))
x'(mark'(X1), X2) → mark'(x'(X1, X2))
x'(X1, mark'(X2)) → mark'(x'(X1, X2))
and'(mark'(X1), X2) → mark'(and'(X1, X2))
proper'(U11'(X1, X2, X3)) → U11'(proper'(X1), proper'(X2), proper'(X3))
proper'(tt') → ok'(tt')
proper'(U12'(X1, X2)) → U12'(proper'(X1), proper'(X2))
proper'(isNat'(X)) → isNat'(proper'(X))
proper'(U13'(X)) → U13'(proper'(X))
proper'(U21'(X1, X2)) → U21'(proper'(X1), proper'(X2))
proper'(U22'(X)) → U22'(proper'(X))
proper'(U31'(X1, X2, X3)) → U31'(proper'(X1), proper'(X2), proper'(X3))
proper'(U32'(X1, X2)) → U32'(proper'(X1), proper'(X2))
proper'(U33'(X)) → U33'(proper'(X))
proper'(U41'(X1, X2)) → U41'(proper'(X1), proper'(X2))
proper'(U51'(X1, X2, X3)) → U51'(proper'(X1), proper'(X2), proper'(X3))
proper'(s'(X)) → s'(proper'(X))
proper'(plus'(X1, X2)) → plus'(proper'(X1), proper'(X2))
proper'(U61'(X)) → U61'(proper'(X))
proper'(0') → ok'(0')
proper'(U71'(X1, X2, X3)) → U71'(proper'(X1), proper'(X2), proper'(X3))
proper'(x'(X1, X2)) → x'(proper'(X1), proper'(X2))
proper'(and'(X1, X2)) → and'(proper'(X1), proper'(X2))
proper'(isNatKind'(X)) → isNatKind'(proper'(X))
U11'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U11'(X1, X2, X3))
U12'(ok'(X1), ok'(X2)) → ok'(U12'(X1, X2))
isNat'(ok'(X)) → ok'(isNat'(X))
U13'(ok'(X)) → ok'(U13'(X))
U21'(ok'(X1), ok'(X2)) → ok'(U21'(X1, X2))
U22'(ok'(X)) → ok'(U22'(X))
U31'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U31'(X1, X2, X3))
U32'(ok'(X1), ok'(X2)) → ok'(U32'(X1, X2))
U33'(ok'(X)) → ok'(U33'(X))
U41'(ok'(X1), ok'(X2)) → ok'(U41'(X1, X2))
U51'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U51'(X1, X2, X3))
s'(ok'(X)) → ok'(s'(X))
plus'(ok'(X1), ok'(X2)) → ok'(plus'(X1, X2))
U61'(ok'(X)) → ok'(U61'(X))
U71'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U71'(X1, X2, X3))
x'(ok'(X1), ok'(X2)) → ok'(x'(X1, X2))
and'(ok'(X1), ok'(X2)) → ok'(and'(X1, X2))
isNatKind'(ok'(X)) → ok'(isNatKind'(X))
top'(mark'(X)) → top'(proper'(X))
top'(ok'(X)) → top'(active'(X))
Types:
active' :: tt':mark':0':ok' → tt':mark':0':ok'
U11' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
tt' :: tt':mark':0':ok'
mark' :: tt':mark':0':ok' → tt':mark':0':ok'
U12' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
isNat' :: tt':mark':0':ok' → tt':mark':0':ok'
U13' :: tt':mark':0':ok' → tt':mark':0':ok'
U21' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U22' :: tt':mark':0':ok' → tt':mark':0':ok'
U31' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U32' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U33' :: tt':mark':0':ok' → tt':mark':0':ok'
U41' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U51' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
s' :: tt':mark':0':ok' → tt':mark':0':ok'
plus' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U61' :: tt':mark':0':ok' → tt':mark':0':ok'
0' :: tt':mark':0':ok'
U71' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
x' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
and' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
isNatKind' :: tt':mark':0':ok' → tt':mark':0':ok'
proper' :: tt':mark':0':ok' → tt':mark':0':ok'
ok' :: tt':mark':0':ok' → tt':mark':0':ok'
top' :: tt':mark':0':ok' → top'
_hole_tt':mark':0':ok'1 :: tt':mark':0':ok'
_hole_top'2 :: top'
_gen_tt':mark':0':ok'3 :: Nat → tt':mark':0':ok'
Lemmas:
U12'(_gen_tt':mark':0':ok'3(+(1, _n5)), _gen_tt':mark':0':ok'3(b)) → _*4, rt ∈ Ω(n5)
U13'(_gen_tt':mark':0':ok'3(+(1, _n5352))) → _*4, rt ∈ Ω(n5352)
U22'(_gen_tt':mark':0':ok'3(+(1, _n8962))) → _*4, rt ∈ Ω(n8962)
U32'(_gen_tt':mark':0':ok'3(+(1, _n12696)), _gen_tt':mark':0':ok'3(b)) → _*4, rt ∈ Ω(n12696)
U33'(_gen_tt':mark':0':ok'3(+(1, _n18877))) → _*4, rt ∈ Ω(n18877)
s'(_gen_tt':mark':0':ok'3(+(1, _n22926))) → _*4, rt ∈ Ω(n22926)
plus'(_gen_tt':mark':0':ok'3(+(1, _n27099)), _gen_tt':mark':0':ok'3(b)) → _*4, rt ∈ Ω(n27099)
x'(_gen_tt':mark':0':ok'3(+(1, _n34349)), _gen_tt':mark':0':ok'3(b)) → _*4, rt ∈ Ω(n34349)
U11'(_gen_tt':mark':0':ok'3(+(1, _n41967)), _gen_tt':mark':0':ok'3(b), _gen_tt':mark':0':ok'3(c)) → _*4, rt ∈ Ω(n41967)
and'(_gen_tt':mark':0':ok'3(+(1, _n52936)), _gen_tt':mark':0':ok'3(b)) → _*4, rt ∈ Ω(n52936)
U21'(_gen_tt':mark':0':ok'3(+(1, _n61292)), _gen_tt':mark':0':ok'3(b)) → _*4, rt ∈ Ω(n61292)
U31'(_gen_tt':mark':0':ok'3(+(1, _n69922)), _gen_tt':mark':0':ok'3(b), _gen_tt':mark':0':ok'3(c)) → _*4, rt ∈ Ω(n69922)
Generator Equations:
_gen_tt':mark':0':ok'3(0) ⇔ tt'
_gen_tt':mark':0':ok'3(+(x, 1)) ⇔ mark'(_gen_tt':mark':0':ok'3(x))
The following defined symbols remain to be analysed:
U41', active', U51', U61', U71', proper', top'
They will be analysed ascendingly in the following order:
U41' < active'
U51' < active'
U61' < active'
U71' < active'
active' < top'
U41' < proper'
U51' < proper'
U61' < proper'
U71' < proper'
proper' < top'
Proved the following rewrite lemma:
U41'(_gen_tt':mark':0':ok'3(+(1, _n82713)), _gen_tt':mark':0':ok'3(b)) → _*4, rt ∈ Ω(n82713)
Induction Base:
U41'(_gen_tt':mark':0':ok'3(+(1, 0)), _gen_tt':mark':0':ok'3(b))
Induction Step:
U41'(_gen_tt':mark':0':ok'3(+(1, +(_$n82714, 1))), _gen_tt':mark':0':ok'3(_b86990)) →RΩ(1)
mark'(U41'(_gen_tt':mark':0':ok'3(+(1, _$n82714)), _gen_tt':mark':0':ok'3(_b86990))) →IH
mark'(_*4)
We have rt ∈ Ω(n) and sz ∈ O(n). Thus, we have ircR ∈ Ω(n).
Rules:
active'(U11'(tt', V1, V2)) → mark'(U12'(isNat'(V1), V2))
active'(U12'(tt', V2)) → mark'(U13'(isNat'(V2)))
active'(U13'(tt')) → mark'(tt')
active'(U21'(tt', V1)) → mark'(U22'(isNat'(V1)))
active'(U22'(tt')) → mark'(tt')
active'(U31'(tt', V1, V2)) → mark'(U32'(isNat'(V1), V2))
active'(U32'(tt', V2)) → mark'(U33'(isNat'(V2)))
active'(U33'(tt')) → mark'(tt')
active'(U41'(tt', N)) → mark'(N)
active'(U51'(tt', M, N)) → mark'(s'(plus'(N, M)))
active'(U61'(tt')) → mark'(0')
active'(U71'(tt', M, N)) → mark'(plus'(x'(N, M), N))
active'(and'(tt', X)) → mark'(X)
active'(isNat'(0')) → mark'(tt')
active'(isNat'(plus'(V1, V2))) → mark'(U11'(and'(isNatKind'(V1), isNatKind'(V2)), V1, V2))
active'(isNat'(s'(V1))) → mark'(U21'(isNatKind'(V1), V1))
active'(isNat'(x'(V1, V2))) → mark'(U31'(and'(isNatKind'(V1), isNatKind'(V2)), V1, V2))
active'(isNatKind'(0')) → mark'(tt')
active'(isNatKind'(plus'(V1, V2))) → mark'(and'(isNatKind'(V1), isNatKind'(V2)))
active'(isNatKind'(s'(V1))) → mark'(isNatKind'(V1))
active'(isNatKind'(x'(V1, V2))) → mark'(and'(isNatKind'(V1), isNatKind'(V2)))
active'(plus'(N, 0')) → mark'(U41'(and'(isNat'(N), isNatKind'(N)), N))
active'(plus'(N, s'(M))) → mark'(U51'(and'(and'(isNat'(M), isNatKind'(M)), and'(isNat'(N), isNatKind'(N))), M, N))
active'(x'(N, 0')) → mark'(U61'(and'(isNat'(N), isNatKind'(N))))
active'(x'(N, s'(M))) → mark'(U71'(and'(and'(isNat'(M), isNatKind'(M)), and'(isNat'(N), isNatKind'(N))), M, N))
active'(U11'(X1, X2, X3)) → U11'(active'(X1), X2, X3)
active'(U12'(X1, X2)) → U12'(active'(X1), X2)
active'(U13'(X)) → U13'(active'(X))
active'(U21'(X1, X2)) → U21'(active'(X1), X2)
active'(U22'(X)) → U22'(active'(X))
active'(U31'(X1, X2, X3)) → U31'(active'(X1), X2, X3)
active'(U32'(X1, X2)) → U32'(active'(X1), X2)
active'(U33'(X)) → U33'(active'(X))
active'(U41'(X1, X2)) → U41'(active'(X1), X2)
active'(U51'(X1, X2, X3)) → U51'(active'(X1), X2, X3)
active'(s'(X)) → s'(active'(X))
active'(plus'(X1, X2)) → plus'(active'(X1), X2)
active'(plus'(X1, X2)) → plus'(X1, active'(X2))
active'(U61'(X)) → U61'(active'(X))
active'(U71'(X1, X2, X3)) → U71'(active'(X1), X2, X3)
active'(x'(X1, X2)) → x'(active'(X1), X2)
active'(x'(X1, X2)) → x'(X1, active'(X2))
active'(and'(X1, X2)) → and'(active'(X1), X2)
U11'(mark'(X1), X2, X3) → mark'(U11'(X1, X2, X3))
U12'(mark'(X1), X2) → mark'(U12'(X1, X2))
U13'(mark'(X)) → mark'(U13'(X))
U21'(mark'(X1), X2) → mark'(U21'(X1, X2))
U22'(mark'(X)) → mark'(U22'(X))
U31'(mark'(X1), X2, X3) → mark'(U31'(X1, X2, X3))
U32'(mark'(X1), X2) → mark'(U32'(X1, X2))
U33'(mark'(X)) → mark'(U33'(X))
U41'(mark'(X1), X2) → mark'(U41'(X1, X2))
U51'(mark'(X1), X2, X3) → mark'(U51'(X1, X2, X3))
s'(mark'(X)) → mark'(s'(X))
plus'(mark'(X1), X2) → mark'(plus'(X1, X2))
plus'(X1, mark'(X2)) → mark'(plus'(X1, X2))
U61'(mark'(X)) → mark'(U61'(X))
U71'(mark'(X1), X2, X3) → mark'(U71'(X1, X2, X3))
x'(mark'(X1), X2) → mark'(x'(X1, X2))
x'(X1, mark'(X2)) → mark'(x'(X1, X2))
and'(mark'(X1), X2) → mark'(and'(X1, X2))
proper'(U11'(X1, X2, X3)) → U11'(proper'(X1), proper'(X2), proper'(X3))
proper'(tt') → ok'(tt')
proper'(U12'(X1, X2)) → U12'(proper'(X1), proper'(X2))
proper'(isNat'(X)) → isNat'(proper'(X))
proper'(U13'(X)) → U13'(proper'(X))
proper'(U21'(X1, X2)) → U21'(proper'(X1), proper'(X2))
proper'(U22'(X)) → U22'(proper'(X))
proper'(U31'(X1, X2, X3)) → U31'(proper'(X1), proper'(X2), proper'(X3))
proper'(U32'(X1, X2)) → U32'(proper'(X1), proper'(X2))
proper'(U33'(X)) → U33'(proper'(X))
proper'(U41'(X1, X2)) → U41'(proper'(X1), proper'(X2))
proper'(U51'(X1, X2, X3)) → U51'(proper'(X1), proper'(X2), proper'(X3))
proper'(s'(X)) → s'(proper'(X))
proper'(plus'(X1, X2)) → plus'(proper'(X1), proper'(X2))
proper'(U61'(X)) → U61'(proper'(X))
proper'(0') → ok'(0')
proper'(U71'(X1, X2, X3)) → U71'(proper'(X1), proper'(X2), proper'(X3))
proper'(x'(X1, X2)) → x'(proper'(X1), proper'(X2))
proper'(and'(X1, X2)) → and'(proper'(X1), proper'(X2))
proper'(isNatKind'(X)) → isNatKind'(proper'(X))
U11'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U11'(X1, X2, X3))
U12'(ok'(X1), ok'(X2)) → ok'(U12'(X1, X2))
isNat'(ok'(X)) → ok'(isNat'(X))
U13'(ok'(X)) → ok'(U13'(X))
U21'(ok'(X1), ok'(X2)) → ok'(U21'(X1, X2))
U22'(ok'(X)) → ok'(U22'(X))
U31'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U31'(X1, X2, X3))
U32'(ok'(X1), ok'(X2)) → ok'(U32'(X1, X2))
U33'(ok'(X)) → ok'(U33'(X))
U41'(ok'(X1), ok'(X2)) → ok'(U41'(X1, X2))
U51'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U51'(X1, X2, X3))
s'(ok'(X)) → ok'(s'(X))
plus'(ok'(X1), ok'(X2)) → ok'(plus'(X1, X2))
U61'(ok'(X)) → ok'(U61'(X))
U71'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U71'(X1, X2, X3))
x'(ok'(X1), ok'(X2)) → ok'(x'(X1, X2))
and'(ok'(X1), ok'(X2)) → ok'(and'(X1, X2))
isNatKind'(ok'(X)) → ok'(isNatKind'(X))
top'(mark'(X)) → top'(proper'(X))
top'(ok'(X)) → top'(active'(X))
Types:
active' :: tt':mark':0':ok' → tt':mark':0':ok'
U11' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
tt' :: tt':mark':0':ok'
mark' :: tt':mark':0':ok' → tt':mark':0':ok'
U12' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
isNat' :: tt':mark':0':ok' → tt':mark':0':ok'
U13' :: tt':mark':0':ok' → tt':mark':0':ok'
U21' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U22' :: tt':mark':0':ok' → tt':mark':0':ok'
U31' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U32' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U33' :: tt':mark':0':ok' → tt':mark':0':ok'
U41' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U51' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
s' :: tt':mark':0':ok' → tt':mark':0':ok'
plus' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U61' :: tt':mark':0':ok' → tt':mark':0':ok'
0' :: tt':mark':0':ok'
U71' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
x' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
and' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
isNatKind' :: tt':mark':0':ok' → tt':mark':0':ok'
proper' :: tt':mark':0':ok' → tt':mark':0':ok'
ok' :: tt':mark':0':ok' → tt':mark':0':ok'
top' :: tt':mark':0':ok' → top'
_hole_tt':mark':0':ok'1 :: tt':mark':0':ok'
_hole_top'2 :: top'
_gen_tt':mark':0':ok'3 :: Nat → tt':mark':0':ok'
Lemmas:
U12'(_gen_tt':mark':0':ok'3(+(1, _n5)), _gen_tt':mark':0':ok'3(b)) → _*4, rt ∈ Ω(n5)
U13'(_gen_tt':mark':0':ok'3(+(1, _n5352))) → _*4, rt ∈ Ω(n5352)
U22'(_gen_tt':mark':0':ok'3(+(1, _n8962))) → _*4, rt ∈ Ω(n8962)
U32'(_gen_tt':mark':0':ok'3(+(1, _n12696)), _gen_tt':mark':0':ok'3(b)) → _*4, rt ∈ Ω(n12696)
U33'(_gen_tt':mark':0':ok'3(+(1, _n18877))) → _*4, rt ∈ Ω(n18877)
s'(_gen_tt':mark':0':ok'3(+(1, _n22926))) → _*4, rt ∈ Ω(n22926)
plus'(_gen_tt':mark':0':ok'3(+(1, _n27099)), _gen_tt':mark':0':ok'3(b)) → _*4, rt ∈ Ω(n27099)
x'(_gen_tt':mark':0':ok'3(+(1, _n34349)), _gen_tt':mark':0':ok'3(b)) → _*4, rt ∈ Ω(n34349)
U11'(_gen_tt':mark':0':ok'3(+(1, _n41967)), _gen_tt':mark':0':ok'3(b), _gen_tt':mark':0':ok'3(c)) → _*4, rt ∈ Ω(n41967)
and'(_gen_tt':mark':0':ok'3(+(1, _n52936)), _gen_tt':mark':0':ok'3(b)) → _*4, rt ∈ Ω(n52936)
U21'(_gen_tt':mark':0':ok'3(+(1, _n61292)), _gen_tt':mark':0':ok'3(b)) → _*4, rt ∈ Ω(n61292)
U31'(_gen_tt':mark':0':ok'3(+(1, _n69922)), _gen_tt':mark':0':ok'3(b), _gen_tt':mark':0':ok'3(c)) → _*4, rt ∈ Ω(n69922)
U41'(_gen_tt':mark':0':ok'3(+(1, _n82713)), _gen_tt':mark':0':ok'3(b)) → _*4, rt ∈ Ω(n82713)
Generator Equations:
_gen_tt':mark':0':ok'3(0) ⇔ tt'
_gen_tt':mark':0':ok'3(+(x, 1)) ⇔ mark'(_gen_tt':mark':0':ok'3(x))
The following defined symbols remain to be analysed:
U51', active', U61', U71', proper', top'
They will be analysed ascendingly in the following order:
U51' < active'
U61' < active'
U71' < active'
active' < top'
U51' < proper'
U61' < proper'
U71' < proper'
proper' < top'
Proved the following rewrite lemma:
U51'(_gen_tt':mark':0':ok'3(+(1, _n92206)), _gen_tt':mark':0':ok'3(b), _gen_tt':mark':0':ok'3(c)) → _*4, rt ∈ Ω(n92206)
Induction Base:
U51'(_gen_tt':mark':0':ok'3(+(1, 0)), _gen_tt':mark':0':ok'3(b), _gen_tt':mark':0':ok'3(c))
Induction Step:
U51'(_gen_tt':mark':0':ok'3(+(1, +(_$n92207, 1))), _gen_tt':mark':0':ok'3(_b99213), _gen_tt':mark':0':ok'3(_c99214)) →RΩ(1)
mark'(U51'(_gen_tt':mark':0':ok'3(+(1, _$n92207)), _gen_tt':mark':0':ok'3(_b99213), _gen_tt':mark':0':ok'3(_c99214))) →IH
mark'(_*4)
We have rt ∈ Ω(n) and sz ∈ O(n). Thus, we have ircR ∈ Ω(n).
Rules:
active'(U11'(tt', V1, V2)) → mark'(U12'(isNat'(V1), V2))
active'(U12'(tt', V2)) → mark'(U13'(isNat'(V2)))
active'(U13'(tt')) → mark'(tt')
active'(U21'(tt', V1)) → mark'(U22'(isNat'(V1)))
active'(U22'(tt')) → mark'(tt')
active'(U31'(tt', V1, V2)) → mark'(U32'(isNat'(V1), V2))
active'(U32'(tt', V2)) → mark'(U33'(isNat'(V2)))
active'(U33'(tt')) → mark'(tt')
active'(U41'(tt', N)) → mark'(N)
active'(U51'(tt', M, N)) → mark'(s'(plus'(N, M)))
active'(U61'(tt')) → mark'(0')
active'(U71'(tt', M, N)) → mark'(plus'(x'(N, M), N))
active'(and'(tt', X)) → mark'(X)
active'(isNat'(0')) → mark'(tt')
active'(isNat'(plus'(V1, V2))) → mark'(U11'(and'(isNatKind'(V1), isNatKind'(V2)), V1, V2))
active'(isNat'(s'(V1))) → mark'(U21'(isNatKind'(V1), V1))
active'(isNat'(x'(V1, V2))) → mark'(U31'(and'(isNatKind'(V1), isNatKind'(V2)), V1, V2))
active'(isNatKind'(0')) → mark'(tt')
active'(isNatKind'(plus'(V1, V2))) → mark'(and'(isNatKind'(V1), isNatKind'(V2)))
active'(isNatKind'(s'(V1))) → mark'(isNatKind'(V1))
active'(isNatKind'(x'(V1, V2))) → mark'(and'(isNatKind'(V1), isNatKind'(V2)))
active'(plus'(N, 0')) → mark'(U41'(and'(isNat'(N), isNatKind'(N)), N))
active'(plus'(N, s'(M))) → mark'(U51'(and'(and'(isNat'(M), isNatKind'(M)), and'(isNat'(N), isNatKind'(N))), M, N))
active'(x'(N, 0')) → mark'(U61'(and'(isNat'(N), isNatKind'(N))))
active'(x'(N, s'(M))) → mark'(U71'(and'(and'(isNat'(M), isNatKind'(M)), and'(isNat'(N), isNatKind'(N))), M, N))
active'(U11'(X1, X2, X3)) → U11'(active'(X1), X2, X3)
active'(U12'(X1, X2)) → U12'(active'(X1), X2)
active'(U13'(X)) → U13'(active'(X))
active'(U21'(X1, X2)) → U21'(active'(X1), X2)
active'(U22'(X)) → U22'(active'(X))
active'(U31'(X1, X2, X3)) → U31'(active'(X1), X2, X3)
active'(U32'(X1, X2)) → U32'(active'(X1), X2)
active'(U33'(X)) → U33'(active'(X))
active'(U41'(X1, X2)) → U41'(active'(X1), X2)
active'(U51'(X1, X2, X3)) → U51'(active'(X1), X2, X3)
active'(s'(X)) → s'(active'(X))
active'(plus'(X1, X2)) → plus'(active'(X1), X2)
active'(plus'(X1, X2)) → plus'(X1, active'(X2))
active'(U61'(X)) → U61'(active'(X))
active'(U71'(X1, X2, X3)) → U71'(active'(X1), X2, X3)
active'(x'(X1, X2)) → x'(active'(X1), X2)
active'(x'(X1, X2)) → x'(X1, active'(X2))
active'(and'(X1, X2)) → and'(active'(X1), X2)
U11'(mark'(X1), X2, X3) → mark'(U11'(X1, X2, X3))
U12'(mark'(X1), X2) → mark'(U12'(X1, X2))
U13'(mark'(X)) → mark'(U13'(X))
U21'(mark'(X1), X2) → mark'(U21'(X1, X2))
U22'(mark'(X)) → mark'(U22'(X))
U31'(mark'(X1), X2, X3) → mark'(U31'(X1, X2, X3))
U32'(mark'(X1), X2) → mark'(U32'(X1, X2))
U33'(mark'(X)) → mark'(U33'(X))
U41'(mark'(X1), X2) → mark'(U41'(X1, X2))
U51'(mark'(X1), X2, X3) → mark'(U51'(X1, X2, X3))
s'(mark'(X)) → mark'(s'(X))
plus'(mark'(X1), X2) → mark'(plus'(X1, X2))
plus'(X1, mark'(X2)) → mark'(plus'(X1, X2))
U61'(mark'(X)) → mark'(U61'(X))
U71'(mark'(X1), X2, X3) → mark'(U71'(X1, X2, X3))
x'(mark'(X1), X2) → mark'(x'(X1, X2))
x'(X1, mark'(X2)) → mark'(x'(X1, X2))
and'(mark'(X1), X2) → mark'(and'(X1, X2))
proper'(U11'(X1, X2, X3)) → U11'(proper'(X1), proper'(X2), proper'(X3))
proper'(tt') → ok'(tt')
proper'(U12'(X1, X2)) → U12'(proper'(X1), proper'(X2))
proper'(isNat'(X)) → isNat'(proper'(X))
proper'(U13'(X)) → U13'(proper'(X))
proper'(U21'(X1, X2)) → U21'(proper'(X1), proper'(X2))
proper'(U22'(X)) → U22'(proper'(X))
proper'(U31'(X1, X2, X3)) → U31'(proper'(X1), proper'(X2), proper'(X3))
proper'(U32'(X1, X2)) → U32'(proper'(X1), proper'(X2))
proper'(U33'(X)) → U33'(proper'(X))
proper'(U41'(X1, X2)) → U41'(proper'(X1), proper'(X2))
proper'(U51'(X1, X2, X3)) → U51'(proper'(X1), proper'(X2), proper'(X3))
proper'(s'(X)) → s'(proper'(X))
proper'(plus'(X1, X2)) → plus'(proper'(X1), proper'(X2))
proper'(U61'(X)) → U61'(proper'(X))
proper'(0') → ok'(0')
proper'(U71'(X1, X2, X3)) → U71'(proper'(X1), proper'(X2), proper'(X3))
proper'(x'(X1, X2)) → x'(proper'(X1), proper'(X2))
proper'(and'(X1, X2)) → and'(proper'(X1), proper'(X2))
proper'(isNatKind'(X)) → isNatKind'(proper'(X))
U11'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U11'(X1, X2, X3))
U12'(ok'(X1), ok'(X2)) → ok'(U12'(X1, X2))
isNat'(ok'(X)) → ok'(isNat'(X))
U13'(ok'(X)) → ok'(U13'(X))
U21'(ok'(X1), ok'(X2)) → ok'(U21'(X1, X2))
U22'(ok'(X)) → ok'(U22'(X))
U31'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U31'(X1, X2, X3))
U32'(ok'(X1), ok'(X2)) → ok'(U32'(X1, X2))
U33'(ok'(X)) → ok'(U33'(X))
U41'(ok'(X1), ok'(X2)) → ok'(U41'(X1, X2))
U51'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U51'(X1, X2, X3))
s'(ok'(X)) → ok'(s'(X))
plus'(ok'(X1), ok'(X2)) → ok'(plus'(X1, X2))
U61'(ok'(X)) → ok'(U61'(X))
U71'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U71'(X1, X2, X3))
x'(ok'(X1), ok'(X2)) → ok'(x'(X1, X2))
and'(ok'(X1), ok'(X2)) → ok'(and'(X1, X2))
isNatKind'(ok'(X)) → ok'(isNatKind'(X))
top'(mark'(X)) → top'(proper'(X))
top'(ok'(X)) → top'(active'(X))
Types:
active' :: tt':mark':0':ok' → tt':mark':0':ok'
U11' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
tt' :: tt':mark':0':ok'
mark' :: tt':mark':0':ok' → tt':mark':0':ok'
U12' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
isNat' :: tt':mark':0':ok' → tt':mark':0':ok'
U13' :: tt':mark':0':ok' → tt':mark':0':ok'
U21' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U22' :: tt':mark':0':ok' → tt':mark':0':ok'
U31' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U32' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U33' :: tt':mark':0':ok' → tt':mark':0':ok'
U41' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U51' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
s' :: tt':mark':0':ok' → tt':mark':0':ok'
plus' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U61' :: tt':mark':0':ok' → tt':mark':0':ok'
0' :: tt':mark':0':ok'
U71' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
x' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
and' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
isNatKind' :: tt':mark':0':ok' → tt':mark':0':ok'
proper' :: tt':mark':0':ok' → tt':mark':0':ok'
ok' :: tt':mark':0':ok' → tt':mark':0':ok'
top' :: tt':mark':0':ok' → top'
_hole_tt':mark':0':ok'1 :: tt':mark':0':ok'
_hole_top'2 :: top'
_gen_tt':mark':0':ok'3 :: Nat → tt':mark':0':ok'
Lemmas:
U12'(_gen_tt':mark':0':ok'3(+(1, _n5)), _gen_tt':mark':0':ok'3(b)) → _*4, rt ∈ Ω(n5)
U13'(_gen_tt':mark':0':ok'3(+(1, _n5352))) → _*4, rt ∈ Ω(n5352)
U22'(_gen_tt':mark':0':ok'3(+(1, _n8962))) → _*4, rt ∈ Ω(n8962)
U32'(_gen_tt':mark':0':ok'3(+(1, _n12696)), _gen_tt':mark':0':ok'3(b)) → _*4, rt ∈ Ω(n12696)
U33'(_gen_tt':mark':0':ok'3(+(1, _n18877))) → _*4, rt ∈ Ω(n18877)
s'(_gen_tt':mark':0':ok'3(+(1, _n22926))) → _*4, rt ∈ Ω(n22926)
plus'(_gen_tt':mark':0':ok'3(+(1, _n27099)), _gen_tt':mark':0':ok'3(b)) → _*4, rt ∈ Ω(n27099)
x'(_gen_tt':mark':0':ok'3(+(1, _n34349)), _gen_tt':mark':0':ok'3(b)) → _*4, rt ∈ Ω(n34349)
U11'(_gen_tt':mark':0':ok'3(+(1, _n41967)), _gen_tt':mark':0':ok'3(b), _gen_tt':mark':0':ok'3(c)) → _*4, rt ∈ Ω(n41967)
and'(_gen_tt':mark':0':ok'3(+(1, _n52936)), _gen_tt':mark':0':ok'3(b)) → _*4, rt ∈ Ω(n52936)
U21'(_gen_tt':mark':0':ok'3(+(1, _n61292)), _gen_tt':mark':0':ok'3(b)) → _*4, rt ∈ Ω(n61292)
U31'(_gen_tt':mark':0':ok'3(+(1, _n69922)), _gen_tt':mark':0':ok'3(b), _gen_tt':mark':0':ok'3(c)) → _*4, rt ∈ Ω(n69922)
U41'(_gen_tt':mark':0':ok'3(+(1, _n82713)), _gen_tt':mark':0':ok'3(b)) → _*4, rt ∈ Ω(n82713)
U51'(_gen_tt':mark':0':ok'3(+(1, _n92206)), _gen_tt':mark':0':ok'3(b), _gen_tt':mark':0':ok'3(c)) → _*4, rt ∈ Ω(n92206)
Generator Equations:
_gen_tt':mark':0':ok'3(0) ⇔ tt'
_gen_tt':mark':0':ok'3(+(x, 1)) ⇔ mark'(_gen_tt':mark':0':ok'3(x))
The following defined symbols remain to be analysed:
U61', active', U71', proper', top'
They will be analysed ascendingly in the following order:
U61' < active'
U71' < active'
active' < top'
U61' < proper'
U71' < proper'
proper' < top'
Proved the following rewrite lemma:
U61'(_gen_tt':mark':0':ok'3(+(1, _n106274))) → _*4, rt ∈ Ω(n106274)
Induction Base:
U61'(_gen_tt':mark':0':ok'3(+(1, 0)))
Induction Step:
U61'(_gen_tt':mark':0':ok'3(+(1, +(_$n106275, 1)))) →RΩ(1)
mark'(U61'(_gen_tt':mark':0':ok'3(+(1, _$n106275)))) →IH
mark'(_*4)
We have rt ∈ Ω(n) and sz ∈ O(n). Thus, we have ircR ∈ Ω(n).
Rules:
active'(U11'(tt', V1, V2)) → mark'(U12'(isNat'(V1), V2))
active'(U12'(tt', V2)) → mark'(U13'(isNat'(V2)))
active'(U13'(tt')) → mark'(tt')
active'(U21'(tt', V1)) → mark'(U22'(isNat'(V1)))
active'(U22'(tt')) → mark'(tt')
active'(U31'(tt', V1, V2)) → mark'(U32'(isNat'(V1), V2))
active'(U32'(tt', V2)) → mark'(U33'(isNat'(V2)))
active'(U33'(tt')) → mark'(tt')
active'(U41'(tt', N)) → mark'(N)
active'(U51'(tt', M, N)) → mark'(s'(plus'(N, M)))
active'(U61'(tt')) → mark'(0')
active'(U71'(tt', M, N)) → mark'(plus'(x'(N, M), N))
active'(and'(tt', X)) → mark'(X)
active'(isNat'(0')) → mark'(tt')
active'(isNat'(plus'(V1, V2))) → mark'(U11'(and'(isNatKind'(V1), isNatKind'(V2)), V1, V2))
active'(isNat'(s'(V1))) → mark'(U21'(isNatKind'(V1), V1))
active'(isNat'(x'(V1, V2))) → mark'(U31'(and'(isNatKind'(V1), isNatKind'(V2)), V1, V2))
active'(isNatKind'(0')) → mark'(tt')
active'(isNatKind'(plus'(V1, V2))) → mark'(and'(isNatKind'(V1), isNatKind'(V2)))
active'(isNatKind'(s'(V1))) → mark'(isNatKind'(V1))
active'(isNatKind'(x'(V1, V2))) → mark'(and'(isNatKind'(V1), isNatKind'(V2)))
active'(plus'(N, 0')) → mark'(U41'(and'(isNat'(N), isNatKind'(N)), N))
active'(plus'(N, s'(M))) → mark'(U51'(and'(and'(isNat'(M), isNatKind'(M)), and'(isNat'(N), isNatKind'(N))), M, N))
active'(x'(N, 0')) → mark'(U61'(and'(isNat'(N), isNatKind'(N))))
active'(x'(N, s'(M))) → mark'(U71'(and'(and'(isNat'(M), isNatKind'(M)), and'(isNat'(N), isNatKind'(N))), M, N))
active'(U11'(X1, X2, X3)) → U11'(active'(X1), X2, X3)
active'(U12'(X1, X2)) → U12'(active'(X1), X2)
active'(U13'(X)) → U13'(active'(X))
active'(U21'(X1, X2)) → U21'(active'(X1), X2)
active'(U22'(X)) → U22'(active'(X))
active'(U31'(X1, X2, X3)) → U31'(active'(X1), X2, X3)
active'(U32'(X1, X2)) → U32'(active'(X1), X2)
active'(U33'(X)) → U33'(active'(X))
active'(U41'(X1, X2)) → U41'(active'(X1), X2)
active'(U51'(X1, X2, X3)) → U51'(active'(X1), X2, X3)
active'(s'(X)) → s'(active'(X))
active'(plus'(X1, X2)) → plus'(active'(X1), X2)
active'(plus'(X1, X2)) → plus'(X1, active'(X2))
active'(U61'(X)) → U61'(active'(X))
active'(U71'(X1, X2, X3)) → U71'(active'(X1), X2, X3)
active'(x'(X1, X2)) → x'(active'(X1), X2)
active'(x'(X1, X2)) → x'(X1, active'(X2))
active'(and'(X1, X2)) → and'(active'(X1), X2)
U11'(mark'(X1), X2, X3) → mark'(U11'(X1, X2, X3))
U12'(mark'(X1), X2) → mark'(U12'(X1, X2))
U13'(mark'(X)) → mark'(U13'(X))
U21'(mark'(X1), X2) → mark'(U21'(X1, X2))
U22'(mark'(X)) → mark'(U22'(X))
U31'(mark'(X1), X2, X3) → mark'(U31'(X1, X2, X3))
U32'(mark'(X1), X2) → mark'(U32'(X1, X2))
U33'(mark'(X)) → mark'(U33'(X))
U41'(mark'(X1), X2) → mark'(U41'(X1, X2))
U51'(mark'(X1), X2, X3) → mark'(U51'(X1, X2, X3))
s'(mark'(X)) → mark'(s'(X))
plus'(mark'(X1), X2) → mark'(plus'(X1, X2))
plus'(X1, mark'(X2)) → mark'(plus'(X1, X2))
U61'(mark'(X)) → mark'(U61'(X))
U71'(mark'(X1), X2, X3) → mark'(U71'(X1, X2, X3))
x'(mark'(X1), X2) → mark'(x'(X1, X2))
x'(X1, mark'(X2)) → mark'(x'(X1, X2))
and'(mark'(X1), X2) → mark'(and'(X1, X2))
proper'(U11'(X1, X2, X3)) → U11'(proper'(X1), proper'(X2), proper'(X3))
proper'(tt') → ok'(tt')
proper'(U12'(X1, X2)) → U12'(proper'(X1), proper'(X2))
proper'(isNat'(X)) → isNat'(proper'(X))
proper'(U13'(X)) → U13'(proper'(X))
proper'(U21'(X1, X2)) → U21'(proper'(X1), proper'(X2))
proper'(U22'(X)) → U22'(proper'(X))
proper'(U31'(X1, X2, X3)) → U31'(proper'(X1), proper'(X2), proper'(X3))
proper'(U32'(X1, X2)) → U32'(proper'(X1), proper'(X2))
proper'(U33'(X)) → U33'(proper'(X))
proper'(U41'(X1, X2)) → U41'(proper'(X1), proper'(X2))
proper'(U51'(X1, X2, X3)) → U51'(proper'(X1), proper'(X2), proper'(X3))
proper'(s'(X)) → s'(proper'(X))
proper'(plus'(X1, X2)) → plus'(proper'(X1), proper'(X2))
proper'(U61'(X)) → U61'(proper'(X))
proper'(0') → ok'(0')
proper'(U71'(X1, X2, X3)) → U71'(proper'(X1), proper'(X2), proper'(X3))
proper'(x'(X1, X2)) → x'(proper'(X1), proper'(X2))
proper'(and'(X1, X2)) → and'(proper'(X1), proper'(X2))
proper'(isNatKind'(X)) → isNatKind'(proper'(X))
U11'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U11'(X1, X2, X3))
U12'(ok'(X1), ok'(X2)) → ok'(U12'(X1, X2))
isNat'(ok'(X)) → ok'(isNat'(X))
U13'(ok'(X)) → ok'(U13'(X))
U21'(ok'(X1), ok'(X2)) → ok'(U21'(X1, X2))
U22'(ok'(X)) → ok'(U22'(X))
U31'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U31'(X1, X2, X3))
U32'(ok'(X1), ok'(X2)) → ok'(U32'(X1, X2))
U33'(ok'(X)) → ok'(U33'(X))
U41'(ok'(X1), ok'(X2)) → ok'(U41'(X1, X2))
U51'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U51'(X1, X2, X3))
s'(ok'(X)) → ok'(s'(X))
plus'(ok'(X1), ok'(X2)) → ok'(plus'(X1, X2))
U61'(ok'(X)) → ok'(U61'(X))
U71'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U71'(X1, X2, X3))
x'(ok'(X1), ok'(X2)) → ok'(x'(X1, X2))
and'(ok'(X1), ok'(X2)) → ok'(and'(X1, X2))
isNatKind'(ok'(X)) → ok'(isNatKind'(X))
top'(mark'(X)) → top'(proper'(X))
top'(ok'(X)) → top'(active'(X))
Types:
active' :: tt':mark':0':ok' → tt':mark':0':ok'
U11' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
tt' :: tt':mark':0':ok'
mark' :: tt':mark':0':ok' → tt':mark':0':ok'
U12' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
isNat' :: tt':mark':0':ok' → tt':mark':0':ok'
U13' :: tt':mark':0':ok' → tt':mark':0':ok'
U21' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U22' :: tt':mark':0':ok' → tt':mark':0':ok'
U31' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U32' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U33' :: tt':mark':0':ok' → tt':mark':0':ok'
U41' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U51' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
s' :: tt':mark':0':ok' → tt':mark':0':ok'
plus' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U61' :: tt':mark':0':ok' → tt':mark':0':ok'
0' :: tt':mark':0':ok'
U71' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
x' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
and' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
isNatKind' :: tt':mark':0':ok' → tt':mark':0':ok'
proper' :: tt':mark':0':ok' → tt':mark':0':ok'
ok' :: tt':mark':0':ok' → tt':mark':0':ok'
top' :: tt':mark':0':ok' → top'
_hole_tt':mark':0':ok'1 :: tt':mark':0':ok'
_hole_top'2 :: top'
_gen_tt':mark':0':ok'3 :: Nat → tt':mark':0':ok'
Lemmas:
U12'(_gen_tt':mark':0':ok'3(+(1, _n5)), _gen_tt':mark':0':ok'3(b)) → _*4, rt ∈ Ω(n5)
U13'(_gen_tt':mark':0':ok'3(+(1, _n5352))) → _*4, rt ∈ Ω(n5352)
U22'(_gen_tt':mark':0':ok'3(+(1, _n8962))) → _*4, rt ∈ Ω(n8962)
U32'(_gen_tt':mark':0':ok'3(+(1, _n12696)), _gen_tt':mark':0':ok'3(b)) → _*4, rt ∈ Ω(n12696)
U33'(_gen_tt':mark':0':ok'3(+(1, _n18877))) → _*4, rt ∈ Ω(n18877)
s'(_gen_tt':mark':0':ok'3(+(1, _n22926))) → _*4, rt ∈ Ω(n22926)
plus'(_gen_tt':mark':0':ok'3(+(1, _n27099)), _gen_tt':mark':0':ok'3(b)) → _*4, rt ∈ Ω(n27099)
x'(_gen_tt':mark':0':ok'3(+(1, _n34349)), _gen_tt':mark':0':ok'3(b)) → _*4, rt ∈ Ω(n34349)
U11'(_gen_tt':mark':0':ok'3(+(1, _n41967)), _gen_tt':mark':0':ok'3(b), _gen_tt':mark':0':ok'3(c)) → _*4, rt ∈ Ω(n41967)
and'(_gen_tt':mark':0':ok'3(+(1, _n52936)), _gen_tt':mark':0':ok'3(b)) → _*4, rt ∈ Ω(n52936)
U21'(_gen_tt':mark':0':ok'3(+(1, _n61292)), _gen_tt':mark':0':ok'3(b)) → _*4, rt ∈ Ω(n61292)
U31'(_gen_tt':mark':0':ok'3(+(1, _n69922)), _gen_tt':mark':0':ok'3(b), _gen_tt':mark':0':ok'3(c)) → _*4, rt ∈ Ω(n69922)
U41'(_gen_tt':mark':0':ok'3(+(1, _n82713)), _gen_tt':mark':0':ok'3(b)) → _*4, rt ∈ Ω(n82713)
U51'(_gen_tt':mark':0':ok'3(+(1, _n92206)), _gen_tt':mark':0':ok'3(b), _gen_tt':mark':0':ok'3(c)) → _*4, rt ∈ Ω(n92206)
U61'(_gen_tt':mark':0':ok'3(+(1, _n106274))) → _*4, rt ∈ Ω(n106274)
Generator Equations:
_gen_tt':mark':0':ok'3(0) ⇔ tt'
_gen_tt':mark':0':ok'3(+(x, 1)) ⇔ mark'(_gen_tt':mark':0':ok'3(x))
The following defined symbols remain to be analysed:
U71', active', proper', top'
They will be analysed ascendingly in the following order:
U71' < active'
active' < top'
U71' < proper'
proper' < top'
Proved the following rewrite lemma:
U71'(_gen_tt':mark':0':ok'3(+(1, _n112300)), _gen_tt':mark':0':ok'3(b), _gen_tt':mark':0':ok'3(c)) → _*4, rt ∈ Ω(n112300)
Induction Base:
U71'(_gen_tt':mark':0':ok'3(+(1, 0)), _gen_tt':mark':0':ok'3(b), _gen_tt':mark':0':ok'3(c))
Induction Step:
U71'(_gen_tt':mark':0':ok'3(+(1, +(_$n112301, 1))), _gen_tt':mark':0':ok'3(_b120279), _gen_tt':mark':0':ok'3(_c120280)) →RΩ(1)
mark'(U71'(_gen_tt':mark':0':ok'3(+(1, _$n112301)), _gen_tt':mark':0':ok'3(_b120279), _gen_tt':mark':0':ok'3(_c120280))) →IH
mark'(_*4)
We have rt ∈ Ω(n) and sz ∈ O(n). Thus, we have ircR ∈ Ω(n).
Rules:
active'(U11'(tt', V1, V2)) → mark'(U12'(isNat'(V1), V2))
active'(U12'(tt', V2)) → mark'(U13'(isNat'(V2)))
active'(U13'(tt')) → mark'(tt')
active'(U21'(tt', V1)) → mark'(U22'(isNat'(V1)))
active'(U22'(tt')) → mark'(tt')
active'(U31'(tt', V1, V2)) → mark'(U32'(isNat'(V1), V2))
active'(U32'(tt', V2)) → mark'(U33'(isNat'(V2)))
active'(U33'(tt')) → mark'(tt')
active'(U41'(tt', N)) → mark'(N)
active'(U51'(tt', M, N)) → mark'(s'(plus'(N, M)))
active'(U61'(tt')) → mark'(0')
active'(U71'(tt', M, N)) → mark'(plus'(x'(N, M), N))
active'(and'(tt', X)) → mark'(X)
active'(isNat'(0')) → mark'(tt')
active'(isNat'(plus'(V1, V2))) → mark'(U11'(and'(isNatKind'(V1), isNatKind'(V2)), V1, V2))
active'(isNat'(s'(V1))) → mark'(U21'(isNatKind'(V1), V1))
active'(isNat'(x'(V1, V2))) → mark'(U31'(and'(isNatKind'(V1), isNatKind'(V2)), V1, V2))
active'(isNatKind'(0')) → mark'(tt')
active'(isNatKind'(plus'(V1, V2))) → mark'(and'(isNatKind'(V1), isNatKind'(V2)))
active'(isNatKind'(s'(V1))) → mark'(isNatKind'(V1))
active'(isNatKind'(x'(V1, V2))) → mark'(and'(isNatKind'(V1), isNatKind'(V2)))
active'(plus'(N, 0')) → mark'(U41'(and'(isNat'(N), isNatKind'(N)), N))
active'(plus'(N, s'(M))) → mark'(U51'(and'(and'(isNat'(M), isNatKind'(M)), and'(isNat'(N), isNatKind'(N))), M, N))
active'(x'(N, 0')) → mark'(U61'(and'(isNat'(N), isNatKind'(N))))
active'(x'(N, s'(M))) → mark'(U71'(and'(and'(isNat'(M), isNatKind'(M)), and'(isNat'(N), isNatKind'(N))), M, N))
active'(U11'(X1, X2, X3)) → U11'(active'(X1), X2, X3)
active'(U12'(X1, X2)) → U12'(active'(X1), X2)
active'(U13'(X)) → U13'(active'(X))
active'(U21'(X1, X2)) → U21'(active'(X1), X2)
active'(U22'(X)) → U22'(active'(X))
active'(U31'(X1, X2, X3)) → U31'(active'(X1), X2, X3)
active'(U32'(X1, X2)) → U32'(active'(X1), X2)
active'(U33'(X)) → U33'(active'(X))
active'(U41'(X1, X2)) → U41'(active'(X1), X2)
active'(U51'(X1, X2, X3)) → U51'(active'(X1), X2, X3)
active'(s'(X)) → s'(active'(X))
active'(plus'(X1, X2)) → plus'(active'(X1), X2)
active'(plus'(X1, X2)) → plus'(X1, active'(X2))
active'(U61'(X)) → U61'(active'(X))
active'(U71'(X1, X2, X3)) → U71'(active'(X1), X2, X3)
active'(x'(X1, X2)) → x'(active'(X1), X2)
active'(x'(X1, X2)) → x'(X1, active'(X2))
active'(and'(X1, X2)) → and'(active'(X1), X2)
U11'(mark'(X1), X2, X3) → mark'(U11'(X1, X2, X3))
U12'(mark'(X1), X2) → mark'(U12'(X1, X2))
U13'(mark'(X)) → mark'(U13'(X))
U21'(mark'(X1), X2) → mark'(U21'(X1, X2))
U22'(mark'(X)) → mark'(U22'(X))
U31'(mark'(X1), X2, X3) → mark'(U31'(X1, X2, X3))
U32'(mark'(X1), X2) → mark'(U32'(X1, X2))
U33'(mark'(X)) → mark'(U33'(X))
U41'(mark'(X1), X2) → mark'(U41'(X1, X2))
U51'(mark'(X1), X2, X3) → mark'(U51'(X1, X2, X3))
s'(mark'(X)) → mark'(s'(X))
plus'(mark'(X1), X2) → mark'(plus'(X1, X2))
plus'(X1, mark'(X2)) → mark'(plus'(X1, X2))
U61'(mark'(X)) → mark'(U61'(X))
U71'(mark'(X1), X2, X3) → mark'(U71'(X1, X2, X3))
x'(mark'(X1), X2) → mark'(x'(X1, X2))
x'(X1, mark'(X2)) → mark'(x'(X1, X2))
and'(mark'(X1), X2) → mark'(and'(X1, X2))
proper'(U11'(X1, X2, X3)) → U11'(proper'(X1), proper'(X2), proper'(X3))
proper'(tt') → ok'(tt')
proper'(U12'(X1, X2)) → U12'(proper'(X1), proper'(X2))
proper'(isNat'(X)) → isNat'(proper'(X))
proper'(U13'(X)) → U13'(proper'(X))
proper'(U21'(X1, X2)) → U21'(proper'(X1), proper'(X2))
proper'(U22'(X)) → U22'(proper'(X))
proper'(U31'(X1, X2, X3)) → U31'(proper'(X1), proper'(X2), proper'(X3))
proper'(U32'(X1, X2)) → U32'(proper'(X1), proper'(X2))
proper'(U33'(X)) → U33'(proper'(X))
proper'(U41'(X1, X2)) → U41'(proper'(X1), proper'(X2))
proper'(U51'(X1, X2, X3)) → U51'(proper'(X1), proper'(X2), proper'(X3))
proper'(s'(X)) → s'(proper'(X))
proper'(plus'(X1, X2)) → plus'(proper'(X1), proper'(X2))
proper'(U61'(X)) → U61'(proper'(X))
proper'(0') → ok'(0')
proper'(U71'(X1, X2, X3)) → U71'(proper'(X1), proper'(X2), proper'(X3))
proper'(x'(X1, X2)) → x'(proper'(X1), proper'(X2))
proper'(and'(X1, X2)) → and'(proper'(X1), proper'(X2))
proper'(isNatKind'(X)) → isNatKind'(proper'(X))
U11'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U11'(X1, X2, X3))
U12'(ok'(X1), ok'(X2)) → ok'(U12'(X1, X2))
isNat'(ok'(X)) → ok'(isNat'(X))
U13'(ok'(X)) → ok'(U13'(X))
U21'(ok'(X1), ok'(X2)) → ok'(U21'(X1, X2))
U22'(ok'(X)) → ok'(U22'(X))
U31'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U31'(X1, X2, X3))
U32'(ok'(X1), ok'(X2)) → ok'(U32'(X1, X2))
U33'(ok'(X)) → ok'(U33'(X))
U41'(ok'(X1), ok'(X2)) → ok'(U41'(X1, X2))
U51'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U51'(X1, X2, X3))
s'(ok'(X)) → ok'(s'(X))
plus'(ok'(X1), ok'(X2)) → ok'(plus'(X1, X2))
U61'(ok'(X)) → ok'(U61'(X))
U71'(ok'(X1), ok'(X2), ok'(X3)) → ok'(U71'(X1, X2, X3))
x'(ok'(X1), ok'(X2)) → ok'(x'(X1, X2))
and'(ok'(X1), ok'(X2)) → ok'(and'(X1, X2))
isNatKind'(ok'(X)) → ok'(isNatKind'(X))
top'(mark'(X)) → top'(proper'(X))
top'(ok'(X)) → top'(active'(X))
Types:
active' :: tt':mark':0':ok' → tt':mark':0':ok'
U11' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
tt' :: tt':mark':0':ok'
mark' :: tt':mark':0':ok' → tt':mark':0':ok'
U12' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
isNat' :: tt':mark':0':ok' → tt':mark':0':ok'
U13' :: tt':mark':0':ok' → tt':mark':0':ok'
U21' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U22' :: tt':mark':0':ok' → tt':mark':0':ok'
U31' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U32' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U33' :: tt':mark':0':ok' → tt':mark':0':ok'
U41' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U51' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
s' :: tt':mark':0':ok' → tt':mark':0':ok'
plus' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
U61' :: tt':mark':0':ok' → tt':mark':0':ok'
0' :: tt':mark':0':ok'
U71' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
x' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
and' :: tt':mark':0':ok' → tt':mark':0':ok' → tt':mark':0':ok'
isNatKind' :: tt':mark':0':ok' → tt':mark':0':ok'
proper' :: tt':mark':0':ok' → tt':mark':0':ok'
ok' :: tt':mark':0':ok' → tt':mark':0':ok'
top' :: tt':mark':0':ok' → top'
_hole_tt':mark':0':ok'1 :: tt':mark':0':ok'
_hole_top'2 :: top'
_gen_tt':mark':0':ok'3 :: Nat → tt':mark':0':ok'
Lemmas:
U12'(_gen_tt':mark':0':ok'3(+(1, _n5)), _gen_tt':mark':0':ok'3(b)) → _*4, rt ∈ Ω(n5)
U13'(_gen_tt':mark':0':ok'3(+(1, _n5352))) → _*4, rt ∈ Ω(n5352)
U22'(_gen_tt':mark':0':ok'3(+(1, _n8962))) → _*4, rt ∈ Ω(n8962)
U32'(_gen_tt':mark':0':ok'3(+(1, _n12696)), _gen_tt':mark':0':ok'3(b)) → _*4, rt ∈ Ω(n12696)
U33'(_gen_tt':mark':0':ok'3(+(1, _n18877))) → _*4, rt ∈ Ω(n18877)
s'(_gen_tt':mark':0':ok'3(+(1, _n22926))) → _*4, rt ∈ Ω(n22926)
plus'(_gen_tt':mark':0':ok'3(+(1, _n27099)), _gen_tt':mark':0':ok'3(b)) → _*4, rt ∈ Ω(n27099)
x'(_gen_tt':mark':0':ok'3(+(1, _n34349)), _gen_tt':mark':0':ok'3(b)) → _*4, rt ∈ Ω(n34349)
U11'(_gen_tt':mark':0':ok'3(+(1, _n41967)), _gen_tt':mark':0':ok'3(b), _gen_tt':mark':0':ok'3(c)) → _*4, rt ∈ Ω(n41967)
and'(_gen_tt':mark':0':ok'3(+(1, _n52936)), _gen_tt':mark':0':ok'3(b)) → _*4, rt ∈ Ω(n52936)
U21'(_gen_tt':mark':0':ok'3(+(1, _n61292)), _gen_tt':mark':0':ok'3(b)) → _*4, rt ∈ Ω(n61292)
U31'(_gen_tt':mark':0':ok'3(+(1, _n69922)), _gen_tt':mark':0':ok'3(b), _gen_tt':mark':0':ok'3(c)) → _*4, rt ∈ Ω(n69922)
U41'(_gen_tt':mark':0':ok'3(+(1, _n82713)), _gen_tt':mark':0':ok'3(b)) → _*4, rt ∈ Ω(n82713)
U51'(_gen_tt':mark':0':ok'3(+(1, _n92206)), _gen_tt':mark':0':ok'3(b), _gen_tt':mark':0':ok'3(c)) → _*4, rt ∈ Ω(n92206)
U61'(_gen_tt':mark':0':ok'3(+(1, _n106274))) → _*4, rt ∈ Ω(n106274)
U71'(_gen_tt':mark':0':ok'3(+(1, _n112300)), _gen_tt':mark':0':ok'3(b), _gen_tt':mark':0':ok'3(c)) → _*4, rt ∈ Ω(n112300)
Generator Equations:
_gen_tt':mark':0':ok'3(0) ⇔ tt'
_gen_tt':mark':0':ok'3(+(x, 1)) ⇔ mark'(_gen_tt':mark':0':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'