0 CpxTRS
↳1 NestedDefinedSymbolProof (BOTH BOUNDS(ID, ID), 29 ms)
↳2 CpxTRS
↳3 TrsToWeightedTrsProof (BOTH BOUNDS(ID, ID), 0 ms)
↳4 CpxWeightedTrs
↳5 InnermostUnusableRulesProof (BOTH BOUNDS(ID, ID), 0 ms)
↳6 CpxWeightedTrs
↳7 TypeInferenceProof (BOTH BOUNDS(ID, ID), 0 ms)
↳8 CpxTypedWeightedTrs
↳9 CompletionProof (UPPER BOUND(ID), 0 ms)
↳10 CpxTypedWeightedCompleteTrs
↳11 NarrowingProof (BOTH BOUNDS(ID, ID), 0 ms)
↳12 CpxTypedWeightedCompleteTrs
↳13 CpxTypedWeightedTrsToRntsProof (UPPER BOUND(ID), 13 ms)
↳14 CpxRNTS
↳15 InliningProof (UPPER BOUND(ID), 174 ms)
↳16 CpxRNTS
↳17 SimplificationProof (BOTH BOUNDS(ID, ID), 0 ms)
↳18 CpxRNTS
↳19 CpxRntsAnalysisOrderProof (BOTH BOUNDS(ID, ID), 0 ms)
↳20 CpxRNTS
↳21 IntTrsBoundProof (UPPER BOUND(ID), 211 ms)
↳22 CpxRNTS
↳23 IntTrsBoundProof (UPPER BOUND(ID), 46 ms)
↳24 CpxRNTS
↳25 ResultPropagationProof (UPPER BOUND(ID), 0 ms)
↳26 CpxRNTS
↳27 IntTrsBoundProof (UPPER BOUND(ID), 42 ms)
↳28 CpxRNTS
↳29 IntTrsBoundProof (UPPER BOUND(ID), 16 ms)
↳30 CpxRNTS
↳31 ResultPropagationProof (UPPER BOUND(ID), 0 ms)
↳32 CpxRNTS
↳33 IntTrsBoundProof (UPPER BOUND(ID), 157 ms)
↳34 CpxRNTS
↳35 IntTrsBoundProof (UPPER BOUND(ID), 5 ms)
↳36 CpxRNTS
↳37 ResultPropagationProof (UPPER BOUND(ID), 0 ms)
↳38 CpxRNTS
↳39 IntTrsBoundProof (UPPER BOUND(ID), 168 ms)
↳40 CpxRNTS
↳41 IntTrsBoundProof (UPPER BOUND(ID), 68 ms)
↳42 CpxRNTS
↳43 ResultPropagationProof (UPPER BOUND(ID), 0 ms)
↳44 CpxRNTS
↳45 IntTrsBoundProof (UPPER BOUND(ID), 123 ms)
↳46 CpxRNTS
↳47 IntTrsBoundProof (UPPER BOUND(ID), 76 ms)
↳48 CpxRNTS
↳49 ResultPropagationProof (UPPER BOUND(ID), 0 ms)
↳50 CpxRNTS
↳51 IntTrsBoundProof (UPPER BOUND(ID), 136 ms)
↳52 CpxRNTS
↳53 IntTrsBoundProof (UPPER BOUND(ID), 4 ms)
↳54 CpxRNTS
↳55 ResultPropagationProof (UPPER BOUND(ID), 0 ms)
↳56 CpxRNTS
↳57 IntTrsBoundProof (UPPER BOUND(ID), 4281 ms)
↳58 CpxRNTS
↳59 IntTrsBoundProof (UPPER BOUND(ID), 1643 ms)
↳60 CpxRNTS
↳61 FinalProof (⇔, 0 ms)
↳62 BOUNDS(1, n^1)
terms(N) → cons(recip(sqr(N)), n__terms(n__s(N)))
sqr(0) → 0
sqr(s(X)) → s(add(sqr(X), dbl(X)))
dbl(0) → 0
dbl(s(X)) → s(s(dbl(X)))
add(0, X) → X
add(s(X), Y) → s(add(X, Y))
first(0, X) → nil
first(s(X), cons(Y, Z)) → cons(Y, n__first(X, activate(Z)))
terms(X) → n__terms(X)
s(X) → n__s(X)
first(X1, X2) → n__first(X1, X2)
activate(n__terms(X)) → terms(activate(X))
activate(n__s(X)) → s(activate(X))
activate(n__first(X1, X2)) → first(activate(X1), activate(X2))
activate(X) → X
dbl(0) → 0
first(s(X), cons(Y, Z)) → cons(Y, n__first(X, activate(Z)))
terms(X) → n__terms(X)
terms(N) → cons(recip(sqr(N)), n__terms(n__s(N)))
first(0, X) → nil
activate(X) → X
sqr(0) → 0
add(0, X) → X
activate(n__s(X)) → s(activate(X))
activate(n__terms(X)) → terms(activate(X))
add(s(X), Y) → s(add(X, Y))
first(X1, X2) → n__first(X1, X2)
sqr(s(X)) → s(add(sqr(X), dbl(X)))
activate(n__first(X1, X2)) → first(activate(X1), activate(X2))
s(X) → n__s(X)
dbl(0) → 0 [1]
first(s(X), cons(Y, Z)) → cons(Y, n__first(X, activate(Z))) [1]
terms(X) → n__terms(X) [1]
terms(N) → cons(recip(sqr(N)), n__terms(n__s(N))) [1]
first(0, X) → nil [1]
activate(X) → X [1]
sqr(0) → 0 [1]
add(0, X) → X [1]
activate(n__s(X)) → s(activate(X)) [1]
activate(n__terms(X)) → terms(activate(X)) [1]
add(s(X), Y) → s(add(X, Y)) [1]
first(X1, X2) → n__first(X1, X2) [1]
sqr(s(X)) → s(add(sqr(X), dbl(X))) [1]
activate(n__first(X1, X2)) → first(activate(X1), activate(X2)) [1]
s(X) → n__s(X) [1]
first(s(X), cons(Y, Z)) → cons(Y, n__first(X, activate(Z))) [1]
add(s(X), Y) → s(add(X, Y)) [1]
sqr(s(X)) → s(add(sqr(X), dbl(X))) [1]
s(X) → n__s(X) [1]
dbl(0) → 0 [1]
terms(X) → n__terms(X) [1]
terms(N) → cons(recip(sqr(N)), n__terms(n__s(N))) [1]
first(0, X) → nil [1]
activate(X) → X [1]
sqr(0) → 0 [1]
add(0, X) → X [1]
activate(n__s(X)) → s(activate(X)) [1]
activate(n__terms(X)) → terms(activate(X)) [1]
first(X1, X2) → n__first(X1, X2) [1]
activate(n__first(X1, X2)) → first(activate(X1), activate(X2)) [1]
s(X) → n__s(X) [1]
dbl(0) → 0 [1]
terms(X) → n__terms(X) [1]
terms(N) → cons(recip(sqr(N)), n__terms(n__s(N))) [1]
first(0, X) → nil [1]
activate(X) → X [1]
sqr(0) → 0 [1]
add(0, X) → X [1]
activate(n__s(X)) → s(activate(X)) [1]
activate(n__terms(X)) → terms(activate(X)) [1]
first(X1, X2) → n__first(X1, X2) [1]
activate(n__first(X1, X2)) → first(activate(X1), activate(X2)) [1]
s(X) → n__s(X) [1]
dbl :: 0:n__terms:n__s:cons:nil:n__first → 0:n__terms:n__s:cons:nil:n__first 0 :: 0:n__terms:n__s:cons:nil:n__first terms :: 0:n__terms:n__s:cons:nil:n__first → 0:n__terms:n__s:cons:nil:n__first n__terms :: 0:n__terms:n__s:cons:nil:n__first → 0:n__terms:n__s:cons:nil:n__first cons :: recip → 0:n__terms:n__s:cons:nil:n__first → 0:n__terms:n__s:cons:nil:n__first recip :: 0:n__terms:n__s:cons:nil:n__first → recip sqr :: 0:n__terms:n__s:cons:nil:n__first → 0:n__terms:n__s:cons:nil:n__first n__s :: 0:n__terms:n__s:cons:nil:n__first → 0:n__terms:n__s:cons:nil:n__first first :: 0:n__terms:n__s:cons:nil:n__first → 0:n__terms:n__s:cons:nil:n__first → 0:n__terms:n__s:cons:nil:n__first nil :: 0:n__terms:n__s:cons:nil:n__first activate :: 0:n__terms:n__s:cons:nil:n__first → 0:n__terms:n__s:cons:nil:n__first add :: 0:n__terms:n__s:cons:nil:n__first → add → add s :: 0:n__terms:n__s:cons:nil:n__first → 0:n__terms:n__s:cons:nil:n__first n__first :: 0:n__terms:n__s:cons:nil:n__first → 0:n__terms:n__s:cons:nil:n__first → 0:n__terms:n__s:cons:nil:n__first |
(a) The obligation is a constructor system where every type has a constant constructor,
(b) The following defined symbols do not have to be completely defined, as they can never occur inside other defined symbols:
dbl
add
activate
terms
first
sqr
s
sqr(v0) → null_sqr [0]
null_sqr, const, const1
Runtime Complexity Weighted TRS with Types. The TRS R consists of the following rules:
The TRS has the following type information:
Rewrite Strategy: INNERMOST |
Runtime Complexity Weighted TRS with Types. The TRS R consists of the following rules:
The TRS has the following type information:
Rewrite Strategy: INNERMOST |
0 => 0
nil => 1
null_sqr => 0
const => 0
const1 => 0
activate(z) -{ 1 }→ X :|: X >= 0, z = X
activate(z) -{ 2 }→ terms(X) :|: z = 1 + X, X >= 0
activate(z) -{ 2 }→ terms(terms(activate(X4))) :|: z = 1 + (1 + X4), X4 >= 0
activate(z) -{ 2 }→ terms(s(activate(X3))) :|: z = 1 + (1 + X3), X3 >= 0
activate(z) -{ 2 }→ terms(first(activate(X1''), activate(X2''))) :|: X1'' >= 0, z = 1 + (1 + X1'' + X2''), X2'' >= 0
activate(z) -{ 2 }→ s(X) :|: z = 1 + X, X >= 0
activate(z) -{ 2 }→ s(terms(activate(X''))) :|: z = 1 + (1 + X''), X'' >= 0
activate(z) -{ 2 }→ s(s(activate(X'))) :|: X' >= 0, z = 1 + (1 + X')
activate(z) -{ 2 }→ s(first(activate(X1'), activate(X2'))) :|: z = 1 + (1 + X1' + X2'), X2' >= 0, X1' >= 0
activate(z) -{ 3 }→ first(X1, X2) :|: X1 >= 0, X2 >= 0, z = 1 + X1 + X2
activate(z) -{ 3 }→ first(X1, terms(activate(X8))) :|: X1 >= 0, z = 1 + X1 + (1 + X8), X8 >= 0
activate(z) -{ 3 }→ first(X1, s(activate(X7))) :|: z = 1 + X1 + (1 + X7), X1 >= 0, X7 >= 0
activate(z) -{ 3 }→ first(X1, first(activate(X12), activate(X22))) :|: X1 >= 0, X12 >= 0, X22 >= 0, z = 1 + X1 + (1 + X12 + X22)
activate(z) -{ 3 }→ first(terms(activate(X6)), X2) :|: X6 >= 0, z = 1 + (1 + X6) + X2, X2 >= 0
activate(z) -{ 3 }→ first(terms(activate(X6)), terms(activate(X15))) :|: X6 >= 0, z = 1 + (1 + X6) + (1 + X15), X15 >= 0
activate(z) -{ 3 }→ first(terms(activate(X6)), s(activate(X14))) :|: z = 1 + (1 + X6) + (1 + X14), X6 >= 0, X14 >= 0
activate(z) -{ 3 }→ first(terms(activate(X6)), first(activate(X16), activate(X24))) :|: X16 >= 0, z = 1 + (1 + X6) + (1 + X16 + X24), X6 >= 0, X24 >= 0
activate(z) -{ 3 }→ first(s(activate(X5)), X2) :|: X5 >= 0, z = 1 + (1 + X5) + X2, X2 >= 0
activate(z) -{ 3 }→ first(s(activate(X5)), terms(activate(X10))) :|: X5 >= 0, X10 >= 0, z = 1 + (1 + X5) + (1 + X10)
activate(z) -{ 3 }→ first(s(activate(X5)), s(activate(X9))) :|: X5 >= 0, X9 >= 0, z = 1 + (1 + X5) + (1 + X9)
activate(z) -{ 3 }→ first(s(activate(X5)), first(activate(X13), activate(X23))) :|: X5 >= 0, z = 1 + (1 + X5) + (1 + X13 + X23), X13 >= 0, X23 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), X2) :|: z = 1 + (1 + X11 + X21) + X2, X11 >= 0, X21 >= 0, X2 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), terms(activate(X18))) :|: z = 1 + (1 + X11 + X21) + (1 + X18), X11 >= 0, X21 >= 0, X18 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), s(activate(X17))) :|: z = 1 + (1 + X11 + X21) + (1 + X17), X11 >= 0, X21 >= 0, X17 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), first(activate(X19), activate(X25))) :|: X11 >= 0, X21 >= 0, X19 >= 0, X25 >= 0, z = 1 + (1 + X11 + X21) + (1 + X19 + X25)
add(z, z') -{ 1 }→ X :|: z' = X, X >= 0, z = 0
dbl(z) -{ 1 }→ 0 :|: z = 0
first(z, z') -{ 1 }→ 1 :|: z' = X, X >= 0, z = 0
first(z, z') -{ 1 }→ 1 + X1 + X2 :|: X1 >= 0, X2 >= 0, z = X1, z' = X2
s(z) -{ 1 }→ 1 + X :|: X >= 0, z = X
sqr(z) -{ 1 }→ 0 :|: z = 0
sqr(z) -{ 0 }→ 0 :|: v0 >= 0, z = v0
terms(z) -{ 1 }→ 1 + X :|: X >= 0, z = X
terms(z) -{ 1 }→ 1 + (1 + sqr(N)) + (1 + (1 + N)) :|: z = N, N >= 0
first(z, z') -{ 1 }→ 1 :|: z' = X, X >= 0, z = 0
first(z, z') -{ 1 }→ 1 + X1 + X2 :|: X1 >= 0, X2 >= 0, z = X1, z' = X2
sqr(z) -{ 1 }→ 0 :|: z = 0
sqr(z) -{ 0 }→ 0 :|: v0 >= 0, z = v0
s(z) -{ 1 }→ 1 + X :|: X >= 0, z = X
terms(z) -{ 1 }→ 1 + X :|: X >= 0, z = X
terms(z) -{ 1 }→ 1 + (1 + sqr(N)) + (1 + (1 + N)) :|: z = N, N >= 0
activate(z) -{ 1 }→ X :|: X >= 0, z = X
activate(z) -{ 2 }→ terms(terms(activate(X4))) :|: z = 1 + (1 + X4), X4 >= 0
activate(z) -{ 2 }→ terms(s(activate(X3))) :|: z = 1 + (1 + X3), X3 >= 0
activate(z) -{ 2 }→ terms(first(activate(X1''), activate(X2''))) :|: X1'' >= 0, z = 1 + (1 + X1'' + X2''), X2'' >= 0
activate(z) -{ 2 }→ s(terms(activate(X''))) :|: z = 1 + (1 + X''), X'' >= 0
activate(z) -{ 2 }→ s(s(activate(X'))) :|: X' >= 0, z = 1 + (1 + X')
activate(z) -{ 2 }→ s(first(activate(X1'), activate(X2'))) :|: z = 1 + (1 + X1' + X2'), X2' >= 0, X1' >= 0
activate(z) -{ 3 }→ first(X1, terms(activate(X8))) :|: X1 >= 0, z = 1 + X1 + (1 + X8), X8 >= 0
activate(z) -{ 3 }→ first(X1, s(activate(X7))) :|: z = 1 + X1 + (1 + X7), X1 >= 0, X7 >= 0
activate(z) -{ 3 }→ first(X1, first(activate(X12), activate(X22))) :|: X1 >= 0, X12 >= 0, X22 >= 0, z = 1 + X1 + (1 + X12 + X22)
activate(z) -{ 3 }→ first(terms(activate(X6)), X2) :|: X6 >= 0, z = 1 + (1 + X6) + X2, X2 >= 0
activate(z) -{ 3 }→ first(terms(activate(X6)), terms(activate(X15))) :|: X6 >= 0, z = 1 + (1 + X6) + (1 + X15), X15 >= 0
activate(z) -{ 3 }→ first(terms(activate(X6)), s(activate(X14))) :|: z = 1 + (1 + X6) + (1 + X14), X6 >= 0, X14 >= 0
activate(z) -{ 3 }→ first(terms(activate(X6)), first(activate(X16), activate(X24))) :|: X16 >= 0, z = 1 + (1 + X6) + (1 + X16 + X24), X6 >= 0, X24 >= 0
activate(z) -{ 3 }→ first(s(activate(X5)), X2) :|: X5 >= 0, z = 1 + (1 + X5) + X2, X2 >= 0
activate(z) -{ 3 }→ first(s(activate(X5)), terms(activate(X10))) :|: X5 >= 0, X10 >= 0, z = 1 + (1 + X5) + (1 + X10)
activate(z) -{ 3 }→ first(s(activate(X5)), s(activate(X9))) :|: X5 >= 0, X9 >= 0, z = 1 + (1 + X5) + (1 + X9)
activate(z) -{ 3 }→ first(s(activate(X5)), first(activate(X13), activate(X23))) :|: X5 >= 0, z = 1 + (1 + X5) + (1 + X13 + X23), X13 >= 0, X23 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), X2) :|: z = 1 + (1 + X11 + X21) + X2, X11 >= 0, X21 >= 0, X2 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), terms(activate(X18))) :|: z = 1 + (1 + X11 + X21) + (1 + X18), X11 >= 0, X21 >= 0, X18 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), s(activate(X17))) :|: z = 1 + (1 + X11 + X21) + (1 + X17), X11 >= 0, X21 >= 0, X17 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), first(activate(X19), activate(X25))) :|: X11 >= 0, X21 >= 0, X19 >= 0, X25 >= 0, z = 1 + (1 + X11 + X21) + (1 + X19 + X25)
activate(z) -{ 4 }→ 1 :|: X1 >= 0, X2 >= 0, z = 1 + X1 + X2, X2 = X, X >= 0, X1 = 0
activate(z) -{ 3 }→ 1 + X' :|: z = 1 + X, X >= 0, X' >= 0, X = X'
activate(z) -{ 4 }→ 1 + X1' + X2' :|: X1 >= 0, X2 >= 0, z = 1 + X1 + X2, X1' >= 0, X2' >= 0, X1 = X1', X2 = X2'
activate(z) -{ 3 }→ 1 + (1 + sqr(N)) + (1 + (1 + N)) :|: z = 1 + X, X >= 0, X = N, N >= 0
add(z, z') -{ 1 }→ X :|: z' = X, X >= 0, z = 0
dbl(z) -{ 1 }→ 0 :|: z = 0
first(z, z') -{ 1 }→ 1 :|: z' = X, X >= 0, z = 0
first(z, z') -{ 1 }→ 1 + X1 + X2 :|: X1 >= 0, X2 >= 0, z = X1, z' = X2
s(z) -{ 1 }→ 1 + X :|: X >= 0, z = X
sqr(z) -{ 1 }→ 0 :|: z = 0
sqr(z) -{ 0 }→ 0 :|: v0 >= 0, z = v0
terms(z) -{ 1 }→ 1 + X :|: X >= 0, z = X
terms(z) -{ 2 }→ 1 + (1 + 0) + (1 + (1 + N)) :|: z = N, N >= 0, N = 0
terms(z) -{ 1 }→ 1 + (1 + 0) + (1 + (1 + N)) :|: z = N, N >= 0, v0 >= 0, N = v0
activate(z) -{ 1 }→ z :|: z >= 0
activate(z) -{ 2 }→ terms(terms(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ terms(s(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ terms(first(activate(X1''), activate(X2''))) :|: X1'' >= 0, z = 1 + (1 + X1'' + X2''), X2'' >= 0
activate(z) -{ 2 }→ s(terms(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ s(s(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ s(first(activate(X1'), activate(X2'))) :|: z = 1 + (1 + X1' + X2'), X2' >= 0, X1' >= 0
activate(z) -{ 3 }→ first(X1, terms(activate(X8))) :|: X1 >= 0, z = 1 + X1 + (1 + X8), X8 >= 0
activate(z) -{ 3 }→ first(X1, s(activate(X7))) :|: z = 1 + X1 + (1 + X7), X1 >= 0, X7 >= 0
activate(z) -{ 3 }→ first(X1, first(activate(X12), activate(X22))) :|: X1 >= 0, X12 >= 0, X22 >= 0, z = 1 + X1 + (1 + X12 + X22)
activate(z) -{ 3 }→ first(terms(activate(X6)), X2) :|: X6 >= 0, z = 1 + (1 + X6) + X2, X2 >= 0
activate(z) -{ 3 }→ first(terms(activate(X6)), terms(activate(X15))) :|: X6 >= 0, z = 1 + (1 + X6) + (1 + X15), X15 >= 0
activate(z) -{ 3 }→ first(terms(activate(X6)), s(activate(X14))) :|: z = 1 + (1 + X6) + (1 + X14), X6 >= 0, X14 >= 0
activate(z) -{ 3 }→ first(terms(activate(X6)), first(activate(X16), activate(X24))) :|: X16 >= 0, z = 1 + (1 + X6) + (1 + X16 + X24), X6 >= 0, X24 >= 0
activate(z) -{ 3 }→ first(s(activate(X5)), X2) :|: X5 >= 0, z = 1 + (1 + X5) + X2, X2 >= 0
activate(z) -{ 3 }→ first(s(activate(X5)), terms(activate(X10))) :|: X5 >= 0, X10 >= 0, z = 1 + (1 + X5) + (1 + X10)
activate(z) -{ 3 }→ first(s(activate(X5)), s(activate(X9))) :|: X5 >= 0, X9 >= 0, z = 1 + (1 + X5) + (1 + X9)
activate(z) -{ 3 }→ first(s(activate(X5)), first(activate(X13), activate(X23))) :|: X5 >= 0, z = 1 + (1 + X5) + (1 + X13 + X23), X13 >= 0, X23 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), X2) :|: z = 1 + (1 + X11 + X21) + X2, X11 >= 0, X21 >= 0, X2 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), terms(activate(X18))) :|: z = 1 + (1 + X11 + X21) + (1 + X18), X11 >= 0, X21 >= 0, X18 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), s(activate(X17))) :|: z = 1 + (1 + X11 + X21) + (1 + X17), X11 >= 0, X21 >= 0, X17 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), first(activate(X19), activate(X25))) :|: X11 >= 0, X21 >= 0, X19 >= 0, X25 >= 0, z = 1 + (1 + X11 + X21) + (1 + X19 + X25)
activate(z) -{ 4 }→ 1 :|: X1 >= 0, X2 >= 0, z = 1 + X1 + X2, X2 = X, X >= 0, X1 = 0
activate(z) -{ 3 }→ 1 + X' :|: z - 1 >= 0, X' >= 0, z - 1 = X'
activate(z) -{ 4 }→ 1 + X1' + X2' :|: X1 >= 0, X2 >= 0, z = 1 + X1 + X2, X1' >= 0, X2' >= 0, X1 = X1', X2 = X2'
activate(z) -{ 3 }→ 1 + (1 + sqr(N)) + (1 + (1 + N)) :|: z - 1 >= 0, z - 1 = N, N >= 0
add(z, z') -{ 1 }→ z' :|: z' >= 0, z = 0
dbl(z) -{ 1 }→ 0 :|: z = 0
first(z, z') -{ 1 }→ 1 :|: z' >= 0, z = 0
first(z, z') -{ 1 }→ 1 + z + z' :|: z >= 0, z' >= 0
s(z) -{ 1 }→ 1 + z :|: z >= 0
sqr(z) -{ 1 }→ 0 :|: z = 0
sqr(z) -{ 0 }→ 0 :|: z >= 0
terms(z) -{ 1 }→ 1 + z :|: z >= 0
terms(z) -{ 2 }→ 1 + (1 + 0) + (1 + (1 + z)) :|: z >= 0, z = 0
terms(z) -{ 1 }→ 1 + (1 + 0) + (1 + (1 + z)) :|: z >= 0
{ first } { dbl } { add } { terms } { sqr } { s } { activate } |
activate(z) -{ 1 }→ z :|: z >= 0
activate(z) -{ 2 }→ terms(terms(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ terms(s(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ terms(first(activate(X1''), activate(X2''))) :|: X1'' >= 0, z = 1 + (1 + X1'' + X2''), X2'' >= 0
activate(z) -{ 2 }→ s(terms(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ s(s(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ s(first(activate(X1'), activate(X2'))) :|: z = 1 + (1 + X1' + X2'), X2' >= 0, X1' >= 0
activate(z) -{ 3 }→ first(X1, terms(activate(X8))) :|: X1 >= 0, z = 1 + X1 + (1 + X8), X8 >= 0
activate(z) -{ 3 }→ first(X1, s(activate(X7))) :|: z = 1 + X1 + (1 + X7), X1 >= 0, X7 >= 0
activate(z) -{ 3 }→ first(X1, first(activate(X12), activate(X22))) :|: X1 >= 0, X12 >= 0, X22 >= 0, z = 1 + X1 + (1 + X12 + X22)
activate(z) -{ 3 }→ first(terms(activate(X6)), X2) :|: X6 >= 0, z = 1 + (1 + X6) + X2, X2 >= 0
activate(z) -{ 3 }→ first(terms(activate(X6)), terms(activate(X15))) :|: X6 >= 0, z = 1 + (1 + X6) + (1 + X15), X15 >= 0
activate(z) -{ 3 }→ first(terms(activate(X6)), s(activate(X14))) :|: z = 1 + (1 + X6) + (1 + X14), X6 >= 0, X14 >= 0
activate(z) -{ 3 }→ first(terms(activate(X6)), first(activate(X16), activate(X24))) :|: X16 >= 0, z = 1 + (1 + X6) + (1 + X16 + X24), X6 >= 0, X24 >= 0
activate(z) -{ 3 }→ first(s(activate(X5)), X2) :|: X5 >= 0, z = 1 + (1 + X5) + X2, X2 >= 0
activate(z) -{ 3 }→ first(s(activate(X5)), terms(activate(X10))) :|: X5 >= 0, X10 >= 0, z = 1 + (1 + X5) + (1 + X10)
activate(z) -{ 3 }→ first(s(activate(X5)), s(activate(X9))) :|: X5 >= 0, X9 >= 0, z = 1 + (1 + X5) + (1 + X9)
activate(z) -{ 3 }→ first(s(activate(X5)), first(activate(X13), activate(X23))) :|: X5 >= 0, z = 1 + (1 + X5) + (1 + X13 + X23), X13 >= 0, X23 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), X2) :|: z = 1 + (1 + X11 + X21) + X2, X11 >= 0, X21 >= 0, X2 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), terms(activate(X18))) :|: z = 1 + (1 + X11 + X21) + (1 + X18), X11 >= 0, X21 >= 0, X18 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), s(activate(X17))) :|: z = 1 + (1 + X11 + X21) + (1 + X17), X11 >= 0, X21 >= 0, X17 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), first(activate(X19), activate(X25))) :|: X11 >= 0, X21 >= 0, X19 >= 0, X25 >= 0, z = 1 + (1 + X11 + X21) + (1 + X19 + X25)
activate(z) -{ 4 }→ 1 :|: X1 >= 0, X2 >= 0, z = 1 + X1 + X2, X2 = X, X >= 0, X1 = 0
activate(z) -{ 3 }→ 1 + X' :|: z - 1 >= 0, X' >= 0, z - 1 = X'
activate(z) -{ 4 }→ 1 + X1' + X2' :|: X1 >= 0, X2 >= 0, z = 1 + X1 + X2, X1' >= 0, X2' >= 0, X1 = X1', X2 = X2'
activate(z) -{ 3 }→ 1 + (1 + sqr(N)) + (1 + (1 + N)) :|: z - 1 >= 0, z - 1 = N, N >= 0
add(z, z') -{ 1 }→ z' :|: z' >= 0, z = 0
dbl(z) -{ 1 }→ 0 :|: z = 0
first(z, z') -{ 1 }→ 1 :|: z' >= 0, z = 0
first(z, z') -{ 1 }→ 1 + z + z' :|: z >= 0, z' >= 0
s(z) -{ 1 }→ 1 + z :|: z >= 0
sqr(z) -{ 1 }→ 0 :|: z = 0
sqr(z) -{ 0 }→ 0 :|: z >= 0
terms(z) -{ 1 }→ 1 + z :|: z >= 0
terms(z) -{ 2 }→ 1 + (1 + 0) + (1 + (1 + z)) :|: z >= 0, z = 0
terms(z) -{ 1 }→ 1 + (1 + 0) + (1 + (1 + z)) :|: z >= 0
activate(z) -{ 1 }→ z :|: z >= 0
activate(z) -{ 2 }→ terms(terms(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ terms(s(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ terms(first(activate(X1''), activate(X2''))) :|: X1'' >= 0, z = 1 + (1 + X1'' + X2''), X2'' >= 0
activate(z) -{ 2 }→ s(terms(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ s(s(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ s(first(activate(X1'), activate(X2'))) :|: z = 1 + (1 + X1' + X2'), X2' >= 0, X1' >= 0
activate(z) -{ 3 }→ first(X1, terms(activate(X8))) :|: X1 >= 0, z = 1 + X1 + (1 + X8), X8 >= 0
activate(z) -{ 3 }→ first(X1, s(activate(X7))) :|: z = 1 + X1 + (1 + X7), X1 >= 0, X7 >= 0
activate(z) -{ 3 }→ first(X1, first(activate(X12), activate(X22))) :|: X1 >= 0, X12 >= 0, X22 >= 0, z = 1 + X1 + (1 + X12 + X22)
activate(z) -{ 3 }→ first(terms(activate(X6)), X2) :|: X6 >= 0, z = 1 + (1 + X6) + X2, X2 >= 0
activate(z) -{ 3 }→ first(terms(activate(X6)), terms(activate(X15))) :|: X6 >= 0, z = 1 + (1 + X6) + (1 + X15), X15 >= 0
activate(z) -{ 3 }→ first(terms(activate(X6)), s(activate(X14))) :|: z = 1 + (1 + X6) + (1 + X14), X6 >= 0, X14 >= 0
activate(z) -{ 3 }→ first(terms(activate(X6)), first(activate(X16), activate(X24))) :|: X16 >= 0, z = 1 + (1 + X6) + (1 + X16 + X24), X6 >= 0, X24 >= 0
activate(z) -{ 3 }→ first(s(activate(X5)), X2) :|: X5 >= 0, z = 1 + (1 + X5) + X2, X2 >= 0
activate(z) -{ 3 }→ first(s(activate(X5)), terms(activate(X10))) :|: X5 >= 0, X10 >= 0, z = 1 + (1 + X5) + (1 + X10)
activate(z) -{ 3 }→ first(s(activate(X5)), s(activate(X9))) :|: X5 >= 0, X9 >= 0, z = 1 + (1 + X5) + (1 + X9)
activate(z) -{ 3 }→ first(s(activate(X5)), first(activate(X13), activate(X23))) :|: X5 >= 0, z = 1 + (1 + X5) + (1 + X13 + X23), X13 >= 0, X23 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), X2) :|: z = 1 + (1 + X11 + X21) + X2, X11 >= 0, X21 >= 0, X2 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), terms(activate(X18))) :|: z = 1 + (1 + X11 + X21) + (1 + X18), X11 >= 0, X21 >= 0, X18 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), s(activate(X17))) :|: z = 1 + (1 + X11 + X21) + (1 + X17), X11 >= 0, X21 >= 0, X17 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), first(activate(X19), activate(X25))) :|: X11 >= 0, X21 >= 0, X19 >= 0, X25 >= 0, z = 1 + (1 + X11 + X21) + (1 + X19 + X25)
activate(z) -{ 4 }→ 1 :|: X1 >= 0, X2 >= 0, z = 1 + X1 + X2, X2 = X, X >= 0, X1 = 0
activate(z) -{ 3 }→ 1 + X' :|: z - 1 >= 0, X' >= 0, z - 1 = X'
activate(z) -{ 4 }→ 1 + X1' + X2' :|: X1 >= 0, X2 >= 0, z = 1 + X1 + X2, X1' >= 0, X2' >= 0, X1 = X1', X2 = X2'
activate(z) -{ 3 }→ 1 + (1 + sqr(N)) + (1 + (1 + N)) :|: z - 1 >= 0, z - 1 = N, N >= 0
add(z, z') -{ 1 }→ z' :|: z' >= 0, z = 0
dbl(z) -{ 1 }→ 0 :|: z = 0
first(z, z') -{ 1 }→ 1 :|: z' >= 0, z = 0
first(z, z') -{ 1 }→ 1 + z + z' :|: z >= 0, z' >= 0
s(z) -{ 1 }→ 1 + z :|: z >= 0
sqr(z) -{ 1 }→ 0 :|: z = 0
sqr(z) -{ 0 }→ 0 :|: z >= 0
terms(z) -{ 1 }→ 1 + z :|: z >= 0
terms(z) -{ 2 }→ 1 + (1 + 0) + (1 + (1 + z)) :|: z >= 0, z = 0
terms(z) -{ 1 }→ 1 + (1 + 0) + (1 + (1 + z)) :|: z >= 0
first: runtime: ?, size: O(n1) [1 + z + z'] |
activate(z) -{ 1 }→ z :|: z >= 0
activate(z) -{ 2 }→ terms(terms(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ terms(s(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ terms(first(activate(X1''), activate(X2''))) :|: X1'' >= 0, z = 1 + (1 + X1'' + X2''), X2'' >= 0
activate(z) -{ 2 }→ s(terms(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ s(s(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ s(first(activate(X1'), activate(X2'))) :|: z = 1 + (1 + X1' + X2'), X2' >= 0, X1' >= 0
activate(z) -{ 3 }→ first(X1, terms(activate(X8))) :|: X1 >= 0, z = 1 + X1 + (1 + X8), X8 >= 0
activate(z) -{ 3 }→ first(X1, s(activate(X7))) :|: z = 1 + X1 + (1 + X7), X1 >= 0, X7 >= 0
activate(z) -{ 3 }→ first(X1, first(activate(X12), activate(X22))) :|: X1 >= 0, X12 >= 0, X22 >= 0, z = 1 + X1 + (1 + X12 + X22)
activate(z) -{ 3 }→ first(terms(activate(X6)), X2) :|: X6 >= 0, z = 1 + (1 + X6) + X2, X2 >= 0
activate(z) -{ 3 }→ first(terms(activate(X6)), terms(activate(X15))) :|: X6 >= 0, z = 1 + (1 + X6) + (1 + X15), X15 >= 0
activate(z) -{ 3 }→ first(terms(activate(X6)), s(activate(X14))) :|: z = 1 + (1 + X6) + (1 + X14), X6 >= 0, X14 >= 0
activate(z) -{ 3 }→ first(terms(activate(X6)), first(activate(X16), activate(X24))) :|: X16 >= 0, z = 1 + (1 + X6) + (1 + X16 + X24), X6 >= 0, X24 >= 0
activate(z) -{ 3 }→ first(s(activate(X5)), X2) :|: X5 >= 0, z = 1 + (1 + X5) + X2, X2 >= 0
activate(z) -{ 3 }→ first(s(activate(X5)), terms(activate(X10))) :|: X5 >= 0, X10 >= 0, z = 1 + (1 + X5) + (1 + X10)
activate(z) -{ 3 }→ first(s(activate(X5)), s(activate(X9))) :|: X5 >= 0, X9 >= 0, z = 1 + (1 + X5) + (1 + X9)
activate(z) -{ 3 }→ first(s(activate(X5)), first(activate(X13), activate(X23))) :|: X5 >= 0, z = 1 + (1 + X5) + (1 + X13 + X23), X13 >= 0, X23 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), X2) :|: z = 1 + (1 + X11 + X21) + X2, X11 >= 0, X21 >= 0, X2 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), terms(activate(X18))) :|: z = 1 + (1 + X11 + X21) + (1 + X18), X11 >= 0, X21 >= 0, X18 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), s(activate(X17))) :|: z = 1 + (1 + X11 + X21) + (1 + X17), X11 >= 0, X21 >= 0, X17 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), first(activate(X19), activate(X25))) :|: X11 >= 0, X21 >= 0, X19 >= 0, X25 >= 0, z = 1 + (1 + X11 + X21) + (1 + X19 + X25)
activate(z) -{ 4 }→ 1 :|: X1 >= 0, X2 >= 0, z = 1 + X1 + X2, X2 = X, X >= 0, X1 = 0
activate(z) -{ 3 }→ 1 + X' :|: z - 1 >= 0, X' >= 0, z - 1 = X'
activate(z) -{ 4 }→ 1 + X1' + X2' :|: X1 >= 0, X2 >= 0, z = 1 + X1 + X2, X1' >= 0, X2' >= 0, X1 = X1', X2 = X2'
activate(z) -{ 3 }→ 1 + (1 + sqr(N)) + (1 + (1 + N)) :|: z - 1 >= 0, z - 1 = N, N >= 0
add(z, z') -{ 1 }→ z' :|: z' >= 0, z = 0
dbl(z) -{ 1 }→ 0 :|: z = 0
first(z, z') -{ 1 }→ 1 :|: z' >= 0, z = 0
first(z, z') -{ 1 }→ 1 + z + z' :|: z >= 0, z' >= 0
s(z) -{ 1 }→ 1 + z :|: z >= 0
sqr(z) -{ 1 }→ 0 :|: z = 0
sqr(z) -{ 0 }→ 0 :|: z >= 0
terms(z) -{ 1 }→ 1 + z :|: z >= 0
terms(z) -{ 2 }→ 1 + (1 + 0) + (1 + (1 + z)) :|: z >= 0, z = 0
terms(z) -{ 1 }→ 1 + (1 + 0) + (1 + (1 + z)) :|: z >= 0
first: runtime: O(1) [1], size: O(n1) [1 + z + z'] |
activate(z) -{ 1 }→ z :|: z >= 0
activate(z) -{ 2 }→ terms(terms(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ terms(s(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ terms(first(activate(X1''), activate(X2''))) :|: X1'' >= 0, z = 1 + (1 + X1'' + X2''), X2'' >= 0
activate(z) -{ 2 }→ s(terms(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ s(s(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ s(first(activate(X1'), activate(X2'))) :|: z = 1 + (1 + X1' + X2'), X2' >= 0, X1' >= 0
activate(z) -{ 3 }→ first(X1, terms(activate(X8))) :|: X1 >= 0, z = 1 + X1 + (1 + X8), X8 >= 0
activate(z) -{ 3 }→ first(X1, s(activate(X7))) :|: z = 1 + X1 + (1 + X7), X1 >= 0, X7 >= 0
activate(z) -{ 3 }→ first(X1, first(activate(X12), activate(X22))) :|: X1 >= 0, X12 >= 0, X22 >= 0, z = 1 + X1 + (1 + X12 + X22)
activate(z) -{ 3 }→ first(terms(activate(X6)), X2) :|: X6 >= 0, z = 1 + (1 + X6) + X2, X2 >= 0
activate(z) -{ 3 }→ first(terms(activate(X6)), terms(activate(X15))) :|: X6 >= 0, z = 1 + (1 + X6) + (1 + X15), X15 >= 0
activate(z) -{ 3 }→ first(terms(activate(X6)), s(activate(X14))) :|: z = 1 + (1 + X6) + (1 + X14), X6 >= 0, X14 >= 0
activate(z) -{ 3 }→ first(terms(activate(X6)), first(activate(X16), activate(X24))) :|: X16 >= 0, z = 1 + (1 + X6) + (1 + X16 + X24), X6 >= 0, X24 >= 0
activate(z) -{ 3 }→ first(s(activate(X5)), X2) :|: X5 >= 0, z = 1 + (1 + X5) + X2, X2 >= 0
activate(z) -{ 3 }→ first(s(activate(X5)), terms(activate(X10))) :|: X5 >= 0, X10 >= 0, z = 1 + (1 + X5) + (1 + X10)
activate(z) -{ 3 }→ first(s(activate(X5)), s(activate(X9))) :|: X5 >= 0, X9 >= 0, z = 1 + (1 + X5) + (1 + X9)
activate(z) -{ 3 }→ first(s(activate(X5)), first(activate(X13), activate(X23))) :|: X5 >= 0, z = 1 + (1 + X5) + (1 + X13 + X23), X13 >= 0, X23 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), X2) :|: z = 1 + (1 + X11 + X21) + X2, X11 >= 0, X21 >= 0, X2 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), terms(activate(X18))) :|: z = 1 + (1 + X11 + X21) + (1 + X18), X11 >= 0, X21 >= 0, X18 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), s(activate(X17))) :|: z = 1 + (1 + X11 + X21) + (1 + X17), X11 >= 0, X21 >= 0, X17 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), first(activate(X19), activate(X25))) :|: X11 >= 0, X21 >= 0, X19 >= 0, X25 >= 0, z = 1 + (1 + X11 + X21) + (1 + X19 + X25)
activate(z) -{ 4 }→ 1 :|: X1 >= 0, X2 >= 0, z = 1 + X1 + X2, X2 = X, X >= 0, X1 = 0
activate(z) -{ 3 }→ 1 + X' :|: z - 1 >= 0, X' >= 0, z - 1 = X'
activate(z) -{ 4 }→ 1 + X1' + X2' :|: X1 >= 0, X2 >= 0, z = 1 + X1 + X2, X1' >= 0, X2' >= 0, X1 = X1', X2 = X2'
activate(z) -{ 3 }→ 1 + (1 + sqr(N)) + (1 + (1 + N)) :|: z - 1 >= 0, z - 1 = N, N >= 0
add(z, z') -{ 1 }→ z' :|: z' >= 0, z = 0
dbl(z) -{ 1 }→ 0 :|: z = 0
first(z, z') -{ 1 }→ 1 :|: z' >= 0, z = 0
first(z, z') -{ 1 }→ 1 + z + z' :|: z >= 0, z' >= 0
s(z) -{ 1 }→ 1 + z :|: z >= 0
sqr(z) -{ 1 }→ 0 :|: z = 0
sqr(z) -{ 0 }→ 0 :|: z >= 0
terms(z) -{ 1 }→ 1 + z :|: z >= 0
terms(z) -{ 2 }→ 1 + (1 + 0) + (1 + (1 + z)) :|: z >= 0, z = 0
terms(z) -{ 1 }→ 1 + (1 + 0) + (1 + (1 + z)) :|: z >= 0
first: runtime: O(1) [1], size: O(n1) [1 + z + z'] |
activate(z) -{ 1 }→ z :|: z >= 0
activate(z) -{ 2 }→ terms(terms(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ terms(s(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ terms(first(activate(X1''), activate(X2''))) :|: X1'' >= 0, z = 1 + (1 + X1'' + X2''), X2'' >= 0
activate(z) -{ 2 }→ s(terms(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ s(s(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ s(first(activate(X1'), activate(X2'))) :|: z = 1 + (1 + X1' + X2'), X2' >= 0, X1' >= 0
activate(z) -{ 3 }→ first(X1, terms(activate(X8))) :|: X1 >= 0, z = 1 + X1 + (1 + X8), X8 >= 0
activate(z) -{ 3 }→ first(X1, s(activate(X7))) :|: z = 1 + X1 + (1 + X7), X1 >= 0, X7 >= 0
activate(z) -{ 3 }→ first(X1, first(activate(X12), activate(X22))) :|: X1 >= 0, X12 >= 0, X22 >= 0, z = 1 + X1 + (1 + X12 + X22)
activate(z) -{ 3 }→ first(terms(activate(X6)), X2) :|: X6 >= 0, z = 1 + (1 + X6) + X2, X2 >= 0
activate(z) -{ 3 }→ first(terms(activate(X6)), terms(activate(X15))) :|: X6 >= 0, z = 1 + (1 + X6) + (1 + X15), X15 >= 0
activate(z) -{ 3 }→ first(terms(activate(X6)), s(activate(X14))) :|: z = 1 + (1 + X6) + (1 + X14), X6 >= 0, X14 >= 0
activate(z) -{ 3 }→ first(terms(activate(X6)), first(activate(X16), activate(X24))) :|: X16 >= 0, z = 1 + (1 + X6) + (1 + X16 + X24), X6 >= 0, X24 >= 0
activate(z) -{ 3 }→ first(s(activate(X5)), X2) :|: X5 >= 0, z = 1 + (1 + X5) + X2, X2 >= 0
activate(z) -{ 3 }→ first(s(activate(X5)), terms(activate(X10))) :|: X5 >= 0, X10 >= 0, z = 1 + (1 + X5) + (1 + X10)
activate(z) -{ 3 }→ first(s(activate(X5)), s(activate(X9))) :|: X5 >= 0, X9 >= 0, z = 1 + (1 + X5) + (1 + X9)
activate(z) -{ 3 }→ first(s(activate(X5)), first(activate(X13), activate(X23))) :|: X5 >= 0, z = 1 + (1 + X5) + (1 + X13 + X23), X13 >= 0, X23 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), X2) :|: z = 1 + (1 + X11 + X21) + X2, X11 >= 0, X21 >= 0, X2 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), terms(activate(X18))) :|: z = 1 + (1 + X11 + X21) + (1 + X18), X11 >= 0, X21 >= 0, X18 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), s(activate(X17))) :|: z = 1 + (1 + X11 + X21) + (1 + X17), X11 >= 0, X21 >= 0, X17 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), first(activate(X19), activate(X25))) :|: X11 >= 0, X21 >= 0, X19 >= 0, X25 >= 0, z = 1 + (1 + X11 + X21) + (1 + X19 + X25)
activate(z) -{ 4 }→ 1 :|: X1 >= 0, X2 >= 0, z = 1 + X1 + X2, X2 = X, X >= 0, X1 = 0
activate(z) -{ 3 }→ 1 + X' :|: z - 1 >= 0, X' >= 0, z - 1 = X'
activate(z) -{ 4 }→ 1 + X1' + X2' :|: X1 >= 0, X2 >= 0, z = 1 + X1 + X2, X1' >= 0, X2' >= 0, X1 = X1', X2 = X2'
activate(z) -{ 3 }→ 1 + (1 + sqr(N)) + (1 + (1 + N)) :|: z - 1 >= 0, z - 1 = N, N >= 0
add(z, z') -{ 1 }→ z' :|: z' >= 0, z = 0
dbl(z) -{ 1 }→ 0 :|: z = 0
first(z, z') -{ 1 }→ 1 :|: z' >= 0, z = 0
first(z, z') -{ 1 }→ 1 + z + z' :|: z >= 0, z' >= 0
s(z) -{ 1 }→ 1 + z :|: z >= 0
sqr(z) -{ 1 }→ 0 :|: z = 0
sqr(z) -{ 0 }→ 0 :|: z >= 0
terms(z) -{ 1 }→ 1 + z :|: z >= 0
terms(z) -{ 2 }→ 1 + (1 + 0) + (1 + (1 + z)) :|: z >= 0, z = 0
terms(z) -{ 1 }→ 1 + (1 + 0) + (1 + (1 + z)) :|: z >= 0
first: runtime: O(1) [1], size: O(n1) [1 + z + z'] dbl: runtime: ?, size: O(1) [0] |
activate(z) -{ 1 }→ z :|: z >= 0
activate(z) -{ 2 }→ terms(terms(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ terms(s(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ terms(first(activate(X1''), activate(X2''))) :|: X1'' >= 0, z = 1 + (1 + X1'' + X2''), X2'' >= 0
activate(z) -{ 2 }→ s(terms(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ s(s(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ s(first(activate(X1'), activate(X2'))) :|: z = 1 + (1 + X1' + X2'), X2' >= 0, X1' >= 0
activate(z) -{ 3 }→ first(X1, terms(activate(X8))) :|: X1 >= 0, z = 1 + X1 + (1 + X8), X8 >= 0
activate(z) -{ 3 }→ first(X1, s(activate(X7))) :|: z = 1 + X1 + (1 + X7), X1 >= 0, X7 >= 0
activate(z) -{ 3 }→ first(X1, first(activate(X12), activate(X22))) :|: X1 >= 0, X12 >= 0, X22 >= 0, z = 1 + X1 + (1 + X12 + X22)
activate(z) -{ 3 }→ first(terms(activate(X6)), X2) :|: X6 >= 0, z = 1 + (1 + X6) + X2, X2 >= 0
activate(z) -{ 3 }→ first(terms(activate(X6)), terms(activate(X15))) :|: X6 >= 0, z = 1 + (1 + X6) + (1 + X15), X15 >= 0
activate(z) -{ 3 }→ first(terms(activate(X6)), s(activate(X14))) :|: z = 1 + (1 + X6) + (1 + X14), X6 >= 0, X14 >= 0
activate(z) -{ 3 }→ first(terms(activate(X6)), first(activate(X16), activate(X24))) :|: X16 >= 0, z = 1 + (1 + X6) + (1 + X16 + X24), X6 >= 0, X24 >= 0
activate(z) -{ 3 }→ first(s(activate(X5)), X2) :|: X5 >= 0, z = 1 + (1 + X5) + X2, X2 >= 0
activate(z) -{ 3 }→ first(s(activate(X5)), terms(activate(X10))) :|: X5 >= 0, X10 >= 0, z = 1 + (1 + X5) + (1 + X10)
activate(z) -{ 3 }→ first(s(activate(X5)), s(activate(X9))) :|: X5 >= 0, X9 >= 0, z = 1 + (1 + X5) + (1 + X9)
activate(z) -{ 3 }→ first(s(activate(X5)), first(activate(X13), activate(X23))) :|: X5 >= 0, z = 1 + (1 + X5) + (1 + X13 + X23), X13 >= 0, X23 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), X2) :|: z = 1 + (1 + X11 + X21) + X2, X11 >= 0, X21 >= 0, X2 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), terms(activate(X18))) :|: z = 1 + (1 + X11 + X21) + (1 + X18), X11 >= 0, X21 >= 0, X18 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), s(activate(X17))) :|: z = 1 + (1 + X11 + X21) + (1 + X17), X11 >= 0, X21 >= 0, X17 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), first(activate(X19), activate(X25))) :|: X11 >= 0, X21 >= 0, X19 >= 0, X25 >= 0, z = 1 + (1 + X11 + X21) + (1 + X19 + X25)
activate(z) -{ 4 }→ 1 :|: X1 >= 0, X2 >= 0, z = 1 + X1 + X2, X2 = X, X >= 0, X1 = 0
activate(z) -{ 3 }→ 1 + X' :|: z - 1 >= 0, X' >= 0, z - 1 = X'
activate(z) -{ 4 }→ 1 + X1' + X2' :|: X1 >= 0, X2 >= 0, z = 1 + X1 + X2, X1' >= 0, X2' >= 0, X1 = X1', X2 = X2'
activate(z) -{ 3 }→ 1 + (1 + sqr(N)) + (1 + (1 + N)) :|: z - 1 >= 0, z - 1 = N, N >= 0
add(z, z') -{ 1 }→ z' :|: z' >= 0, z = 0
dbl(z) -{ 1 }→ 0 :|: z = 0
first(z, z') -{ 1 }→ 1 :|: z' >= 0, z = 0
first(z, z') -{ 1 }→ 1 + z + z' :|: z >= 0, z' >= 0
s(z) -{ 1 }→ 1 + z :|: z >= 0
sqr(z) -{ 1 }→ 0 :|: z = 0
sqr(z) -{ 0 }→ 0 :|: z >= 0
terms(z) -{ 1 }→ 1 + z :|: z >= 0
terms(z) -{ 2 }→ 1 + (1 + 0) + (1 + (1 + z)) :|: z >= 0, z = 0
terms(z) -{ 1 }→ 1 + (1 + 0) + (1 + (1 + z)) :|: z >= 0
first: runtime: O(1) [1], size: O(n1) [1 + z + z'] dbl: runtime: O(1) [1], size: O(1) [0] |
activate(z) -{ 1 }→ z :|: z >= 0
activate(z) -{ 2 }→ terms(terms(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ terms(s(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ terms(first(activate(X1''), activate(X2''))) :|: X1'' >= 0, z = 1 + (1 + X1'' + X2''), X2'' >= 0
activate(z) -{ 2 }→ s(terms(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ s(s(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ s(first(activate(X1'), activate(X2'))) :|: z = 1 + (1 + X1' + X2'), X2' >= 0, X1' >= 0
activate(z) -{ 3 }→ first(X1, terms(activate(X8))) :|: X1 >= 0, z = 1 + X1 + (1 + X8), X8 >= 0
activate(z) -{ 3 }→ first(X1, s(activate(X7))) :|: z = 1 + X1 + (1 + X7), X1 >= 0, X7 >= 0
activate(z) -{ 3 }→ first(X1, first(activate(X12), activate(X22))) :|: X1 >= 0, X12 >= 0, X22 >= 0, z = 1 + X1 + (1 + X12 + X22)
activate(z) -{ 3 }→ first(terms(activate(X6)), X2) :|: X6 >= 0, z = 1 + (1 + X6) + X2, X2 >= 0
activate(z) -{ 3 }→ first(terms(activate(X6)), terms(activate(X15))) :|: X6 >= 0, z = 1 + (1 + X6) + (1 + X15), X15 >= 0
activate(z) -{ 3 }→ first(terms(activate(X6)), s(activate(X14))) :|: z = 1 + (1 + X6) + (1 + X14), X6 >= 0, X14 >= 0
activate(z) -{ 3 }→ first(terms(activate(X6)), first(activate(X16), activate(X24))) :|: X16 >= 0, z = 1 + (1 + X6) + (1 + X16 + X24), X6 >= 0, X24 >= 0
activate(z) -{ 3 }→ first(s(activate(X5)), X2) :|: X5 >= 0, z = 1 + (1 + X5) + X2, X2 >= 0
activate(z) -{ 3 }→ first(s(activate(X5)), terms(activate(X10))) :|: X5 >= 0, X10 >= 0, z = 1 + (1 + X5) + (1 + X10)
activate(z) -{ 3 }→ first(s(activate(X5)), s(activate(X9))) :|: X5 >= 0, X9 >= 0, z = 1 + (1 + X5) + (1 + X9)
activate(z) -{ 3 }→ first(s(activate(X5)), first(activate(X13), activate(X23))) :|: X5 >= 0, z = 1 + (1 + X5) + (1 + X13 + X23), X13 >= 0, X23 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), X2) :|: z = 1 + (1 + X11 + X21) + X2, X11 >= 0, X21 >= 0, X2 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), terms(activate(X18))) :|: z = 1 + (1 + X11 + X21) + (1 + X18), X11 >= 0, X21 >= 0, X18 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), s(activate(X17))) :|: z = 1 + (1 + X11 + X21) + (1 + X17), X11 >= 0, X21 >= 0, X17 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), first(activate(X19), activate(X25))) :|: X11 >= 0, X21 >= 0, X19 >= 0, X25 >= 0, z = 1 + (1 + X11 + X21) + (1 + X19 + X25)
activate(z) -{ 4 }→ 1 :|: X1 >= 0, X2 >= 0, z = 1 + X1 + X2, X2 = X, X >= 0, X1 = 0
activate(z) -{ 3 }→ 1 + X' :|: z - 1 >= 0, X' >= 0, z - 1 = X'
activate(z) -{ 4 }→ 1 + X1' + X2' :|: X1 >= 0, X2 >= 0, z = 1 + X1 + X2, X1' >= 0, X2' >= 0, X1 = X1', X2 = X2'
activate(z) -{ 3 }→ 1 + (1 + sqr(N)) + (1 + (1 + N)) :|: z - 1 >= 0, z - 1 = N, N >= 0
add(z, z') -{ 1 }→ z' :|: z' >= 0, z = 0
dbl(z) -{ 1 }→ 0 :|: z = 0
first(z, z') -{ 1 }→ 1 :|: z' >= 0, z = 0
first(z, z') -{ 1 }→ 1 + z + z' :|: z >= 0, z' >= 0
s(z) -{ 1 }→ 1 + z :|: z >= 0
sqr(z) -{ 1 }→ 0 :|: z = 0
sqr(z) -{ 0 }→ 0 :|: z >= 0
terms(z) -{ 1 }→ 1 + z :|: z >= 0
terms(z) -{ 2 }→ 1 + (1 + 0) + (1 + (1 + z)) :|: z >= 0, z = 0
terms(z) -{ 1 }→ 1 + (1 + 0) + (1 + (1 + z)) :|: z >= 0
first: runtime: O(1) [1], size: O(n1) [1 + z + z'] dbl: runtime: O(1) [1], size: O(1) [0] |
activate(z) -{ 1 }→ z :|: z >= 0
activate(z) -{ 2 }→ terms(terms(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ terms(s(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ terms(first(activate(X1''), activate(X2''))) :|: X1'' >= 0, z = 1 + (1 + X1'' + X2''), X2'' >= 0
activate(z) -{ 2 }→ s(terms(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ s(s(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ s(first(activate(X1'), activate(X2'))) :|: z = 1 + (1 + X1' + X2'), X2' >= 0, X1' >= 0
activate(z) -{ 3 }→ first(X1, terms(activate(X8))) :|: X1 >= 0, z = 1 + X1 + (1 + X8), X8 >= 0
activate(z) -{ 3 }→ first(X1, s(activate(X7))) :|: z = 1 + X1 + (1 + X7), X1 >= 0, X7 >= 0
activate(z) -{ 3 }→ first(X1, first(activate(X12), activate(X22))) :|: X1 >= 0, X12 >= 0, X22 >= 0, z = 1 + X1 + (1 + X12 + X22)
activate(z) -{ 3 }→ first(terms(activate(X6)), X2) :|: X6 >= 0, z = 1 + (1 + X6) + X2, X2 >= 0
activate(z) -{ 3 }→ first(terms(activate(X6)), terms(activate(X15))) :|: X6 >= 0, z = 1 + (1 + X6) + (1 + X15), X15 >= 0
activate(z) -{ 3 }→ first(terms(activate(X6)), s(activate(X14))) :|: z = 1 + (1 + X6) + (1 + X14), X6 >= 0, X14 >= 0
activate(z) -{ 3 }→ first(terms(activate(X6)), first(activate(X16), activate(X24))) :|: X16 >= 0, z = 1 + (1 + X6) + (1 + X16 + X24), X6 >= 0, X24 >= 0
activate(z) -{ 3 }→ first(s(activate(X5)), X2) :|: X5 >= 0, z = 1 + (1 + X5) + X2, X2 >= 0
activate(z) -{ 3 }→ first(s(activate(X5)), terms(activate(X10))) :|: X5 >= 0, X10 >= 0, z = 1 + (1 + X5) + (1 + X10)
activate(z) -{ 3 }→ first(s(activate(X5)), s(activate(X9))) :|: X5 >= 0, X9 >= 0, z = 1 + (1 + X5) + (1 + X9)
activate(z) -{ 3 }→ first(s(activate(X5)), first(activate(X13), activate(X23))) :|: X5 >= 0, z = 1 + (1 + X5) + (1 + X13 + X23), X13 >= 0, X23 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), X2) :|: z = 1 + (1 + X11 + X21) + X2, X11 >= 0, X21 >= 0, X2 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), terms(activate(X18))) :|: z = 1 + (1 + X11 + X21) + (1 + X18), X11 >= 0, X21 >= 0, X18 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), s(activate(X17))) :|: z = 1 + (1 + X11 + X21) + (1 + X17), X11 >= 0, X21 >= 0, X17 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), first(activate(X19), activate(X25))) :|: X11 >= 0, X21 >= 0, X19 >= 0, X25 >= 0, z = 1 + (1 + X11 + X21) + (1 + X19 + X25)
activate(z) -{ 4 }→ 1 :|: X1 >= 0, X2 >= 0, z = 1 + X1 + X2, X2 = X, X >= 0, X1 = 0
activate(z) -{ 3 }→ 1 + X' :|: z - 1 >= 0, X' >= 0, z - 1 = X'
activate(z) -{ 4 }→ 1 + X1' + X2' :|: X1 >= 0, X2 >= 0, z = 1 + X1 + X2, X1' >= 0, X2' >= 0, X1 = X1', X2 = X2'
activate(z) -{ 3 }→ 1 + (1 + sqr(N)) + (1 + (1 + N)) :|: z - 1 >= 0, z - 1 = N, N >= 0
add(z, z') -{ 1 }→ z' :|: z' >= 0, z = 0
dbl(z) -{ 1 }→ 0 :|: z = 0
first(z, z') -{ 1 }→ 1 :|: z' >= 0, z = 0
first(z, z') -{ 1 }→ 1 + z + z' :|: z >= 0, z' >= 0
s(z) -{ 1 }→ 1 + z :|: z >= 0
sqr(z) -{ 1 }→ 0 :|: z = 0
sqr(z) -{ 0 }→ 0 :|: z >= 0
terms(z) -{ 1 }→ 1 + z :|: z >= 0
terms(z) -{ 2 }→ 1 + (1 + 0) + (1 + (1 + z)) :|: z >= 0, z = 0
terms(z) -{ 1 }→ 1 + (1 + 0) + (1 + (1 + z)) :|: z >= 0
first: runtime: O(1) [1], size: O(n1) [1 + z + z'] dbl: runtime: O(1) [1], size: O(1) [0] add: runtime: ?, size: O(n1) [z'] |
activate(z) -{ 1 }→ z :|: z >= 0
activate(z) -{ 2 }→ terms(terms(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ terms(s(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ terms(first(activate(X1''), activate(X2''))) :|: X1'' >= 0, z = 1 + (1 + X1'' + X2''), X2'' >= 0
activate(z) -{ 2 }→ s(terms(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ s(s(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ s(first(activate(X1'), activate(X2'))) :|: z = 1 + (1 + X1' + X2'), X2' >= 0, X1' >= 0
activate(z) -{ 3 }→ first(X1, terms(activate(X8))) :|: X1 >= 0, z = 1 + X1 + (1 + X8), X8 >= 0
activate(z) -{ 3 }→ first(X1, s(activate(X7))) :|: z = 1 + X1 + (1 + X7), X1 >= 0, X7 >= 0
activate(z) -{ 3 }→ first(X1, first(activate(X12), activate(X22))) :|: X1 >= 0, X12 >= 0, X22 >= 0, z = 1 + X1 + (1 + X12 + X22)
activate(z) -{ 3 }→ first(terms(activate(X6)), X2) :|: X6 >= 0, z = 1 + (1 + X6) + X2, X2 >= 0
activate(z) -{ 3 }→ first(terms(activate(X6)), terms(activate(X15))) :|: X6 >= 0, z = 1 + (1 + X6) + (1 + X15), X15 >= 0
activate(z) -{ 3 }→ first(terms(activate(X6)), s(activate(X14))) :|: z = 1 + (1 + X6) + (1 + X14), X6 >= 0, X14 >= 0
activate(z) -{ 3 }→ first(terms(activate(X6)), first(activate(X16), activate(X24))) :|: X16 >= 0, z = 1 + (1 + X6) + (1 + X16 + X24), X6 >= 0, X24 >= 0
activate(z) -{ 3 }→ first(s(activate(X5)), X2) :|: X5 >= 0, z = 1 + (1 + X5) + X2, X2 >= 0
activate(z) -{ 3 }→ first(s(activate(X5)), terms(activate(X10))) :|: X5 >= 0, X10 >= 0, z = 1 + (1 + X5) + (1 + X10)
activate(z) -{ 3 }→ first(s(activate(X5)), s(activate(X9))) :|: X5 >= 0, X9 >= 0, z = 1 + (1 + X5) + (1 + X9)
activate(z) -{ 3 }→ first(s(activate(X5)), first(activate(X13), activate(X23))) :|: X5 >= 0, z = 1 + (1 + X5) + (1 + X13 + X23), X13 >= 0, X23 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), X2) :|: z = 1 + (1 + X11 + X21) + X2, X11 >= 0, X21 >= 0, X2 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), terms(activate(X18))) :|: z = 1 + (1 + X11 + X21) + (1 + X18), X11 >= 0, X21 >= 0, X18 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), s(activate(X17))) :|: z = 1 + (1 + X11 + X21) + (1 + X17), X11 >= 0, X21 >= 0, X17 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), first(activate(X19), activate(X25))) :|: X11 >= 0, X21 >= 0, X19 >= 0, X25 >= 0, z = 1 + (1 + X11 + X21) + (1 + X19 + X25)
activate(z) -{ 4 }→ 1 :|: X1 >= 0, X2 >= 0, z = 1 + X1 + X2, X2 = X, X >= 0, X1 = 0
activate(z) -{ 3 }→ 1 + X' :|: z - 1 >= 0, X' >= 0, z - 1 = X'
activate(z) -{ 4 }→ 1 + X1' + X2' :|: X1 >= 0, X2 >= 0, z = 1 + X1 + X2, X1' >= 0, X2' >= 0, X1 = X1', X2 = X2'
activate(z) -{ 3 }→ 1 + (1 + sqr(N)) + (1 + (1 + N)) :|: z - 1 >= 0, z - 1 = N, N >= 0
add(z, z') -{ 1 }→ z' :|: z' >= 0, z = 0
dbl(z) -{ 1 }→ 0 :|: z = 0
first(z, z') -{ 1 }→ 1 :|: z' >= 0, z = 0
first(z, z') -{ 1 }→ 1 + z + z' :|: z >= 0, z' >= 0
s(z) -{ 1 }→ 1 + z :|: z >= 0
sqr(z) -{ 1 }→ 0 :|: z = 0
sqr(z) -{ 0 }→ 0 :|: z >= 0
terms(z) -{ 1 }→ 1 + z :|: z >= 0
terms(z) -{ 2 }→ 1 + (1 + 0) + (1 + (1 + z)) :|: z >= 0, z = 0
terms(z) -{ 1 }→ 1 + (1 + 0) + (1 + (1 + z)) :|: z >= 0
first: runtime: O(1) [1], size: O(n1) [1 + z + z'] dbl: runtime: O(1) [1], size: O(1) [0] add: runtime: O(1) [1], size: O(n1) [z'] |
activate(z) -{ 1 }→ z :|: z >= 0
activate(z) -{ 2 }→ terms(terms(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ terms(s(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ terms(first(activate(X1''), activate(X2''))) :|: X1'' >= 0, z = 1 + (1 + X1'' + X2''), X2'' >= 0
activate(z) -{ 2 }→ s(terms(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ s(s(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ s(first(activate(X1'), activate(X2'))) :|: z = 1 + (1 + X1' + X2'), X2' >= 0, X1' >= 0
activate(z) -{ 3 }→ first(X1, terms(activate(X8))) :|: X1 >= 0, z = 1 + X1 + (1 + X8), X8 >= 0
activate(z) -{ 3 }→ first(X1, s(activate(X7))) :|: z = 1 + X1 + (1 + X7), X1 >= 0, X7 >= 0
activate(z) -{ 3 }→ first(X1, first(activate(X12), activate(X22))) :|: X1 >= 0, X12 >= 0, X22 >= 0, z = 1 + X1 + (1 + X12 + X22)
activate(z) -{ 3 }→ first(terms(activate(X6)), X2) :|: X6 >= 0, z = 1 + (1 + X6) + X2, X2 >= 0
activate(z) -{ 3 }→ first(terms(activate(X6)), terms(activate(X15))) :|: X6 >= 0, z = 1 + (1 + X6) + (1 + X15), X15 >= 0
activate(z) -{ 3 }→ first(terms(activate(X6)), s(activate(X14))) :|: z = 1 + (1 + X6) + (1 + X14), X6 >= 0, X14 >= 0
activate(z) -{ 3 }→ first(terms(activate(X6)), first(activate(X16), activate(X24))) :|: X16 >= 0, z = 1 + (1 + X6) + (1 + X16 + X24), X6 >= 0, X24 >= 0
activate(z) -{ 3 }→ first(s(activate(X5)), X2) :|: X5 >= 0, z = 1 + (1 + X5) + X2, X2 >= 0
activate(z) -{ 3 }→ first(s(activate(X5)), terms(activate(X10))) :|: X5 >= 0, X10 >= 0, z = 1 + (1 + X5) + (1 + X10)
activate(z) -{ 3 }→ first(s(activate(X5)), s(activate(X9))) :|: X5 >= 0, X9 >= 0, z = 1 + (1 + X5) + (1 + X9)
activate(z) -{ 3 }→ first(s(activate(X5)), first(activate(X13), activate(X23))) :|: X5 >= 0, z = 1 + (1 + X5) + (1 + X13 + X23), X13 >= 0, X23 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), X2) :|: z = 1 + (1 + X11 + X21) + X2, X11 >= 0, X21 >= 0, X2 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), terms(activate(X18))) :|: z = 1 + (1 + X11 + X21) + (1 + X18), X11 >= 0, X21 >= 0, X18 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), s(activate(X17))) :|: z = 1 + (1 + X11 + X21) + (1 + X17), X11 >= 0, X21 >= 0, X17 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), first(activate(X19), activate(X25))) :|: X11 >= 0, X21 >= 0, X19 >= 0, X25 >= 0, z = 1 + (1 + X11 + X21) + (1 + X19 + X25)
activate(z) -{ 4 }→ 1 :|: X1 >= 0, X2 >= 0, z = 1 + X1 + X2, X2 = X, X >= 0, X1 = 0
activate(z) -{ 3 }→ 1 + X' :|: z - 1 >= 0, X' >= 0, z - 1 = X'
activate(z) -{ 4 }→ 1 + X1' + X2' :|: X1 >= 0, X2 >= 0, z = 1 + X1 + X2, X1' >= 0, X2' >= 0, X1 = X1', X2 = X2'
activate(z) -{ 3 }→ 1 + (1 + sqr(N)) + (1 + (1 + N)) :|: z - 1 >= 0, z - 1 = N, N >= 0
add(z, z') -{ 1 }→ z' :|: z' >= 0, z = 0
dbl(z) -{ 1 }→ 0 :|: z = 0
first(z, z') -{ 1 }→ 1 :|: z' >= 0, z = 0
first(z, z') -{ 1 }→ 1 + z + z' :|: z >= 0, z' >= 0
s(z) -{ 1 }→ 1 + z :|: z >= 0
sqr(z) -{ 1 }→ 0 :|: z = 0
sqr(z) -{ 0 }→ 0 :|: z >= 0
terms(z) -{ 1 }→ 1 + z :|: z >= 0
terms(z) -{ 2 }→ 1 + (1 + 0) + (1 + (1 + z)) :|: z >= 0, z = 0
terms(z) -{ 1 }→ 1 + (1 + 0) + (1 + (1 + z)) :|: z >= 0
first: runtime: O(1) [1], size: O(n1) [1 + z + z'] dbl: runtime: O(1) [1], size: O(1) [0] add: runtime: O(1) [1], size: O(n1) [z'] |
activate(z) -{ 1 }→ z :|: z >= 0
activate(z) -{ 2 }→ terms(terms(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ terms(s(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ terms(first(activate(X1''), activate(X2''))) :|: X1'' >= 0, z = 1 + (1 + X1'' + X2''), X2'' >= 0
activate(z) -{ 2 }→ s(terms(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ s(s(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ s(first(activate(X1'), activate(X2'))) :|: z = 1 + (1 + X1' + X2'), X2' >= 0, X1' >= 0
activate(z) -{ 3 }→ first(X1, terms(activate(X8))) :|: X1 >= 0, z = 1 + X1 + (1 + X8), X8 >= 0
activate(z) -{ 3 }→ first(X1, s(activate(X7))) :|: z = 1 + X1 + (1 + X7), X1 >= 0, X7 >= 0
activate(z) -{ 3 }→ first(X1, first(activate(X12), activate(X22))) :|: X1 >= 0, X12 >= 0, X22 >= 0, z = 1 + X1 + (1 + X12 + X22)
activate(z) -{ 3 }→ first(terms(activate(X6)), X2) :|: X6 >= 0, z = 1 + (1 + X6) + X2, X2 >= 0
activate(z) -{ 3 }→ first(terms(activate(X6)), terms(activate(X15))) :|: X6 >= 0, z = 1 + (1 + X6) + (1 + X15), X15 >= 0
activate(z) -{ 3 }→ first(terms(activate(X6)), s(activate(X14))) :|: z = 1 + (1 + X6) + (1 + X14), X6 >= 0, X14 >= 0
activate(z) -{ 3 }→ first(terms(activate(X6)), first(activate(X16), activate(X24))) :|: X16 >= 0, z = 1 + (1 + X6) + (1 + X16 + X24), X6 >= 0, X24 >= 0
activate(z) -{ 3 }→ first(s(activate(X5)), X2) :|: X5 >= 0, z = 1 + (1 + X5) + X2, X2 >= 0
activate(z) -{ 3 }→ first(s(activate(X5)), terms(activate(X10))) :|: X5 >= 0, X10 >= 0, z = 1 + (1 + X5) + (1 + X10)
activate(z) -{ 3 }→ first(s(activate(X5)), s(activate(X9))) :|: X5 >= 0, X9 >= 0, z = 1 + (1 + X5) + (1 + X9)
activate(z) -{ 3 }→ first(s(activate(X5)), first(activate(X13), activate(X23))) :|: X5 >= 0, z = 1 + (1 + X5) + (1 + X13 + X23), X13 >= 0, X23 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), X2) :|: z = 1 + (1 + X11 + X21) + X2, X11 >= 0, X21 >= 0, X2 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), terms(activate(X18))) :|: z = 1 + (1 + X11 + X21) + (1 + X18), X11 >= 0, X21 >= 0, X18 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), s(activate(X17))) :|: z = 1 + (1 + X11 + X21) + (1 + X17), X11 >= 0, X21 >= 0, X17 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), first(activate(X19), activate(X25))) :|: X11 >= 0, X21 >= 0, X19 >= 0, X25 >= 0, z = 1 + (1 + X11 + X21) + (1 + X19 + X25)
activate(z) -{ 4 }→ 1 :|: X1 >= 0, X2 >= 0, z = 1 + X1 + X2, X2 = X, X >= 0, X1 = 0
activate(z) -{ 3 }→ 1 + X' :|: z - 1 >= 0, X' >= 0, z - 1 = X'
activate(z) -{ 4 }→ 1 + X1' + X2' :|: X1 >= 0, X2 >= 0, z = 1 + X1 + X2, X1' >= 0, X2' >= 0, X1 = X1', X2 = X2'
activate(z) -{ 3 }→ 1 + (1 + sqr(N)) + (1 + (1 + N)) :|: z - 1 >= 0, z - 1 = N, N >= 0
add(z, z') -{ 1 }→ z' :|: z' >= 0, z = 0
dbl(z) -{ 1 }→ 0 :|: z = 0
first(z, z') -{ 1 }→ 1 :|: z' >= 0, z = 0
first(z, z') -{ 1 }→ 1 + z + z' :|: z >= 0, z' >= 0
s(z) -{ 1 }→ 1 + z :|: z >= 0
sqr(z) -{ 1 }→ 0 :|: z = 0
sqr(z) -{ 0 }→ 0 :|: z >= 0
terms(z) -{ 1 }→ 1 + z :|: z >= 0
terms(z) -{ 2 }→ 1 + (1 + 0) + (1 + (1 + z)) :|: z >= 0, z = 0
terms(z) -{ 1 }→ 1 + (1 + 0) + (1 + (1 + z)) :|: z >= 0
first: runtime: O(1) [1], size: O(n1) [1 + z + z'] dbl: runtime: O(1) [1], size: O(1) [0] add: runtime: O(1) [1], size: O(n1) [z'] terms: runtime: ?, size: O(n1) [4 + z] |
activate(z) -{ 1 }→ z :|: z >= 0
activate(z) -{ 2 }→ terms(terms(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ terms(s(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ terms(first(activate(X1''), activate(X2''))) :|: X1'' >= 0, z = 1 + (1 + X1'' + X2''), X2'' >= 0
activate(z) -{ 2 }→ s(terms(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ s(s(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ s(first(activate(X1'), activate(X2'))) :|: z = 1 + (1 + X1' + X2'), X2' >= 0, X1' >= 0
activate(z) -{ 3 }→ first(X1, terms(activate(X8))) :|: X1 >= 0, z = 1 + X1 + (1 + X8), X8 >= 0
activate(z) -{ 3 }→ first(X1, s(activate(X7))) :|: z = 1 + X1 + (1 + X7), X1 >= 0, X7 >= 0
activate(z) -{ 3 }→ first(X1, first(activate(X12), activate(X22))) :|: X1 >= 0, X12 >= 0, X22 >= 0, z = 1 + X1 + (1 + X12 + X22)
activate(z) -{ 3 }→ first(terms(activate(X6)), X2) :|: X6 >= 0, z = 1 + (1 + X6) + X2, X2 >= 0
activate(z) -{ 3 }→ first(terms(activate(X6)), terms(activate(X15))) :|: X6 >= 0, z = 1 + (1 + X6) + (1 + X15), X15 >= 0
activate(z) -{ 3 }→ first(terms(activate(X6)), s(activate(X14))) :|: z = 1 + (1 + X6) + (1 + X14), X6 >= 0, X14 >= 0
activate(z) -{ 3 }→ first(terms(activate(X6)), first(activate(X16), activate(X24))) :|: X16 >= 0, z = 1 + (1 + X6) + (1 + X16 + X24), X6 >= 0, X24 >= 0
activate(z) -{ 3 }→ first(s(activate(X5)), X2) :|: X5 >= 0, z = 1 + (1 + X5) + X2, X2 >= 0
activate(z) -{ 3 }→ first(s(activate(X5)), terms(activate(X10))) :|: X5 >= 0, X10 >= 0, z = 1 + (1 + X5) + (1 + X10)
activate(z) -{ 3 }→ first(s(activate(X5)), s(activate(X9))) :|: X5 >= 0, X9 >= 0, z = 1 + (1 + X5) + (1 + X9)
activate(z) -{ 3 }→ first(s(activate(X5)), first(activate(X13), activate(X23))) :|: X5 >= 0, z = 1 + (1 + X5) + (1 + X13 + X23), X13 >= 0, X23 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), X2) :|: z = 1 + (1 + X11 + X21) + X2, X11 >= 0, X21 >= 0, X2 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), terms(activate(X18))) :|: z = 1 + (1 + X11 + X21) + (1 + X18), X11 >= 0, X21 >= 0, X18 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), s(activate(X17))) :|: z = 1 + (1 + X11 + X21) + (1 + X17), X11 >= 0, X21 >= 0, X17 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), first(activate(X19), activate(X25))) :|: X11 >= 0, X21 >= 0, X19 >= 0, X25 >= 0, z = 1 + (1 + X11 + X21) + (1 + X19 + X25)
activate(z) -{ 4 }→ 1 :|: X1 >= 0, X2 >= 0, z = 1 + X1 + X2, X2 = X, X >= 0, X1 = 0
activate(z) -{ 3 }→ 1 + X' :|: z - 1 >= 0, X' >= 0, z - 1 = X'
activate(z) -{ 4 }→ 1 + X1' + X2' :|: X1 >= 0, X2 >= 0, z = 1 + X1 + X2, X1' >= 0, X2' >= 0, X1 = X1', X2 = X2'
activate(z) -{ 3 }→ 1 + (1 + sqr(N)) + (1 + (1 + N)) :|: z - 1 >= 0, z - 1 = N, N >= 0
add(z, z') -{ 1 }→ z' :|: z' >= 0, z = 0
dbl(z) -{ 1 }→ 0 :|: z = 0
first(z, z') -{ 1 }→ 1 :|: z' >= 0, z = 0
first(z, z') -{ 1 }→ 1 + z + z' :|: z >= 0, z' >= 0
s(z) -{ 1 }→ 1 + z :|: z >= 0
sqr(z) -{ 1 }→ 0 :|: z = 0
sqr(z) -{ 0 }→ 0 :|: z >= 0
terms(z) -{ 1 }→ 1 + z :|: z >= 0
terms(z) -{ 2 }→ 1 + (1 + 0) + (1 + (1 + z)) :|: z >= 0, z = 0
terms(z) -{ 1 }→ 1 + (1 + 0) + (1 + (1 + z)) :|: z >= 0
first: runtime: O(1) [1], size: O(n1) [1 + z + z'] dbl: runtime: O(1) [1], size: O(1) [0] add: runtime: O(1) [1], size: O(n1) [z'] terms: runtime: O(1) [2], size: O(n1) [4 + z] |
activate(z) -{ 1 }→ z :|: z >= 0
activate(z) -{ 2 }→ terms(terms(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ terms(s(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ terms(first(activate(X1''), activate(X2''))) :|: X1'' >= 0, z = 1 + (1 + X1'' + X2''), X2'' >= 0
activate(z) -{ 2 }→ s(terms(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ s(s(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ s(first(activate(X1'), activate(X2'))) :|: z = 1 + (1 + X1' + X2'), X2' >= 0, X1' >= 0
activate(z) -{ 3 }→ first(X1, terms(activate(X8))) :|: X1 >= 0, z = 1 + X1 + (1 + X8), X8 >= 0
activate(z) -{ 3 }→ first(X1, s(activate(X7))) :|: z = 1 + X1 + (1 + X7), X1 >= 0, X7 >= 0
activate(z) -{ 3 }→ first(X1, first(activate(X12), activate(X22))) :|: X1 >= 0, X12 >= 0, X22 >= 0, z = 1 + X1 + (1 + X12 + X22)
activate(z) -{ 3 }→ first(terms(activate(X6)), X2) :|: X6 >= 0, z = 1 + (1 + X6) + X2, X2 >= 0
activate(z) -{ 3 }→ first(terms(activate(X6)), terms(activate(X15))) :|: X6 >= 0, z = 1 + (1 + X6) + (1 + X15), X15 >= 0
activate(z) -{ 3 }→ first(terms(activate(X6)), s(activate(X14))) :|: z = 1 + (1 + X6) + (1 + X14), X6 >= 0, X14 >= 0
activate(z) -{ 3 }→ first(terms(activate(X6)), first(activate(X16), activate(X24))) :|: X16 >= 0, z = 1 + (1 + X6) + (1 + X16 + X24), X6 >= 0, X24 >= 0
activate(z) -{ 3 }→ first(s(activate(X5)), X2) :|: X5 >= 0, z = 1 + (1 + X5) + X2, X2 >= 0
activate(z) -{ 3 }→ first(s(activate(X5)), terms(activate(X10))) :|: X5 >= 0, X10 >= 0, z = 1 + (1 + X5) + (1 + X10)
activate(z) -{ 3 }→ first(s(activate(X5)), s(activate(X9))) :|: X5 >= 0, X9 >= 0, z = 1 + (1 + X5) + (1 + X9)
activate(z) -{ 3 }→ first(s(activate(X5)), first(activate(X13), activate(X23))) :|: X5 >= 0, z = 1 + (1 + X5) + (1 + X13 + X23), X13 >= 0, X23 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), X2) :|: z = 1 + (1 + X11 + X21) + X2, X11 >= 0, X21 >= 0, X2 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), terms(activate(X18))) :|: z = 1 + (1 + X11 + X21) + (1 + X18), X11 >= 0, X21 >= 0, X18 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), s(activate(X17))) :|: z = 1 + (1 + X11 + X21) + (1 + X17), X11 >= 0, X21 >= 0, X17 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), first(activate(X19), activate(X25))) :|: X11 >= 0, X21 >= 0, X19 >= 0, X25 >= 0, z = 1 + (1 + X11 + X21) + (1 + X19 + X25)
activate(z) -{ 4 }→ 1 :|: X1 >= 0, X2 >= 0, z = 1 + X1 + X2, X2 = X, X >= 0, X1 = 0
activate(z) -{ 3 }→ 1 + X' :|: z - 1 >= 0, X' >= 0, z - 1 = X'
activate(z) -{ 4 }→ 1 + X1' + X2' :|: X1 >= 0, X2 >= 0, z = 1 + X1 + X2, X1' >= 0, X2' >= 0, X1 = X1', X2 = X2'
activate(z) -{ 3 }→ 1 + (1 + sqr(N)) + (1 + (1 + N)) :|: z - 1 >= 0, z - 1 = N, N >= 0
add(z, z') -{ 1 }→ z' :|: z' >= 0, z = 0
dbl(z) -{ 1 }→ 0 :|: z = 0
first(z, z') -{ 1 }→ 1 :|: z' >= 0, z = 0
first(z, z') -{ 1 }→ 1 + z + z' :|: z >= 0, z' >= 0
s(z) -{ 1 }→ 1 + z :|: z >= 0
sqr(z) -{ 1 }→ 0 :|: z = 0
sqr(z) -{ 0 }→ 0 :|: z >= 0
terms(z) -{ 1 }→ 1 + z :|: z >= 0
terms(z) -{ 2 }→ 1 + (1 + 0) + (1 + (1 + z)) :|: z >= 0, z = 0
terms(z) -{ 1 }→ 1 + (1 + 0) + (1 + (1 + z)) :|: z >= 0
first: runtime: O(1) [1], size: O(n1) [1 + z + z'] dbl: runtime: O(1) [1], size: O(1) [0] add: runtime: O(1) [1], size: O(n1) [z'] terms: runtime: O(1) [2], size: O(n1) [4 + z] |
activate(z) -{ 1 }→ z :|: z >= 0
activate(z) -{ 2 }→ terms(terms(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ terms(s(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ terms(first(activate(X1''), activate(X2''))) :|: X1'' >= 0, z = 1 + (1 + X1'' + X2''), X2'' >= 0
activate(z) -{ 2 }→ s(terms(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ s(s(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ s(first(activate(X1'), activate(X2'))) :|: z = 1 + (1 + X1' + X2'), X2' >= 0, X1' >= 0
activate(z) -{ 3 }→ first(X1, terms(activate(X8))) :|: X1 >= 0, z = 1 + X1 + (1 + X8), X8 >= 0
activate(z) -{ 3 }→ first(X1, s(activate(X7))) :|: z = 1 + X1 + (1 + X7), X1 >= 0, X7 >= 0
activate(z) -{ 3 }→ first(X1, first(activate(X12), activate(X22))) :|: X1 >= 0, X12 >= 0, X22 >= 0, z = 1 + X1 + (1 + X12 + X22)
activate(z) -{ 3 }→ first(terms(activate(X6)), X2) :|: X6 >= 0, z = 1 + (1 + X6) + X2, X2 >= 0
activate(z) -{ 3 }→ first(terms(activate(X6)), terms(activate(X15))) :|: X6 >= 0, z = 1 + (1 + X6) + (1 + X15), X15 >= 0
activate(z) -{ 3 }→ first(terms(activate(X6)), s(activate(X14))) :|: z = 1 + (1 + X6) + (1 + X14), X6 >= 0, X14 >= 0
activate(z) -{ 3 }→ first(terms(activate(X6)), first(activate(X16), activate(X24))) :|: X16 >= 0, z = 1 + (1 + X6) + (1 + X16 + X24), X6 >= 0, X24 >= 0
activate(z) -{ 3 }→ first(s(activate(X5)), X2) :|: X5 >= 0, z = 1 + (1 + X5) + X2, X2 >= 0
activate(z) -{ 3 }→ first(s(activate(X5)), terms(activate(X10))) :|: X5 >= 0, X10 >= 0, z = 1 + (1 + X5) + (1 + X10)
activate(z) -{ 3 }→ first(s(activate(X5)), s(activate(X9))) :|: X5 >= 0, X9 >= 0, z = 1 + (1 + X5) + (1 + X9)
activate(z) -{ 3 }→ first(s(activate(X5)), first(activate(X13), activate(X23))) :|: X5 >= 0, z = 1 + (1 + X5) + (1 + X13 + X23), X13 >= 0, X23 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), X2) :|: z = 1 + (1 + X11 + X21) + X2, X11 >= 0, X21 >= 0, X2 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), terms(activate(X18))) :|: z = 1 + (1 + X11 + X21) + (1 + X18), X11 >= 0, X21 >= 0, X18 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), s(activate(X17))) :|: z = 1 + (1 + X11 + X21) + (1 + X17), X11 >= 0, X21 >= 0, X17 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), first(activate(X19), activate(X25))) :|: X11 >= 0, X21 >= 0, X19 >= 0, X25 >= 0, z = 1 + (1 + X11 + X21) + (1 + X19 + X25)
activate(z) -{ 4 }→ 1 :|: X1 >= 0, X2 >= 0, z = 1 + X1 + X2, X2 = X, X >= 0, X1 = 0
activate(z) -{ 3 }→ 1 + X' :|: z - 1 >= 0, X' >= 0, z - 1 = X'
activate(z) -{ 4 }→ 1 + X1' + X2' :|: X1 >= 0, X2 >= 0, z = 1 + X1 + X2, X1' >= 0, X2' >= 0, X1 = X1', X2 = X2'
activate(z) -{ 3 }→ 1 + (1 + sqr(N)) + (1 + (1 + N)) :|: z - 1 >= 0, z - 1 = N, N >= 0
add(z, z') -{ 1 }→ z' :|: z' >= 0, z = 0
dbl(z) -{ 1 }→ 0 :|: z = 0
first(z, z') -{ 1 }→ 1 :|: z' >= 0, z = 0
first(z, z') -{ 1 }→ 1 + z + z' :|: z >= 0, z' >= 0
s(z) -{ 1 }→ 1 + z :|: z >= 0
sqr(z) -{ 1 }→ 0 :|: z = 0
sqr(z) -{ 0 }→ 0 :|: z >= 0
terms(z) -{ 1 }→ 1 + z :|: z >= 0
terms(z) -{ 2 }→ 1 + (1 + 0) + (1 + (1 + z)) :|: z >= 0, z = 0
terms(z) -{ 1 }→ 1 + (1 + 0) + (1 + (1 + z)) :|: z >= 0
first: runtime: O(1) [1], size: O(n1) [1 + z + z'] dbl: runtime: O(1) [1], size: O(1) [0] add: runtime: O(1) [1], size: O(n1) [z'] terms: runtime: O(1) [2], size: O(n1) [4 + z] sqr: runtime: ?, size: O(1) [0] |
activate(z) -{ 1 }→ z :|: z >= 0
activate(z) -{ 2 }→ terms(terms(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ terms(s(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ terms(first(activate(X1''), activate(X2''))) :|: X1'' >= 0, z = 1 + (1 + X1'' + X2''), X2'' >= 0
activate(z) -{ 2 }→ s(terms(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ s(s(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ s(first(activate(X1'), activate(X2'))) :|: z = 1 + (1 + X1' + X2'), X2' >= 0, X1' >= 0
activate(z) -{ 3 }→ first(X1, terms(activate(X8))) :|: X1 >= 0, z = 1 + X1 + (1 + X8), X8 >= 0
activate(z) -{ 3 }→ first(X1, s(activate(X7))) :|: z = 1 + X1 + (1 + X7), X1 >= 0, X7 >= 0
activate(z) -{ 3 }→ first(X1, first(activate(X12), activate(X22))) :|: X1 >= 0, X12 >= 0, X22 >= 0, z = 1 + X1 + (1 + X12 + X22)
activate(z) -{ 3 }→ first(terms(activate(X6)), X2) :|: X6 >= 0, z = 1 + (1 + X6) + X2, X2 >= 0
activate(z) -{ 3 }→ first(terms(activate(X6)), terms(activate(X15))) :|: X6 >= 0, z = 1 + (1 + X6) + (1 + X15), X15 >= 0
activate(z) -{ 3 }→ first(terms(activate(X6)), s(activate(X14))) :|: z = 1 + (1 + X6) + (1 + X14), X6 >= 0, X14 >= 0
activate(z) -{ 3 }→ first(terms(activate(X6)), first(activate(X16), activate(X24))) :|: X16 >= 0, z = 1 + (1 + X6) + (1 + X16 + X24), X6 >= 0, X24 >= 0
activate(z) -{ 3 }→ first(s(activate(X5)), X2) :|: X5 >= 0, z = 1 + (1 + X5) + X2, X2 >= 0
activate(z) -{ 3 }→ first(s(activate(X5)), terms(activate(X10))) :|: X5 >= 0, X10 >= 0, z = 1 + (1 + X5) + (1 + X10)
activate(z) -{ 3 }→ first(s(activate(X5)), s(activate(X9))) :|: X5 >= 0, X9 >= 0, z = 1 + (1 + X5) + (1 + X9)
activate(z) -{ 3 }→ first(s(activate(X5)), first(activate(X13), activate(X23))) :|: X5 >= 0, z = 1 + (1 + X5) + (1 + X13 + X23), X13 >= 0, X23 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), X2) :|: z = 1 + (1 + X11 + X21) + X2, X11 >= 0, X21 >= 0, X2 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), terms(activate(X18))) :|: z = 1 + (1 + X11 + X21) + (1 + X18), X11 >= 0, X21 >= 0, X18 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), s(activate(X17))) :|: z = 1 + (1 + X11 + X21) + (1 + X17), X11 >= 0, X21 >= 0, X17 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), first(activate(X19), activate(X25))) :|: X11 >= 0, X21 >= 0, X19 >= 0, X25 >= 0, z = 1 + (1 + X11 + X21) + (1 + X19 + X25)
activate(z) -{ 4 }→ 1 :|: X1 >= 0, X2 >= 0, z = 1 + X1 + X2, X2 = X, X >= 0, X1 = 0
activate(z) -{ 3 }→ 1 + X' :|: z - 1 >= 0, X' >= 0, z - 1 = X'
activate(z) -{ 4 }→ 1 + X1' + X2' :|: X1 >= 0, X2 >= 0, z = 1 + X1 + X2, X1' >= 0, X2' >= 0, X1 = X1', X2 = X2'
activate(z) -{ 3 }→ 1 + (1 + sqr(N)) + (1 + (1 + N)) :|: z - 1 >= 0, z - 1 = N, N >= 0
add(z, z') -{ 1 }→ z' :|: z' >= 0, z = 0
dbl(z) -{ 1 }→ 0 :|: z = 0
first(z, z') -{ 1 }→ 1 :|: z' >= 0, z = 0
first(z, z') -{ 1 }→ 1 + z + z' :|: z >= 0, z' >= 0
s(z) -{ 1 }→ 1 + z :|: z >= 0
sqr(z) -{ 1 }→ 0 :|: z = 0
sqr(z) -{ 0 }→ 0 :|: z >= 0
terms(z) -{ 1 }→ 1 + z :|: z >= 0
terms(z) -{ 2 }→ 1 + (1 + 0) + (1 + (1 + z)) :|: z >= 0, z = 0
terms(z) -{ 1 }→ 1 + (1 + 0) + (1 + (1 + z)) :|: z >= 0
first: runtime: O(1) [1], size: O(n1) [1 + z + z'] dbl: runtime: O(1) [1], size: O(1) [0] add: runtime: O(1) [1], size: O(n1) [z'] terms: runtime: O(1) [2], size: O(n1) [4 + z] sqr: runtime: O(1) [1], size: O(1) [0] |
activate(z) -{ 1 }→ z :|: z >= 0
activate(z) -{ 2 }→ terms(terms(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ terms(s(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ terms(first(activate(X1''), activate(X2''))) :|: X1'' >= 0, z = 1 + (1 + X1'' + X2''), X2'' >= 0
activate(z) -{ 2 }→ s(terms(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ s(s(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ s(first(activate(X1'), activate(X2'))) :|: z = 1 + (1 + X1' + X2'), X2' >= 0, X1' >= 0
activate(z) -{ 3 }→ first(X1, terms(activate(X8))) :|: X1 >= 0, z = 1 + X1 + (1 + X8), X8 >= 0
activate(z) -{ 3 }→ first(X1, s(activate(X7))) :|: z = 1 + X1 + (1 + X7), X1 >= 0, X7 >= 0
activate(z) -{ 3 }→ first(X1, first(activate(X12), activate(X22))) :|: X1 >= 0, X12 >= 0, X22 >= 0, z = 1 + X1 + (1 + X12 + X22)
activate(z) -{ 3 }→ first(terms(activate(X6)), X2) :|: X6 >= 0, z = 1 + (1 + X6) + X2, X2 >= 0
activate(z) -{ 3 }→ first(terms(activate(X6)), terms(activate(X15))) :|: X6 >= 0, z = 1 + (1 + X6) + (1 + X15), X15 >= 0
activate(z) -{ 3 }→ first(terms(activate(X6)), s(activate(X14))) :|: z = 1 + (1 + X6) + (1 + X14), X6 >= 0, X14 >= 0
activate(z) -{ 3 }→ first(terms(activate(X6)), first(activate(X16), activate(X24))) :|: X16 >= 0, z = 1 + (1 + X6) + (1 + X16 + X24), X6 >= 0, X24 >= 0
activate(z) -{ 3 }→ first(s(activate(X5)), X2) :|: X5 >= 0, z = 1 + (1 + X5) + X2, X2 >= 0
activate(z) -{ 3 }→ first(s(activate(X5)), terms(activate(X10))) :|: X5 >= 0, X10 >= 0, z = 1 + (1 + X5) + (1 + X10)
activate(z) -{ 3 }→ first(s(activate(X5)), s(activate(X9))) :|: X5 >= 0, X9 >= 0, z = 1 + (1 + X5) + (1 + X9)
activate(z) -{ 3 }→ first(s(activate(X5)), first(activate(X13), activate(X23))) :|: X5 >= 0, z = 1 + (1 + X5) + (1 + X13 + X23), X13 >= 0, X23 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), X2) :|: z = 1 + (1 + X11 + X21) + X2, X11 >= 0, X21 >= 0, X2 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), terms(activate(X18))) :|: z = 1 + (1 + X11 + X21) + (1 + X18), X11 >= 0, X21 >= 0, X18 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), s(activate(X17))) :|: z = 1 + (1 + X11 + X21) + (1 + X17), X11 >= 0, X21 >= 0, X17 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), first(activate(X19), activate(X25))) :|: X11 >= 0, X21 >= 0, X19 >= 0, X25 >= 0, z = 1 + (1 + X11 + X21) + (1 + X19 + X25)
activate(z) -{ 4 }→ 1 :|: X1 >= 0, X2 >= 0, z = 1 + X1 + X2, X2 = X, X >= 0, X1 = 0
activate(z) -{ 3 }→ 1 + X' :|: z - 1 >= 0, X' >= 0, z - 1 = X'
activate(z) -{ 4 }→ 1 + X1' + X2' :|: X1 >= 0, X2 >= 0, z = 1 + X1 + X2, X1' >= 0, X2' >= 0, X1 = X1', X2 = X2'
activate(z) -{ 4 }→ 1 + (1 + s) + (1 + (1 + N)) :|: s >= 0, s <= 0, z - 1 >= 0, z - 1 = N, N >= 0
add(z, z') -{ 1 }→ z' :|: z' >= 0, z = 0
dbl(z) -{ 1 }→ 0 :|: z = 0
first(z, z') -{ 1 }→ 1 :|: z' >= 0, z = 0
first(z, z') -{ 1 }→ 1 + z + z' :|: z >= 0, z' >= 0
s(z) -{ 1 }→ 1 + z :|: z >= 0
sqr(z) -{ 1 }→ 0 :|: z = 0
sqr(z) -{ 0 }→ 0 :|: z >= 0
terms(z) -{ 1 }→ 1 + z :|: z >= 0
terms(z) -{ 2 }→ 1 + (1 + 0) + (1 + (1 + z)) :|: z >= 0, z = 0
terms(z) -{ 1 }→ 1 + (1 + 0) + (1 + (1 + z)) :|: z >= 0
first: runtime: O(1) [1], size: O(n1) [1 + z + z'] dbl: runtime: O(1) [1], size: O(1) [0] add: runtime: O(1) [1], size: O(n1) [z'] terms: runtime: O(1) [2], size: O(n1) [4 + z] sqr: runtime: O(1) [1], size: O(1) [0] |
activate(z) -{ 1 }→ z :|: z >= 0
activate(z) -{ 2 }→ terms(terms(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ terms(s(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ terms(first(activate(X1''), activate(X2''))) :|: X1'' >= 0, z = 1 + (1 + X1'' + X2''), X2'' >= 0
activate(z) -{ 2 }→ s(terms(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ s(s(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ s(first(activate(X1'), activate(X2'))) :|: z = 1 + (1 + X1' + X2'), X2' >= 0, X1' >= 0
activate(z) -{ 3 }→ first(X1, terms(activate(X8))) :|: X1 >= 0, z = 1 + X1 + (1 + X8), X8 >= 0
activate(z) -{ 3 }→ first(X1, s(activate(X7))) :|: z = 1 + X1 + (1 + X7), X1 >= 0, X7 >= 0
activate(z) -{ 3 }→ first(X1, first(activate(X12), activate(X22))) :|: X1 >= 0, X12 >= 0, X22 >= 0, z = 1 + X1 + (1 + X12 + X22)
activate(z) -{ 3 }→ first(terms(activate(X6)), X2) :|: X6 >= 0, z = 1 + (1 + X6) + X2, X2 >= 0
activate(z) -{ 3 }→ first(terms(activate(X6)), terms(activate(X15))) :|: X6 >= 0, z = 1 + (1 + X6) + (1 + X15), X15 >= 0
activate(z) -{ 3 }→ first(terms(activate(X6)), s(activate(X14))) :|: z = 1 + (1 + X6) + (1 + X14), X6 >= 0, X14 >= 0
activate(z) -{ 3 }→ first(terms(activate(X6)), first(activate(X16), activate(X24))) :|: X16 >= 0, z = 1 + (1 + X6) + (1 + X16 + X24), X6 >= 0, X24 >= 0
activate(z) -{ 3 }→ first(s(activate(X5)), X2) :|: X5 >= 0, z = 1 + (1 + X5) + X2, X2 >= 0
activate(z) -{ 3 }→ first(s(activate(X5)), terms(activate(X10))) :|: X5 >= 0, X10 >= 0, z = 1 + (1 + X5) + (1 + X10)
activate(z) -{ 3 }→ first(s(activate(X5)), s(activate(X9))) :|: X5 >= 0, X9 >= 0, z = 1 + (1 + X5) + (1 + X9)
activate(z) -{ 3 }→ first(s(activate(X5)), first(activate(X13), activate(X23))) :|: X5 >= 0, z = 1 + (1 + X5) + (1 + X13 + X23), X13 >= 0, X23 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), X2) :|: z = 1 + (1 + X11 + X21) + X2, X11 >= 0, X21 >= 0, X2 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), terms(activate(X18))) :|: z = 1 + (1 + X11 + X21) + (1 + X18), X11 >= 0, X21 >= 0, X18 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), s(activate(X17))) :|: z = 1 + (1 + X11 + X21) + (1 + X17), X11 >= 0, X21 >= 0, X17 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), first(activate(X19), activate(X25))) :|: X11 >= 0, X21 >= 0, X19 >= 0, X25 >= 0, z = 1 + (1 + X11 + X21) + (1 + X19 + X25)
activate(z) -{ 4 }→ 1 :|: X1 >= 0, X2 >= 0, z = 1 + X1 + X2, X2 = X, X >= 0, X1 = 0
activate(z) -{ 3 }→ 1 + X' :|: z - 1 >= 0, X' >= 0, z - 1 = X'
activate(z) -{ 4 }→ 1 + X1' + X2' :|: X1 >= 0, X2 >= 0, z = 1 + X1 + X2, X1' >= 0, X2' >= 0, X1 = X1', X2 = X2'
activate(z) -{ 4 }→ 1 + (1 + s) + (1 + (1 + N)) :|: s >= 0, s <= 0, z - 1 >= 0, z - 1 = N, N >= 0
add(z, z') -{ 1 }→ z' :|: z' >= 0, z = 0
dbl(z) -{ 1 }→ 0 :|: z = 0
first(z, z') -{ 1 }→ 1 :|: z' >= 0, z = 0
first(z, z') -{ 1 }→ 1 + z + z' :|: z >= 0, z' >= 0
s(z) -{ 1 }→ 1 + z :|: z >= 0
sqr(z) -{ 1 }→ 0 :|: z = 0
sqr(z) -{ 0 }→ 0 :|: z >= 0
terms(z) -{ 1 }→ 1 + z :|: z >= 0
terms(z) -{ 2 }→ 1 + (1 + 0) + (1 + (1 + z)) :|: z >= 0, z = 0
terms(z) -{ 1 }→ 1 + (1 + 0) + (1 + (1 + z)) :|: z >= 0
first: runtime: O(1) [1], size: O(n1) [1 + z + z'] dbl: runtime: O(1) [1], size: O(1) [0] add: runtime: O(1) [1], size: O(n1) [z'] terms: runtime: O(1) [2], size: O(n1) [4 + z] sqr: runtime: O(1) [1], size: O(1) [0] s: runtime: ?, size: O(n1) [1 + z] |
activate(z) -{ 1 }→ z :|: z >= 0
activate(z) -{ 2 }→ terms(terms(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ terms(s(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ terms(first(activate(X1''), activate(X2''))) :|: X1'' >= 0, z = 1 + (1 + X1'' + X2''), X2'' >= 0
activate(z) -{ 2 }→ s(terms(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ s(s(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ s(first(activate(X1'), activate(X2'))) :|: z = 1 + (1 + X1' + X2'), X2' >= 0, X1' >= 0
activate(z) -{ 3 }→ first(X1, terms(activate(X8))) :|: X1 >= 0, z = 1 + X1 + (1 + X8), X8 >= 0
activate(z) -{ 3 }→ first(X1, s(activate(X7))) :|: z = 1 + X1 + (1 + X7), X1 >= 0, X7 >= 0
activate(z) -{ 3 }→ first(X1, first(activate(X12), activate(X22))) :|: X1 >= 0, X12 >= 0, X22 >= 0, z = 1 + X1 + (1 + X12 + X22)
activate(z) -{ 3 }→ first(terms(activate(X6)), X2) :|: X6 >= 0, z = 1 + (1 + X6) + X2, X2 >= 0
activate(z) -{ 3 }→ first(terms(activate(X6)), terms(activate(X15))) :|: X6 >= 0, z = 1 + (1 + X6) + (1 + X15), X15 >= 0
activate(z) -{ 3 }→ first(terms(activate(X6)), s(activate(X14))) :|: z = 1 + (1 + X6) + (1 + X14), X6 >= 0, X14 >= 0
activate(z) -{ 3 }→ first(terms(activate(X6)), first(activate(X16), activate(X24))) :|: X16 >= 0, z = 1 + (1 + X6) + (1 + X16 + X24), X6 >= 0, X24 >= 0
activate(z) -{ 3 }→ first(s(activate(X5)), X2) :|: X5 >= 0, z = 1 + (1 + X5) + X2, X2 >= 0
activate(z) -{ 3 }→ first(s(activate(X5)), terms(activate(X10))) :|: X5 >= 0, X10 >= 0, z = 1 + (1 + X5) + (1 + X10)
activate(z) -{ 3 }→ first(s(activate(X5)), s(activate(X9))) :|: X5 >= 0, X9 >= 0, z = 1 + (1 + X5) + (1 + X9)
activate(z) -{ 3 }→ first(s(activate(X5)), first(activate(X13), activate(X23))) :|: X5 >= 0, z = 1 + (1 + X5) + (1 + X13 + X23), X13 >= 0, X23 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), X2) :|: z = 1 + (1 + X11 + X21) + X2, X11 >= 0, X21 >= 0, X2 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), terms(activate(X18))) :|: z = 1 + (1 + X11 + X21) + (1 + X18), X11 >= 0, X21 >= 0, X18 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), s(activate(X17))) :|: z = 1 + (1 + X11 + X21) + (1 + X17), X11 >= 0, X21 >= 0, X17 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), first(activate(X19), activate(X25))) :|: X11 >= 0, X21 >= 0, X19 >= 0, X25 >= 0, z = 1 + (1 + X11 + X21) + (1 + X19 + X25)
activate(z) -{ 4 }→ 1 :|: X1 >= 0, X2 >= 0, z = 1 + X1 + X2, X2 = X, X >= 0, X1 = 0
activate(z) -{ 3 }→ 1 + X' :|: z - 1 >= 0, X' >= 0, z - 1 = X'
activate(z) -{ 4 }→ 1 + X1' + X2' :|: X1 >= 0, X2 >= 0, z = 1 + X1 + X2, X1' >= 0, X2' >= 0, X1 = X1', X2 = X2'
activate(z) -{ 4 }→ 1 + (1 + s) + (1 + (1 + N)) :|: s >= 0, s <= 0, z - 1 >= 0, z - 1 = N, N >= 0
add(z, z') -{ 1 }→ z' :|: z' >= 0, z = 0
dbl(z) -{ 1 }→ 0 :|: z = 0
first(z, z') -{ 1 }→ 1 :|: z' >= 0, z = 0
first(z, z') -{ 1 }→ 1 + z + z' :|: z >= 0, z' >= 0
s(z) -{ 1 }→ 1 + z :|: z >= 0
sqr(z) -{ 1 }→ 0 :|: z = 0
sqr(z) -{ 0 }→ 0 :|: z >= 0
terms(z) -{ 1 }→ 1 + z :|: z >= 0
terms(z) -{ 2 }→ 1 + (1 + 0) + (1 + (1 + z)) :|: z >= 0, z = 0
terms(z) -{ 1 }→ 1 + (1 + 0) + (1 + (1 + z)) :|: z >= 0
first: runtime: O(1) [1], size: O(n1) [1 + z + z'] dbl: runtime: O(1) [1], size: O(1) [0] add: runtime: O(1) [1], size: O(n1) [z'] terms: runtime: O(1) [2], size: O(n1) [4 + z] sqr: runtime: O(1) [1], size: O(1) [0] s: runtime: O(1) [1], size: O(n1) [1 + z] |
activate(z) -{ 1 }→ z :|: z >= 0
activate(z) -{ 2 }→ terms(terms(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ terms(s(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ terms(first(activate(X1''), activate(X2''))) :|: X1'' >= 0, z = 1 + (1 + X1'' + X2''), X2'' >= 0
activate(z) -{ 2 }→ s(terms(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ s(s(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ s(first(activate(X1'), activate(X2'))) :|: z = 1 + (1 + X1' + X2'), X2' >= 0, X1' >= 0
activate(z) -{ 3 }→ first(X1, terms(activate(X8))) :|: X1 >= 0, z = 1 + X1 + (1 + X8), X8 >= 0
activate(z) -{ 3 }→ first(X1, s(activate(X7))) :|: z = 1 + X1 + (1 + X7), X1 >= 0, X7 >= 0
activate(z) -{ 3 }→ first(X1, first(activate(X12), activate(X22))) :|: X1 >= 0, X12 >= 0, X22 >= 0, z = 1 + X1 + (1 + X12 + X22)
activate(z) -{ 3 }→ first(terms(activate(X6)), X2) :|: X6 >= 0, z = 1 + (1 + X6) + X2, X2 >= 0
activate(z) -{ 3 }→ first(terms(activate(X6)), terms(activate(X15))) :|: X6 >= 0, z = 1 + (1 + X6) + (1 + X15), X15 >= 0
activate(z) -{ 3 }→ first(terms(activate(X6)), s(activate(X14))) :|: z = 1 + (1 + X6) + (1 + X14), X6 >= 0, X14 >= 0
activate(z) -{ 3 }→ first(terms(activate(X6)), first(activate(X16), activate(X24))) :|: X16 >= 0, z = 1 + (1 + X6) + (1 + X16 + X24), X6 >= 0, X24 >= 0
activate(z) -{ 3 }→ first(s(activate(X5)), X2) :|: X5 >= 0, z = 1 + (1 + X5) + X2, X2 >= 0
activate(z) -{ 3 }→ first(s(activate(X5)), terms(activate(X10))) :|: X5 >= 0, X10 >= 0, z = 1 + (1 + X5) + (1 + X10)
activate(z) -{ 3 }→ first(s(activate(X5)), s(activate(X9))) :|: X5 >= 0, X9 >= 0, z = 1 + (1 + X5) + (1 + X9)
activate(z) -{ 3 }→ first(s(activate(X5)), first(activate(X13), activate(X23))) :|: X5 >= 0, z = 1 + (1 + X5) + (1 + X13 + X23), X13 >= 0, X23 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), X2) :|: z = 1 + (1 + X11 + X21) + X2, X11 >= 0, X21 >= 0, X2 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), terms(activate(X18))) :|: z = 1 + (1 + X11 + X21) + (1 + X18), X11 >= 0, X21 >= 0, X18 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), s(activate(X17))) :|: z = 1 + (1 + X11 + X21) + (1 + X17), X11 >= 0, X21 >= 0, X17 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), first(activate(X19), activate(X25))) :|: X11 >= 0, X21 >= 0, X19 >= 0, X25 >= 0, z = 1 + (1 + X11 + X21) + (1 + X19 + X25)
activate(z) -{ 4 }→ 1 :|: X1 >= 0, X2 >= 0, z = 1 + X1 + X2, X2 = X, X >= 0, X1 = 0
activate(z) -{ 3 }→ 1 + X' :|: z - 1 >= 0, X' >= 0, z - 1 = X'
activate(z) -{ 4 }→ 1 + X1' + X2' :|: X1 >= 0, X2 >= 0, z = 1 + X1 + X2, X1' >= 0, X2' >= 0, X1 = X1', X2 = X2'
activate(z) -{ 4 }→ 1 + (1 + s) + (1 + (1 + N)) :|: s >= 0, s <= 0, z - 1 >= 0, z - 1 = N, N >= 0
add(z, z') -{ 1 }→ z' :|: z' >= 0, z = 0
dbl(z) -{ 1 }→ 0 :|: z = 0
first(z, z') -{ 1 }→ 1 :|: z' >= 0, z = 0
first(z, z') -{ 1 }→ 1 + z + z' :|: z >= 0, z' >= 0
s(z) -{ 1 }→ 1 + z :|: z >= 0
sqr(z) -{ 1 }→ 0 :|: z = 0
sqr(z) -{ 0 }→ 0 :|: z >= 0
terms(z) -{ 1 }→ 1 + z :|: z >= 0
terms(z) -{ 2 }→ 1 + (1 + 0) + (1 + (1 + z)) :|: z >= 0, z = 0
terms(z) -{ 1 }→ 1 + (1 + 0) + (1 + (1 + z)) :|: z >= 0
first: runtime: O(1) [1], size: O(n1) [1 + z + z'] dbl: runtime: O(1) [1], size: O(1) [0] add: runtime: O(1) [1], size: O(n1) [z'] terms: runtime: O(1) [2], size: O(n1) [4 + z] sqr: runtime: O(1) [1], size: O(1) [0] s: runtime: O(1) [1], size: O(n1) [1 + z] |
activate(z) -{ 1 }→ z :|: z >= 0
activate(z) -{ 2 }→ terms(terms(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ terms(s(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ terms(first(activate(X1''), activate(X2''))) :|: X1'' >= 0, z = 1 + (1 + X1'' + X2''), X2'' >= 0
activate(z) -{ 2 }→ s(terms(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ s(s(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ s(first(activate(X1'), activate(X2'))) :|: z = 1 + (1 + X1' + X2'), X2' >= 0, X1' >= 0
activate(z) -{ 3 }→ first(X1, terms(activate(X8))) :|: X1 >= 0, z = 1 + X1 + (1 + X8), X8 >= 0
activate(z) -{ 3 }→ first(X1, s(activate(X7))) :|: z = 1 + X1 + (1 + X7), X1 >= 0, X7 >= 0
activate(z) -{ 3 }→ first(X1, first(activate(X12), activate(X22))) :|: X1 >= 0, X12 >= 0, X22 >= 0, z = 1 + X1 + (1 + X12 + X22)
activate(z) -{ 3 }→ first(terms(activate(X6)), X2) :|: X6 >= 0, z = 1 + (1 + X6) + X2, X2 >= 0
activate(z) -{ 3 }→ first(terms(activate(X6)), terms(activate(X15))) :|: X6 >= 0, z = 1 + (1 + X6) + (1 + X15), X15 >= 0
activate(z) -{ 3 }→ first(terms(activate(X6)), s(activate(X14))) :|: z = 1 + (1 + X6) + (1 + X14), X6 >= 0, X14 >= 0
activate(z) -{ 3 }→ first(terms(activate(X6)), first(activate(X16), activate(X24))) :|: X16 >= 0, z = 1 + (1 + X6) + (1 + X16 + X24), X6 >= 0, X24 >= 0
activate(z) -{ 3 }→ first(s(activate(X5)), X2) :|: X5 >= 0, z = 1 + (1 + X5) + X2, X2 >= 0
activate(z) -{ 3 }→ first(s(activate(X5)), terms(activate(X10))) :|: X5 >= 0, X10 >= 0, z = 1 + (1 + X5) + (1 + X10)
activate(z) -{ 3 }→ first(s(activate(X5)), s(activate(X9))) :|: X5 >= 0, X9 >= 0, z = 1 + (1 + X5) + (1 + X9)
activate(z) -{ 3 }→ first(s(activate(X5)), first(activate(X13), activate(X23))) :|: X5 >= 0, z = 1 + (1 + X5) + (1 + X13 + X23), X13 >= 0, X23 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), X2) :|: z = 1 + (1 + X11 + X21) + X2, X11 >= 0, X21 >= 0, X2 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), terms(activate(X18))) :|: z = 1 + (1 + X11 + X21) + (1 + X18), X11 >= 0, X21 >= 0, X18 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), s(activate(X17))) :|: z = 1 + (1 + X11 + X21) + (1 + X17), X11 >= 0, X21 >= 0, X17 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), first(activate(X19), activate(X25))) :|: X11 >= 0, X21 >= 0, X19 >= 0, X25 >= 0, z = 1 + (1 + X11 + X21) + (1 + X19 + X25)
activate(z) -{ 4 }→ 1 :|: X1 >= 0, X2 >= 0, z = 1 + X1 + X2, X2 = X, X >= 0, X1 = 0
activate(z) -{ 3 }→ 1 + X' :|: z - 1 >= 0, X' >= 0, z - 1 = X'
activate(z) -{ 4 }→ 1 + X1' + X2' :|: X1 >= 0, X2 >= 0, z = 1 + X1 + X2, X1' >= 0, X2' >= 0, X1 = X1', X2 = X2'
activate(z) -{ 4 }→ 1 + (1 + s) + (1 + (1 + N)) :|: s >= 0, s <= 0, z - 1 >= 0, z - 1 = N, N >= 0
add(z, z') -{ 1 }→ z' :|: z' >= 0, z = 0
dbl(z) -{ 1 }→ 0 :|: z = 0
first(z, z') -{ 1 }→ 1 :|: z' >= 0, z = 0
first(z, z') -{ 1 }→ 1 + z + z' :|: z >= 0, z' >= 0
s(z) -{ 1 }→ 1 + z :|: z >= 0
sqr(z) -{ 1 }→ 0 :|: z = 0
sqr(z) -{ 0 }→ 0 :|: z >= 0
terms(z) -{ 1 }→ 1 + z :|: z >= 0
terms(z) -{ 2 }→ 1 + (1 + 0) + (1 + (1 + z)) :|: z >= 0, z = 0
terms(z) -{ 1 }→ 1 + (1 + 0) + (1 + (1 + z)) :|: z >= 0
first: runtime: O(1) [1], size: O(n1) [1 + z + z'] dbl: runtime: O(1) [1], size: O(1) [0] add: runtime: O(1) [1], size: O(n1) [z'] terms: runtime: O(1) [2], size: O(n1) [4 + z] sqr: runtime: O(1) [1], size: O(1) [0] s: runtime: O(1) [1], size: O(n1) [1 + z] activate: runtime: ?, size: O(n2) [92 + 195·z + 22·z2] |
activate(z) -{ 1 }→ z :|: z >= 0
activate(z) -{ 2 }→ terms(terms(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ terms(s(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ terms(first(activate(X1''), activate(X2''))) :|: X1'' >= 0, z = 1 + (1 + X1'' + X2''), X2'' >= 0
activate(z) -{ 2 }→ s(terms(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ s(s(activate(z - 2))) :|: z - 2 >= 0
activate(z) -{ 2 }→ s(first(activate(X1'), activate(X2'))) :|: z = 1 + (1 + X1' + X2'), X2' >= 0, X1' >= 0
activate(z) -{ 3 }→ first(X1, terms(activate(X8))) :|: X1 >= 0, z = 1 + X1 + (1 + X8), X8 >= 0
activate(z) -{ 3 }→ first(X1, s(activate(X7))) :|: z = 1 + X1 + (1 + X7), X1 >= 0, X7 >= 0
activate(z) -{ 3 }→ first(X1, first(activate(X12), activate(X22))) :|: X1 >= 0, X12 >= 0, X22 >= 0, z = 1 + X1 + (1 + X12 + X22)
activate(z) -{ 3 }→ first(terms(activate(X6)), X2) :|: X6 >= 0, z = 1 + (1 + X6) + X2, X2 >= 0
activate(z) -{ 3 }→ first(terms(activate(X6)), terms(activate(X15))) :|: X6 >= 0, z = 1 + (1 + X6) + (1 + X15), X15 >= 0
activate(z) -{ 3 }→ first(terms(activate(X6)), s(activate(X14))) :|: z = 1 + (1 + X6) + (1 + X14), X6 >= 0, X14 >= 0
activate(z) -{ 3 }→ first(terms(activate(X6)), first(activate(X16), activate(X24))) :|: X16 >= 0, z = 1 + (1 + X6) + (1 + X16 + X24), X6 >= 0, X24 >= 0
activate(z) -{ 3 }→ first(s(activate(X5)), X2) :|: X5 >= 0, z = 1 + (1 + X5) + X2, X2 >= 0
activate(z) -{ 3 }→ first(s(activate(X5)), terms(activate(X10))) :|: X5 >= 0, X10 >= 0, z = 1 + (1 + X5) + (1 + X10)
activate(z) -{ 3 }→ first(s(activate(X5)), s(activate(X9))) :|: X5 >= 0, X9 >= 0, z = 1 + (1 + X5) + (1 + X9)
activate(z) -{ 3 }→ first(s(activate(X5)), first(activate(X13), activate(X23))) :|: X5 >= 0, z = 1 + (1 + X5) + (1 + X13 + X23), X13 >= 0, X23 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), X2) :|: z = 1 + (1 + X11 + X21) + X2, X11 >= 0, X21 >= 0, X2 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), terms(activate(X18))) :|: z = 1 + (1 + X11 + X21) + (1 + X18), X11 >= 0, X21 >= 0, X18 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), s(activate(X17))) :|: z = 1 + (1 + X11 + X21) + (1 + X17), X11 >= 0, X21 >= 0, X17 >= 0
activate(z) -{ 3 }→ first(first(activate(X11), activate(X21)), first(activate(X19), activate(X25))) :|: X11 >= 0, X21 >= 0, X19 >= 0, X25 >= 0, z = 1 + (1 + X11 + X21) + (1 + X19 + X25)
activate(z) -{ 4 }→ 1 :|: X1 >= 0, X2 >= 0, z = 1 + X1 + X2, X2 = X, X >= 0, X1 = 0
activate(z) -{ 3 }→ 1 + X' :|: z - 1 >= 0, X' >= 0, z - 1 = X'
activate(z) -{ 4 }→ 1 + X1' + X2' :|: X1 >= 0, X2 >= 0, z = 1 + X1 + X2, X1' >= 0, X2' >= 0, X1 = X1', X2 = X2'
activate(z) -{ 4 }→ 1 + (1 + s) + (1 + (1 + N)) :|: s >= 0, s <= 0, z - 1 >= 0, z - 1 = N, N >= 0
add(z, z') -{ 1 }→ z' :|: z' >= 0, z = 0
dbl(z) -{ 1 }→ 0 :|: z = 0
first(z, z') -{ 1 }→ 1 :|: z' >= 0, z = 0
first(z, z') -{ 1 }→ 1 + z + z' :|: z >= 0, z' >= 0
s(z) -{ 1 }→ 1 + z :|: z >= 0
sqr(z) -{ 1 }→ 0 :|: z = 0
sqr(z) -{ 0 }→ 0 :|: z >= 0
terms(z) -{ 1 }→ 1 + z :|: z >= 0
terms(z) -{ 2 }→ 1 + (1 + 0) + (1 + (1 + z)) :|: z >= 0, z = 0
terms(z) -{ 1 }→ 1 + (1 + 0) + (1 + (1 + z)) :|: z >= 0
first: runtime: O(1) [1], size: O(n1) [1 + z + z'] dbl: runtime: O(1) [1], size: O(1) [0] add: runtime: O(1) [1], size: O(n1) [z'] terms: runtime: O(1) [2], size: O(n1) [4 + z] sqr: runtime: O(1) [1], size: O(1) [0] s: runtime: O(1) [1], size: O(n1) [1 + z] activate: runtime: O(n1) [132 + 264·z], size: O(n2) [92 + 195·z + 22·z2] |