0 CpxTRS
↳1 NestedDefinedSymbolProof (BOTH BOUNDS(ID, ID), 17 ms)
↳2 CpxTRS
↳3 TrsToWeightedTrsProof (BOTH BOUNDS(ID, ID), 0 ms)
↳4 CpxWeightedTrs
↳5 TypeInferenceProof (BOTH BOUNDS(ID, ID), 0 ms)
↳6 CpxTypedWeightedTrs
↳7 CompletionProof (UPPER BOUND(ID), 0 ms)
↳8 CpxTypedWeightedCompleteTrs
↳9 NarrowingProof (BOTH BOUNDS(ID, ID), 0 ms)
↳10 CpxTypedWeightedCompleteTrs
↳11 CpxTypedWeightedTrsToRntsProof (UPPER BOUND(ID), 10 ms)
↳12 CpxRNTS
↳13 SimplificationProof (BOTH BOUNDS(ID, ID), 21 ms)
↳14 CpxRNTS
↳15 CpxRntsAnalysisOrderProof (BOTH BOUNDS(ID, ID), 0 ms)
↳16 CpxRNTS
↳17 IntTrsBoundProof (UPPER BOUND(ID), 467 ms)
↳18 CpxRNTS
↳19 IntTrsBoundProof (UPPER BOUND(ID), 127 ms)
↳20 CpxRNTS
↳21 ResultPropagationProof (UPPER BOUND(ID), 0 ms)
↳22 CpxRNTS
↳23 IntTrsBoundProof (UPPER BOUND(ID), 1168 ms)
↳24 CpxRNTS
↳25 IntTrsBoundProof (UPPER BOUND(ID), 473 ms)
↳26 CpxRNTS
↳27 ResultPropagationProof (UPPER BOUND(ID), 0 ms)
↳28 CpxRNTS
↳29 IntTrsBoundProof (UPPER BOUND(ID), 682 ms)
↳30 CpxRNTS
↳31 IntTrsBoundProof (UPPER BOUND(ID), 281 ms)
↳32 CpxRNTS
↳33 ResultPropagationProof (UPPER BOUND(ID), 0 ms)
↳34 CpxRNTS
↳35 IntTrsBoundProof (UPPER BOUND(ID), 214 ms)
↳36 CpxRNTS
↳37 IntTrsBoundProof (UPPER BOUND(ID), 63 ms)
↳38 CpxRNTS
↳39 ResultPropagationProof (UPPER BOUND(ID), 0 ms)
↳40 CpxRNTS
↳41 IntTrsBoundProof (UPPER BOUND(ID), 994 ms)
↳42 CpxRNTS
↳43 IntTrsBoundProof (UPPER BOUND(ID), 20 ms)
↳44 CpxRNTS
↳45 ResultPropagationProof (UPPER BOUND(ID), 0 ms)
↳46 CpxRNTS
↳47 IntTrsBoundProof (UPPER BOUND(ID), 801 ms)
↳48 CpxRNTS
↳49 IntTrsBoundProof (UPPER BOUND(ID), 118 ms)
↳50 CpxRNTS
↳51 RetryTechniqueProof (BOTH BOUNDS(ID, ID), 0 ms)
↳52 CpxRNTS
↳53 InliningProof (UPPER BOUND(ID), 232 ms)
↳54 CpxRNTS
↳55 ResultPropagationProof (UPPER BOUND(ID), 0 ms)
↳56 CpxRNTS
↳57 IntTrsBoundProof (UPPER BOUND(ID), 1406 ms)
↳58 CpxRNTS
↳59 IntTrsBoundProof (UPPER BOUND(ID), 581 ms)
↳60 CpxRNTS
↳61 ResultPropagationProof (UPPER BOUND(ID), 0 ms)
↳62 CpxRNTS
↳63 IntTrsBoundProof (UPPER BOUND(ID), 194 ms)
↳64 CpxRNTS
↳65 IntTrsBoundProof (UPPER BOUND(ID), 16 ms)
↳66 CpxRNTS
↳67 ResultPropagationProof (UPPER BOUND(ID), 0 ms)
↳68 CpxRNTS
↳69 IntTrsBoundProof (UPPER BOUND(ID), 118 ms)
↳70 CpxRNTS
↳71 IntTrsBoundProof (UPPER BOUND(ID), 3 ms)
↳72 CpxRNTS
↳73 FinalProof (⇔, 0 ms)
↳74 BOUNDS(1, n^4)
p(s(x)) → x
plus(x, 0) → x
plus(0, y) → y
plus(s(x), y) → s(plus(x, y))
plus(s(x), y) → s(plus(p(s(x)), y))
plus(x, s(y)) → s(plus(x, p(s(y))))
times(0, y) → 0
times(s(0), y) → y
times(s(x), y) → plus(y, times(x, y))
div(0, y) → 0
div(x, y) → quot(x, y, y)
quot(0, s(y), z) → 0
quot(s(x), s(y), z) → quot(x, y, z)
quot(x, 0, s(z)) → s(div(x, s(z)))
div(div(x, y), z) → div(x, times(y, z))
eq(0, 0) → true
eq(s(x), 0) → false
eq(0, s(y)) → false
eq(s(x), s(y)) → eq(x, y)
divides(y, x) → eq(x, times(div(x, y), y))
prime(s(s(x))) → pr(s(s(x)), s(x))
pr(x, s(0)) → true
pr(x, s(s(y))) → if(divides(s(s(y)), x), x, s(y))
if(true, x, y) → false
if(false, x, y) → pr(x, y)
if(false, x, y) → pr(x, y)
plus(s(x), y) → s(plus(x, y))
plus(x, s(y)) → s(plus(x, p(s(y))))
eq(s(x), 0) → false
eq(0, s(y)) → false
eq(s(x), s(y)) → eq(x, y)
times(s(x), y) → plus(y, times(x, y))
p(s(x)) → x
divides(y, x) → eq(x, times(div(x, y), y))
pr(x, s(s(y))) → if(divides(s(s(y)), x), x, s(y))
plus(x, 0) → x
plus(0, y) → y
div(x, y) → quot(x, y, y)
times(0, y) → 0
if(true, x, y) → false
plus(s(x), y) → s(plus(p(s(x)), y))
pr(x, s(0)) → true
eq(0, 0) → true
quot(x, 0, s(z)) → s(div(x, s(z)))
div(0, y) → 0
prime(s(s(x))) → pr(s(s(x)), s(x))
times(s(0), y) → y
quot(s(x), s(y), z) → quot(x, y, z)
quot(0, s(y), z) → 0
if(false, x, y) → pr(x, y) [1]
plus(s(x), y) → s(plus(x, y)) [1]
plus(x, s(y)) → s(plus(x, p(s(y)))) [1]
eq(s(x), 0) → false [1]
eq(0, s(y)) → false [1]
eq(s(x), s(y)) → eq(x, y) [1]
times(s(x), y) → plus(y, times(x, y)) [1]
p(s(x)) → x [1]
divides(y, x) → eq(x, times(div(x, y), y)) [1]
pr(x, s(s(y))) → if(divides(s(s(y)), x), x, s(y)) [1]
plus(x, 0) → x [1]
plus(0, y) → y [1]
div(x, y) → quot(x, y, y) [1]
times(0, y) → 0 [1]
if(true, x, y) → false [1]
plus(s(x), y) → s(plus(p(s(x)), y)) [1]
pr(x, s(0)) → true [1]
eq(0, 0) → true [1]
quot(x, 0, s(z)) → s(div(x, s(z))) [1]
div(0, y) → 0 [1]
prime(s(s(x))) → pr(s(s(x)), s(x)) [1]
times(s(0), y) → y [1]
quot(s(x), s(y), z) → quot(x, y, z) [1]
quot(0, s(y), z) → 0 [1]
if(false, x, y) → pr(x, y) [1]
plus(s(x), y) → s(plus(x, y)) [1]
plus(x, s(y)) → s(plus(x, p(s(y)))) [1]
eq(s(x), 0) → false [1]
eq(0, s(y)) → false [1]
eq(s(x), s(y)) → eq(x, y) [1]
times(s(x), y) → plus(y, times(x, y)) [1]
p(s(x)) → x [1]
divides(y, x) → eq(x, times(div(x, y), y)) [1]
pr(x, s(s(y))) → if(divides(s(s(y)), x), x, s(y)) [1]
plus(x, 0) → x [1]
plus(0, y) → y [1]
div(x, y) → quot(x, y, y) [1]
times(0, y) → 0 [1]
if(true, x, y) → false [1]
plus(s(x), y) → s(plus(p(s(x)), y)) [1]
pr(x, s(0)) → true [1]
eq(0, 0) → true [1]
quot(x, 0, s(z)) → s(div(x, s(z))) [1]
div(0, y) → 0 [1]
prime(s(s(x))) → pr(s(s(x)), s(x)) [1]
times(s(0), y) → y [1]
quot(s(x), s(y), z) → quot(x, y, z) [1]
quot(0, s(y), z) → 0 [1]
if :: false:true → s:0 → s:0 → false:true false :: false:true pr :: s:0 → s:0 → false:true plus :: s:0 → s:0 → s:0 s :: s:0 → s:0 p :: s:0 → s:0 eq :: s:0 → s:0 → false:true 0 :: s:0 times :: s:0 → s:0 → s:0 divides :: s:0 → s:0 → false:true div :: s:0 → s:0 → s:0 quot :: s:0 → s:0 → s:0 → s:0 true :: false:true prime :: s:0 → false:true |
(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:
if
pr
prime
p
times
div
divides
plus
eq
quot
p(v0) → 0 [0]
quot(v0, v1, v2) → 0 [0]
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 |
false => 0
0 => 0
true => 1
div(z', z'') -{ 1 }→ quot(x, y, y) :|: z' = x, z'' = y, x >= 0, y >= 0
div(z', z'') -{ 1 }→ 0 :|: z'' = y, y >= 0, z' = 0
divides(z', z'') -{ 2 }→ eq(x, times(quot(x, y, y), y)) :|: y >= 0, x >= 0, z'' = x, z' = y
divides(z', z'') -{ 2 }→ eq(0, times(0, y)) :|: z'' = 0, y >= 0, z' = y
eq(z', z'') -{ 1 }→ eq(x, y) :|: z' = 1 + x, x >= 0, y >= 0, z'' = 1 + y
eq(z', z'') -{ 1 }→ 1 :|: z'' = 0, z' = 0
eq(z', z'') -{ 1 }→ 0 :|: z'' = 0, z' = 1 + x, x >= 0
eq(z', z'') -{ 1 }→ 0 :|: y >= 0, z'' = 1 + y, z' = 0
if(z', z'', z1) -{ 1 }→ pr(x, y) :|: z1 = y, x >= 0, y >= 0, z'' = x, z' = 0
if(z', z'', z1) -{ 1 }→ 0 :|: z1 = y, x >= 0, y >= 0, z'' = x, z' = 1
p(z') -{ 1 }→ x :|: z' = 1 + x, x >= 0
p(z') -{ 0 }→ 0 :|: v0 >= 0, z' = v0
plus(z', z'') -{ 1 }→ x :|: z'' = 0, z' = x, x >= 0
plus(z', z'') -{ 1 }→ y :|: z'' = y, y >= 0, z' = 0
plus(z', z'') -{ 1 }→ 1 + plus(x, y) :|: z' = 1 + x, z'' = y, x >= 0, y >= 0
plus(z', z'') -{ 2 }→ 1 + plus(x, y) :|: z' = x, x >= 0, y >= 0, z'' = 1 + y
plus(z', z'') -{ 2 }→ 1 + plus(x, y) :|: z' = 1 + x, z'' = y, x >= 0, y >= 0
plus(z', z'') -{ 1 }→ 1 + plus(x, 0) :|: z' = x, x >= 0, y >= 0, z'' = 1 + y
plus(z', z'') -{ 1 }→ 1 + plus(0, y) :|: z' = 1 + x, z'' = y, x >= 0, y >= 0
pr(z', z'') -{ 2 }→ if(eq(x, times(div(x, 1 + (1 + y)), 1 + (1 + y))), x, 1 + y) :|: z' = x, x >= 0, y >= 0, z'' = 1 + (1 + y)
pr(z', z'') -{ 1 }→ 1 :|: z' = x, x >= 0, z'' = 1 + 0
prime(z') -{ 1 }→ pr(1 + (1 + x), 1 + x) :|: x >= 0, z' = 1 + (1 + x)
quot(z', z'', z1) -{ 1 }→ quot(x, y, z) :|: z' = 1 + x, z1 = z, z >= 0, x >= 0, y >= 0, z'' = 1 + y
quot(z', z'', z1) -{ 1 }→ 0 :|: z1 = z, z >= 0, y >= 0, z'' = 1 + y, z' = 0
quot(z', z'', z1) -{ 0 }→ 0 :|: v0 >= 0, z1 = v2, v1 >= 0, z'' = v1, v2 >= 0, z' = v0
quot(z', z'', z1) -{ 1 }→ 1 + div(x, 1 + z) :|: z'' = 0, z >= 0, z' = x, x >= 0, z1 = 1 + z
times(z', z'') -{ 1 }→ y :|: z'' = y, y >= 0, z' = 1 + 0
times(z', z'') -{ 2 }→ plus(y, y) :|: z' = 1 + (1 + 0), z'' = y, y >= 0
times(z', z'') -{ 2 }→ plus(y, plus(y, times(x', y))) :|: z' = 1 + (1 + x'), z'' = y, x' >= 0, y >= 0
times(z', z'') -{ 2 }→ plus(y, 0) :|: z'' = y, y >= 0, z' = 1 + 0
times(z', z'') -{ 1 }→ 0 :|: z'' = y, y >= 0, z' = 0
div(z', z'') -{ 1 }→ quot(z', z'', z'') :|: z' >= 0, z'' >= 0
div(z', z'') -{ 1 }→ 0 :|: z'' >= 0, z' = 0
divides(z', z'') -{ 2 }→ eq(z'', times(quot(z'', z', z'), z')) :|: z' >= 0, z'' >= 0
divides(z', z'') -{ 2 }→ eq(0, times(0, z')) :|: z'' = 0, z' >= 0
eq(z', z'') -{ 1 }→ eq(z' - 1, z'' - 1) :|: z' - 1 >= 0, z'' - 1 >= 0
eq(z', z'') -{ 1 }→ 1 :|: z'' = 0, z' = 0
eq(z', z'') -{ 1 }→ 0 :|: z'' = 0, z' - 1 >= 0
eq(z', z'') -{ 1 }→ 0 :|: z'' - 1 >= 0, z' = 0
if(z', z'', z1) -{ 1 }→ pr(z'', z1) :|: z'' >= 0, z1 >= 0, z' = 0
if(z', z'', z1) -{ 1 }→ 0 :|: z'' >= 0, z1 >= 0, z' = 1
p(z') -{ 0 }→ 0 :|: z' >= 0
p(z') -{ 1 }→ z' - 1 :|: z' - 1 >= 0
plus(z', z'') -{ 1 }→ z' :|: z'' = 0, z' >= 0
plus(z', z'') -{ 1 }→ z'' :|: z'' >= 0, z' = 0
plus(z', z'') -{ 1 }→ 1 + plus(z', 0) :|: z' >= 0, z'' - 1 >= 0
plus(z', z'') -{ 2 }→ 1 + plus(z', z'' - 1) :|: z' >= 0, z'' - 1 >= 0
plus(z', z'') -{ 1 }→ 1 + plus(0, z'') :|: z' - 1 >= 0, z'' >= 0
plus(z', z'') -{ 1 }→ 1 + plus(z' - 1, z'') :|: z' - 1 >= 0, z'' >= 0
plus(z', z'') -{ 2 }→ 1 + plus(z' - 1, z'') :|: z' - 1 >= 0, z'' >= 0
pr(z', z'') -{ 2 }→ if(eq(z', times(div(z', 1 + (1 + (z'' - 2))), 1 + (1 + (z'' - 2)))), z', 1 + (z'' - 2)) :|: z' >= 0, z'' - 2 >= 0
pr(z', z'') -{ 1 }→ 1 :|: z' >= 0, z'' = 1 + 0
prime(z') -{ 1 }→ pr(1 + (1 + (z' - 2)), 1 + (z' - 2)) :|: z' - 2 >= 0
quot(z', z'', z1) -{ 1 }→ quot(z' - 1, z'' - 1, z1) :|: z1 >= 0, z' - 1 >= 0, z'' - 1 >= 0
quot(z', z'', z1) -{ 1 }→ 0 :|: z1 >= 0, z'' - 1 >= 0, z' = 0
quot(z', z'', z1) -{ 0 }→ 0 :|: z' >= 0, z'' >= 0, z1 >= 0
quot(z', z'', z1) -{ 1 }→ 1 + div(z', 1 + (z1 - 1)) :|: z'' = 0, z1 - 1 >= 0, z' >= 0
times(z', z'') -{ 1 }→ z'' :|: z'' >= 0, z' = 1 + 0
times(z', z'') -{ 2 }→ plus(z'', z'') :|: z' = 1 + (1 + 0), z'' >= 0
times(z', z'') -{ 2 }→ plus(z'', plus(z'', times(z' - 2, z''))) :|: z' - 2 >= 0, z'' >= 0
times(z', z'') -{ 2 }→ plus(z'', 0) :|: z'' >= 0, z' = 1 + 0
times(z', z'') -{ 1 }→ 0 :|: z'' >= 0, z' = 0
{ eq } { div, quot } { plus } { p } { times } { if, pr } { divides } { prime } |
div(z', z'') -{ 1 }→ quot(z', z'', z'') :|: z' >= 0, z'' >= 0
div(z', z'') -{ 1 }→ 0 :|: z'' >= 0, z' = 0
divides(z', z'') -{ 2 }→ eq(z'', times(quot(z'', z', z'), z')) :|: z' >= 0, z'' >= 0
divides(z', z'') -{ 2 }→ eq(0, times(0, z')) :|: z'' = 0, z' >= 0
eq(z', z'') -{ 1 }→ eq(z' - 1, z'' - 1) :|: z' - 1 >= 0, z'' - 1 >= 0
eq(z', z'') -{ 1 }→ 1 :|: z'' = 0, z' = 0
eq(z', z'') -{ 1 }→ 0 :|: z'' = 0, z' - 1 >= 0
eq(z', z'') -{ 1 }→ 0 :|: z'' - 1 >= 0, z' = 0
if(z', z'', z1) -{ 1 }→ pr(z'', z1) :|: z'' >= 0, z1 >= 0, z' = 0
if(z', z'', z1) -{ 1 }→ 0 :|: z'' >= 0, z1 >= 0, z' = 1
p(z') -{ 0 }→ 0 :|: z' >= 0
p(z') -{ 1 }→ z' - 1 :|: z' - 1 >= 0
plus(z', z'') -{ 1 }→ z' :|: z'' = 0, z' >= 0
plus(z', z'') -{ 1 }→ z'' :|: z'' >= 0, z' = 0
plus(z', z'') -{ 1 }→ 1 + plus(z', 0) :|: z' >= 0, z'' - 1 >= 0
plus(z', z'') -{ 2 }→ 1 + plus(z', z'' - 1) :|: z' >= 0, z'' - 1 >= 0
plus(z', z'') -{ 1 }→ 1 + plus(0, z'') :|: z' - 1 >= 0, z'' >= 0
plus(z', z'') -{ 1 }→ 1 + plus(z' - 1, z'') :|: z' - 1 >= 0, z'' >= 0
plus(z', z'') -{ 2 }→ 1 + plus(z' - 1, z'') :|: z' - 1 >= 0, z'' >= 0
pr(z', z'') -{ 2 }→ if(eq(z', times(div(z', 1 + (1 + (z'' - 2))), 1 + (1 + (z'' - 2)))), z', 1 + (z'' - 2)) :|: z' >= 0, z'' - 2 >= 0
pr(z', z'') -{ 1 }→ 1 :|: z' >= 0, z'' = 1 + 0
prime(z') -{ 1 }→ pr(1 + (1 + (z' - 2)), 1 + (z' - 2)) :|: z' - 2 >= 0
quot(z', z'', z1) -{ 1 }→ quot(z' - 1, z'' - 1, z1) :|: z1 >= 0, z' - 1 >= 0, z'' - 1 >= 0
quot(z', z'', z1) -{ 1 }→ 0 :|: z1 >= 0, z'' - 1 >= 0, z' = 0
quot(z', z'', z1) -{ 0 }→ 0 :|: z' >= 0, z'' >= 0, z1 >= 0
quot(z', z'', z1) -{ 1 }→ 1 + div(z', 1 + (z1 - 1)) :|: z'' = 0, z1 - 1 >= 0, z' >= 0
times(z', z'') -{ 1 }→ z'' :|: z'' >= 0, z' = 1 + 0
times(z', z'') -{ 2 }→ plus(z'', z'') :|: z' = 1 + (1 + 0), z'' >= 0
times(z', z'') -{ 2 }→ plus(z'', plus(z'', times(z' - 2, z''))) :|: z' - 2 >= 0, z'' >= 0
times(z', z'') -{ 2 }→ plus(z'', 0) :|: z'' >= 0, z' = 1 + 0
times(z', z'') -{ 1 }→ 0 :|: z'' >= 0, z' = 0
div(z', z'') -{ 1 }→ quot(z', z'', z'') :|: z' >= 0, z'' >= 0
div(z', z'') -{ 1 }→ 0 :|: z'' >= 0, z' = 0
divides(z', z'') -{ 2 }→ eq(z'', times(quot(z'', z', z'), z')) :|: z' >= 0, z'' >= 0
divides(z', z'') -{ 2 }→ eq(0, times(0, z')) :|: z'' = 0, z' >= 0
eq(z', z'') -{ 1 }→ eq(z' - 1, z'' - 1) :|: z' - 1 >= 0, z'' - 1 >= 0
eq(z', z'') -{ 1 }→ 1 :|: z'' = 0, z' = 0
eq(z', z'') -{ 1 }→ 0 :|: z'' = 0, z' - 1 >= 0
eq(z', z'') -{ 1 }→ 0 :|: z'' - 1 >= 0, z' = 0
if(z', z'', z1) -{ 1 }→ pr(z'', z1) :|: z'' >= 0, z1 >= 0, z' = 0
if(z', z'', z1) -{ 1 }→ 0 :|: z'' >= 0, z1 >= 0, z' = 1
p(z') -{ 0 }→ 0 :|: z' >= 0
p(z') -{ 1 }→ z' - 1 :|: z' - 1 >= 0
plus(z', z'') -{ 1 }→ z' :|: z'' = 0, z' >= 0
plus(z', z'') -{ 1 }→ z'' :|: z'' >= 0, z' = 0
plus(z', z'') -{ 1 }→ 1 + plus(z', 0) :|: z' >= 0, z'' - 1 >= 0
plus(z', z'') -{ 2 }→ 1 + plus(z', z'' - 1) :|: z' >= 0, z'' - 1 >= 0
plus(z', z'') -{ 1 }→ 1 + plus(0, z'') :|: z' - 1 >= 0, z'' >= 0
plus(z', z'') -{ 1 }→ 1 + plus(z' - 1, z'') :|: z' - 1 >= 0, z'' >= 0
plus(z', z'') -{ 2 }→ 1 + plus(z' - 1, z'') :|: z' - 1 >= 0, z'' >= 0
pr(z', z'') -{ 2 }→ if(eq(z', times(div(z', 1 + (1 + (z'' - 2))), 1 + (1 + (z'' - 2)))), z', 1 + (z'' - 2)) :|: z' >= 0, z'' - 2 >= 0
pr(z', z'') -{ 1 }→ 1 :|: z' >= 0, z'' = 1 + 0
prime(z') -{ 1 }→ pr(1 + (1 + (z' - 2)), 1 + (z' - 2)) :|: z' - 2 >= 0
quot(z', z'', z1) -{ 1 }→ quot(z' - 1, z'' - 1, z1) :|: z1 >= 0, z' - 1 >= 0, z'' - 1 >= 0
quot(z', z'', z1) -{ 1 }→ 0 :|: z1 >= 0, z'' - 1 >= 0, z' = 0
quot(z', z'', z1) -{ 0 }→ 0 :|: z' >= 0, z'' >= 0, z1 >= 0
quot(z', z'', z1) -{ 1 }→ 1 + div(z', 1 + (z1 - 1)) :|: z'' = 0, z1 - 1 >= 0, z' >= 0
times(z', z'') -{ 1 }→ z'' :|: z'' >= 0, z' = 1 + 0
times(z', z'') -{ 2 }→ plus(z'', z'') :|: z' = 1 + (1 + 0), z'' >= 0
times(z', z'') -{ 2 }→ plus(z'', plus(z'', times(z' - 2, z''))) :|: z' - 2 >= 0, z'' >= 0
times(z', z'') -{ 2 }→ plus(z'', 0) :|: z'' >= 0, z' = 1 + 0
times(z', z'') -{ 1 }→ 0 :|: z'' >= 0, z' = 0
eq: runtime: ?, size: O(1) [1] |
div(z', z'') -{ 1 }→ quot(z', z'', z'') :|: z' >= 0, z'' >= 0
div(z', z'') -{ 1 }→ 0 :|: z'' >= 0, z' = 0
divides(z', z'') -{ 2 }→ eq(z'', times(quot(z'', z', z'), z')) :|: z' >= 0, z'' >= 0
divides(z', z'') -{ 2 }→ eq(0, times(0, z')) :|: z'' = 0, z' >= 0
eq(z', z'') -{ 1 }→ eq(z' - 1, z'' - 1) :|: z' - 1 >= 0, z'' - 1 >= 0
eq(z', z'') -{ 1 }→ 1 :|: z'' = 0, z' = 0
eq(z', z'') -{ 1 }→ 0 :|: z'' = 0, z' - 1 >= 0
eq(z', z'') -{ 1 }→ 0 :|: z'' - 1 >= 0, z' = 0
if(z', z'', z1) -{ 1 }→ pr(z'', z1) :|: z'' >= 0, z1 >= 0, z' = 0
if(z', z'', z1) -{ 1 }→ 0 :|: z'' >= 0, z1 >= 0, z' = 1
p(z') -{ 0 }→ 0 :|: z' >= 0
p(z') -{ 1 }→ z' - 1 :|: z' - 1 >= 0
plus(z', z'') -{ 1 }→ z' :|: z'' = 0, z' >= 0
plus(z', z'') -{ 1 }→ z'' :|: z'' >= 0, z' = 0
plus(z', z'') -{ 1 }→ 1 + plus(z', 0) :|: z' >= 0, z'' - 1 >= 0
plus(z', z'') -{ 2 }→ 1 + plus(z', z'' - 1) :|: z' >= 0, z'' - 1 >= 0
plus(z', z'') -{ 1 }→ 1 + plus(0, z'') :|: z' - 1 >= 0, z'' >= 0
plus(z', z'') -{ 1 }→ 1 + plus(z' - 1, z'') :|: z' - 1 >= 0, z'' >= 0
plus(z', z'') -{ 2 }→ 1 + plus(z' - 1, z'') :|: z' - 1 >= 0, z'' >= 0
pr(z', z'') -{ 2 }→ if(eq(z', times(div(z', 1 + (1 + (z'' - 2))), 1 + (1 + (z'' - 2)))), z', 1 + (z'' - 2)) :|: z' >= 0, z'' - 2 >= 0
pr(z', z'') -{ 1 }→ 1 :|: z' >= 0, z'' = 1 + 0
prime(z') -{ 1 }→ pr(1 + (1 + (z' - 2)), 1 + (z' - 2)) :|: z' - 2 >= 0
quot(z', z'', z1) -{ 1 }→ quot(z' - 1, z'' - 1, z1) :|: z1 >= 0, z' - 1 >= 0, z'' - 1 >= 0
quot(z', z'', z1) -{ 1 }→ 0 :|: z1 >= 0, z'' - 1 >= 0, z' = 0
quot(z', z'', z1) -{ 0 }→ 0 :|: z' >= 0, z'' >= 0, z1 >= 0
quot(z', z'', z1) -{ 1 }→ 1 + div(z', 1 + (z1 - 1)) :|: z'' = 0, z1 - 1 >= 0, z' >= 0
times(z', z'') -{ 1 }→ z'' :|: z'' >= 0, z' = 1 + 0
times(z', z'') -{ 2 }→ plus(z'', z'') :|: z' = 1 + (1 + 0), z'' >= 0
times(z', z'') -{ 2 }→ plus(z'', plus(z'', times(z' - 2, z''))) :|: z' - 2 >= 0, z'' >= 0
times(z', z'') -{ 2 }→ plus(z'', 0) :|: z'' >= 0, z' = 1 + 0
times(z', z'') -{ 1 }→ 0 :|: z'' >= 0, z' = 0
eq: runtime: O(n1) [1 + z''], size: O(1) [1] |
div(z', z'') -{ 1 }→ quot(z', z'', z'') :|: z' >= 0, z'' >= 0
div(z', z'') -{ 1 }→ 0 :|: z'' >= 0, z' = 0
divides(z', z'') -{ 2 }→ eq(z'', times(quot(z'', z', z'), z')) :|: z' >= 0, z'' >= 0
divides(z', z'') -{ 2 }→ eq(0, times(0, z')) :|: z'' = 0, z' >= 0
eq(z', z'') -{ 1 + z'' }→ s :|: s >= 0, s <= 1, z' - 1 >= 0, z'' - 1 >= 0
eq(z', z'') -{ 1 }→ 1 :|: z'' = 0, z' = 0
eq(z', z'') -{ 1 }→ 0 :|: z'' = 0, z' - 1 >= 0
eq(z', z'') -{ 1 }→ 0 :|: z'' - 1 >= 0, z' = 0
if(z', z'', z1) -{ 1 }→ pr(z'', z1) :|: z'' >= 0, z1 >= 0, z' = 0
if(z', z'', z1) -{ 1 }→ 0 :|: z'' >= 0, z1 >= 0, z' = 1
p(z') -{ 0 }→ 0 :|: z' >= 0
p(z') -{ 1 }→ z' - 1 :|: z' - 1 >= 0
plus(z', z'') -{ 1 }→ z' :|: z'' = 0, z' >= 0
plus(z', z'') -{ 1 }→ z'' :|: z'' >= 0, z' = 0
plus(z', z'') -{ 1 }→ 1 + plus(z', 0) :|: z' >= 0, z'' - 1 >= 0
plus(z', z'') -{ 2 }→ 1 + plus(z', z'' - 1) :|: z' >= 0, z'' - 1 >= 0
plus(z', z'') -{ 1 }→ 1 + plus(0, z'') :|: z' - 1 >= 0, z'' >= 0
plus(z', z'') -{ 1 }→ 1 + plus(z' - 1, z'') :|: z' - 1 >= 0, z'' >= 0
plus(z', z'') -{ 2 }→ 1 + plus(z' - 1, z'') :|: z' - 1 >= 0, z'' >= 0
pr(z', z'') -{ 2 }→ if(eq(z', times(div(z', 1 + (1 + (z'' - 2))), 1 + (1 + (z'' - 2)))), z', 1 + (z'' - 2)) :|: z' >= 0, z'' - 2 >= 0
pr(z', z'') -{ 1 }→ 1 :|: z' >= 0, z'' = 1 + 0
prime(z') -{ 1 }→ pr(1 + (1 + (z' - 2)), 1 + (z' - 2)) :|: z' - 2 >= 0
quot(z', z'', z1) -{ 1 }→ quot(z' - 1, z'' - 1, z1) :|: z1 >= 0, z' - 1 >= 0, z'' - 1 >= 0
quot(z', z'', z1) -{ 1 }→ 0 :|: z1 >= 0, z'' - 1 >= 0, z' = 0
quot(z', z'', z1) -{ 0 }→ 0 :|: z' >= 0, z'' >= 0, z1 >= 0
quot(z', z'', z1) -{ 1 }→ 1 + div(z', 1 + (z1 - 1)) :|: z'' = 0, z1 - 1 >= 0, z' >= 0
times(z', z'') -{ 1 }→ z'' :|: z'' >= 0, z' = 1 + 0
times(z', z'') -{ 2 }→ plus(z'', z'') :|: z' = 1 + (1 + 0), z'' >= 0
times(z', z'') -{ 2 }→ plus(z'', plus(z'', times(z' - 2, z''))) :|: z' - 2 >= 0, z'' >= 0
times(z', z'') -{ 2 }→ plus(z'', 0) :|: z'' >= 0, z' = 1 + 0
times(z', z'') -{ 1 }→ 0 :|: z'' >= 0, z' = 0
eq: runtime: O(n1) [1 + z''], size: O(1) [1] |
div(z', z'') -{ 1 }→ quot(z', z'', z'') :|: z' >= 0, z'' >= 0
div(z', z'') -{ 1 }→ 0 :|: z'' >= 0, z' = 0
divides(z', z'') -{ 2 }→ eq(z'', times(quot(z'', z', z'), z')) :|: z' >= 0, z'' >= 0
divides(z', z'') -{ 2 }→ eq(0, times(0, z')) :|: z'' = 0, z' >= 0
eq(z', z'') -{ 1 + z'' }→ s :|: s >= 0, s <= 1, z' - 1 >= 0, z'' - 1 >= 0
eq(z', z'') -{ 1 }→ 1 :|: z'' = 0, z' = 0
eq(z', z'') -{ 1 }→ 0 :|: z'' = 0, z' - 1 >= 0
eq(z', z'') -{ 1 }→ 0 :|: z'' - 1 >= 0, z' = 0
if(z', z'', z1) -{ 1 }→ pr(z'', z1) :|: z'' >= 0, z1 >= 0, z' = 0
if(z', z'', z1) -{ 1 }→ 0 :|: z'' >= 0, z1 >= 0, z' = 1
p(z') -{ 0 }→ 0 :|: z' >= 0
p(z') -{ 1 }→ z' - 1 :|: z' - 1 >= 0
plus(z', z'') -{ 1 }→ z' :|: z'' = 0, z' >= 0
plus(z', z'') -{ 1 }→ z'' :|: z'' >= 0, z' = 0
plus(z', z'') -{ 1 }→ 1 + plus(z', 0) :|: z' >= 0, z'' - 1 >= 0
plus(z', z'') -{ 2 }→ 1 + plus(z', z'' - 1) :|: z' >= 0, z'' - 1 >= 0
plus(z', z'') -{ 1 }→ 1 + plus(0, z'') :|: z' - 1 >= 0, z'' >= 0
plus(z', z'') -{ 1 }→ 1 + plus(z' - 1, z'') :|: z' - 1 >= 0, z'' >= 0
plus(z', z'') -{ 2 }→ 1 + plus(z' - 1, z'') :|: z' - 1 >= 0, z'' >= 0
pr(z', z'') -{ 2 }→ if(eq(z', times(div(z', 1 + (1 + (z'' - 2))), 1 + (1 + (z'' - 2)))), z', 1 + (z'' - 2)) :|: z' >= 0, z'' - 2 >= 0
pr(z', z'') -{ 1 }→ 1 :|: z' >= 0, z'' = 1 + 0
prime(z') -{ 1 }→ pr(1 + (1 + (z' - 2)), 1 + (z' - 2)) :|: z' - 2 >= 0
quot(z', z'', z1) -{ 1 }→ quot(z' - 1, z'' - 1, z1) :|: z1 >= 0, z' - 1 >= 0, z'' - 1 >= 0
quot(z', z'', z1) -{ 1 }→ 0 :|: z1 >= 0, z'' - 1 >= 0, z' = 0
quot(z', z'', z1) -{ 0 }→ 0 :|: z' >= 0, z'' >= 0, z1 >= 0
quot(z', z'', z1) -{ 1 }→ 1 + div(z', 1 + (z1 - 1)) :|: z'' = 0, z1 - 1 >= 0, z' >= 0
times(z', z'') -{ 1 }→ z'' :|: z'' >= 0, z' = 1 + 0
times(z', z'') -{ 2 }→ plus(z'', z'') :|: z' = 1 + (1 + 0), z'' >= 0
times(z', z'') -{ 2 }→ plus(z'', plus(z'', times(z' - 2, z''))) :|: z' - 2 >= 0, z'' >= 0
times(z', z'') -{ 2 }→ plus(z'', 0) :|: z'' >= 0, z' = 1 + 0
times(z', z'') -{ 1 }→ 0 :|: z'' >= 0, z' = 0
eq: runtime: O(n1) [1 + z''], size: O(1) [1] div: runtime: ?, size: O(n1) [z'] quot: runtime: ?, size: O(n1) [1 + z'] |
div(z', z'') -{ 1 }→ quot(z', z'', z'') :|: z' >= 0, z'' >= 0
div(z', z'') -{ 1 }→ 0 :|: z'' >= 0, z' = 0
divides(z', z'') -{ 2 }→ eq(z'', times(quot(z'', z', z'), z')) :|: z' >= 0, z'' >= 0
divides(z', z'') -{ 2 }→ eq(0, times(0, z')) :|: z'' = 0, z' >= 0
eq(z', z'') -{ 1 + z'' }→ s :|: s >= 0, s <= 1, z' - 1 >= 0, z'' - 1 >= 0
eq(z', z'') -{ 1 }→ 1 :|: z'' = 0, z' = 0
eq(z', z'') -{ 1 }→ 0 :|: z'' = 0, z' - 1 >= 0
eq(z', z'') -{ 1 }→ 0 :|: z'' - 1 >= 0, z' = 0
if(z', z'', z1) -{ 1 }→ pr(z'', z1) :|: z'' >= 0, z1 >= 0, z' = 0
if(z', z'', z1) -{ 1 }→ 0 :|: z'' >= 0, z1 >= 0, z' = 1
p(z') -{ 0 }→ 0 :|: z' >= 0
p(z') -{ 1 }→ z' - 1 :|: z' - 1 >= 0
plus(z', z'') -{ 1 }→ z' :|: z'' = 0, z' >= 0
plus(z', z'') -{ 1 }→ z'' :|: z'' >= 0, z' = 0
plus(z', z'') -{ 1 }→ 1 + plus(z', 0) :|: z' >= 0, z'' - 1 >= 0
plus(z', z'') -{ 2 }→ 1 + plus(z', z'' - 1) :|: z' >= 0, z'' - 1 >= 0
plus(z', z'') -{ 1 }→ 1 + plus(0, z'') :|: z' - 1 >= 0, z'' >= 0
plus(z', z'') -{ 1 }→ 1 + plus(z' - 1, z'') :|: z' - 1 >= 0, z'' >= 0
plus(z', z'') -{ 2 }→ 1 + plus(z' - 1, z'') :|: z' - 1 >= 0, z'' >= 0
pr(z', z'') -{ 2 }→ if(eq(z', times(div(z', 1 + (1 + (z'' - 2))), 1 + (1 + (z'' - 2)))), z', 1 + (z'' - 2)) :|: z' >= 0, z'' - 2 >= 0
pr(z', z'') -{ 1 }→ 1 :|: z' >= 0, z'' = 1 + 0
prime(z') -{ 1 }→ pr(1 + (1 + (z' - 2)), 1 + (z' - 2)) :|: z' - 2 >= 0
quot(z', z'', z1) -{ 1 }→ quot(z' - 1, z'' - 1, z1) :|: z1 >= 0, z' - 1 >= 0, z'' - 1 >= 0
quot(z', z'', z1) -{ 1 }→ 0 :|: z1 >= 0, z'' - 1 >= 0, z' = 0
quot(z', z'', z1) -{ 0 }→ 0 :|: z' >= 0, z'' >= 0, z1 >= 0
quot(z', z'', z1) -{ 1 }→ 1 + div(z', 1 + (z1 - 1)) :|: z'' = 0, z1 - 1 >= 0, z' >= 0
times(z', z'') -{ 1 }→ z'' :|: z'' >= 0, z' = 1 + 0
times(z', z'') -{ 2 }→ plus(z'', z'') :|: z' = 1 + (1 + 0), z'' >= 0
times(z', z'') -{ 2 }→ plus(z'', plus(z'', times(z' - 2, z''))) :|: z' - 2 >= 0, z'' >= 0
times(z', z'') -{ 2 }→ plus(z'', 0) :|: z'' >= 0, z' = 1 + 0
times(z', z'') -{ 1 }→ 0 :|: z'' >= 0, z' = 0
eq: runtime: O(n1) [1 + z''], size: O(1) [1] div: runtime: O(n1) [3 + 3·z'], size: O(n1) [z'] quot: runtime: O(n1) [5 + 3·z' + z''], size: O(n1) [1 + z'] |
div(z', z'') -{ 6 + 3·z' + z'' }→ s1 :|: s1 >= 0, s1 <= 1 * z' + 1, z' >= 0, z'' >= 0
div(z', z'') -{ 1 }→ 0 :|: z'' >= 0, z' = 0
divides(z', z'') -{ 7 + z' + 3·z'' }→ eq(z'', times(s', z')) :|: s' >= 0, s' <= 1 * z'' + 1, z' >= 0, z'' >= 0
divides(z', z'') -{ 2 }→ eq(0, times(0, z')) :|: z'' = 0, z' >= 0
eq(z', z'') -{ 1 + z'' }→ s :|: s >= 0, s <= 1, z' - 1 >= 0, z'' - 1 >= 0
eq(z', z'') -{ 1 }→ 1 :|: z'' = 0, z' = 0
eq(z', z'') -{ 1 }→ 0 :|: z'' = 0, z' - 1 >= 0
eq(z', z'') -{ 1 }→ 0 :|: z'' - 1 >= 0, z' = 0
if(z', z'', z1) -{ 1 }→ pr(z'', z1) :|: z'' >= 0, z1 >= 0, z' = 0
if(z', z'', z1) -{ 1 }→ 0 :|: z'' >= 0, z1 >= 0, z' = 1
p(z') -{ 0 }→ 0 :|: z' >= 0
p(z') -{ 1 }→ z' - 1 :|: z' - 1 >= 0
plus(z', z'') -{ 1 }→ z' :|: z'' = 0, z' >= 0
plus(z', z'') -{ 1 }→ z'' :|: z'' >= 0, z' = 0
plus(z', z'') -{ 1 }→ 1 + plus(z', 0) :|: z' >= 0, z'' - 1 >= 0
plus(z', z'') -{ 2 }→ 1 + plus(z', z'' - 1) :|: z' >= 0, z'' - 1 >= 0
plus(z', z'') -{ 1 }→ 1 + plus(0, z'') :|: z' - 1 >= 0, z'' >= 0
plus(z', z'') -{ 1 }→ 1 + plus(z' - 1, z'') :|: z' - 1 >= 0, z'' >= 0
plus(z', z'') -{ 2 }→ 1 + plus(z' - 1, z'') :|: z' - 1 >= 0, z'' >= 0
pr(z', z'') -{ 5 + 3·z' }→ if(eq(z', times(s'', 1 + (1 + (z'' - 2)))), z', 1 + (z'' - 2)) :|: s'' >= 0, s'' <= 1 * z', z' >= 0, z'' - 2 >= 0
pr(z', z'') -{ 1 }→ 1 :|: z' >= 0, z'' = 1 + 0
prime(z') -{ 1 }→ pr(1 + (1 + (z' - 2)), 1 + (z' - 2)) :|: z' - 2 >= 0
quot(z', z'', z1) -{ 2 + 3·z' + z'' }→ s3 :|: s3 >= 0, s3 <= 1 * (z' - 1) + 1, z1 >= 0, z' - 1 >= 0, z'' - 1 >= 0
quot(z', z'', z1) -{ 1 }→ 0 :|: z1 >= 0, z'' - 1 >= 0, z' = 0
quot(z', z'', z1) -{ 0 }→ 0 :|: z' >= 0, z'' >= 0, z1 >= 0
quot(z', z'', z1) -{ 4 + 3·z' }→ 1 + s2 :|: s2 >= 0, s2 <= 1 * z', z'' = 0, z1 - 1 >= 0, z' >= 0
times(z', z'') -{ 1 }→ z'' :|: z'' >= 0, z' = 1 + 0
times(z', z'') -{ 2 }→ plus(z'', z'') :|: z' = 1 + (1 + 0), z'' >= 0
times(z', z'') -{ 2 }→ plus(z'', plus(z'', times(z' - 2, z''))) :|: z' - 2 >= 0, z'' >= 0
times(z', z'') -{ 2 }→ plus(z'', 0) :|: z'' >= 0, z' = 1 + 0
times(z', z'') -{ 1 }→ 0 :|: z'' >= 0, z' = 0
eq: runtime: O(n1) [1 + z''], size: O(1) [1] div: runtime: O(n1) [3 + 3·z'], size: O(n1) [z'] quot: runtime: O(n1) [5 + 3·z' + z''], size: O(n1) [1 + z'] |
div(z', z'') -{ 6 + 3·z' + z'' }→ s1 :|: s1 >= 0, s1 <= 1 * z' + 1, z' >= 0, z'' >= 0
div(z', z'') -{ 1 }→ 0 :|: z'' >= 0, z' = 0
divides(z', z'') -{ 7 + z' + 3·z'' }→ eq(z'', times(s', z')) :|: s' >= 0, s' <= 1 * z'' + 1, z' >= 0, z'' >= 0
divides(z', z'') -{ 2 }→ eq(0, times(0, z')) :|: z'' = 0, z' >= 0
eq(z', z'') -{ 1 + z'' }→ s :|: s >= 0, s <= 1, z' - 1 >= 0, z'' - 1 >= 0
eq(z', z'') -{ 1 }→ 1 :|: z'' = 0, z' = 0
eq(z', z'') -{ 1 }→ 0 :|: z'' = 0, z' - 1 >= 0
eq(z', z'') -{ 1 }→ 0 :|: z'' - 1 >= 0, z' = 0
if(z', z'', z1) -{ 1 }→ pr(z'', z1) :|: z'' >= 0, z1 >= 0, z' = 0
if(z', z'', z1) -{ 1 }→ 0 :|: z'' >= 0, z1 >= 0, z' = 1
p(z') -{ 0 }→ 0 :|: z' >= 0
p(z') -{ 1 }→ z' - 1 :|: z' - 1 >= 0
plus(z', z'') -{ 1 }→ z' :|: z'' = 0, z' >= 0
plus(z', z'') -{ 1 }→ z'' :|: z'' >= 0, z' = 0
plus(z', z'') -{ 1 }→ 1 + plus(z', 0) :|: z' >= 0, z'' - 1 >= 0
plus(z', z'') -{ 2 }→ 1 + plus(z', z'' - 1) :|: z' >= 0, z'' - 1 >= 0
plus(z', z'') -{ 1 }→ 1 + plus(0, z'') :|: z' - 1 >= 0, z'' >= 0
plus(z', z'') -{ 1 }→ 1 + plus(z' - 1, z'') :|: z' - 1 >= 0, z'' >= 0
plus(z', z'') -{ 2 }→ 1 + plus(z' - 1, z'') :|: z' - 1 >= 0, z'' >= 0
pr(z', z'') -{ 5 + 3·z' }→ if(eq(z', times(s'', 1 + (1 + (z'' - 2)))), z', 1 + (z'' - 2)) :|: s'' >= 0, s'' <= 1 * z', z' >= 0, z'' - 2 >= 0
pr(z', z'') -{ 1 }→ 1 :|: z' >= 0, z'' = 1 + 0
prime(z') -{ 1 }→ pr(1 + (1 + (z' - 2)), 1 + (z' - 2)) :|: z' - 2 >= 0
quot(z', z'', z1) -{ 2 + 3·z' + z'' }→ s3 :|: s3 >= 0, s3 <= 1 * (z' - 1) + 1, z1 >= 0, z' - 1 >= 0, z'' - 1 >= 0
quot(z', z'', z1) -{ 1 }→ 0 :|: z1 >= 0, z'' - 1 >= 0, z' = 0
quot(z', z'', z1) -{ 0 }→ 0 :|: z' >= 0, z'' >= 0, z1 >= 0
quot(z', z'', z1) -{ 4 + 3·z' }→ 1 + s2 :|: s2 >= 0, s2 <= 1 * z', z'' = 0, z1 - 1 >= 0, z' >= 0
times(z', z'') -{ 1 }→ z'' :|: z'' >= 0, z' = 1 + 0
times(z', z'') -{ 2 }→ plus(z'', z'') :|: z' = 1 + (1 + 0), z'' >= 0
times(z', z'') -{ 2 }→ plus(z'', plus(z'', times(z' - 2, z''))) :|: z' - 2 >= 0, z'' >= 0
times(z', z'') -{ 2 }→ plus(z'', 0) :|: z'' >= 0, z' = 1 + 0
times(z', z'') -{ 1 }→ 0 :|: z'' >= 0, z' = 0
eq: runtime: O(n1) [1 + z''], size: O(1) [1] div: runtime: O(n1) [3 + 3·z'], size: O(n1) [z'] quot: runtime: O(n1) [5 + 3·z' + z''], size: O(n1) [1 + z'] plus: runtime: ?, size: O(n1) [z' + z''] |
div(z', z'') -{ 6 + 3·z' + z'' }→ s1 :|: s1 >= 0, s1 <= 1 * z' + 1, z' >= 0, z'' >= 0
div(z', z'') -{ 1 }→ 0 :|: z'' >= 0, z' = 0
divides(z', z'') -{ 7 + z' + 3·z'' }→ eq(z'', times(s', z')) :|: s' >= 0, s' <= 1 * z'' + 1, z' >= 0, z'' >= 0
divides(z', z'') -{ 2 }→ eq(0, times(0, z')) :|: z'' = 0, z' >= 0
eq(z', z'') -{ 1 + z'' }→ s :|: s >= 0, s <= 1, z' - 1 >= 0, z'' - 1 >= 0
eq(z', z'') -{ 1 }→ 1 :|: z'' = 0, z' = 0
eq(z', z'') -{ 1 }→ 0 :|: z'' = 0, z' - 1 >= 0
eq(z', z'') -{ 1 }→ 0 :|: z'' - 1 >= 0, z' = 0
if(z', z'', z1) -{ 1 }→ pr(z'', z1) :|: z'' >= 0, z1 >= 0, z' = 0
if(z', z'', z1) -{ 1 }→ 0 :|: z'' >= 0, z1 >= 0, z' = 1
p(z') -{ 0 }→ 0 :|: z' >= 0
p(z') -{ 1 }→ z' - 1 :|: z' - 1 >= 0
plus(z', z'') -{ 1 }→ z' :|: z'' = 0, z' >= 0
plus(z', z'') -{ 1 }→ z'' :|: z'' >= 0, z' = 0
plus(z', z'') -{ 1 }→ 1 + plus(z', 0) :|: z' >= 0, z'' - 1 >= 0
plus(z', z'') -{ 2 }→ 1 + plus(z', z'' - 1) :|: z' >= 0, z'' - 1 >= 0
plus(z', z'') -{ 1 }→ 1 + plus(0, z'') :|: z' - 1 >= 0, z'' >= 0
plus(z', z'') -{ 1 }→ 1 + plus(z' - 1, z'') :|: z' - 1 >= 0, z'' >= 0
plus(z', z'') -{ 2 }→ 1 + plus(z' - 1, z'') :|: z' - 1 >= 0, z'' >= 0
pr(z', z'') -{ 5 + 3·z' }→ if(eq(z', times(s'', 1 + (1 + (z'' - 2)))), z', 1 + (z'' - 2)) :|: s'' >= 0, s'' <= 1 * z', z' >= 0, z'' - 2 >= 0
pr(z', z'') -{ 1 }→ 1 :|: z' >= 0, z'' = 1 + 0
prime(z') -{ 1 }→ pr(1 + (1 + (z' - 2)), 1 + (z' - 2)) :|: z' - 2 >= 0
quot(z', z'', z1) -{ 2 + 3·z' + z'' }→ s3 :|: s3 >= 0, s3 <= 1 * (z' - 1) + 1, z1 >= 0, z' - 1 >= 0, z'' - 1 >= 0
quot(z', z'', z1) -{ 1 }→ 0 :|: z1 >= 0, z'' - 1 >= 0, z' = 0
quot(z', z'', z1) -{ 0 }→ 0 :|: z' >= 0, z'' >= 0, z1 >= 0
quot(z', z'', z1) -{ 4 + 3·z' }→ 1 + s2 :|: s2 >= 0, s2 <= 1 * z', z'' = 0, z1 - 1 >= 0, z' >= 0
times(z', z'') -{ 1 }→ z'' :|: z'' >= 0, z' = 1 + 0
times(z', z'') -{ 2 }→ plus(z'', z'') :|: z' = 1 + (1 + 0), z'' >= 0
times(z', z'') -{ 2 }→ plus(z'', plus(z'', times(z' - 2, z''))) :|: z' - 2 >= 0, z'' >= 0
times(z', z'') -{ 2 }→ plus(z'', 0) :|: z'' >= 0, z' = 1 + 0
times(z', z'') -{ 1 }→ 0 :|: z'' >= 0, z' = 0
eq: runtime: O(n1) [1 + z''], size: O(1) [1] div: runtime: O(n1) [3 + 3·z'], size: O(n1) [z'] quot: runtime: O(n1) [5 + 3·z' + z''], size: O(n1) [1 + z'] plus: runtime: O(n1) [1 + 2·z' + 2·z''], size: O(n1) [z' + z''] |
div(z', z'') -{ 6 + 3·z' + z'' }→ s1 :|: s1 >= 0, s1 <= 1 * z' + 1, z' >= 0, z'' >= 0
div(z', z'') -{ 1 }→ 0 :|: z'' >= 0, z' = 0
divides(z', z'') -{ 7 + z' + 3·z'' }→ eq(z'', times(s', z')) :|: s' >= 0, s' <= 1 * z'' + 1, z' >= 0, z'' >= 0
divides(z', z'') -{ 2 }→ eq(0, times(0, z')) :|: z'' = 0, z' >= 0
eq(z', z'') -{ 1 + z'' }→ s :|: s >= 0, s <= 1, z' - 1 >= 0, z'' - 1 >= 0
eq(z', z'') -{ 1 }→ 1 :|: z'' = 0, z' = 0
eq(z', z'') -{ 1 }→ 0 :|: z'' = 0, z' - 1 >= 0
eq(z', z'') -{ 1 }→ 0 :|: z'' - 1 >= 0, z' = 0
if(z', z'', z1) -{ 1 }→ pr(z'', z1) :|: z'' >= 0, z1 >= 0, z' = 0
if(z', z'', z1) -{ 1 }→ 0 :|: z'' >= 0, z1 >= 0, z' = 1
p(z') -{ 0 }→ 0 :|: z' >= 0
p(z') -{ 1 }→ z' - 1 :|: z' - 1 >= 0
plus(z', z'') -{ 1 }→ z' :|: z'' = 0, z' >= 0
plus(z', z'') -{ 1 }→ z'' :|: z'' >= 0, z' = 0
plus(z', z'') -{ 2 + 2·z'' }→ 1 + s10 :|: s10 >= 0, s10 <= 1 * 0 + 1 * z'', z' - 1 >= 0, z'' >= 0
plus(z', z'') -{ 2·z' + 2·z'' }→ 1 + s4 :|: s4 >= 0, s4 <= 1 * (z' - 1) + 1 * z'', z' - 1 >= 0, z'' >= 0
plus(z', z'') -{ 1 + 2·z' + 2·z'' }→ 1 + s5 :|: s5 >= 0, s5 <= 1 * z' + 1 * (z'' - 1), z' >= 0, z'' - 1 >= 0
plus(z', z'') -{ 2 + 2·z' }→ 1 + s6 :|: s6 >= 0, s6 <= 1 * z' + 1 * 0, z' >= 0, z'' - 1 >= 0
plus(z', z'') -{ 1 + 2·z' + 2·z'' }→ 1 + s9 :|: s9 >= 0, s9 <= 1 * (z' - 1) + 1 * z'', z' - 1 >= 0, z'' >= 0
pr(z', z'') -{ 5 + 3·z' }→ if(eq(z', times(s'', 1 + (1 + (z'' - 2)))), z', 1 + (z'' - 2)) :|: s'' >= 0, s'' <= 1 * z', z' >= 0, z'' - 2 >= 0
pr(z', z'') -{ 1 }→ 1 :|: z' >= 0, z'' = 1 + 0
prime(z') -{ 1 }→ pr(1 + (1 + (z' - 2)), 1 + (z' - 2)) :|: z' - 2 >= 0
quot(z', z'', z1) -{ 2 + 3·z' + z'' }→ s3 :|: s3 >= 0, s3 <= 1 * (z' - 1) + 1, z1 >= 0, z' - 1 >= 0, z'' - 1 >= 0
quot(z', z'', z1) -{ 1 }→ 0 :|: z1 >= 0, z'' - 1 >= 0, z' = 0
quot(z', z'', z1) -{ 0 }→ 0 :|: z' >= 0, z'' >= 0, z1 >= 0
quot(z', z'', z1) -{ 4 + 3·z' }→ 1 + s2 :|: s2 >= 0, s2 <= 1 * z', z'' = 0, z1 - 1 >= 0, z' >= 0
times(z', z'') -{ 3 + 2·z'' }→ s7 :|: s7 >= 0, s7 <= 1 * z'' + 1 * 0, z'' >= 0, z' = 1 + 0
times(z', z'') -{ 3 + 4·z'' }→ s8 :|: s8 >= 0, s8 <= 1 * z'' + 1 * z'', z' = 1 + (1 + 0), z'' >= 0
times(z', z'') -{ 1 }→ z'' :|: z'' >= 0, z' = 1 + 0
times(z', z'') -{ 2 }→ plus(z'', plus(z'', times(z' - 2, z''))) :|: z' - 2 >= 0, z'' >= 0
times(z', z'') -{ 1 }→ 0 :|: z'' >= 0, z' = 0
eq: runtime: O(n1) [1 + z''], size: O(1) [1] div: runtime: O(n1) [3 + 3·z'], size: O(n1) [z'] quot: runtime: O(n1) [5 + 3·z' + z''], size: O(n1) [1 + z'] plus: runtime: O(n1) [1 + 2·z' + 2·z''], size: O(n1) [z' + z''] |
div(z', z'') -{ 6 + 3·z' + z'' }→ s1 :|: s1 >= 0, s1 <= 1 * z' + 1, z' >= 0, z'' >= 0
div(z', z'') -{ 1 }→ 0 :|: z'' >= 0, z' = 0
divides(z', z'') -{ 7 + z' + 3·z'' }→ eq(z'', times(s', z')) :|: s' >= 0, s' <= 1 * z'' + 1, z' >= 0, z'' >= 0
divides(z', z'') -{ 2 }→ eq(0, times(0, z')) :|: z'' = 0, z' >= 0
eq(z', z'') -{ 1 + z'' }→ s :|: s >= 0, s <= 1, z' - 1 >= 0, z'' - 1 >= 0
eq(z', z'') -{ 1 }→ 1 :|: z'' = 0, z' = 0
eq(z', z'') -{ 1 }→ 0 :|: z'' = 0, z' - 1 >= 0
eq(z', z'') -{ 1 }→ 0 :|: z'' - 1 >= 0, z' = 0
if(z', z'', z1) -{ 1 }→ pr(z'', z1) :|: z'' >= 0, z1 >= 0, z' = 0
if(z', z'', z1) -{ 1 }→ 0 :|: z'' >= 0, z1 >= 0, z' = 1
p(z') -{ 0 }→ 0 :|: z' >= 0
p(z') -{ 1 }→ z' - 1 :|: z' - 1 >= 0
plus(z', z'') -{ 1 }→ z' :|: z'' = 0, z' >= 0
plus(z', z'') -{ 1 }→ z'' :|: z'' >= 0, z' = 0
plus(z', z'') -{ 2 + 2·z'' }→ 1 + s10 :|: s10 >= 0, s10 <= 1 * 0 + 1 * z'', z' - 1 >= 0, z'' >= 0
plus(z', z'') -{ 2·z' + 2·z'' }→ 1 + s4 :|: s4 >= 0, s4 <= 1 * (z' - 1) + 1 * z'', z' - 1 >= 0, z'' >= 0
plus(z', z'') -{ 1 + 2·z' + 2·z'' }→ 1 + s5 :|: s5 >= 0, s5 <= 1 * z' + 1 * (z'' - 1), z' >= 0, z'' - 1 >= 0
plus(z', z'') -{ 2 + 2·z' }→ 1 + s6 :|: s6 >= 0, s6 <= 1 * z' + 1 * 0, z' >= 0, z'' - 1 >= 0
plus(z', z'') -{ 1 + 2·z' + 2·z'' }→ 1 + s9 :|: s9 >= 0, s9 <= 1 * (z' - 1) + 1 * z'', z' - 1 >= 0, z'' >= 0
pr(z', z'') -{ 5 + 3·z' }→ if(eq(z', times(s'', 1 + (1 + (z'' - 2)))), z', 1 + (z'' - 2)) :|: s'' >= 0, s'' <= 1 * z', z' >= 0, z'' - 2 >= 0
pr(z', z'') -{ 1 }→ 1 :|: z' >= 0, z'' = 1 + 0
prime(z') -{ 1 }→ pr(1 + (1 + (z' - 2)), 1 + (z' - 2)) :|: z' - 2 >= 0
quot(z', z'', z1) -{ 2 + 3·z' + z'' }→ s3 :|: s3 >= 0, s3 <= 1 * (z' - 1) + 1, z1 >= 0, z' - 1 >= 0, z'' - 1 >= 0
quot(z', z'', z1) -{ 1 }→ 0 :|: z1 >= 0, z'' - 1 >= 0, z' = 0
quot(z', z'', z1) -{ 0 }→ 0 :|: z' >= 0, z'' >= 0, z1 >= 0
quot(z', z'', z1) -{ 4 + 3·z' }→ 1 + s2 :|: s2 >= 0, s2 <= 1 * z', z'' = 0, z1 - 1 >= 0, z' >= 0
times(z', z'') -{ 3 + 2·z'' }→ s7 :|: s7 >= 0, s7 <= 1 * z'' + 1 * 0, z'' >= 0, z' = 1 + 0
times(z', z'') -{ 3 + 4·z'' }→ s8 :|: s8 >= 0, s8 <= 1 * z'' + 1 * z'', z' = 1 + (1 + 0), z'' >= 0
times(z', z'') -{ 1 }→ z'' :|: z'' >= 0, z' = 1 + 0
times(z', z'') -{ 2 }→ plus(z'', plus(z'', times(z' - 2, z''))) :|: z' - 2 >= 0, z'' >= 0
times(z', z'') -{ 1 }→ 0 :|: z'' >= 0, z' = 0
eq: runtime: O(n1) [1 + z''], size: O(1) [1] div: runtime: O(n1) [3 + 3·z'], size: O(n1) [z'] quot: runtime: O(n1) [5 + 3·z' + z''], size: O(n1) [1 + z'] plus: runtime: O(n1) [1 + 2·z' + 2·z''], size: O(n1) [z' + z''] p: runtime: ?, size: O(n1) [z'] |
div(z', z'') -{ 6 + 3·z' + z'' }→ s1 :|: s1 >= 0, s1 <= 1 * z' + 1, z' >= 0, z'' >= 0
div(z', z'') -{ 1 }→ 0 :|: z'' >= 0, z' = 0
divides(z', z'') -{ 7 + z' + 3·z'' }→ eq(z'', times(s', z')) :|: s' >= 0, s' <= 1 * z'' + 1, z' >= 0, z'' >= 0
divides(z', z'') -{ 2 }→ eq(0, times(0, z')) :|: z'' = 0, z' >= 0
eq(z', z'') -{ 1 + z'' }→ s :|: s >= 0, s <= 1, z' - 1 >= 0, z'' - 1 >= 0
eq(z', z'') -{ 1 }→ 1 :|: z'' = 0, z' = 0
eq(z', z'') -{ 1 }→ 0 :|: z'' = 0, z' - 1 >= 0
eq(z', z'') -{ 1 }→ 0 :|: z'' - 1 >= 0, z' = 0
if(z', z'', z1) -{ 1 }→ pr(z'', z1) :|: z'' >= 0, z1 >= 0, z' = 0
if(z', z'', z1) -{ 1 }→ 0 :|: z'' >= 0, z1 >= 0, z' = 1
p(z') -{ 0 }→ 0 :|: z' >= 0
p(z') -{ 1 }→ z' - 1 :|: z' - 1 >= 0
plus(z', z'') -{ 1 }→ z' :|: z'' = 0, z' >= 0
plus(z', z'') -{ 1 }→ z'' :|: z'' >= 0, z' = 0
plus(z', z'') -{ 2 + 2·z'' }→ 1 + s10 :|: s10 >= 0, s10 <= 1 * 0 + 1 * z'', z' - 1 >= 0, z'' >= 0
plus(z', z'') -{ 2·z' + 2·z'' }→ 1 + s4 :|: s4 >= 0, s4 <= 1 * (z' - 1) + 1 * z'', z' - 1 >= 0, z'' >= 0
plus(z', z'') -{ 1 + 2·z' + 2·z'' }→ 1 + s5 :|: s5 >= 0, s5 <= 1 * z' + 1 * (z'' - 1), z' >= 0, z'' - 1 >= 0
plus(z', z'') -{ 2 + 2·z' }→ 1 + s6 :|: s6 >= 0, s6 <= 1 * z' + 1 * 0, z' >= 0, z'' - 1 >= 0
plus(z', z'') -{ 1 + 2·z' + 2·z'' }→ 1 + s9 :|: s9 >= 0, s9 <= 1 * (z' - 1) + 1 * z'', z' - 1 >= 0, z'' >= 0
pr(z', z'') -{ 5 + 3·z' }→ if(eq(z', times(s'', 1 + (1 + (z'' - 2)))), z', 1 + (z'' - 2)) :|: s'' >= 0, s'' <= 1 * z', z' >= 0, z'' - 2 >= 0
pr(z', z'') -{ 1 }→ 1 :|: z' >= 0, z'' = 1 + 0
prime(z') -{ 1 }→ pr(1 + (1 + (z' - 2)), 1 + (z' - 2)) :|: z' - 2 >= 0
quot(z', z'', z1) -{ 2 + 3·z' + z'' }→ s3 :|: s3 >= 0, s3 <= 1 * (z' - 1) + 1, z1 >= 0, z' - 1 >= 0, z'' - 1 >= 0
quot(z', z'', z1) -{ 1 }→ 0 :|: z1 >= 0, z'' - 1 >= 0, z' = 0
quot(z', z'', z1) -{ 0 }→ 0 :|: z' >= 0, z'' >= 0, z1 >= 0
quot(z', z'', z1) -{ 4 + 3·z' }→ 1 + s2 :|: s2 >= 0, s2 <= 1 * z', z'' = 0, z1 - 1 >= 0, z' >= 0
times(z', z'') -{ 3 + 2·z'' }→ s7 :|: s7 >= 0, s7 <= 1 * z'' + 1 * 0, z'' >= 0, z' = 1 + 0
times(z', z'') -{ 3 + 4·z'' }→ s8 :|: s8 >= 0, s8 <= 1 * z'' + 1 * z'', z' = 1 + (1 + 0), z'' >= 0
times(z', z'') -{ 1 }→ z'' :|: z'' >= 0, z' = 1 + 0
times(z', z'') -{ 2 }→ plus(z'', plus(z'', times(z' - 2, z''))) :|: z' - 2 >= 0, z'' >= 0
times(z', z'') -{ 1 }→ 0 :|: z'' >= 0, z' = 0
eq: runtime: O(n1) [1 + z''], size: O(1) [1] div: runtime: O(n1) [3 + 3·z'], size: O(n1) [z'] quot: runtime: O(n1) [5 + 3·z' + z''], size: O(n1) [1 + z'] plus: runtime: O(n1) [1 + 2·z' + 2·z''], size: O(n1) [z' + z''] p: runtime: O(1) [1], size: O(n1) [z'] |
div(z', z'') -{ 6 + 3·z' + z'' }→ s1 :|: s1 >= 0, s1 <= 1 * z' + 1, z' >= 0, z'' >= 0
div(z', z'') -{ 1 }→ 0 :|: z'' >= 0, z' = 0
divides(z', z'') -{ 7 + z' + 3·z'' }→ eq(z'', times(s', z')) :|: s' >= 0, s' <= 1 * z'' + 1, z' >= 0, z'' >= 0
divides(z', z'') -{ 2 }→ eq(0, times(0, z')) :|: z'' = 0, z' >= 0
eq(z', z'') -{ 1 + z'' }→ s :|: s >= 0, s <= 1, z' - 1 >= 0, z'' - 1 >= 0
eq(z', z'') -{ 1 }→ 1 :|: z'' = 0, z' = 0
eq(z', z'') -{ 1 }→ 0 :|: z'' = 0, z' - 1 >= 0
eq(z', z'') -{ 1 }→ 0 :|: z'' - 1 >= 0, z' = 0
if(z', z'', z1) -{ 1 }→ pr(z'', z1) :|: z'' >= 0, z1 >= 0, z' = 0
if(z', z'', z1) -{ 1 }→ 0 :|: z'' >= 0, z1 >= 0, z' = 1
p(z') -{ 0 }→ 0 :|: z' >= 0
p(z') -{ 1 }→ z' - 1 :|: z' - 1 >= 0
plus(z', z'') -{ 1 }→ z' :|: z'' = 0, z' >= 0
plus(z', z'') -{ 1 }→ z'' :|: z'' >= 0, z' = 0
plus(z', z'') -{ 2 + 2·z'' }→ 1 + s10 :|: s10 >= 0, s10 <= 1 * 0 + 1 * z'', z' - 1 >= 0, z'' >= 0
plus(z', z'') -{ 2·z' + 2·z'' }→ 1 + s4 :|: s4 >= 0, s4 <= 1 * (z' - 1) + 1 * z'', z' - 1 >= 0, z'' >= 0
plus(z', z'') -{ 1 + 2·z' + 2·z'' }→ 1 + s5 :|: s5 >= 0, s5 <= 1 * z' + 1 * (z'' - 1), z' >= 0, z'' - 1 >= 0
plus(z', z'') -{ 2 + 2·z' }→ 1 + s6 :|: s6 >= 0, s6 <= 1 * z' + 1 * 0, z' >= 0, z'' - 1 >= 0
plus(z', z'') -{ 1 + 2·z' + 2·z'' }→ 1 + s9 :|: s9 >= 0, s9 <= 1 * (z' - 1) + 1 * z'', z' - 1 >= 0, z'' >= 0
pr(z', z'') -{ 5 + 3·z' }→ if(eq(z', times(s'', 1 + (1 + (z'' - 2)))), z', 1 + (z'' - 2)) :|: s'' >= 0, s'' <= 1 * z', z' >= 0, z'' - 2 >= 0
pr(z', z'') -{ 1 }→ 1 :|: z' >= 0, z'' = 1 + 0
prime(z') -{ 1 }→ pr(1 + (1 + (z' - 2)), 1 + (z' - 2)) :|: z' - 2 >= 0
quot(z', z'', z1) -{ 2 + 3·z' + z'' }→ s3 :|: s3 >= 0, s3 <= 1 * (z' - 1) + 1, z1 >= 0, z' - 1 >= 0, z'' - 1 >= 0
quot(z', z'', z1) -{ 1 }→ 0 :|: z1 >= 0, z'' - 1 >= 0, z' = 0
quot(z', z'', z1) -{ 0 }→ 0 :|: z' >= 0, z'' >= 0, z1 >= 0
quot(z', z'', z1) -{ 4 + 3·z' }→ 1 + s2 :|: s2 >= 0, s2 <= 1 * z', z'' = 0, z1 - 1 >= 0, z' >= 0
times(z', z'') -{ 3 + 2·z'' }→ s7 :|: s7 >= 0, s7 <= 1 * z'' + 1 * 0, z'' >= 0, z' = 1 + 0
times(z', z'') -{ 3 + 4·z'' }→ s8 :|: s8 >= 0, s8 <= 1 * z'' + 1 * z'', z' = 1 + (1 + 0), z'' >= 0
times(z', z'') -{ 1 }→ z'' :|: z'' >= 0, z' = 1 + 0
times(z', z'') -{ 2 }→ plus(z'', plus(z'', times(z' - 2, z''))) :|: z' - 2 >= 0, z'' >= 0
times(z', z'') -{ 1 }→ 0 :|: z'' >= 0, z' = 0
eq: runtime: O(n1) [1 + z''], size: O(1) [1] div: runtime: O(n1) [3 + 3·z'], size: O(n1) [z'] quot: runtime: O(n1) [5 + 3·z' + z''], size: O(n1) [1 + z'] plus: runtime: O(n1) [1 + 2·z' + 2·z''], size: O(n1) [z' + z''] p: runtime: O(1) [1], size: O(n1) [z'] |
div(z', z'') -{ 6 + 3·z' + z'' }→ s1 :|: s1 >= 0, s1 <= 1 * z' + 1, z' >= 0, z'' >= 0
div(z', z'') -{ 1 }→ 0 :|: z'' >= 0, z' = 0
divides(z', z'') -{ 7 + z' + 3·z'' }→ eq(z'', times(s', z')) :|: s' >= 0, s' <= 1 * z'' + 1, z' >= 0, z'' >= 0
divides(z', z'') -{ 2 }→ eq(0, times(0, z')) :|: z'' = 0, z' >= 0
eq(z', z'') -{ 1 + z'' }→ s :|: s >= 0, s <= 1, z' - 1 >= 0, z'' - 1 >= 0
eq(z', z'') -{ 1 }→ 1 :|: z'' = 0, z' = 0
eq(z', z'') -{ 1 }→ 0 :|: z'' = 0, z' - 1 >= 0
eq(z', z'') -{ 1 }→ 0 :|: z'' - 1 >= 0, z' = 0
if(z', z'', z1) -{ 1 }→ pr(z'', z1) :|: z'' >= 0, z1 >= 0, z' = 0
if(z', z'', z1) -{ 1 }→ 0 :|: z'' >= 0, z1 >= 0, z' = 1
p(z') -{ 0 }→ 0 :|: z' >= 0
p(z') -{ 1 }→ z' - 1 :|: z' - 1 >= 0
plus(z', z'') -{ 1 }→ z' :|: z'' = 0, z' >= 0
plus(z', z'') -{ 1 }→ z'' :|: z'' >= 0, z' = 0
plus(z', z'') -{ 2 + 2·z'' }→ 1 + s10 :|: s10 >= 0, s10 <= 1 * 0 + 1 * z'', z' - 1 >= 0, z'' >= 0
plus(z', z'') -{ 2·z' + 2·z'' }→ 1 + s4 :|: s4 >= 0, s4 <= 1 * (z' - 1) + 1 * z'', z' - 1 >= 0, z'' >= 0
plus(z', z'') -{ 1 + 2·z' + 2·z'' }→ 1 + s5 :|: s5 >= 0, s5 <= 1 * z' + 1 * (z'' - 1), z' >= 0, z'' - 1 >= 0
plus(z', z'') -{ 2 + 2·z' }→ 1 + s6 :|: s6 >= 0, s6 <= 1 * z' + 1 * 0, z' >= 0, z'' - 1 >= 0
plus(z', z'') -{ 1 + 2·z' + 2·z'' }→ 1 + s9 :|: s9 >= 0, s9 <= 1 * (z' - 1) + 1 * z'', z' - 1 >= 0, z'' >= 0
pr(z', z'') -{ 5 + 3·z' }→ if(eq(z', times(s'', 1 + (1 + (z'' - 2)))), z', 1 + (z'' - 2)) :|: s'' >= 0, s'' <= 1 * z', z' >= 0, z'' - 2 >= 0
pr(z', z'') -{ 1 }→ 1 :|: z' >= 0, z'' = 1 + 0
prime(z') -{ 1 }→ pr(1 + (1 + (z' - 2)), 1 + (z' - 2)) :|: z' - 2 >= 0
quot(z', z'', z1) -{ 2 + 3·z' + z'' }→ s3 :|: s3 >= 0, s3 <= 1 * (z' - 1) + 1, z1 >= 0, z' - 1 >= 0, z'' - 1 >= 0
quot(z', z'', z1) -{ 1 }→ 0 :|: z1 >= 0, z'' - 1 >= 0, z' = 0
quot(z', z'', z1) -{ 0 }→ 0 :|: z' >= 0, z'' >= 0, z1 >= 0
quot(z', z'', z1) -{ 4 + 3·z' }→ 1 + s2 :|: s2 >= 0, s2 <= 1 * z', z'' = 0, z1 - 1 >= 0, z' >= 0
times(z', z'') -{ 3 + 2·z'' }→ s7 :|: s7 >= 0, s7 <= 1 * z'' + 1 * 0, z'' >= 0, z' = 1 + 0
times(z', z'') -{ 3 + 4·z'' }→ s8 :|: s8 >= 0, s8 <= 1 * z'' + 1 * z'', z' = 1 + (1 + 0), z'' >= 0
times(z', z'') -{ 1 }→ z'' :|: z'' >= 0, z' = 1 + 0
times(z', z'') -{ 2 }→ plus(z'', plus(z'', times(z' - 2, z''))) :|: z' - 2 >= 0, z'' >= 0
times(z', z'') -{ 1 }→ 0 :|: z'' >= 0, z' = 0
eq: runtime: O(n1) [1 + z''], size: O(1) [1] div: runtime: O(n1) [3 + 3·z'], size: O(n1) [z'] quot: runtime: O(n1) [5 + 3·z' + z''], size: O(n1) [1 + z'] plus: runtime: O(n1) [1 + 2·z' + 2·z''], size: O(n1) [z' + z''] p: runtime: O(1) [1], size: O(n1) [z'] times: runtime: ?, size: O(n2) [2·z'·z'' + 2·z''] |
div(z', z'') -{ 6 + 3·z' + z'' }→ s1 :|: s1 >= 0, s1 <= 1 * z' + 1, z' >= 0, z'' >= 0
div(z', z'') -{ 1 }→ 0 :|: z'' >= 0, z' = 0
divides(z', z'') -{ 7 + z' + 3·z'' }→ eq(z'', times(s', z')) :|: s' >= 0, s' <= 1 * z'' + 1, z' >= 0, z'' >= 0
divides(z', z'') -{ 2 }→ eq(0, times(0, z')) :|: z'' = 0, z' >= 0
eq(z', z'') -{ 1 + z'' }→ s :|: s >= 0, s <= 1, z' - 1 >= 0, z'' - 1 >= 0
eq(z', z'') -{ 1 }→ 1 :|: z'' = 0, z' = 0
eq(z', z'') -{ 1 }→ 0 :|: z'' = 0, z' - 1 >= 0
eq(z', z'') -{ 1 }→ 0 :|: z'' - 1 >= 0, z' = 0
if(z', z'', z1) -{ 1 }→ pr(z'', z1) :|: z'' >= 0, z1 >= 0, z' = 0
if(z', z'', z1) -{ 1 }→ 0 :|: z'' >= 0, z1 >= 0, z' = 1
p(z') -{ 0 }→ 0 :|: z' >= 0
p(z') -{ 1 }→ z' - 1 :|: z' - 1 >= 0
plus(z', z'') -{ 1 }→ z' :|: z'' = 0, z' >= 0
plus(z', z'') -{ 1 }→ z'' :|: z'' >= 0, z' = 0
plus(z', z'') -{ 2 + 2·z'' }→ 1 + s10 :|: s10 >= 0, s10 <= 1 * 0 + 1 * z'', z' - 1 >= 0, z'' >= 0
plus(z', z'') -{ 2·z' + 2·z'' }→ 1 + s4 :|: s4 >= 0, s4 <= 1 * (z' - 1) + 1 * z'', z' - 1 >= 0, z'' >= 0
plus(z', z'') -{ 1 + 2·z' + 2·z'' }→ 1 + s5 :|: s5 >= 0, s5 <= 1 * z' + 1 * (z'' - 1), z' >= 0, z'' - 1 >= 0
plus(z', z'') -{ 2 + 2·z' }→ 1 + s6 :|: s6 >= 0, s6 <= 1 * z' + 1 * 0, z' >= 0, z'' - 1 >= 0
plus(z', z'') -{ 1 + 2·z' + 2·z'' }→ 1 + s9 :|: s9 >= 0, s9 <= 1 * (z' - 1) + 1 * z'', z' - 1 >= 0, z'' >= 0
pr(z', z'') -{ 5 + 3·z' }→ if(eq(z', times(s'', 1 + (1 + (z'' - 2)))), z', 1 + (z'' - 2)) :|: s'' >= 0, s'' <= 1 * z', z' >= 0, z'' - 2 >= 0
pr(z', z'') -{ 1 }→ 1 :|: z' >= 0, z'' = 1 + 0
prime(z') -{ 1 }→ pr(1 + (1 + (z' - 2)), 1 + (z' - 2)) :|: z' - 2 >= 0
quot(z', z'', z1) -{ 2 + 3·z' + z'' }→ s3 :|: s3 >= 0, s3 <= 1 * (z' - 1) + 1, z1 >= 0, z' - 1 >= 0, z'' - 1 >= 0
quot(z', z'', z1) -{ 1 }→ 0 :|: z1 >= 0, z'' - 1 >= 0, z' = 0
quot(z', z'', z1) -{ 0 }→ 0 :|: z' >= 0, z'' >= 0, z1 >= 0
quot(z', z'', z1) -{ 4 + 3·z' }→ 1 + s2 :|: s2 >= 0, s2 <= 1 * z', z'' = 0, z1 - 1 >= 0, z' >= 0
times(z', z'') -{ 3 + 2·z'' }→ s7 :|: s7 >= 0, s7 <= 1 * z'' + 1 * 0, z'' >= 0, z' = 1 + 0
times(z', z'') -{ 3 + 4·z'' }→ s8 :|: s8 >= 0, s8 <= 1 * z'' + 1 * z'', z' = 1 + (1 + 0), z'' >= 0
times(z', z'') -{ 1 }→ z'' :|: z'' >= 0, z' = 1 + 0
times(z', z'') -{ 2 }→ plus(z'', plus(z'', times(z' - 2, z''))) :|: z' - 2 >= 0, z'' >= 0
times(z', z'') -{ 1 }→ 0 :|: z'' >= 0, z' = 0
eq: runtime: O(n1) [1 + z''], size: O(1) [1] div: runtime: O(n1) [3 + 3·z'], size: O(n1) [z'] quot: runtime: O(n1) [5 + 3·z' + z''], size: O(n1) [1 + z'] plus: runtime: O(n1) [1 + 2·z' + 2·z''], size: O(n1) [z' + z''] p: runtime: O(1) [1], size: O(n1) [z'] times: runtime: O(n3) [8 + 4·z' + 8·z'2·z'' + 6·z''], size: O(n2) [2·z'·z'' + 2·z''] |
div(z', z'') -{ 6 + 3·z' + z'' }→ s1 :|: s1 >= 0, s1 <= 1 * z' + 1, z' >= 0, z'' >= 0
div(z', z'') -{ 1 }→ 0 :|: z'' >= 0, z' = 0
divides(z', z'') -{ 16 + 4·s' + 8·s'2·z' + s14 + 7·z' + 3·z'' }→ s15 :|: s14 >= 0, s14 <= 2 * (s' * z') + 2 * z', s15 >= 0, s15 <= 1, s' >= 0, s' <= 1 * z'' + 1, z' >= 0, z'' >= 0
divides(z', z'') -{ 11 + s16 + 6·z' }→ s17 :|: s16 >= 0, s16 <= 2 * (0 * z') + 2 * z', s17 >= 0, s17 <= 1, z'' = 0, z' >= 0
eq(z', z'') -{ 1 + z'' }→ s :|: s >= 0, s <= 1, z' - 1 >= 0, z'' - 1 >= 0
eq(z', z'') -{ 1 }→ 1 :|: z'' = 0, z' = 0
eq(z', z'') -{ 1 }→ 0 :|: z'' = 0, z' - 1 >= 0
eq(z', z'') -{ 1 }→ 0 :|: z'' - 1 >= 0, z' = 0
if(z', z'', z1) -{ 1 }→ pr(z'', z1) :|: z'' >= 0, z1 >= 0, z' = 0
if(z', z'', z1) -{ 1 }→ 0 :|: z'' >= 0, z1 >= 0, z' = 1
p(z') -{ 0 }→ 0 :|: z' >= 0
p(z') -{ 1 }→ z' - 1 :|: z' - 1 >= 0
plus(z', z'') -{ 1 }→ z' :|: z'' = 0, z' >= 0
plus(z', z'') -{ 1 }→ z'' :|: z'' >= 0, z' = 0
plus(z', z'') -{ 2 + 2·z'' }→ 1 + s10 :|: s10 >= 0, s10 <= 1 * 0 + 1 * z'', z' - 1 >= 0, z'' >= 0
plus(z', z'') -{ 2·z' + 2·z'' }→ 1 + s4 :|: s4 >= 0, s4 <= 1 * (z' - 1) + 1 * z'', z' - 1 >= 0, z'' >= 0
plus(z', z'') -{ 1 + 2·z' + 2·z'' }→ 1 + s5 :|: s5 >= 0, s5 <= 1 * z' + 1 * (z'' - 1), z' >= 0, z'' - 1 >= 0
plus(z', z'') -{ 2 + 2·z' }→ 1 + s6 :|: s6 >= 0, s6 <= 1 * z' + 1 * 0, z' >= 0, z'' - 1 >= 0
plus(z', z'') -{ 1 + 2·z' + 2·z'' }→ 1 + s9 :|: s9 >= 0, s9 <= 1 * (z' - 1) + 1 * z'', z' - 1 >= 0, z'' >= 0
pr(z', z'') -{ 14 + 4·s'' + 8·s''2·z'' + s18 + 3·z' + 6·z'' }→ if(s19, z', 1 + (z'' - 2)) :|: s18 >= 0, s18 <= 2 * (s'' * (1 + (1 + (z'' - 2)))) + 2 * (1 + (1 + (z'' - 2))), s19 >= 0, s19 <= 1, s'' >= 0, s'' <= 1 * z', z' >= 0, z'' - 2 >= 0
pr(z', z'') -{ 1 }→ 1 :|: z' >= 0, z'' = 1 + 0
prime(z') -{ 1 }→ pr(1 + (1 + (z' - 2)), 1 + (z' - 2)) :|: z' - 2 >= 0
quot(z', z'', z1) -{ 2 + 3·z' + z'' }→ s3 :|: s3 >= 0, s3 <= 1 * (z' - 1) + 1, z1 >= 0, z' - 1 >= 0, z'' - 1 >= 0
quot(z', z'', z1) -{ 1 }→ 0 :|: z1 >= 0, z'' - 1 >= 0, z' = 0
quot(z', z'', z1) -{ 0 }→ 0 :|: z' >= 0, z'' >= 0, z1 >= 0
quot(z', z'', z1) -{ 4 + 3·z' }→ 1 + s2 :|: s2 >= 0, s2 <= 1 * z', z'' = 0, z1 - 1 >= 0, z' >= 0
times(z', z'') -{ 4 + 2·s11 + 2·s12 + 4·z' + -32·z'·z'' + 8·z'2·z'' + 42·z'' }→ s13 :|: s11 >= 0, s11 <= 2 * ((z' - 2) * z'') + 2 * z'', s12 >= 0, s12 <= 1 * z'' + 1 * s11, s13 >= 0, s13 <= 1 * z'' + 1 * s12, z' - 2 >= 0, z'' >= 0
times(z', z'') -{ 3 + 2·z'' }→ s7 :|: s7 >= 0, s7 <= 1 * z'' + 1 * 0, z'' >= 0, z' = 1 + 0
times(z', z'') -{ 3 + 4·z'' }→ s8 :|: s8 >= 0, s8 <= 1 * z'' + 1 * z'', z' = 1 + (1 + 0), z'' >= 0
times(z', z'') -{ 1 }→ z'' :|: z'' >= 0, z' = 1 + 0
times(z', z'') -{ 1 }→ 0 :|: z'' >= 0, z' = 0
eq: runtime: O(n1) [1 + z''], size: O(1) [1] div: runtime: O(n1) [3 + 3·z'], size: O(n1) [z'] quot: runtime: O(n1) [5 + 3·z' + z''], size: O(n1) [1 + z'] plus: runtime: O(n1) [1 + 2·z' + 2·z''], size: O(n1) [z' + z''] p: runtime: O(1) [1], size: O(n1) [z'] times: runtime: O(n3) [8 + 4·z' + 8·z'2·z'' + 6·z''], size: O(n2) [2·z'·z'' + 2·z''] |
div(z', z'') -{ 6 + 3·z' + z'' }→ s1 :|: s1 >= 0, s1 <= 1 * z' + 1, z' >= 0, z'' >= 0
div(z', z'') -{ 1 }→ 0 :|: z'' >= 0, z' = 0
divides(z', z'') -{ 16 + 4·s' + 8·s'2·z' + s14 + 7·z' + 3·z'' }→ s15 :|: s14 >= 0, s14 <= 2 * (s' * z') + 2 * z', s15 >= 0, s15 <= 1, s' >= 0, s' <= 1 * z'' + 1, z' >= 0, z'' >= 0
divides(z', z'') -{ 11 + s16 + 6·z' }→ s17 :|: s16 >= 0, s16 <= 2 * (0 * z') + 2 * z', s17 >= 0, s17 <= 1, z'' = 0, z' >= 0
eq(z', z'') -{ 1 + z'' }→ s :|: s >= 0, s <= 1, z' - 1 >= 0, z'' - 1 >= 0
eq(z', z'') -{ 1 }→ 1 :|: z'' = 0, z' = 0
eq(z', z'') -{ 1 }→ 0 :|: z'' = 0, z' - 1 >= 0
eq(z', z'') -{ 1 }→ 0 :|: z'' - 1 >= 0, z' = 0
if(z', z'', z1) -{ 1 }→ pr(z'', z1) :|: z'' >= 0, z1 >= 0, z' = 0
if(z', z'', z1) -{ 1 }→ 0 :|: z'' >= 0, z1 >= 0, z' = 1
p(z') -{ 0 }→ 0 :|: z' >= 0
p(z') -{ 1 }→ z' - 1 :|: z' - 1 >= 0
plus(z', z'') -{ 1 }→ z' :|: z'' = 0, z' >= 0
plus(z', z'') -{ 1 }→ z'' :|: z'' >= 0, z' = 0
plus(z', z'') -{ 2 + 2·z'' }→ 1 + s10 :|: s10 >= 0, s10 <= 1 * 0 + 1 * z'', z' - 1 >= 0, z'' >= 0
plus(z', z'') -{ 2·z' + 2·z'' }→ 1 + s4 :|: s4 >= 0, s4 <= 1 * (z' - 1) + 1 * z'', z' - 1 >= 0, z'' >= 0
plus(z', z'') -{ 1 + 2·z' + 2·z'' }→ 1 + s5 :|: s5 >= 0, s5 <= 1 * z' + 1 * (z'' - 1), z' >= 0, z'' - 1 >= 0
plus(z', z'') -{ 2 + 2·z' }→ 1 + s6 :|: s6 >= 0, s6 <= 1 * z' + 1 * 0, z' >= 0, z'' - 1 >= 0
plus(z', z'') -{ 1 + 2·z' + 2·z'' }→ 1 + s9 :|: s9 >= 0, s9 <= 1 * (z' - 1) + 1 * z'', z' - 1 >= 0, z'' >= 0
pr(z', z'') -{ 14 + 4·s'' + 8·s''2·z'' + s18 + 3·z' + 6·z'' }→ if(s19, z', 1 + (z'' - 2)) :|: s18 >= 0, s18 <= 2 * (s'' * (1 + (1 + (z'' - 2)))) + 2 * (1 + (1 + (z'' - 2))), s19 >= 0, s19 <= 1, s'' >= 0, s'' <= 1 * z', z' >= 0, z'' - 2 >= 0
pr(z', z'') -{ 1 }→ 1 :|: z' >= 0, z'' = 1 + 0
prime(z') -{ 1 }→ pr(1 + (1 + (z' - 2)), 1 + (z' - 2)) :|: z' - 2 >= 0
quot(z', z'', z1) -{ 2 + 3·z' + z'' }→ s3 :|: s3 >= 0, s3 <= 1 * (z' - 1) + 1, z1 >= 0, z' - 1 >= 0, z'' - 1 >= 0
quot(z', z'', z1) -{ 1 }→ 0 :|: z1 >= 0, z'' - 1 >= 0, z' = 0
quot(z', z'', z1) -{ 0 }→ 0 :|: z' >= 0, z'' >= 0, z1 >= 0
quot(z', z'', z1) -{ 4 + 3·z' }→ 1 + s2 :|: s2 >= 0, s2 <= 1 * z', z'' = 0, z1 - 1 >= 0, z' >= 0
times(z', z'') -{ 4 + 2·s11 + 2·s12 + 4·z' + -32·z'·z'' + 8·z'2·z'' + 42·z'' }→ s13 :|: s11 >= 0, s11 <= 2 * ((z' - 2) * z'') + 2 * z'', s12 >= 0, s12 <= 1 * z'' + 1 * s11, s13 >= 0, s13 <= 1 * z'' + 1 * s12, z' - 2 >= 0, z'' >= 0
times(z', z'') -{ 3 + 2·z'' }→ s7 :|: s7 >= 0, s7 <= 1 * z'' + 1 * 0, z'' >= 0, z' = 1 + 0
times(z', z'') -{ 3 + 4·z'' }→ s8 :|: s8 >= 0, s8 <= 1 * z'' + 1 * z'', z' = 1 + (1 + 0), z'' >= 0
times(z', z'') -{ 1 }→ z'' :|: z'' >= 0, z' = 1 + 0
times(z', z'') -{ 1 }→ 0 :|: z'' >= 0, z' = 0
eq: runtime: O(n1) [1 + z''], size: O(1) [1] div: runtime: O(n1) [3 + 3·z'], size: O(n1) [z'] quot: runtime: O(n1) [5 + 3·z' + z''], size: O(n1) [1 + z'] plus: runtime: O(n1) [1 + 2·z' + 2·z''], size: O(n1) [z' + z''] p: runtime: O(1) [1], size: O(n1) [z'] times: runtime: O(n3) [8 + 4·z' + 8·z'2·z'' + 6·z''], size: O(n2) [2·z'·z'' + 2·z''] if: runtime: ?, size: O(1) [1] pr: runtime: ?, size: O(1) [1] |
div(z', z'') -{ 6 + 3·z' + z'' }→ s1 :|: s1 >= 0, s1 <= 1 * z' + 1, z' >= 0, z'' >= 0
div(z', z'') -{ 1 }→ 0 :|: z'' >= 0, z' = 0
divides(z', z'') -{ 16 + 4·s' + 8·s'2·z' + s14 + 7·z' + 3·z'' }→ s15 :|: s14 >= 0, s14 <= 2 * (s' * z') + 2 * z', s15 >= 0, s15 <= 1, s' >= 0, s' <= 1 * z'' + 1, z' >= 0, z'' >= 0
divides(z', z'') -{ 11 + s16 + 6·z' }→ s17 :|: s16 >= 0, s16 <= 2 * (0 * z') + 2 * z', s17 >= 0, s17 <= 1, z'' = 0, z' >= 0
eq(z', z'') -{ 1 + z'' }→ s :|: s >= 0, s <= 1, z' - 1 >= 0, z'' - 1 >= 0
eq(z', z'') -{ 1 }→ 1 :|: z'' = 0, z' = 0
eq(z', z'') -{ 1 }→ 0 :|: z'' = 0, z' - 1 >= 0
eq(z', z'') -{ 1 }→ 0 :|: z'' - 1 >= 0, z' = 0
if(z', z'', z1) -{ 1 }→ pr(z'', z1) :|: z'' >= 0, z1 >= 0, z' = 0
if(z', z'', z1) -{ 1 }→ 0 :|: z'' >= 0, z1 >= 0, z' = 1
p(z') -{ 0 }→ 0 :|: z' >= 0
p(z') -{ 1 }→ z' - 1 :|: z' - 1 >= 0
plus(z', z'') -{ 1 }→ z' :|: z'' = 0, z' >= 0
plus(z', z'') -{ 1 }→ z'' :|: z'' >= 0, z' = 0
plus(z', z'') -{ 2 + 2·z'' }→ 1 + s10 :|: s10 >= 0, s10 <= 1 * 0 + 1 * z'', z' - 1 >= 0, z'' >= 0
plus(z', z'') -{ 2·z' + 2·z'' }→ 1 + s4 :|: s4 >= 0, s4 <= 1 * (z' - 1) + 1 * z'', z' - 1 >= 0, z'' >= 0
plus(z', z'') -{ 1 + 2·z' + 2·z'' }→ 1 + s5 :|: s5 >= 0, s5 <= 1 * z' + 1 * (z'' - 1), z' >= 0, z'' - 1 >= 0
plus(z', z'') -{ 2 + 2·z' }→ 1 + s6 :|: s6 >= 0, s6 <= 1 * z' + 1 * 0, z' >= 0, z'' - 1 >= 0
plus(z', z'') -{ 1 + 2·z' + 2·z'' }→ 1 + s9 :|: s9 >= 0, s9 <= 1 * (z' - 1) + 1 * z'', z' - 1 >= 0, z'' >= 0
pr(z', z'') -{ 14 + 4·s'' + 8·s''2·z'' + s18 + 3·z' + 6·z'' }→ if(s19, z', 1 + (z'' - 2)) :|: s18 >= 0, s18 <= 2 * (s'' * (1 + (1 + (z'' - 2)))) + 2 * (1 + (1 + (z'' - 2))), s19 >= 0, s19 <= 1, s'' >= 0, s'' <= 1 * z', z' >= 0, z'' - 2 >= 0
pr(z', z'') -{ 1 }→ 1 :|: z' >= 0, z'' = 1 + 0
prime(z') -{ 1 }→ pr(1 + (1 + (z' - 2)), 1 + (z' - 2)) :|: z' - 2 >= 0
quot(z', z'', z1) -{ 2 + 3·z' + z'' }→ s3 :|: s3 >= 0, s3 <= 1 * (z' - 1) + 1, z1 >= 0, z' - 1 >= 0, z'' - 1 >= 0
quot(z', z'', z1) -{ 1 }→ 0 :|: z1 >= 0, z'' - 1 >= 0, z' = 0
quot(z', z'', z1) -{ 0 }→ 0 :|: z' >= 0, z'' >= 0, z1 >= 0
quot(z', z'', z1) -{ 4 + 3·z' }→ 1 + s2 :|: s2 >= 0, s2 <= 1 * z', z'' = 0, z1 - 1 >= 0, z' >= 0
times(z', z'') -{ 4 + 2·s11 + 2·s12 + 4·z' + -32·z'·z'' + 8·z'2·z'' + 42·z'' }→ s13 :|: s11 >= 0, s11 <= 2 * ((z' - 2) * z'') + 2 * z'', s12 >= 0, s12 <= 1 * z'' + 1 * s11, s13 >= 0, s13 <= 1 * z'' + 1 * s12, z' - 2 >= 0, z'' >= 0
times(z', z'') -{ 3 + 2·z'' }→ s7 :|: s7 >= 0, s7 <= 1 * z'' + 1 * 0, z'' >= 0, z' = 1 + 0
times(z', z'') -{ 3 + 4·z'' }→ s8 :|: s8 >= 0, s8 <= 1 * z'' + 1 * z'', z' = 1 + (1 + 0), z'' >= 0
times(z', z'') -{ 1 }→ z'' :|: z'' >= 0, z' = 1 + 0
times(z', z'') -{ 1 }→ 0 :|: z'' >= 0, z' = 0
eq: runtime: O(n1) [1 + z''], size: O(1) [1] div: runtime: O(n1) [3 + 3·z'], size: O(n1) [z'] quot: runtime: O(n1) [5 + 3·z' + z''], size: O(n1) [1 + z'] plus: runtime: O(n1) [1 + 2·z' + 2·z''], size: O(n1) [z' + z''] p: runtime: O(1) [1], size: O(n1) [z'] times: runtime: O(n3) [8 + 4·z' + 8·z'2·z'' + 6·z''], size: O(n2) [2·z'·z'' + 2·z''] if: runtime: O(n4) [17 + 7·z'' + 16·z''·z1 + 4·z''·z12 + 8·z''2·z1 + 16·z''2·z12 + 38·z1 + 16·z12], size: O(1) [1] pr: runtime: INF, size: O(1) [1] |
pr(x, s(s(y))) → if(eq(x, times(div(x, s(s(y))), s(s(y)))), x, s(y)) [2]
if(true, x, y) → false [1]
if(false, x, y) → pr(x, y) [1]
pr(x, s(0)) → true [1]
pr(x, s(s(y))) → if(eq(x, times(quot(x, s(s(y)), s(s(y))), s(s(y)))), x, s(y)) [3]
pr(0, s(s(y))) → if(eq(0, times(0, s(s(y)))), 0, s(y)) [3]
if(true, x, y) → false [1]
if(false, x, y) → pr(x, y) [1]
pr(x, s(0)) → true [1]
pr(z', z'') -{ 3 }→ if(eq(x, times(quot(x, 1 + (1 + y), 1 + (1 + y)), 1 + (1 + y))), x, 1 + y) :|: z' = x, x >= 0, y >= 0, z'' = 1 + (1 + y)
pr(z', z'') -{ 3 }→ if(eq(0, times(0, 1 + (1 + y))), 0, 1 + y) :|: y >= 0, z'' = 1 + (1 + y), z' = 0
if(z', z'', z1) -{ 1 }→ 0 :|: z1 = y, x >= 0, y >= 0, z'' = x, z' = 1
if(z', z'', z1) -{ 1 }→ pr(x, y) :|: z1 = y, x >= 0, y >= 0, z'' = x, z' = 0
pr(z', z'') -{ 1 }→ 1 :|: z' = x, x >= 0, z'' = 1 + 0
div(z', z'') -{ 6 + 3·z' + z'' }→ s1 :|: s1 >= 0, s1 <= 1 * z' + 1, z' >= 0, z'' >= 0
div(z', z'') -{ 1 }→ 0 :|: z'' >= 0, z' = 0
divides(z', z'') -{ 16 + 4·s' + 8·s'2·z' + s14 + 7·z' + 3·z'' }→ s15 :|: s14 >= 0, s14 <= 2 * (s' * z') + 2 * z', s15 >= 0, s15 <= 1, s' >= 0, s' <= 1 * z'' + 1, z' >= 0, z'' >= 0
divides(z', z'') -{ 11 + s16 + 6·z' }→ s17 :|: s16 >= 0, s16 <= 2 * (0 * z') + 2 * z', s17 >= 0, s17 <= 1, z'' = 0, z' >= 0
eq(z', z'') -{ 1 + z'' }→ s :|: s >= 0, s <= 1, z' - 1 >= 0, z'' - 1 >= 0
eq(z', z'') -{ 1 }→ 1 :|: z'' = 0, z' = 0
eq(z', z'') -{ 1 }→ 0 :|: z'' - 1 >= 0, z' = 0
eq(z', z'') -{ 1 }→ 0 :|: z'' = 0, z' - 1 >= 0
if(z', z'', z1) -{ 1 }→ pr(x, y) :|: z1 = y, x >= 0, y >= 0, z'' = x, z' = 0
if(z', z'', z1) -{ 1 }→ 0 :|: z1 = y, x >= 0, y >= 0, z'' = x, z' = 1
p(z') -{ 0 }→ 0 :|: z' >= 0
p(z') -{ 1 }→ z' - 1 :|: z' - 1 >= 0
plus(z', z'') -{ 1 }→ z' :|: z'' = 0, z' >= 0
plus(z', z'') -{ 1 }→ z'' :|: z'' >= 0, z' = 0
plus(z', z'') -{ 2 + 2·z'' }→ 1 + s10 :|: s10 >= 0, s10 <= 1 * 0 + 1 * z'', z' - 1 >= 0, z'' >= 0
plus(z', z'') -{ 2·z' + 2·z'' }→ 1 + s4 :|: s4 >= 0, s4 <= 1 * (z' - 1) + 1 * z'', z' - 1 >= 0, z'' >= 0
plus(z', z'') -{ 1 + 2·z' + 2·z'' }→ 1 + s5 :|: s5 >= 0, s5 <= 1 * z' + 1 * (z'' - 1), z' >= 0, z'' - 1 >= 0
plus(z', z'') -{ 2 + 2·z' }→ 1 + s6 :|: s6 >= 0, s6 <= 1 * z' + 1 * 0, z' >= 0, z'' - 1 >= 0
plus(z', z'') -{ 1 + 2·z' + 2·z'' }→ 1 + s9 :|: s9 >= 0, s9 <= 1 * (z' - 1) + 1 * z'', z' - 1 >= 0, z'' >= 0
pr(z', z'') -{ 3 }→ if(eq(x, times(quot(x, 1 + (1 + y), 1 + (1 + y)), 1 + (1 + y))), x, 1 + y) :|: z' = x, x >= 0, y >= 0, z'' = 1 + (1 + y)
pr(z', z'') -{ 3 }→ if(eq(0, times(0, 1 + (1 + y))), 0, 1 + y) :|: y >= 0, z'' = 1 + (1 + y), z' = 0
pr(z', z'') -{ 1 }→ 1 :|: z' = x, x >= 0, z'' = 1 + 0
prime(z') -{ 1 }→ pr(1 + (1 + (z' - 2)), 1 + (z' - 2)) :|: z' - 2 >= 0
quot(z', z'', z1) -{ 2 + 3·z' + z'' }→ s3 :|: s3 >= 0, s3 <= 1 * (z' - 1) + 1, z1 >= 0, z' - 1 >= 0, z'' - 1 >= 0
quot(z', z'', z1) -{ 0 }→ 0 :|: z' >= 0, z'' >= 0, z1 >= 0
quot(z', z'', z1) -{ 1 }→ 0 :|: z1 >= 0, z'' - 1 >= 0, z' = 0
quot(z', z'', z1) -{ 4 + 3·z' }→ 1 + s2 :|: s2 >= 0, s2 <= 1 * z', z'' = 0, z1 - 1 >= 0, z' >= 0
times(z', z'') -{ 4 + 2·s11 + 2·s12 + 4·z' + -32·z'·z'' + 8·z'2·z'' + 42·z'' }→ s13 :|: s11 >= 0, s11 <= 2 * ((z' - 2) * z'') + 2 * z'', s12 >= 0, s12 <= 1 * z'' + 1 * s11, s13 >= 0, s13 <= 1 * z'' + 1 * s12, z' - 2 >= 0, z'' >= 0
times(z', z'') -{ 3 + 2·z'' }→ s7 :|: s7 >= 0, s7 <= 1 * z'' + 1 * 0, z'' >= 0, z' = 1 + 0
times(z', z'') -{ 3 + 4·z'' }→ s8 :|: s8 >= 0, s8 <= 1 * z'' + 1 * z'', z' = 1 + (1 + 0), z'' >= 0
times(z', z'') -{ 1 }→ z'' :|: z'' >= 0, z' = 1 + 0
times(z', z'') -{ 1 }→ 0 :|: z'' >= 0, z' = 0
eq: runtime: O(n1) [1 + z''], size: O(1) [1] div: runtime: O(n1) [3 + 3·z'], size: O(n1) [z'] quot: runtime: O(n1) [5 + 3·z' + z''], size: O(n1) [1 + z'] plus: runtime: O(n1) [1 + 2·z' + 2·z''], size: O(n1) [z' + z''] p: runtime: O(1) [1], size: O(n1) [z'] times: runtime: O(n3) [8 + 4·z' + 8·z'2·z'' + 6·z''], size: O(n2) [2·z'·z'' + 2·z''] |
times(z', z'') -{ 3 + 4·z'' }→ s8 :|: s8 >= 0, s8 <= 1 * z'' + 1 * z'', z' = 1 + (1 + 0), z'' >= 0
times(z', z'') -{ 1 }→ z'' :|: z'' >= 0, z' = 1 + 0
times(z', z'') -{ 3 + 2·z'' }→ s7 :|: s7 >= 0, s7 <= 1 * z'' + 1 * 0, z'' >= 0, z' = 1 + 0
times(z', z'') -{ 4 + 2·s11 + 2·s12 + 4·z' + -32·z'·z'' + 8·z'2·z'' + 42·z'' }→ s13 :|: s11 >= 0, s11 <= 2 * ((z' - 2) * z'') + 2 * z'', s12 >= 0, s12 <= 1 * z'' + 1 * s11, s13 >= 0, s13 <= 1 * z'' + 1 * s12, z' - 2 >= 0, z'' >= 0
times(z', z'') -{ 1 }→ 0 :|: z'' >= 0, z' = 0
quot(z', z'', z1) -{ 2 + 3·z' + z'' }→ s3 :|: s3 >= 0, s3 <= 1 * (z' - 1) + 1, z1 >= 0, z' - 1 >= 0, z'' - 1 >= 0
quot(z', z'', z1) -{ 4 + 3·z' }→ 1 + s2 :|: s2 >= 0, s2 <= 1 * z', z'' = 0, z1 - 1 >= 0, z' >= 0
quot(z', z'', z1) -{ 0 }→ 0 :|: z' >= 0, z'' >= 0, z1 >= 0
quot(z', z'', z1) -{ 1 }→ 0 :|: z1 >= 0, z'' - 1 >= 0, z' = 0
eq(z', z'') -{ 1 }→ 0 :|: z'' - 1 >= 0, z' = 0
eq(z', z'') -{ 1 }→ 0 :|: z'' = 0, z' - 1 >= 0
eq(z', z'') -{ 1 + z'' }→ s :|: s >= 0, s <= 1, z' - 1 >= 0, z'' - 1 >= 0
eq(z', z'') -{ 1 }→ 1 :|: z'' = 0, z' = 0
div(z', z'') -{ 6 + 3·z' + z'' }→ s1 :|: s1 >= 0, s1 <= 1 * z' + 1, z' >= 0, z'' >= 0
div(z', z'') -{ 1 }→ 0 :|: z'' >= 0, z' = 0
divides(z', z'') -{ 16 + 4·s' + 8·s'2·z' + s14 + 7·z' + 3·z'' }→ s15 :|: s14 >= 0, s14 <= 2 * (s' * z') + 2 * z', s15 >= 0, s15 <= 1, s' >= 0, s' <= 1 * z'' + 1, z' >= 0, z'' >= 0
divides(z', z'') -{ 11 + s16 + 6·z' }→ s17 :|: s16 >= 0, s16 <= 2 * (0 * z') + 2 * z', s17 >= 0, s17 <= 1, z'' = 0, z' >= 0
eq(z', z'') -{ 1 + z'' }→ s :|: s >= 0, s <= 1, z' - 1 >= 0, z'' - 1 >= 0
eq(z', z'') -{ 1 }→ 1 :|: z'' = 0, z' = 0
eq(z', z'') -{ 1 }→ 0 :|: z'' - 1 >= 0, z' = 0
eq(z', z'') -{ 1 }→ 0 :|: z'' = 0, z' - 1 >= 0
if(z', z'', z1) -{ 1 }→ pr(x, y) :|: z1 = y, x >= 0, y >= 0, z'' = x, z' = 0
if(z', z'', z1) -{ 1 }→ 0 :|: z1 = y, x >= 0, y >= 0, z'' = x, z' = 1
p(z') -{ 0 }→ 0 :|: z' >= 0
p(z') -{ 1 }→ z' - 1 :|: z' - 1 >= 0
plus(z', z'') -{ 1 }→ z' :|: z'' = 0, z' >= 0
plus(z', z'') -{ 1 }→ z'' :|: z'' >= 0, z' = 0
plus(z', z'') -{ 2 + 2·z'' }→ 1 + s10 :|: s10 >= 0, s10 <= 1 * 0 + 1 * z'', z' - 1 >= 0, z'' >= 0
plus(z', z'') -{ 2·z' + 2·z'' }→ 1 + s4 :|: s4 >= 0, s4 <= 1 * (z' - 1) + 1 * z'', z' - 1 >= 0, z'' >= 0
plus(z', z'') -{ 1 + 2·z' + 2·z'' }→ 1 + s5 :|: s5 >= 0, s5 <= 1 * z' + 1 * (z'' - 1), z' >= 0, z'' - 1 >= 0
plus(z', z'') -{ 2 + 2·z' }→ 1 + s6 :|: s6 >= 0, s6 <= 1 * z' + 1 * 0, z' >= 0, z'' - 1 >= 0
plus(z', z'') -{ 1 + 2·z' + 2·z'' }→ 1 + s9 :|: s9 >= 0, s9 <= 1 * (z' - 1) + 1 * z'', z' - 1 >= 0, z'' >= 0
pr(z', z'') -{ 7 + 3·x + y }→ if(eq(x, times(s3, 1 + (1 + y))), x, 1 + y) :|: z' = x, x >= 0, y >= 0, z'' = 1 + (1 + y), s3 >= 0, s3 <= 1 * (x - 1) + 1, 1 + (1 + y) >= 0, x - 1 >= 0, 1 + (1 + y) - 1 >= 0
pr(z', z'') -{ 3 }→ if(eq(x, times(0, 1 + (1 + y))), x, 1 + y) :|: z' = x, x >= 0, y >= 0, z'' = 1 + (1 + y), 1 + (1 + y) >= 0
pr(z', z'') -{ 4 }→ if(eq(x, times(0, 1 + (1 + y))), x, 1 + y) :|: z' = x, x >= 0, y >= 0, z'' = 1 + (1 + y), 1 + (1 + y) >= 0, 1 + (1 + y) - 1 >= 0, x = 0
pr(z', z'') -{ 5 }→ if(1, 0, 1 + y) :|: y >= 0, z'' = 1 + (1 + y), z' = 0, 1 + (1 + y) >= 0, 0 = 0
pr(z', z'') -{ 1 }→ 1 :|: z' = x, x >= 0, z'' = 1 + 0
prime(z') -{ 1 }→ pr(1 + (1 + (z' - 2)), 1 + (z' - 2)) :|: z' - 2 >= 0
quot(z', z'', z1) -{ 2 + 3·z' + z'' }→ s3 :|: s3 >= 0, s3 <= 1 * (z' - 1) + 1, z1 >= 0, z' - 1 >= 0, z'' - 1 >= 0
quot(z', z'', z1) -{ 0 }→ 0 :|: z' >= 0, z'' >= 0, z1 >= 0
quot(z', z'', z1) -{ 1 }→ 0 :|: z1 >= 0, z'' - 1 >= 0, z' = 0
quot(z', z'', z1) -{ 4 + 3·z' }→ 1 + s2 :|: s2 >= 0, s2 <= 1 * z', z'' = 0, z1 - 1 >= 0, z' >= 0
times(z', z'') -{ 4 + 2·s11 + 2·s12 + 4·z' + -32·z'·z'' + 8·z'2·z'' + 42·z'' }→ s13 :|: s11 >= 0, s11 <= 2 * ((z' - 2) * z'') + 2 * z'', s12 >= 0, s12 <= 1 * z'' + 1 * s11, s13 >= 0, s13 <= 1 * z'' + 1 * s12, z' - 2 >= 0, z'' >= 0
times(z', z'') -{ 3 + 2·z'' }→ s7 :|: s7 >= 0, s7 <= 1 * z'' + 1 * 0, z'' >= 0, z' = 1 + 0
times(z', z'') -{ 3 + 4·z'' }→ s8 :|: s8 >= 0, s8 <= 1 * z'' + 1 * z'', z' = 1 + (1 + 0), z'' >= 0
times(z', z'') -{ 1 }→ z'' :|: z'' >= 0, z' = 1 + 0
times(z', z'') -{ 1 }→ 0 :|: z'' >= 0, z' = 0
eq: runtime: O(n1) [1 + z''], size: O(1) [1] div: runtime: O(n1) [3 + 3·z'], size: O(n1) [z'] quot: runtime: O(n1) [5 + 3·z' + z''], size: O(n1) [1 + z'] plus: runtime: O(n1) [1 + 2·z' + 2·z''], size: O(n1) [z' + z''] p: runtime: O(1) [1], size: O(n1) [z'] times: runtime: O(n3) [8 + 4·z' + 8·z'2·z'' + 6·z''], size: O(n2) [2·z'·z'' + 2·z''] |
div(z', z'') -{ 6 + 3·z' + z'' }→ s1 :|: s1 >= 0, s1 <= 1 * z' + 1, z' >= 0, z'' >= 0
div(z', z'') -{ 1 }→ 0 :|: z'' >= 0, z' = 0
divides(z', z'') -{ 16 + 4·s' + 8·s'2·z' + s14 + 7·z' + 3·z'' }→ s15 :|: s14 >= 0, s14 <= 2 * (s' * z') + 2 * z', s15 >= 0, s15 <= 1, s' >= 0, s' <= 1 * z'' + 1, z' >= 0, z'' >= 0
divides(z', z'') -{ 11 + s16 + 6·z' }→ s17 :|: s16 >= 0, s16 <= 2 * (0 * z') + 2 * z', s17 >= 0, s17 <= 1, z'' = 0, z' >= 0
eq(z', z'') -{ 1 + z'' }→ s :|: s >= 0, s <= 1, z' - 1 >= 0, z'' - 1 >= 0
eq(z', z'') -{ 1 }→ 1 :|: z'' = 0, z' = 0
eq(z', z'') -{ 1 }→ 0 :|: z'' - 1 >= 0, z' = 0
eq(z', z'') -{ 1 }→ 0 :|: z'' = 0, z' - 1 >= 0
if(z', z'', z1) -{ 1 }→ pr(x, y) :|: z1 = y, x >= 0, y >= 0, z'' = x, z' = 0
if(z', z'', z1) -{ 1 }→ 0 :|: z1 = y, x >= 0, y >= 0, z'' = x, z' = 1
p(z') -{ 0 }→ 0 :|: z' >= 0
p(z') -{ 1 }→ z' - 1 :|: z' - 1 >= 0
plus(z', z'') -{ 1 }→ z' :|: z'' = 0, z' >= 0
plus(z', z'') -{ 1 }→ z'' :|: z'' >= 0, z' = 0
plus(z', z'') -{ 2 + 2·z'' }→ 1 + s10 :|: s10 >= 0, s10 <= 1 * 0 + 1 * z'', z' - 1 >= 0, z'' >= 0
plus(z', z'') -{ 2·z' + 2·z'' }→ 1 + s4 :|: s4 >= 0, s4 <= 1 * (z' - 1) + 1 * z'', z' - 1 >= 0, z'' >= 0
plus(z', z'') -{ 1 + 2·z' + 2·z'' }→ 1 + s5 :|: s5 >= 0, s5 <= 1 * z' + 1 * (z'' - 1), z' >= 0, z'' - 1 >= 0
plus(z', z'') -{ 2 + 2·z' }→ 1 + s6 :|: s6 >= 0, s6 <= 1 * z' + 1 * 0, z' >= 0, z'' - 1 >= 0
plus(z', z'') -{ 1 + 2·z' + 2·z'' }→ 1 + s9 :|: s9 >= 0, s9 <= 1 * (z' - 1) + 1 * z'', z' - 1 >= 0, z'' >= 0
pr(z', z'') -{ 28 + s'' + 4·s3 + 16·s32 + 8·s32·y + 3·x + 7·y }→ if(s18, x, 1 + y) :|: s'' >= 0, s'' <= 2 * (s3 * (1 + (1 + y))) + 2 * (1 + (1 + y)), s18 >= 0, s18 <= 1, z' = x, x >= 0, y >= 0, z'' = 1 + (1 + y), s3 >= 0, s3 <= 1 * (x - 1) + 1, 1 + (1 + y) >= 0, x - 1 >= 0, 1 + (1 + y) - 1 >= 0
pr(z', z'') -{ 24 + s19 + 6·y }→ if(s20, x, 1 + y) :|: s19 >= 0, s19 <= 2 * (0 * (1 + (1 + y))) + 2 * (1 + (1 + y)), s20 >= 0, s20 <= 1, z' = x, x >= 0, y >= 0, z'' = 1 + (1 + y), 1 + (1 + y) >= 0
pr(z', z'') -{ 25 + s21 + 6·y }→ if(s22, x, 1 + y) :|: s21 >= 0, s21 <= 2 * (0 * (1 + (1 + y))) + 2 * (1 + (1 + y)), s22 >= 0, s22 <= 1, z' = x, x >= 0, y >= 0, z'' = 1 + (1 + y), 1 + (1 + y) >= 0, 1 + (1 + y) - 1 >= 0, x = 0
pr(z', z'') -{ 5 }→ if(1, 0, 1 + y) :|: y >= 0, z'' = 1 + (1 + y), z' = 0, 1 + (1 + y) >= 0, 0 = 0
pr(z', z'') -{ 1 }→ 1 :|: z' = x, x >= 0, z'' = 1 + 0
prime(z') -{ 1 }→ pr(1 + (1 + (z' - 2)), 1 + (z' - 2)) :|: z' - 2 >= 0
quot(z', z'', z1) -{ 2 + 3·z' + z'' }→ s3 :|: s3 >= 0, s3 <= 1 * (z' - 1) + 1, z1 >= 0, z' - 1 >= 0, z'' - 1 >= 0
quot(z', z'', z1) -{ 0 }→ 0 :|: z' >= 0, z'' >= 0, z1 >= 0
quot(z', z'', z1) -{ 1 }→ 0 :|: z1 >= 0, z'' - 1 >= 0, z' = 0
quot(z', z'', z1) -{ 4 + 3·z' }→ 1 + s2 :|: s2 >= 0, s2 <= 1 * z', z'' = 0, z1 - 1 >= 0, z' >= 0
times(z', z'') -{ 4 + 2·s11 + 2·s12 + 4·z' + -32·z'·z'' + 8·z'2·z'' + 42·z'' }→ s13 :|: s11 >= 0, s11 <= 2 * ((z' - 2) * z'') + 2 * z'', s12 >= 0, s12 <= 1 * z'' + 1 * s11, s13 >= 0, s13 <= 1 * z'' + 1 * s12, z' - 2 >= 0, z'' >= 0
times(z', z'') -{ 3 + 2·z'' }→ s7 :|: s7 >= 0, s7 <= 1 * z'' + 1 * 0, z'' >= 0, z' = 1 + 0
times(z', z'') -{ 3 + 4·z'' }→ s8 :|: s8 >= 0, s8 <= 1 * z'' + 1 * z'', z' = 1 + (1 + 0), z'' >= 0
times(z', z'') -{ 1 }→ z'' :|: z'' >= 0, z' = 1 + 0
times(z', z'') -{ 1 }→ 0 :|: z'' >= 0, z' = 0
eq: runtime: O(n1) [1 + z''], size: O(1) [1] div: runtime: O(n1) [3 + 3·z'], size: O(n1) [z'] quot: runtime: O(n1) [5 + 3·z' + z''], size: O(n1) [1 + z'] plus: runtime: O(n1) [1 + 2·z' + 2·z''], size: O(n1) [z' + z''] p: runtime: O(1) [1], size: O(n1) [z'] times: runtime: O(n3) [8 + 4·z' + 8·z'2·z'' + 6·z''], size: O(n2) [2·z'·z'' + 2·z''] |
div(z', z'') -{ 6 + 3·z' + z'' }→ s1 :|: s1 >= 0, s1 <= 1 * z' + 1, z' >= 0, z'' >= 0
div(z', z'') -{ 1 }→ 0 :|: z'' >= 0, z' = 0
divides(z', z'') -{ 16 + 4·s' + 8·s'2·z' + s14 + 7·z' + 3·z'' }→ s15 :|: s14 >= 0, s14 <= 2 * (s' * z') + 2 * z', s15 >= 0, s15 <= 1, s' >= 0, s' <= 1 * z'' + 1, z' >= 0, z'' >= 0
divides(z', z'') -{ 11 + s16 + 6·z' }→ s17 :|: s16 >= 0, s16 <= 2 * (0 * z') + 2 * z', s17 >= 0, s17 <= 1, z'' = 0, z' >= 0
eq(z', z'') -{ 1 + z'' }→ s :|: s >= 0, s <= 1, z' - 1 >= 0, z'' - 1 >= 0
eq(z', z'') -{ 1 }→ 1 :|: z'' = 0, z' = 0
eq(z', z'') -{ 1 }→ 0 :|: z'' - 1 >= 0, z' = 0
eq(z', z'') -{ 1 }→ 0 :|: z'' = 0, z' - 1 >= 0
if(z', z'', z1) -{ 1 }→ pr(x, y) :|: z1 = y, x >= 0, y >= 0, z'' = x, z' = 0
if(z', z'', z1) -{ 1 }→ 0 :|: z1 = y, x >= 0, y >= 0, z'' = x, z' = 1
p(z') -{ 0 }→ 0 :|: z' >= 0
p(z') -{ 1 }→ z' - 1 :|: z' - 1 >= 0
plus(z', z'') -{ 1 }→ z' :|: z'' = 0, z' >= 0
plus(z', z'') -{ 1 }→ z'' :|: z'' >= 0, z' = 0
plus(z', z'') -{ 2 + 2·z'' }→ 1 + s10 :|: s10 >= 0, s10 <= 1 * 0 + 1 * z'', z' - 1 >= 0, z'' >= 0
plus(z', z'') -{ 2·z' + 2·z'' }→ 1 + s4 :|: s4 >= 0, s4 <= 1 * (z' - 1) + 1 * z'', z' - 1 >= 0, z'' >= 0
plus(z', z'') -{ 1 + 2·z' + 2·z'' }→ 1 + s5 :|: s5 >= 0, s5 <= 1 * z' + 1 * (z'' - 1), z' >= 0, z'' - 1 >= 0
plus(z', z'') -{ 2 + 2·z' }→ 1 + s6 :|: s6 >= 0, s6 <= 1 * z' + 1 * 0, z' >= 0, z'' - 1 >= 0
plus(z', z'') -{ 1 + 2·z' + 2·z'' }→ 1 + s9 :|: s9 >= 0, s9 <= 1 * (z' - 1) + 1 * z'', z' - 1 >= 0, z'' >= 0
pr(z', z'') -{ 28 + s'' + 4·s3 + 16·s32 + 8·s32·y + 3·x + 7·y }→ if(s18, x, 1 + y) :|: s'' >= 0, s'' <= 2 * (s3 * (1 + (1 + y))) + 2 * (1 + (1 + y)), s18 >= 0, s18 <= 1, z' = x, x >= 0, y >= 0, z'' = 1 + (1 + y), s3 >= 0, s3 <= 1 * (x - 1) + 1, 1 + (1 + y) >= 0, x - 1 >= 0, 1 + (1 + y) - 1 >= 0
pr(z', z'') -{ 24 + s19 + 6·y }→ if(s20, x, 1 + y) :|: s19 >= 0, s19 <= 2 * (0 * (1 + (1 + y))) + 2 * (1 + (1 + y)), s20 >= 0, s20 <= 1, z' = x, x >= 0, y >= 0, z'' = 1 + (1 + y), 1 + (1 + y) >= 0
pr(z', z'') -{ 25 + s21 + 6·y }→ if(s22, x, 1 + y) :|: s21 >= 0, s21 <= 2 * (0 * (1 + (1 + y))) + 2 * (1 + (1 + y)), s22 >= 0, s22 <= 1, z' = x, x >= 0, y >= 0, z'' = 1 + (1 + y), 1 + (1 + y) >= 0, 1 + (1 + y) - 1 >= 0, x = 0
pr(z', z'') -{ 5 }→ if(1, 0, 1 + y) :|: y >= 0, z'' = 1 + (1 + y), z' = 0, 1 + (1 + y) >= 0, 0 = 0
pr(z', z'') -{ 1 }→ 1 :|: z' = x, x >= 0, z'' = 1 + 0
prime(z') -{ 1 }→ pr(1 + (1 + (z' - 2)), 1 + (z' - 2)) :|: z' - 2 >= 0
quot(z', z'', z1) -{ 2 + 3·z' + z'' }→ s3 :|: s3 >= 0, s3 <= 1 * (z' - 1) + 1, z1 >= 0, z' - 1 >= 0, z'' - 1 >= 0
quot(z', z'', z1) -{ 0 }→ 0 :|: z' >= 0, z'' >= 0, z1 >= 0
quot(z', z'', z1) -{ 1 }→ 0 :|: z1 >= 0, z'' - 1 >= 0, z' = 0
quot(z', z'', z1) -{ 4 + 3·z' }→ 1 + s2 :|: s2 >= 0, s2 <= 1 * z', z'' = 0, z1 - 1 >= 0, z' >= 0
times(z', z'') -{ 4 + 2·s11 + 2·s12 + 4·z' + -32·z'·z'' + 8·z'2·z'' + 42·z'' }→ s13 :|: s11 >= 0, s11 <= 2 * ((z' - 2) * z'') + 2 * z'', s12 >= 0, s12 <= 1 * z'' + 1 * s11, s13 >= 0, s13 <= 1 * z'' + 1 * s12, z' - 2 >= 0, z'' >= 0
times(z', z'') -{ 3 + 2·z'' }→ s7 :|: s7 >= 0, s7 <= 1 * z'' + 1 * 0, z'' >= 0, z' = 1 + 0
times(z', z'') -{ 3 + 4·z'' }→ s8 :|: s8 >= 0, s8 <= 1 * z'' + 1 * z'', z' = 1 + (1 + 0), z'' >= 0
times(z', z'') -{ 1 }→ z'' :|: z'' >= 0, z' = 1 + 0
times(z', z'') -{ 1 }→ 0 :|: z'' >= 0, z' = 0
eq: runtime: O(n1) [1 + z''], size: O(1) [1] div: runtime: O(n1) [3 + 3·z'], size: O(n1) [z'] quot: runtime: O(n1) [5 + 3·z' + z''], size: O(n1) [1 + z'] plus: runtime: O(n1) [1 + 2·z' + 2·z''], size: O(n1) [z' + z''] p: runtime: O(1) [1], size: O(n1) [z'] times: runtime: O(n3) [8 + 4·z' + 8·z'2·z'' + 6·z''], size: O(n2) [2·z'·z'' + 2·z''] if: runtime: ?, size: O(1) [1] pr: runtime: ?, size: O(1) [1] |
div(z', z'') -{ 6 + 3·z' + z'' }→ s1 :|: s1 >= 0, s1 <= 1 * z' + 1, z' >= 0, z'' >= 0
div(z', z'') -{ 1 }→ 0 :|: z'' >= 0, z' = 0
divides(z', z'') -{ 16 + 4·s' + 8·s'2·z' + s14 + 7·z' + 3·z'' }→ s15 :|: s14 >= 0, s14 <= 2 * (s' * z') + 2 * z', s15 >= 0, s15 <= 1, s' >= 0, s' <= 1 * z'' + 1, z' >= 0, z'' >= 0
divides(z', z'') -{ 11 + s16 + 6·z' }→ s17 :|: s16 >= 0, s16 <= 2 * (0 * z') + 2 * z', s17 >= 0, s17 <= 1, z'' = 0, z' >= 0
eq(z', z'') -{ 1 + z'' }→ s :|: s >= 0, s <= 1, z' - 1 >= 0, z'' - 1 >= 0
eq(z', z'') -{ 1 }→ 1 :|: z'' = 0, z' = 0
eq(z', z'') -{ 1 }→ 0 :|: z'' - 1 >= 0, z' = 0
eq(z', z'') -{ 1 }→ 0 :|: z'' = 0, z' - 1 >= 0
if(z', z'', z1) -{ 1 }→ pr(x, y) :|: z1 = y, x >= 0, y >= 0, z'' = x, z' = 0
if(z', z'', z1) -{ 1 }→ 0 :|: z1 = y, x >= 0, y >= 0, z'' = x, z' = 1
p(z') -{ 0 }→ 0 :|: z' >= 0
p(z') -{ 1 }→ z' - 1 :|: z' - 1 >= 0
plus(z', z'') -{ 1 }→ z' :|: z'' = 0, z' >= 0
plus(z', z'') -{ 1 }→ z'' :|: z'' >= 0, z' = 0
plus(z', z'') -{ 2 + 2·z'' }→ 1 + s10 :|: s10 >= 0, s10 <= 1 * 0 + 1 * z'', z' - 1 >= 0, z'' >= 0
plus(z', z'') -{ 2·z' + 2·z'' }→ 1 + s4 :|: s4 >= 0, s4 <= 1 * (z' - 1) + 1 * z'', z' - 1 >= 0, z'' >= 0
plus(z', z'') -{ 1 + 2·z' + 2·z'' }→ 1 + s5 :|: s5 >= 0, s5 <= 1 * z' + 1 * (z'' - 1), z' >= 0, z'' - 1 >= 0
plus(z', z'') -{ 2 + 2·z' }→ 1 + s6 :|: s6 >= 0, s6 <= 1 * z' + 1 * 0, z' >= 0, z'' - 1 >= 0
plus(z', z'') -{ 1 + 2·z' + 2·z'' }→ 1 + s9 :|: s9 >= 0, s9 <= 1 * (z' - 1) + 1 * z'', z' - 1 >= 0, z'' >= 0
pr(z', z'') -{ 28 + s'' + 4·s3 + 16·s32 + 8·s32·y + 3·x + 7·y }→ if(s18, x, 1 + y) :|: s'' >= 0, s'' <= 2 * (s3 * (1 + (1 + y))) + 2 * (1 + (1 + y)), s18 >= 0, s18 <= 1, z' = x, x >= 0, y >= 0, z'' = 1 + (1 + y), s3 >= 0, s3 <= 1 * (x - 1) + 1, 1 + (1 + y) >= 0, x - 1 >= 0, 1 + (1 + y) - 1 >= 0
pr(z', z'') -{ 24 + s19 + 6·y }→ if(s20, x, 1 + y) :|: s19 >= 0, s19 <= 2 * (0 * (1 + (1 + y))) + 2 * (1 + (1 + y)), s20 >= 0, s20 <= 1, z' = x, x >= 0, y >= 0, z'' = 1 + (1 + y), 1 + (1 + y) >= 0
pr(z', z'') -{ 25 + s21 + 6·y }→ if(s22, x, 1 + y) :|: s21 >= 0, s21 <= 2 * (0 * (1 + (1 + y))) + 2 * (1 + (1 + y)), s22 >= 0, s22 <= 1, z' = x, x >= 0, y >= 0, z'' = 1 + (1 + y), 1 + (1 + y) >= 0, 1 + (1 + y) - 1 >= 0, x = 0
pr(z', z'') -{ 5 }→ if(1, 0, 1 + y) :|: y >= 0, z'' = 1 + (1 + y), z' = 0, 1 + (1 + y) >= 0, 0 = 0
pr(z', z'') -{ 1 }→ 1 :|: z' = x, x >= 0, z'' = 1 + 0
prime(z') -{ 1 }→ pr(1 + (1 + (z' - 2)), 1 + (z' - 2)) :|: z' - 2 >= 0
quot(z', z'', z1) -{ 2 + 3·z' + z'' }→ s3 :|: s3 >= 0, s3 <= 1 * (z' - 1) + 1, z1 >= 0, z' - 1 >= 0, z'' - 1 >= 0
quot(z', z'', z1) -{ 0 }→ 0 :|: z' >= 0, z'' >= 0, z1 >= 0
quot(z', z'', z1) -{ 1 }→ 0 :|: z1 >= 0, z'' - 1 >= 0, z' = 0
quot(z', z'', z1) -{ 4 + 3·z' }→ 1 + s2 :|: s2 >= 0, s2 <= 1 * z', z'' = 0, z1 - 1 >= 0, z' >= 0
times(z', z'') -{ 4 + 2·s11 + 2·s12 + 4·z' + -32·z'·z'' + 8·z'2·z'' + 42·z'' }→ s13 :|: s11 >= 0, s11 <= 2 * ((z' - 2) * z'') + 2 * z'', s12 >= 0, s12 <= 1 * z'' + 1 * s11, s13 >= 0, s13 <= 1 * z'' + 1 * s12, z' - 2 >= 0, z'' >= 0
times(z', z'') -{ 3 + 2·z'' }→ s7 :|: s7 >= 0, s7 <= 1 * z'' + 1 * 0, z'' >= 0, z' = 1 + 0
times(z', z'') -{ 3 + 4·z'' }→ s8 :|: s8 >= 0, s8 <= 1 * z'' + 1 * z'', z' = 1 + (1 + 0), z'' >= 0
times(z', z'') -{ 1 }→ z'' :|: z'' >= 0, z' = 1 + 0
times(z', z'') -{ 1 }→ 0 :|: z'' >= 0, z' = 0
eq: runtime: O(n1) [1 + z''], size: O(1) [1] div: runtime: O(n1) [3 + 3·z'], size: O(n1) [z'] quot: runtime: O(n1) [5 + 3·z' + z''], size: O(n1) [1 + z'] plus: runtime: O(n1) [1 + 2·z' + 2·z''], size: O(n1) [z' + z''] p: runtime: O(1) [1], size: O(n1) [z'] times: runtime: O(n3) [8 + 4·z' + 8·z'2·z'' + 6·z''], size: O(n2) [2·z'·z'' + 2·z''] if: runtime: O(n4) [97 + 11·z'' + 24·z''·z1 + 4·z''·z12 + 16·z''2 + 40·z''2·z1 + 16·z''2·z12 + 215·z1 + 50·z12], size: O(1) [1] pr: runtime: O(n4) [1543 + 89·z' + 66·z'·z'' + 8·z'·z''2 + 160·z'2 + 152·z'2·z'' + 32·z'2·z''2 + 1285·z'' + 200·z''2], size: O(1) [1] |
div(z', z'') -{ 6 + 3·z' + z'' }→ s1 :|: s1 >= 0, s1 <= 1 * z' + 1, z' >= 0, z'' >= 0
div(z', z'') -{ 1 }→ 0 :|: z'' >= 0, z' = 0
divides(z', z'') -{ 16 + 4·s' + 8·s'2·z' + s14 + 7·z' + 3·z'' }→ s15 :|: s14 >= 0, s14 <= 2 * (s' * z') + 2 * z', s15 >= 0, s15 <= 1, s' >= 0, s' <= 1 * z'' + 1, z' >= 0, z'' >= 0
divides(z', z'') -{ 11 + s16 + 6·z' }→ s17 :|: s16 >= 0, s16 <= 2 * (0 * z') + 2 * z', s17 >= 0, s17 <= 1, z'' = 0, z' >= 0
eq(z', z'') -{ 1 + z'' }→ s :|: s >= 0, s <= 1, z' - 1 >= 0, z'' - 1 >= 0
eq(z', z'') -{ 1 }→ 1 :|: z'' = 0, z' = 0
eq(z', z'') -{ 1 }→ 0 :|: z'' - 1 >= 0, z' = 0
eq(z', z'') -{ 1 }→ 0 :|: z'' = 0, z' - 1 >= 0
if(z', z'', z1) -{ 1544 + 89·x + 66·x·y + 8·x·y2 + 160·x2 + 152·x2·y + 32·x2·y2 + 1285·y + 200·y2 }→ s23 :|: s23 >= 0, s23 <= 1, z1 = y, x >= 0, y >= 0, z'' = x, z' = 0
if(z', z'', z1) -{ 1 }→ 0 :|: z1 = y, x >= 0, y >= 0, z'' = x, z' = 1
p(z') -{ 0 }→ 0 :|: z' >= 0
p(z') -{ 1 }→ z' - 1 :|: z' - 1 >= 0
plus(z', z'') -{ 1 }→ z' :|: z'' = 0, z' >= 0
plus(z', z'') -{ 1 }→ z'' :|: z'' >= 0, z' = 0
plus(z', z'') -{ 2 + 2·z'' }→ 1 + s10 :|: s10 >= 0, s10 <= 1 * 0 + 1 * z'', z' - 1 >= 0, z'' >= 0
plus(z', z'') -{ 2·z' + 2·z'' }→ 1 + s4 :|: s4 >= 0, s4 <= 1 * (z' - 1) + 1 * z'', z' - 1 >= 0, z'' >= 0
plus(z', z'') -{ 1 + 2·z' + 2·z'' }→ 1 + s5 :|: s5 >= 0, s5 <= 1 * z' + 1 * (z'' - 1), z' >= 0, z'' - 1 >= 0
plus(z', z'') -{ 2 + 2·z' }→ 1 + s6 :|: s6 >= 0, s6 <= 1 * z' + 1 * 0, z' >= 0, z'' - 1 >= 0
plus(z', z'') -{ 1 + 2·z' + 2·z'' }→ 1 + s9 :|: s9 >= 0, s9 <= 1 * (z' - 1) + 1 * z'', z' - 1 >= 0, z'' >= 0
pr(z', z'') -{ 367 + 315·y + 50·y2 }→ s25 :|: s25 >= 0, s25 <= 1, y >= 0, z'' = 1 + (1 + y), z' = 0, 1 + (1 + y) >= 0, 0 = 0
pr(z', z'') -{ 390 + s'' + 4·s3 + 16·s32 + 8·s32·y + 42·x + 32·x·y + 4·x·y2 + 72·x2 + 72·x2·y + 16·x2·y2 + 322·y + 50·y2 }→ s26 :|: s26 >= 0, s26 <= 1, s'' >= 0, s'' <= 2 * (s3 * (1 + (1 + y))) + 2 * (1 + (1 + y)), s18 >= 0, s18 <= 1, z' = x, x >= 0, y >= 0, z'' = 1 + (1 + y), s3 >= 0, s3 <= 1 * (x - 1) + 1, 1 + (1 + y) >= 0, x - 1 >= 0, 1 + (1 + y) - 1 >= 0
pr(z', z'') -{ 386 + s19 + 39·x + 32·x·y + 4·x·y2 + 72·x2 + 72·x2·y + 16·x2·y2 + 321·y + 50·y2 }→ s27 :|: s27 >= 0, s27 <= 1, s19 >= 0, s19 <= 2 * (0 * (1 + (1 + y))) + 2 * (1 + (1 + y)), s20 >= 0, s20 <= 1, z' = x, x >= 0, y >= 0, z'' = 1 + (1 + y), 1 + (1 + y) >= 0
pr(z', z'') -{ 387 + s21 + 39·x + 32·x·y + 4·x·y2 + 72·x2 + 72·x2·y + 16·x2·y2 + 321·y + 50·y2 }→ s28 :|: s28 >= 0, s28 <= 1, s21 >= 0, s21 <= 2 * (0 * (1 + (1 + y))) + 2 * (1 + (1 + y)), s22 >= 0, s22 <= 1, z' = x, x >= 0, y >= 0, z'' = 1 + (1 + y), 1 + (1 + y) >= 0, 1 + (1 + y) - 1 >= 0, x = 0
pr(z', z'') -{ 1 }→ 1 :|: z' = x, x >= 0, z'' = 1 + 0
prime(z') -{ 459 + 916·z' + 290·z'2 + 96·z'3 + 32·z'4 }→ s24 :|: s24 >= 0, s24 <= 1, z' - 2 >= 0
quot(z', z'', z1) -{ 2 + 3·z' + z'' }→ s3 :|: s3 >= 0, s3 <= 1 * (z' - 1) + 1, z1 >= 0, z' - 1 >= 0, z'' - 1 >= 0
quot(z', z'', z1) -{ 0 }→ 0 :|: z' >= 0, z'' >= 0, z1 >= 0
quot(z', z'', z1) -{ 1 }→ 0 :|: z1 >= 0, z'' - 1 >= 0, z' = 0
quot(z', z'', z1) -{ 4 + 3·z' }→ 1 + s2 :|: s2 >= 0, s2 <= 1 * z', z'' = 0, z1 - 1 >= 0, z' >= 0
times(z', z'') -{ 4 + 2·s11 + 2·s12 + 4·z' + -32·z'·z'' + 8·z'2·z'' + 42·z'' }→ s13 :|: s11 >= 0, s11 <= 2 * ((z' - 2) * z'') + 2 * z'', s12 >= 0, s12 <= 1 * z'' + 1 * s11, s13 >= 0, s13 <= 1 * z'' + 1 * s12, z' - 2 >= 0, z'' >= 0
times(z', z'') -{ 3 + 2·z'' }→ s7 :|: s7 >= 0, s7 <= 1 * z'' + 1 * 0, z'' >= 0, z' = 1 + 0
times(z', z'') -{ 3 + 4·z'' }→ s8 :|: s8 >= 0, s8 <= 1 * z'' + 1 * z'', z' = 1 + (1 + 0), z'' >= 0
times(z', z'') -{ 1 }→ z'' :|: z'' >= 0, z' = 1 + 0
times(z', z'') -{ 1 }→ 0 :|: z'' >= 0, z' = 0
eq: runtime: O(n1) [1 + z''], size: O(1) [1] div: runtime: O(n1) [3 + 3·z'], size: O(n1) [z'] quot: runtime: O(n1) [5 + 3·z' + z''], size: O(n1) [1 + z'] plus: runtime: O(n1) [1 + 2·z' + 2·z''], size: O(n1) [z' + z''] p: runtime: O(1) [1], size: O(n1) [z'] times: runtime: O(n3) [8 + 4·z' + 8·z'2·z'' + 6·z''], size: O(n2) [2·z'·z'' + 2·z''] if: runtime: O(n4) [97 + 11·z'' + 24·z''·z1 + 4·z''·z12 + 16·z''2 + 40·z''2·z1 + 16·z''2·z12 + 215·z1 + 50·z12], size: O(1) [1] pr: runtime: O(n4) [1543 + 89·z' + 66·z'·z'' + 8·z'·z''2 + 160·z'2 + 152·z'2·z'' + 32·z'2·z''2 + 1285·z'' + 200·z''2], size: O(1) [1] |
div(z', z'') -{ 6 + 3·z' + z'' }→ s1 :|: s1 >= 0, s1 <= 1 * z' + 1, z' >= 0, z'' >= 0
div(z', z'') -{ 1 }→ 0 :|: z'' >= 0, z' = 0
divides(z', z'') -{ 16 + 4·s' + 8·s'2·z' + s14 + 7·z' + 3·z'' }→ s15 :|: s14 >= 0, s14 <= 2 * (s' * z') + 2 * z', s15 >= 0, s15 <= 1, s' >= 0, s' <= 1 * z'' + 1, z' >= 0, z'' >= 0
divides(z', z'') -{ 11 + s16 + 6·z' }→ s17 :|: s16 >= 0, s16 <= 2 * (0 * z') + 2 * z', s17 >= 0, s17 <= 1, z'' = 0, z' >= 0
eq(z', z'') -{ 1 + z'' }→ s :|: s >= 0, s <= 1, z' - 1 >= 0, z'' - 1 >= 0
eq(z', z'') -{ 1 }→ 1 :|: z'' = 0, z' = 0
eq(z', z'') -{ 1 }→ 0 :|: z'' - 1 >= 0, z' = 0
eq(z', z'') -{ 1 }→ 0 :|: z'' = 0, z' - 1 >= 0
if(z', z'', z1) -{ 1544 + 89·x + 66·x·y + 8·x·y2 + 160·x2 + 152·x2·y + 32·x2·y2 + 1285·y + 200·y2 }→ s23 :|: s23 >= 0, s23 <= 1, z1 = y, x >= 0, y >= 0, z'' = x, z' = 0
if(z', z'', z1) -{ 1 }→ 0 :|: z1 = y, x >= 0, y >= 0, z'' = x, z' = 1
p(z') -{ 0 }→ 0 :|: z' >= 0
p(z') -{ 1 }→ z' - 1 :|: z' - 1 >= 0
plus(z', z'') -{ 1 }→ z' :|: z'' = 0, z' >= 0
plus(z', z'') -{ 1 }→ z'' :|: z'' >= 0, z' = 0
plus(z', z'') -{ 2 + 2·z'' }→ 1 + s10 :|: s10 >= 0, s10 <= 1 * 0 + 1 * z'', z' - 1 >= 0, z'' >= 0
plus(z', z'') -{ 2·z' + 2·z'' }→ 1 + s4 :|: s4 >= 0, s4 <= 1 * (z' - 1) + 1 * z'', z' - 1 >= 0, z'' >= 0
plus(z', z'') -{ 1 + 2·z' + 2·z'' }→ 1 + s5 :|: s5 >= 0, s5 <= 1 * z' + 1 * (z'' - 1), z' >= 0, z'' - 1 >= 0
plus(z', z'') -{ 2 + 2·z' }→ 1 + s6 :|: s6 >= 0, s6 <= 1 * z' + 1 * 0, z' >= 0, z'' - 1 >= 0
plus(z', z'') -{ 1 + 2·z' + 2·z'' }→ 1 + s9 :|: s9 >= 0, s9 <= 1 * (z' - 1) + 1 * z'', z' - 1 >= 0, z'' >= 0
pr(z', z'') -{ 367 + 315·y + 50·y2 }→ s25 :|: s25 >= 0, s25 <= 1, y >= 0, z'' = 1 + (1 + y), z' = 0, 1 + (1 + y) >= 0, 0 = 0
pr(z', z'') -{ 390 + s'' + 4·s3 + 16·s32 + 8·s32·y + 42·x + 32·x·y + 4·x·y2 + 72·x2 + 72·x2·y + 16·x2·y2 + 322·y + 50·y2 }→ s26 :|: s26 >= 0, s26 <= 1, s'' >= 0, s'' <= 2 * (s3 * (1 + (1 + y))) + 2 * (1 + (1 + y)), s18 >= 0, s18 <= 1, z' = x, x >= 0, y >= 0, z'' = 1 + (1 + y), s3 >= 0, s3 <= 1 * (x - 1) + 1, 1 + (1 + y) >= 0, x - 1 >= 0, 1 + (1 + y) - 1 >= 0
pr(z', z'') -{ 386 + s19 + 39·x + 32·x·y + 4·x·y2 + 72·x2 + 72·x2·y + 16·x2·y2 + 321·y + 50·y2 }→ s27 :|: s27 >= 0, s27 <= 1, s19 >= 0, s19 <= 2 * (0 * (1 + (1 + y))) + 2 * (1 + (1 + y)), s20 >= 0, s20 <= 1, z' = x, x >= 0, y >= 0, z'' = 1 + (1 + y), 1 + (1 + y) >= 0
pr(z', z'') -{ 387 + s21 + 39·x + 32·x·y + 4·x·y2 + 72·x2 + 72·x2·y + 16·x2·y2 + 321·y + 50·y2 }→ s28 :|: s28 >= 0, s28 <= 1, s21 >= 0, s21 <= 2 * (0 * (1 + (1 + y))) + 2 * (1 + (1 + y)), s22 >= 0, s22 <= 1, z' = x, x >= 0, y >= 0, z'' = 1 + (1 + y), 1 + (1 + y) >= 0, 1 + (1 + y) - 1 >= 0, x = 0
pr(z', z'') -{ 1 }→ 1 :|: z' = x, x >= 0, z'' = 1 + 0
prime(z') -{ 459 + 916·z' + 290·z'2 + 96·z'3 + 32·z'4 }→ s24 :|: s24 >= 0, s24 <= 1, z' - 2 >= 0
quot(z', z'', z1) -{ 2 + 3·z' + z'' }→ s3 :|: s3 >= 0, s3 <= 1 * (z' - 1) + 1, z1 >= 0, z' - 1 >= 0, z'' - 1 >= 0
quot(z', z'', z1) -{ 0 }→ 0 :|: z' >= 0, z'' >= 0, z1 >= 0
quot(z', z'', z1) -{ 1 }→ 0 :|: z1 >= 0, z'' - 1 >= 0, z' = 0
quot(z', z'', z1) -{ 4 + 3·z' }→ 1 + s2 :|: s2 >= 0, s2 <= 1 * z', z'' = 0, z1 - 1 >= 0, z' >= 0
times(z', z'') -{ 4 + 2·s11 + 2·s12 + 4·z' + -32·z'·z'' + 8·z'2·z'' + 42·z'' }→ s13 :|: s11 >= 0, s11 <= 2 * ((z' - 2) * z'') + 2 * z'', s12 >= 0, s12 <= 1 * z'' + 1 * s11, s13 >= 0, s13 <= 1 * z'' + 1 * s12, z' - 2 >= 0, z'' >= 0
times(z', z'') -{ 3 + 2·z'' }→ s7 :|: s7 >= 0, s7 <= 1 * z'' + 1 * 0, z'' >= 0, z' = 1 + 0
times(z', z'') -{ 3 + 4·z'' }→ s8 :|: s8 >= 0, s8 <= 1 * z'' + 1 * z'', z' = 1 + (1 + 0), z'' >= 0
times(z', z'') -{ 1 }→ z'' :|: z'' >= 0, z' = 1 + 0
times(z', z'') -{ 1 }→ 0 :|: z'' >= 0, z' = 0
eq: runtime: O(n1) [1 + z''], size: O(1) [1] div: runtime: O(n1) [3 + 3·z'], size: O(n1) [z'] quot: runtime: O(n1) [5 + 3·z' + z''], size: O(n1) [1 + z'] plus: runtime: O(n1) [1 + 2·z' + 2·z''], size: O(n1) [z' + z''] p: runtime: O(1) [1], size: O(n1) [z'] times: runtime: O(n3) [8 + 4·z' + 8·z'2·z'' + 6·z''], size: O(n2) [2·z'·z'' + 2·z''] if: runtime: O(n4) [97 + 11·z'' + 24·z''·z1 + 4·z''·z12 + 16·z''2 + 40·z''2·z1 + 16·z''2·z12 + 215·z1 + 50·z12], size: O(1) [1] pr: runtime: O(n4) [1543 + 89·z' + 66·z'·z'' + 8·z'·z''2 + 160·z'2 + 152·z'2·z'' + 32·z'2·z''2 + 1285·z'' + 200·z''2], size: O(1) [1] divides: runtime: ?, size: O(1) [1] |
div(z', z'') -{ 6 + 3·z' + z'' }→ s1 :|: s1 >= 0, s1 <= 1 * z' + 1, z' >= 0, z'' >= 0
div(z', z'') -{ 1 }→ 0 :|: z'' >= 0, z' = 0
divides(z', z'') -{ 16 + 4·s' + 8·s'2·z' + s14 + 7·z' + 3·z'' }→ s15 :|: s14 >= 0, s14 <= 2 * (s' * z') + 2 * z', s15 >= 0, s15 <= 1, s' >= 0, s' <= 1 * z'' + 1, z' >= 0, z'' >= 0
divides(z', z'') -{ 11 + s16 + 6·z' }→ s17 :|: s16 >= 0, s16 <= 2 * (0 * z') + 2 * z', s17 >= 0, s17 <= 1, z'' = 0, z' >= 0
eq(z', z'') -{ 1 + z'' }→ s :|: s >= 0, s <= 1, z' - 1 >= 0, z'' - 1 >= 0
eq(z', z'') -{ 1 }→ 1 :|: z'' = 0, z' = 0
eq(z', z'') -{ 1 }→ 0 :|: z'' - 1 >= 0, z' = 0
eq(z', z'') -{ 1 }→ 0 :|: z'' = 0, z' - 1 >= 0
if(z', z'', z1) -{ 1544 + 89·x + 66·x·y + 8·x·y2 + 160·x2 + 152·x2·y + 32·x2·y2 + 1285·y + 200·y2 }→ s23 :|: s23 >= 0, s23 <= 1, z1 = y, x >= 0, y >= 0, z'' = x, z' = 0
if(z', z'', z1) -{ 1 }→ 0 :|: z1 = y, x >= 0, y >= 0, z'' = x, z' = 1
p(z') -{ 0 }→ 0 :|: z' >= 0
p(z') -{ 1 }→ z' - 1 :|: z' - 1 >= 0
plus(z', z'') -{ 1 }→ z' :|: z'' = 0, z' >= 0
plus(z', z'') -{ 1 }→ z'' :|: z'' >= 0, z' = 0
plus(z', z'') -{ 2 + 2·z'' }→ 1 + s10 :|: s10 >= 0, s10 <= 1 * 0 + 1 * z'', z' - 1 >= 0, z'' >= 0
plus(z', z'') -{ 2·z' + 2·z'' }→ 1 + s4 :|: s4 >= 0, s4 <= 1 * (z' - 1) + 1 * z'', z' - 1 >= 0, z'' >= 0
plus(z', z'') -{ 1 + 2·z' + 2·z'' }→ 1 + s5 :|: s5 >= 0, s5 <= 1 * z' + 1 * (z'' - 1), z' >= 0, z'' - 1 >= 0
plus(z', z'') -{ 2 + 2·z' }→ 1 + s6 :|: s6 >= 0, s6 <= 1 * z' + 1 * 0, z' >= 0, z'' - 1 >= 0
plus(z', z'') -{ 1 + 2·z' + 2·z'' }→ 1 + s9 :|: s9 >= 0, s9 <= 1 * (z' - 1) + 1 * z'', z' - 1 >= 0, z'' >= 0
pr(z', z'') -{ 367 + 315·y + 50·y2 }→ s25 :|: s25 >= 0, s25 <= 1, y >= 0, z'' = 1 + (1 + y), z' = 0, 1 + (1 + y) >= 0, 0 = 0
pr(z', z'') -{ 390 + s'' + 4·s3 + 16·s32 + 8·s32·y + 42·x + 32·x·y + 4·x·y2 + 72·x2 + 72·x2·y + 16·x2·y2 + 322·y + 50·y2 }→ s26 :|: s26 >= 0, s26 <= 1, s'' >= 0, s'' <= 2 * (s3 * (1 + (1 + y))) + 2 * (1 + (1 + y)), s18 >= 0, s18 <= 1, z' = x, x >= 0, y >= 0, z'' = 1 + (1 + y), s3 >= 0, s3 <= 1 * (x - 1) + 1, 1 + (1 + y) >= 0, x - 1 >= 0, 1 + (1 + y) - 1 >= 0
pr(z', z'') -{ 386 + s19 + 39·x + 32·x·y + 4·x·y2 + 72·x2 + 72·x2·y + 16·x2·y2 + 321·y + 50·y2 }→ s27 :|: s27 >= 0, s27 <= 1, s19 >= 0, s19 <= 2 * (0 * (1 + (1 + y))) + 2 * (1 + (1 + y)), s20 >= 0, s20 <= 1, z' = x, x >= 0, y >= 0, z'' = 1 + (1 + y), 1 + (1 + y) >= 0
pr(z', z'') -{ 387 + s21 + 39·x + 32·x·y + 4·x·y2 + 72·x2 + 72·x2·y + 16·x2·y2 + 321·y + 50·y2 }→ s28 :|: s28 >= 0, s28 <= 1, s21 >= 0, s21 <= 2 * (0 * (1 + (1 + y))) + 2 * (1 + (1 + y)), s22 >= 0, s22 <= 1, z' = x, x >= 0, y >= 0, z'' = 1 + (1 + y), 1 + (1 + y) >= 0, 1 + (1 + y) - 1 >= 0, x = 0
pr(z', z'') -{ 1 }→ 1 :|: z' = x, x >= 0, z'' = 1 + 0
prime(z') -{ 459 + 916·z' + 290·z'2 + 96·z'3 + 32·z'4 }→ s24 :|: s24 >= 0, s24 <= 1, z' - 2 >= 0
quot(z', z'', z1) -{ 2 + 3·z' + z'' }→ s3 :|: s3 >= 0, s3 <= 1 * (z' - 1) + 1, z1 >= 0, z' - 1 >= 0, z'' - 1 >= 0
quot(z', z'', z1) -{ 0 }→ 0 :|: z' >= 0, z'' >= 0, z1 >= 0
quot(z', z'', z1) -{ 1 }→ 0 :|: z1 >= 0, z'' - 1 >= 0, z' = 0
quot(z', z'', z1) -{ 4 + 3·z' }→ 1 + s2 :|: s2 >= 0, s2 <= 1 * z', z'' = 0, z1 - 1 >= 0, z' >= 0
times(z', z'') -{ 4 + 2·s11 + 2·s12 + 4·z' + -32·z'·z'' + 8·z'2·z'' + 42·z'' }→ s13 :|: s11 >= 0, s11 <= 2 * ((z' - 2) * z'') + 2 * z'', s12 >= 0, s12 <= 1 * z'' + 1 * s11, s13 >= 0, s13 <= 1 * z'' + 1 * s12, z' - 2 >= 0, z'' >= 0
times(z', z'') -{ 3 + 2·z'' }→ s7 :|: s7 >= 0, s7 <= 1 * z'' + 1 * 0, z'' >= 0, z' = 1 + 0
times(z', z'') -{ 3 + 4·z'' }→ s8 :|: s8 >= 0, s8 <= 1 * z'' + 1 * z'', z' = 1 + (1 + 0), z'' >= 0
times(z', z'') -{ 1 }→ z'' :|: z'' >= 0, z' = 1 + 0
times(z', z'') -{ 1 }→ 0 :|: z'' >= 0, z' = 0
eq: runtime: O(n1) [1 + z''], size: O(1) [1] div: runtime: O(n1) [3 + 3·z'], size: O(n1) [z'] quot: runtime: O(n1) [5 + 3·z' + z''], size: O(n1) [1 + z'] plus: runtime: O(n1) [1 + 2·z' + 2·z''], size: O(n1) [z' + z''] p: runtime: O(1) [1], size: O(n1) [z'] times: runtime: O(n3) [8 + 4·z' + 8·z'2·z'' + 6·z''], size: O(n2) [2·z'·z'' + 2·z''] if: runtime: O(n4) [97 + 11·z'' + 24·z''·z1 + 4·z''·z12 + 16·z''2 + 40·z''2·z1 + 16·z''2·z12 + 215·z1 + 50·z12], size: O(1) [1] pr: runtime: O(n4) [1543 + 89·z' + 66·z'·z'' + 8·z'·z''2 + 160·z'2 + 152·z'2·z'' + 32·z'2·z''2 + 1285·z'' + 200·z''2], size: O(1) [1] divides: runtime: O(n3) [31 + 27·z' + 18·z'·z'' + 8·z'·z''2 + 7·z''], size: O(1) [1] |
div(z', z'') -{ 6 + 3·z' + z'' }→ s1 :|: s1 >= 0, s1 <= 1 * z' + 1, z' >= 0, z'' >= 0
div(z', z'') -{ 1 }→ 0 :|: z'' >= 0, z' = 0
divides(z', z'') -{ 16 + 4·s' + 8·s'2·z' + s14 + 7·z' + 3·z'' }→ s15 :|: s14 >= 0, s14 <= 2 * (s' * z') + 2 * z', s15 >= 0, s15 <= 1, s' >= 0, s' <= 1 * z'' + 1, z' >= 0, z'' >= 0
divides(z', z'') -{ 11 + s16 + 6·z' }→ s17 :|: s16 >= 0, s16 <= 2 * (0 * z') + 2 * z', s17 >= 0, s17 <= 1, z'' = 0, z' >= 0
eq(z', z'') -{ 1 + z'' }→ s :|: s >= 0, s <= 1, z' - 1 >= 0, z'' - 1 >= 0
eq(z', z'') -{ 1 }→ 1 :|: z'' = 0, z' = 0
eq(z', z'') -{ 1 }→ 0 :|: z'' - 1 >= 0, z' = 0
eq(z', z'') -{ 1 }→ 0 :|: z'' = 0, z' - 1 >= 0
if(z', z'', z1) -{ 1544 + 89·x + 66·x·y + 8·x·y2 + 160·x2 + 152·x2·y + 32·x2·y2 + 1285·y + 200·y2 }→ s23 :|: s23 >= 0, s23 <= 1, z1 = y, x >= 0, y >= 0, z'' = x, z' = 0
if(z', z'', z1) -{ 1 }→ 0 :|: z1 = y, x >= 0, y >= 0, z'' = x, z' = 1
p(z') -{ 0 }→ 0 :|: z' >= 0
p(z') -{ 1 }→ z' - 1 :|: z' - 1 >= 0
plus(z', z'') -{ 1 }→ z' :|: z'' = 0, z' >= 0
plus(z', z'') -{ 1 }→ z'' :|: z'' >= 0, z' = 0
plus(z', z'') -{ 2 + 2·z'' }→ 1 + s10 :|: s10 >= 0, s10 <= 1 * 0 + 1 * z'', z' - 1 >= 0, z'' >= 0
plus(z', z'') -{ 2·z' + 2·z'' }→ 1 + s4 :|: s4 >= 0, s4 <= 1 * (z' - 1) + 1 * z'', z' - 1 >= 0, z'' >= 0
plus(z', z'') -{ 1 + 2·z' + 2·z'' }→ 1 + s5 :|: s5 >= 0, s5 <= 1 * z' + 1 * (z'' - 1), z' >= 0, z'' - 1 >= 0
plus(z', z'') -{ 2 + 2·z' }→ 1 + s6 :|: s6 >= 0, s6 <= 1 * z' + 1 * 0, z' >= 0, z'' - 1 >= 0
plus(z', z'') -{ 1 + 2·z' + 2·z'' }→ 1 + s9 :|: s9 >= 0, s9 <= 1 * (z' - 1) + 1 * z'', z' - 1 >= 0, z'' >= 0
pr(z', z'') -{ 367 + 315·y + 50·y2 }→ s25 :|: s25 >= 0, s25 <= 1, y >= 0, z'' = 1 + (1 + y), z' = 0, 1 + (1 + y) >= 0, 0 = 0
pr(z', z'') -{ 390 + s'' + 4·s3 + 16·s32 + 8·s32·y + 42·x + 32·x·y + 4·x·y2 + 72·x2 + 72·x2·y + 16·x2·y2 + 322·y + 50·y2 }→ s26 :|: s26 >= 0, s26 <= 1, s'' >= 0, s'' <= 2 * (s3 * (1 + (1 + y))) + 2 * (1 + (1 + y)), s18 >= 0, s18 <= 1, z' = x, x >= 0, y >= 0, z'' = 1 + (1 + y), s3 >= 0, s3 <= 1 * (x - 1) + 1, 1 + (1 + y) >= 0, x - 1 >= 0, 1 + (1 + y) - 1 >= 0
pr(z', z'') -{ 386 + s19 + 39·x + 32·x·y + 4·x·y2 + 72·x2 + 72·x2·y + 16·x2·y2 + 321·y + 50·y2 }→ s27 :|: s27 >= 0, s27 <= 1, s19 >= 0, s19 <= 2 * (0 * (1 + (1 + y))) + 2 * (1 + (1 + y)), s20 >= 0, s20 <= 1, z' = x, x >= 0, y >= 0, z'' = 1 + (1 + y), 1 + (1 + y) >= 0
pr(z', z'') -{ 387 + s21 + 39·x + 32·x·y + 4·x·y2 + 72·x2 + 72·x2·y + 16·x2·y2 + 321·y + 50·y2 }→ s28 :|: s28 >= 0, s28 <= 1, s21 >= 0, s21 <= 2 * (0 * (1 + (1 + y))) + 2 * (1 + (1 + y)), s22 >= 0, s22 <= 1, z' = x, x >= 0, y >= 0, z'' = 1 + (1 + y), 1 + (1 + y) >= 0, 1 + (1 + y) - 1 >= 0, x = 0
pr(z', z'') -{ 1 }→ 1 :|: z' = x, x >= 0, z'' = 1 + 0
prime(z') -{ 459 + 916·z' + 290·z'2 + 96·z'3 + 32·z'4 }→ s24 :|: s24 >= 0, s24 <= 1, z' - 2 >= 0
quot(z', z'', z1) -{ 2 + 3·z' + z'' }→ s3 :|: s3 >= 0, s3 <= 1 * (z' - 1) + 1, z1 >= 0, z' - 1 >= 0, z'' - 1 >= 0
quot(z', z'', z1) -{ 0 }→ 0 :|: z' >= 0, z'' >= 0, z1 >= 0
quot(z', z'', z1) -{ 1 }→ 0 :|: z1 >= 0, z'' - 1 >= 0, z' = 0
quot(z', z'', z1) -{ 4 + 3·z' }→ 1 + s2 :|: s2 >= 0, s2 <= 1 * z', z'' = 0, z1 - 1 >= 0, z' >= 0
times(z', z'') -{ 4 + 2·s11 + 2·s12 + 4·z' + -32·z'·z'' + 8·z'2·z'' + 42·z'' }→ s13 :|: s11 >= 0, s11 <= 2 * ((z' - 2) * z'') + 2 * z'', s12 >= 0, s12 <= 1 * z'' + 1 * s11, s13 >= 0, s13 <= 1 * z'' + 1 * s12, z' - 2 >= 0, z'' >= 0
times(z', z'') -{ 3 + 2·z'' }→ s7 :|: s7 >= 0, s7 <= 1 * z'' + 1 * 0, z'' >= 0, z' = 1 + 0
times(z', z'') -{ 3 + 4·z'' }→ s8 :|: s8 >= 0, s8 <= 1 * z'' + 1 * z'', z' = 1 + (1 + 0), z'' >= 0
times(z', z'') -{ 1 }→ z'' :|: z'' >= 0, z' = 1 + 0
times(z', z'') -{ 1 }→ 0 :|: z'' >= 0, z' = 0
eq: runtime: O(n1) [1 + z''], size: O(1) [1] div: runtime: O(n1) [3 + 3·z'], size: O(n1) [z'] quot: runtime: O(n1) [5 + 3·z' + z''], size: O(n1) [1 + z'] plus: runtime: O(n1) [1 + 2·z' + 2·z''], size: O(n1) [z' + z''] p: runtime: O(1) [1], size: O(n1) [z'] times: runtime: O(n3) [8 + 4·z' + 8·z'2·z'' + 6·z''], size: O(n2) [2·z'·z'' + 2·z''] if: runtime: O(n4) [97 + 11·z'' + 24·z''·z1 + 4·z''·z12 + 16·z''2 + 40·z''2·z1 + 16·z''2·z12 + 215·z1 + 50·z12], size: O(1) [1] pr: runtime: O(n4) [1543 + 89·z' + 66·z'·z'' + 8·z'·z''2 + 160·z'2 + 152·z'2·z'' + 32·z'2·z''2 + 1285·z'' + 200·z''2], size: O(1) [1] divides: runtime: O(n3) [31 + 27·z' + 18·z'·z'' + 8·z'·z''2 + 7·z''], size: O(1) [1] |
div(z', z'') -{ 6 + 3·z' + z'' }→ s1 :|: s1 >= 0, s1 <= 1 * z' + 1, z' >= 0, z'' >= 0
div(z', z'') -{ 1 }→ 0 :|: z'' >= 0, z' = 0
divides(z', z'') -{ 16 + 4·s' + 8·s'2·z' + s14 + 7·z' + 3·z'' }→ s15 :|: s14 >= 0, s14 <= 2 * (s' * z') + 2 * z', s15 >= 0, s15 <= 1, s' >= 0, s' <= 1 * z'' + 1, z' >= 0, z'' >= 0
divides(z', z'') -{ 11 + s16 + 6·z' }→ s17 :|: s16 >= 0, s16 <= 2 * (0 * z') + 2 * z', s17 >= 0, s17 <= 1, z'' = 0, z' >= 0
eq(z', z'') -{ 1 + z'' }→ s :|: s >= 0, s <= 1, z' - 1 >= 0, z'' - 1 >= 0
eq(z', z'') -{ 1 }→ 1 :|: z'' = 0, z' = 0
eq(z', z'') -{ 1 }→ 0 :|: z'' - 1 >= 0, z' = 0
eq(z', z'') -{ 1 }→ 0 :|: z'' = 0, z' - 1 >= 0
if(z', z'', z1) -{ 1544 + 89·x + 66·x·y + 8·x·y2 + 160·x2 + 152·x2·y + 32·x2·y2 + 1285·y + 200·y2 }→ s23 :|: s23 >= 0, s23 <= 1, z1 = y, x >= 0, y >= 0, z'' = x, z' = 0
if(z', z'', z1) -{ 1 }→ 0 :|: z1 = y, x >= 0, y >= 0, z'' = x, z' = 1
p(z') -{ 0 }→ 0 :|: z' >= 0
p(z') -{ 1 }→ z' - 1 :|: z' - 1 >= 0
plus(z', z'') -{ 1 }→ z' :|: z'' = 0, z' >= 0
plus(z', z'') -{ 1 }→ z'' :|: z'' >= 0, z' = 0
plus(z', z'') -{ 2 + 2·z'' }→ 1 + s10 :|: s10 >= 0, s10 <= 1 * 0 + 1 * z'', z' - 1 >= 0, z'' >= 0
plus(z', z'') -{ 2·z' + 2·z'' }→ 1 + s4 :|: s4 >= 0, s4 <= 1 * (z' - 1) + 1 * z'', z' - 1 >= 0, z'' >= 0
plus(z', z'') -{ 1 + 2·z' + 2·z'' }→ 1 + s5 :|: s5 >= 0, s5 <= 1 * z' + 1 * (z'' - 1), z' >= 0, z'' - 1 >= 0
plus(z', z'') -{ 2 + 2·z' }→ 1 + s6 :|: s6 >= 0, s6 <= 1 * z' + 1 * 0, z' >= 0, z'' - 1 >= 0
plus(z', z'') -{ 1 + 2·z' + 2·z'' }→ 1 + s9 :|: s9 >= 0, s9 <= 1 * (z' - 1) + 1 * z'', z' - 1 >= 0, z'' >= 0
pr(z', z'') -{ 367 + 315·y + 50·y2 }→ s25 :|: s25 >= 0, s25 <= 1, y >= 0, z'' = 1 + (1 + y), z' = 0, 1 + (1 + y) >= 0, 0 = 0
pr(z', z'') -{ 390 + s'' + 4·s3 + 16·s32 + 8·s32·y + 42·x + 32·x·y + 4·x·y2 + 72·x2 + 72·x2·y + 16·x2·y2 + 322·y + 50·y2 }→ s26 :|: s26 >= 0, s26 <= 1, s'' >= 0, s'' <= 2 * (s3 * (1 + (1 + y))) + 2 * (1 + (1 + y)), s18 >= 0, s18 <= 1, z' = x, x >= 0, y >= 0, z'' = 1 + (1 + y), s3 >= 0, s3 <= 1 * (x - 1) + 1, 1 + (1 + y) >= 0, x - 1 >= 0, 1 + (1 + y) - 1 >= 0
pr(z', z'') -{ 386 + s19 + 39·x + 32·x·y + 4·x·y2 + 72·x2 + 72·x2·y + 16·x2·y2 + 321·y + 50·y2 }→ s27 :|: s27 >= 0, s27 <= 1, s19 >= 0, s19 <= 2 * (0 * (1 + (1 + y))) + 2 * (1 + (1 + y)), s20 >= 0, s20 <= 1, z' = x, x >= 0, y >= 0, z'' = 1 + (1 + y), 1 + (1 + y) >= 0
pr(z', z'') -{ 387 + s21 + 39·x + 32·x·y + 4·x·y2 + 72·x2 + 72·x2·y + 16·x2·y2 + 321·y + 50·y2 }→ s28 :|: s28 >= 0, s28 <= 1, s21 >= 0, s21 <= 2 * (0 * (1 + (1 + y))) + 2 * (1 + (1 + y)), s22 >= 0, s22 <= 1, z' = x, x >= 0, y >= 0, z'' = 1 + (1 + y), 1 + (1 + y) >= 0, 1 + (1 + y) - 1 >= 0, x = 0
pr(z', z'') -{ 1 }→ 1 :|: z' = x, x >= 0, z'' = 1 + 0
prime(z') -{ 459 + 916·z' + 290·z'2 + 96·z'3 + 32·z'4 }→ s24 :|: s24 >= 0, s24 <= 1, z' - 2 >= 0
quot(z', z'', z1) -{ 2 + 3·z' + z'' }→ s3 :|: s3 >= 0, s3 <= 1 * (z' - 1) + 1, z1 >= 0, z' - 1 >= 0, z'' - 1 >= 0
quot(z', z'', z1) -{ 0 }→ 0 :|: z' >= 0, z'' >= 0, z1 >= 0
quot(z', z'', z1) -{ 1 }→ 0 :|: z1 >= 0, z'' - 1 >= 0, z' = 0
quot(z', z'', z1) -{ 4 + 3·z' }→ 1 + s2 :|: s2 >= 0, s2 <= 1 * z', z'' = 0, z1 - 1 >= 0, z' >= 0
times(z', z'') -{ 4 + 2·s11 + 2·s12 + 4·z' + -32·z'·z'' + 8·z'2·z'' + 42·z'' }→ s13 :|: s11 >= 0, s11 <= 2 * ((z' - 2) * z'') + 2 * z'', s12 >= 0, s12 <= 1 * z'' + 1 * s11, s13 >= 0, s13 <= 1 * z'' + 1 * s12, z' - 2 >= 0, z'' >= 0
times(z', z'') -{ 3 + 2·z'' }→ s7 :|: s7 >= 0, s7 <= 1 * z'' + 1 * 0, z'' >= 0, z' = 1 + 0
times(z', z'') -{ 3 + 4·z'' }→ s8 :|: s8 >= 0, s8 <= 1 * z'' + 1 * z'', z' = 1 + (1 + 0), z'' >= 0
times(z', z'') -{ 1 }→ z'' :|: z'' >= 0, z' = 1 + 0
times(z', z'') -{ 1 }→ 0 :|: z'' >= 0, z' = 0
eq: runtime: O(n1) [1 + z''], size: O(1) [1] div: runtime: O(n1) [3 + 3·z'], size: O(n1) [z'] quot: runtime: O(n1) [5 + 3·z' + z''], size: O(n1) [1 + z'] plus: runtime: O(n1) [1 + 2·z' + 2·z''], size: O(n1) [z' + z''] p: runtime: O(1) [1], size: O(n1) [z'] times: runtime: O(n3) [8 + 4·z' + 8·z'2·z'' + 6·z''], size: O(n2) [2·z'·z'' + 2·z''] if: runtime: O(n4) [97 + 11·z'' + 24·z''·z1 + 4·z''·z12 + 16·z''2 + 40·z''2·z1 + 16·z''2·z12 + 215·z1 + 50·z12], size: O(1) [1] pr: runtime: O(n4) [1543 + 89·z' + 66·z'·z'' + 8·z'·z''2 + 160·z'2 + 152·z'2·z'' + 32·z'2·z''2 + 1285·z'' + 200·z''2], size: O(1) [1] divides: runtime: O(n3) [31 + 27·z' + 18·z'·z'' + 8·z'·z''2 + 7·z''], size: O(1) [1] prime: runtime: ?, size: O(1) [1] |
div(z', z'') -{ 6 + 3·z' + z'' }→ s1 :|: s1 >= 0, s1 <= 1 * z' + 1, z' >= 0, z'' >= 0
div(z', z'') -{ 1 }→ 0 :|: z'' >= 0, z' = 0
divides(z', z'') -{ 16 + 4·s' + 8·s'2·z' + s14 + 7·z' + 3·z'' }→ s15 :|: s14 >= 0, s14 <= 2 * (s' * z') + 2 * z', s15 >= 0, s15 <= 1, s' >= 0, s' <= 1 * z'' + 1, z' >= 0, z'' >= 0
divides(z', z'') -{ 11 + s16 + 6·z' }→ s17 :|: s16 >= 0, s16 <= 2 * (0 * z') + 2 * z', s17 >= 0, s17 <= 1, z'' = 0, z' >= 0
eq(z', z'') -{ 1 + z'' }→ s :|: s >= 0, s <= 1, z' - 1 >= 0, z'' - 1 >= 0
eq(z', z'') -{ 1 }→ 1 :|: z'' = 0, z' = 0
eq(z', z'') -{ 1 }→ 0 :|: z'' - 1 >= 0, z' = 0
eq(z', z'') -{ 1 }→ 0 :|: z'' = 0, z' - 1 >= 0
if(z', z'', z1) -{ 1544 + 89·x + 66·x·y + 8·x·y2 + 160·x2 + 152·x2·y + 32·x2·y2 + 1285·y + 200·y2 }→ s23 :|: s23 >= 0, s23 <= 1, z1 = y, x >= 0, y >= 0, z'' = x, z' = 0
if(z', z'', z1) -{ 1 }→ 0 :|: z1 = y, x >= 0, y >= 0, z'' = x, z' = 1
p(z') -{ 0 }→ 0 :|: z' >= 0
p(z') -{ 1 }→ z' - 1 :|: z' - 1 >= 0
plus(z', z'') -{ 1 }→ z' :|: z'' = 0, z' >= 0
plus(z', z'') -{ 1 }→ z'' :|: z'' >= 0, z' = 0
plus(z', z'') -{ 2 + 2·z'' }→ 1 + s10 :|: s10 >= 0, s10 <= 1 * 0 + 1 * z'', z' - 1 >= 0, z'' >= 0
plus(z', z'') -{ 2·z' + 2·z'' }→ 1 + s4 :|: s4 >= 0, s4 <= 1 * (z' - 1) + 1 * z'', z' - 1 >= 0, z'' >= 0
plus(z', z'') -{ 1 + 2·z' + 2·z'' }→ 1 + s5 :|: s5 >= 0, s5 <= 1 * z' + 1 * (z'' - 1), z' >= 0, z'' - 1 >= 0
plus(z', z'') -{ 2 + 2·z' }→ 1 + s6 :|: s6 >= 0, s6 <= 1 * z' + 1 * 0, z' >= 0, z'' - 1 >= 0
plus(z', z'') -{ 1 + 2·z' + 2·z'' }→ 1 + s9 :|: s9 >= 0, s9 <= 1 * (z' - 1) + 1 * z'', z' - 1 >= 0, z'' >= 0
pr(z', z'') -{ 367 + 315·y + 50·y2 }→ s25 :|: s25 >= 0, s25 <= 1, y >= 0, z'' = 1 + (1 + y), z' = 0, 1 + (1 + y) >= 0, 0 = 0
pr(z', z'') -{ 390 + s'' + 4·s3 + 16·s32 + 8·s32·y + 42·x + 32·x·y + 4·x·y2 + 72·x2 + 72·x2·y + 16·x2·y2 + 322·y + 50·y2 }→ s26 :|: s26 >= 0, s26 <= 1, s'' >= 0, s'' <= 2 * (s3 * (1 + (1 + y))) + 2 * (1 + (1 + y)), s18 >= 0, s18 <= 1, z' = x, x >= 0, y >= 0, z'' = 1 + (1 + y), s3 >= 0, s3 <= 1 * (x - 1) + 1, 1 + (1 + y) >= 0, x - 1 >= 0, 1 + (1 + y) - 1 >= 0
pr(z', z'') -{ 386 + s19 + 39·x + 32·x·y + 4·x·y2 + 72·x2 + 72·x2·y + 16·x2·y2 + 321·y + 50·y2 }→ s27 :|: s27 >= 0, s27 <= 1, s19 >= 0, s19 <= 2 * (0 * (1 + (1 + y))) + 2 * (1 + (1 + y)), s20 >= 0, s20 <= 1, z' = x, x >= 0, y >= 0, z'' = 1 + (1 + y), 1 + (1 + y) >= 0
pr(z', z'') -{ 387 + s21 + 39·x + 32·x·y + 4·x·y2 + 72·x2 + 72·x2·y + 16·x2·y2 + 321·y + 50·y2 }→ s28 :|: s28 >= 0, s28 <= 1, s21 >= 0, s21 <= 2 * (0 * (1 + (1 + y))) + 2 * (1 + (1 + y)), s22 >= 0, s22 <= 1, z' = x, x >= 0, y >= 0, z'' = 1 + (1 + y), 1 + (1 + y) >= 0, 1 + (1 + y) - 1 >= 0, x = 0
pr(z', z'') -{ 1 }→ 1 :|: z' = x, x >= 0, z'' = 1 + 0
prime(z') -{ 459 + 916·z' + 290·z'2 + 96·z'3 + 32·z'4 }→ s24 :|: s24 >= 0, s24 <= 1, z' - 2 >= 0
quot(z', z'', z1) -{ 2 + 3·z' + z'' }→ s3 :|: s3 >= 0, s3 <= 1 * (z' - 1) + 1, z1 >= 0, z' - 1 >= 0, z'' - 1 >= 0
quot(z', z'', z1) -{ 0 }→ 0 :|: z' >= 0, z'' >= 0, z1 >= 0
quot(z', z'', z1) -{ 1 }→ 0 :|: z1 >= 0, z'' - 1 >= 0, z' = 0
quot(z', z'', z1) -{ 4 + 3·z' }→ 1 + s2 :|: s2 >= 0, s2 <= 1 * z', z'' = 0, z1 - 1 >= 0, z' >= 0
times(z', z'') -{ 4 + 2·s11 + 2·s12 + 4·z' + -32·z'·z'' + 8·z'2·z'' + 42·z'' }→ s13 :|: s11 >= 0, s11 <= 2 * ((z' - 2) * z'') + 2 * z'', s12 >= 0, s12 <= 1 * z'' + 1 * s11, s13 >= 0, s13 <= 1 * z'' + 1 * s12, z' - 2 >= 0, z'' >= 0
times(z', z'') -{ 3 + 2·z'' }→ s7 :|: s7 >= 0, s7 <= 1 * z'' + 1 * 0, z'' >= 0, z' = 1 + 0
times(z', z'') -{ 3 + 4·z'' }→ s8 :|: s8 >= 0, s8 <= 1 * z'' + 1 * z'', z' = 1 + (1 + 0), z'' >= 0
times(z', z'') -{ 1 }→ z'' :|: z'' >= 0, z' = 1 + 0
times(z', z'') -{ 1 }→ 0 :|: z'' >= 0, z' = 0
eq: runtime: O(n1) [1 + z''], size: O(1) [1] div: runtime: O(n1) [3 + 3·z'], size: O(n1) [z'] quot: runtime: O(n1) [5 + 3·z' + z''], size: O(n1) [1 + z'] plus: runtime: O(n1) [1 + 2·z' + 2·z''], size: O(n1) [z' + z''] p: runtime: O(1) [1], size: O(n1) [z'] times: runtime: O(n3) [8 + 4·z' + 8·z'2·z'' + 6·z''], size: O(n2) [2·z'·z'' + 2·z''] if: runtime: O(n4) [97 + 11·z'' + 24·z''·z1 + 4·z''·z12 + 16·z''2 + 40·z''2·z1 + 16·z''2·z12 + 215·z1 + 50·z12], size: O(1) [1] pr: runtime: O(n4) [1543 + 89·z' + 66·z'·z'' + 8·z'·z''2 + 160·z'2 + 152·z'2·z'' + 32·z'2·z''2 + 1285·z'' + 200·z''2], size: O(1) [1] divides: runtime: O(n3) [31 + 27·z' + 18·z'·z'' + 8·z'·z''2 + 7·z''], size: O(1) [1] prime: runtime: O(n4) [459 + 916·z' + 290·z'2 + 96·z'3 + 32·z'4], size: O(1) [1] |