0 CpxTRS
↳1 TrsToWeightedTrsProof (BOTH BOUNDS(ID, ID), 0 ms)
↳2 CpxWeightedTrs
↳3 TypeInferenceProof (BOTH BOUNDS(ID, ID), 0 ms)
↳4 CpxTypedWeightedTrs
↳5 CompletionProof (UPPER BOUND(ID), 0 ms)
↳6 CpxTypedWeightedCompleteTrs
↳7 NarrowingProof (BOTH BOUNDS(ID, ID), 0 ms)
↳8 CpxTypedWeightedCompleteTrs
↳9 CpxTypedWeightedTrsToRntsProof (UPPER BOUND(ID), 20 ms)
↳10 CpxRNTS
↳11 InliningProof (UPPER BOUND(ID), 1325 ms)
↳12 CpxRNTS
↳13 SimplificationProof (BOTH BOUNDS(ID, ID), 5 ms)
↳14 CpxRNTS
↳15 CpxRntsAnalysisOrderProof (BOTH BOUNDS(ID, ID), 1 ms)
↳16 CpxRNTS
↳17 IntTrsBoundProof (UPPER BOUND(ID), 184 ms)
↳18 CpxRNTS
↳19 IntTrsBoundProof (UPPER BOUND(ID), 83 ms)
↳20 CpxRNTS
↳21 ResultPropagationProof (UPPER BOUND(ID), 0 ms)
↳22 CpxRNTS
↳23 IntTrsBoundProof (UPPER BOUND(ID), 113 ms)
↳24 CpxRNTS
↳25 IntTrsBoundProof (UPPER BOUND(ID), 45 ms)
↳26 CpxRNTS
↳27 ResultPropagationProof (UPPER BOUND(ID), 0 ms)
↳28 CpxRNTS
↳29 IntTrsBoundProof (UPPER BOUND(ID), 355 ms)
↳30 CpxRNTS
↳31 IntTrsBoundProof (UPPER BOUND(ID), 130 ms)
↳32 CpxRNTS
↳33 ResultPropagationProof (UPPER BOUND(ID), 0 ms)
↳34 CpxRNTS
↳35 IntTrsBoundProof (UPPER BOUND(ID), 391 ms)
↳36 CpxRNTS
↳37 IntTrsBoundProof (UPPER BOUND(ID), 169 ms)
↳38 CpxRNTS
↳39 ResultPropagationProof (UPPER BOUND(ID), 0 ms)
↳40 CpxRNTS
↳41 IntTrsBoundProof (UPPER BOUND(ID), 2077 ms)
↳42 CpxRNTS
↳43 IntTrsBoundProof (UPPER BOUND(ID), 4376 ms)
↳44 CpxRNTS
↳45 FinalProof (⇔, 0 ms)
↳46 BOUNDS(1, n^2)
cond(true, x) → cond(and(even(x), gr(x, 0)), p(x))
and(x, false) → false
and(false, x) → false
and(true, true) → true
even(0) → true
even(s(0)) → false
even(s(s(x))) → even(x)
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
p(0) → 0
p(s(x)) → x
cond(true, x) → cond(and(even(x), gr(x, 0)), p(x)) [1]
and(x, false) → false [1]
and(false, x) → false [1]
and(true, true) → true [1]
even(0) → true [1]
even(s(0)) → false [1]
even(s(s(x))) → even(x) [1]
gr(0, x) → false [1]
gr(s(x), 0) → true [1]
gr(s(x), s(y)) → gr(x, y) [1]
p(0) → 0 [1]
p(s(x)) → x [1]
cond(true, x) → cond(and(even(x), gr(x, 0)), p(x)) [1]
and(x, false) → false [1]
and(false, x) → false [1]
and(true, true) → true [1]
even(0) → true [1]
even(s(0)) → false [1]
even(s(s(x))) → even(x) [1]
gr(0, x) → false [1]
gr(s(x), 0) → true [1]
gr(s(x), s(y)) → gr(x, y) [1]
p(0) → 0 [1]
p(s(x)) → x [1]
cond :: true:false → 0:s:y → cond true :: true:false and :: true:false → true:false → true:false even :: 0:s:y → true:false gr :: 0:s:y → 0:s:y → true:false 0 :: 0:s:y p :: 0:s:y → 0:s:y false :: true:false s :: 0:s:y → 0:s:y y :: 0:s:y |
(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:
cond
and
even
gr
p
even(v0) → null_even [0]
gr(v0, v1) → null_gr [0]
p(v0) → null_p [0]
and(v0, v1) → null_and [0]
null_even, null_gr, null_p, null_and, const
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 |
true => 2
0 => 0
false => 1
y => 1
null_even => 0
null_gr => 0
null_p => 0
null_and => 0
const => 0
and(z, z') -{ 1 }→ 2 :|: z = 2, z' = 2
and(z, z') -{ 1 }→ 1 :|: x >= 0, z' = 1, z = x
and(z, z') -{ 1 }→ 1 :|: z' = x, z = 1, x >= 0
and(z, z') -{ 0 }→ 0 :|: v0 >= 0, v1 >= 0, z = v0, z' = v1
cond(z, z') -{ 3 }→ cond(and(even(x'), 2), 0) :|: z = 2, z' = 1 + (1 + x'), x' >= 0
cond(z, z') -{ 4 }→ cond(and(even(x'), 2), 1 + x') :|: z = 2, z' = 1 + (1 + x'), x' >= 0
cond(z, z') -{ 2 }→ cond(and(even(x'), 0), 0) :|: z = 2, z' = 1 + (1 + x'), x' >= 0
cond(z, z') -{ 3 }→ cond(and(even(x'), 0), 1 + x') :|: z = 2, z' = 1 + (1 + x'), x' >= 0
cond(z, z') -{ 4 }→ cond(and(2, 1), 0) :|: z = 2, z' = 0
cond(z, z') -{ 3 }→ cond(and(2, 1), 0) :|: z = 2, z' = 0
cond(z, z') -{ 3 }→ cond(and(2, 0), 0) :|: z = 2, z' = 0
cond(z, z') -{ 2 }→ cond(and(2, 0), 0) :|: z = 2, z' = 0
cond(z, z') -{ 4 }→ cond(and(1, 2), 0) :|: z = 2, z' = 1 + 0
cond(z, z') -{ 3 }→ cond(and(1, 2), 0) :|: z = 2, z' = 1 + 0
cond(z, z') -{ 3 }→ cond(and(1, 0), 0) :|: z = 2, z' = 1 + 0
cond(z, z') -{ 2 }→ cond(and(1, 0), 0) :|: z = 2, z' = 1 + 0
cond(z, z') -{ 3 }→ cond(and(0, 2), x'') :|: z = 2, z' = 1 + x'', x'' >= 0
cond(z, z') -{ 2 }→ cond(and(0, 2), 0) :|: z = 2, z' = 1 + x'', x'' >= 0
cond(z, z') -{ 3 }→ cond(and(0, 1), 0) :|: z = 2, z' = 0
cond(z, z') -{ 2 }→ cond(and(0, 1), 0) :|: z = 2, z' = 0
cond(z, z') -{ 2 }→ cond(and(0, 0), x1) :|: z = 2, x1 >= 0, z' = 1 + x1
cond(z, z') -{ 2 }→ cond(and(0, 0), 0) :|: z = 2, z' = 0
cond(z, z') -{ 1 }→ cond(and(0, 0), 0) :|: z = 2, z' = x, x >= 0
even(z) -{ 1 }→ even(x) :|: x >= 0, z = 1 + (1 + x)
even(z) -{ 1 }→ 2 :|: z = 0
even(z) -{ 1 }→ 1 :|: z = 1 + 0
even(z) -{ 0 }→ 0 :|: v0 >= 0, z = v0
gr(z, z') -{ 1 }→ gr(x, 1) :|: z' = 1 + 1, x >= 0, z = 1 + x
gr(z, z') -{ 1 }→ 2 :|: x >= 0, z = 1 + x, z' = 0
gr(z, z') -{ 1 }→ 1 :|: z' = x, x >= 0, z = 0
gr(z, z') -{ 0 }→ 0 :|: v0 >= 0, v1 >= 0, z = v0, z' = v1
p(z) -{ 1 }→ x :|: x >= 0, z = 1 + x
p(z) -{ 1 }→ 0 :|: z = 0
p(z) -{ 0 }→ 0 :|: v0 >= 0, z = v0
and(z, z') -{ 1 }→ 1 :|: x >= 0, z' = 1, z = x
and(z, z') -{ 1 }→ 1 :|: z' = x, z = 1, x >= 0
and(z, z') -{ 1 }→ 2 :|: z = 2, z' = 2
and(z, z') -{ 0 }→ 0 :|: v0 >= 0, v1 >= 0, z = v0, z' = v1
and(z, z') -{ 1 }→ 2 :|: z = 2, z' = 2
and(z, z') -{ 1 }→ 1 :|: x >= 0, z' = 1, z = x
and(z, z') -{ 1 }→ 1 :|: z' = x, z = 1, x >= 0
and(z, z') -{ 0 }→ 0 :|: v0 >= 0, v1 >= 0, z = v0, z' = v1
cond(z, z') -{ 3 }→ cond(and(even(x'), 2), 0) :|: z = 2, z' = 1 + (1 + x'), x' >= 0
cond(z, z') -{ 4 }→ cond(and(even(x'), 2), 1 + x') :|: z = 2, z' = 1 + (1 + x'), x' >= 0
cond(z, z') -{ 2 }→ cond(and(even(x'), 0), 0) :|: z = 2, z' = 1 + (1 + x'), x' >= 0
cond(z, z') -{ 3 }→ cond(and(even(x'), 0), 1 + x') :|: z = 2, z' = 1 + (1 + x'), x' >= 0
cond(z, z') -{ 5 }→ cond(1, 0) :|: z = 2, z' = 0, x >= 0, 1 = 1, 2 = x
cond(z, z') -{ 4 }→ cond(1, 0) :|: z = 2, z' = 0, x >= 0, 1 = 1, 2 = x
cond(z, z') -{ 5 }→ cond(1, 0) :|: z = 2, z' = 1 + 0, 2 = x, 1 = 1, x >= 0
cond(z, z') -{ 4 }→ cond(1, 0) :|: z = 2, z' = 1 + 0, 2 = x, 1 = 1, x >= 0
cond(z, z') -{ 4 }→ cond(1, 0) :|: z = 2, z' = 1 + 0, 0 = x, 1 = 1, x >= 0
cond(z, z') -{ 3 }→ cond(1, 0) :|: z = 2, z' = 1 + 0, 0 = x, 1 = 1, x >= 0
cond(z, z') -{ 4 }→ cond(1, 0) :|: z = 2, z' = 0, x >= 0, 1 = 1, 0 = x
cond(z, z') -{ 3 }→ cond(1, 0) :|: z = 2, z' = 0, x >= 0, 1 = 1, 0 = x
cond(z, z') -{ 3 }→ cond(0, x'') :|: z = 2, z' = 1 + x'', x'' >= 0, v0 >= 0, v1 >= 0, 0 = v0, 2 = v1
cond(z, z') -{ 2 }→ cond(0, x1) :|: z = 2, x1 >= 0, z' = 1 + x1, v0 >= 0, v1 >= 0, 0 = v0, 0 = v1
cond(z, z') -{ 4 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 2 = v0, 1 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 2 = v0, 1 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 2 = v0, 0 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 2 = v0, 0 = v1
cond(z, z') -{ 4 }→ cond(0, 0) :|: z = 2, z' = 1 + 0, v0 >= 0, v1 >= 0, 1 = v0, 2 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 1 + 0, v0 >= 0, v1 >= 0, 1 = v0, 2 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 1 + 0, v0 >= 0, v1 >= 0, 1 = v0, 0 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' = 1 + 0, v0 >= 0, v1 >= 0, 1 = v0, 0 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 0 = v0, 1 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 0 = v0, 1 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' = 1 + x'', x'' >= 0, v0 >= 0, v1 >= 0, 0 = v0, 2 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 0 = v0, 0 = v1
cond(z, z') -{ 1 }→ cond(0, 0) :|: z = 2, z' = x, x >= 0, v0 >= 0, v1 >= 0, 0 = v0, 0 = v1
even(z) -{ 1 }→ even(x) :|: x >= 0, z = 1 + (1 + x)
even(z) -{ 1 }→ 2 :|: z = 0
even(z) -{ 1 }→ 1 :|: z = 1 + 0
even(z) -{ 0 }→ 0 :|: v0 >= 0, z = v0
gr(z, z') -{ 1 }→ gr(x, 1) :|: z' = 1 + 1, x >= 0, z = 1 + x
gr(z, z') -{ 1 }→ 2 :|: x >= 0, z = 1 + x, z' = 0
gr(z, z') -{ 1 }→ 1 :|: z' = x, x >= 0, z = 0
gr(z, z') -{ 0 }→ 0 :|: v0 >= 0, v1 >= 0, z = v0, z' = v1
p(z) -{ 1 }→ x :|: x >= 0, z = 1 + x
p(z) -{ 1 }→ 0 :|: z = 0
p(z) -{ 0 }→ 0 :|: v0 >= 0, z = v0
and(z, z') -{ 1 }→ 2 :|: z = 2, z' = 2
and(z, z') -{ 1 }→ 1 :|: z >= 0, z' = 1
and(z, z') -{ 1 }→ 1 :|: z = 1, z' >= 0
and(z, z') -{ 0 }→ 0 :|: z >= 0, z' >= 0
cond(z, z') -{ 3 }→ cond(and(even(z' - 2), 2), 0) :|: z = 2, z' - 2 >= 0
cond(z, z') -{ 4 }→ cond(and(even(z' - 2), 2), 1 + (z' - 2)) :|: z = 2, z' - 2 >= 0
cond(z, z') -{ 2 }→ cond(and(even(z' - 2), 0), 0) :|: z = 2, z' - 2 >= 0
cond(z, z') -{ 3 }→ cond(and(even(z' - 2), 0), 1 + (z' - 2)) :|: z = 2, z' - 2 >= 0
cond(z, z') -{ 5 }→ cond(1, 0) :|: z = 2, z' = 0, x >= 0, 1 = 1, 2 = x
cond(z, z') -{ 4 }→ cond(1, 0) :|: z = 2, z' = 0, x >= 0, 1 = 1, 2 = x
cond(z, z') -{ 5 }→ cond(1, 0) :|: z = 2, z' = 1 + 0, 2 = x, 1 = 1, x >= 0
cond(z, z') -{ 4 }→ cond(1, 0) :|: z = 2, z' = 1 + 0, 2 = x, 1 = 1, x >= 0
cond(z, z') -{ 4 }→ cond(1, 0) :|: z = 2, z' = 1 + 0, 0 = x, 1 = 1, x >= 0
cond(z, z') -{ 3 }→ cond(1, 0) :|: z = 2, z' = 1 + 0, 0 = x, 1 = 1, x >= 0
cond(z, z') -{ 4 }→ cond(1, 0) :|: z = 2, z' = 0, x >= 0, 1 = 1, 0 = x
cond(z, z') -{ 3 }→ cond(1, 0) :|: z = 2, z' = 0, x >= 0, 1 = 1, 0 = x
cond(z, z') -{ 4 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 2 = v0, 1 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 2 = v0, 1 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 2 = v0, 0 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 2 = v0, 0 = v1
cond(z, z') -{ 4 }→ cond(0, 0) :|: z = 2, z' = 1 + 0, v0 >= 0, v1 >= 0, 1 = v0, 2 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 1 + 0, v0 >= 0, v1 >= 0, 1 = v0, 2 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 1 + 0, v0 >= 0, v1 >= 0, 1 = v0, 0 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' = 1 + 0, v0 >= 0, v1 >= 0, 1 = v0, 0 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 0 = v0, 1 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 0 = v0, 1 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' - 1 >= 0, v0 >= 0, v1 >= 0, 0 = v0, 2 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 0 = v0, 0 = v1
cond(z, z') -{ 1 }→ cond(0, 0) :|: z = 2, z' >= 0, v0 >= 0, v1 >= 0, 0 = v0, 0 = v1
cond(z, z') -{ 3 }→ cond(0, z' - 1) :|: z = 2, z' - 1 >= 0, v0 >= 0, v1 >= 0, 0 = v0, 2 = v1
cond(z, z') -{ 2 }→ cond(0, z' - 1) :|: z = 2, z' - 1 >= 0, v0 >= 0, v1 >= 0, 0 = v0, 0 = v1
even(z) -{ 1 }→ even(z - 2) :|: z - 2 >= 0
even(z) -{ 1 }→ 2 :|: z = 0
even(z) -{ 1 }→ 1 :|: z = 1 + 0
even(z) -{ 0 }→ 0 :|: z >= 0
gr(z, z') -{ 1 }→ gr(z - 1, 1) :|: z' = 1 + 1, z - 1 >= 0
gr(z, z') -{ 1 }→ 2 :|: z - 1 >= 0, z' = 0
gr(z, z') -{ 1 }→ 1 :|: z' >= 0, z = 0
gr(z, z') -{ 0 }→ 0 :|: z >= 0, z' >= 0
p(z) -{ 1 }→ 0 :|: z = 0
p(z) -{ 0 }→ 0 :|: z >= 0
p(z) -{ 1 }→ z - 1 :|: z - 1 >= 0
{ and } { p } { gr } { even } { cond } |
and(z, z') -{ 1 }→ 2 :|: z = 2, z' = 2
and(z, z') -{ 1 }→ 1 :|: z >= 0, z' = 1
and(z, z') -{ 1 }→ 1 :|: z = 1, z' >= 0
and(z, z') -{ 0 }→ 0 :|: z >= 0, z' >= 0
cond(z, z') -{ 3 }→ cond(and(even(z' - 2), 2), 0) :|: z = 2, z' - 2 >= 0
cond(z, z') -{ 4 }→ cond(and(even(z' - 2), 2), 1 + (z' - 2)) :|: z = 2, z' - 2 >= 0
cond(z, z') -{ 2 }→ cond(and(even(z' - 2), 0), 0) :|: z = 2, z' - 2 >= 0
cond(z, z') -{ 3 }→ cond(and(even(z' - 2), 0), 1 + (z' - 2)) :|: z = 2, z' - 2 >= 0
cond(z, z') -{ 5 }→ cond(1, 0) :|: z = 2, z' = 0, x >= 0, 1 = 1, 2 = x
cond(z, z') -{ 4 }→ cond(1, 0) :|: z = 2, z' = 0, x >= 0, 1 = 1, 2 = x
cond(z, z') -{ 5 }→ cond(1, 0) :|: z = 2, z' = 1 + 0, 2 = x, 1 = 1, x >= 0
cond(z, z') -{ 4 }→ cond(1, 0) :|: z = 2, z' = 1 + 0, 2 = x, 1 = 1, x >= 0
cond(z, z') -{ 4 }→ cond(1, 0) :|: z = 2, z' = 1 + 0, 0 = x, 1 = 1, x >= 0
cond(z, z') -{ 3 }→ cond(1, 0) :|: z = 2, z' = 1 + 0, 0 = x, 1 = 1, x >= 0
cond(z, z') -{ 4 }→ cond(1, 0) :|: z = 2, z' = 0, x >= 0, 1 = 1, 0 = x
cond(z, z') -{ 3 }→ cond(1, 0) :|: z = 2, z' = 0, x >= 0, 1 = 1, 0 = x
cond(z, z') -{ 4 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 2 = v0, 1 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 2 = v0, 1 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 2 = v0, 0 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 2 = v0, 0 = v1
cond(z, z') -{ 4 }→ cond(0, 0) :|: z = 2, z' = 1 + 0, v0 >= 0, v1 >= 0, 1 = v0, 2 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 1 + 0, v0 >= 0, v1 >= 0, 1 = v0, 2 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 1 + 0, v0 >= 0, v1 >= 0, 1 = v0, 0 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' = 1 + 0, v0 >= 0, v1 >= 0, 1 = v0, 0 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 0 = v0, 1 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 0 = v0, 1 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' - 1 >= 0, v0 >= 0, v1 >= 0, 0 = v0, 2 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 0 = v0, 0 = v1
cond(z, z') -{ 1 }→ cond(0, 0) :|: z = 2, z' >= 0, v0 >= 0, v1 >= 0, 0 = v0, 0 = v1
cond(z, z') -{ 3 }→ cond(0, z' - 1) :|: z = 2, z' - 1 >= 0, v0 >= 0, v1 >= 0, 0 = v0, 2 = v1
cond(z, z') -{ 2 }→ cond(0, z' - 1) :|: z = 2, z' - 1 >= 0, v0 >= 0, v1 >= 0, 0 = v0, 0 = v1
even(z) -{ 1 }→ even(z - 2) :|: z - 2 >= 0
even(z) -{ 1 }→ 2 :|: z = 0
even(z) -{ 1 }→ 1 :|: z = 1 + 0
even(z) -{ 0 }→ 0 :|: z >= 0
gr(z, z') -{ 1 }→ gr(z - 1, 1) :|: z' = 1 + 1, z - 1 >= 0
gr(z, z') -{ 1 }→ 2 :|: z - 1 >= 0, z' = 0
gr(z, z') -{ 1 }→ 1 :|: z' >= 0, z = 0
gr(z, z') -{ 0 }→ 0 :|: z >= 0, z' >= 0
p(z) -{ 1 }→ 0 :|: z = 0
p(z) -{ 0 }→ 0 :|: z >= 0
p(z) -{ 1 }→ z - 1 :|: z - 1 >= 0
and(z, z') -{ 1 }→ 2 :|: z = 2, z' = 2
and(z, z') -{ 1 }→ 1 :|: z >= 0, z' = 1
and(z, z') -{ 1 }→ 1 :|: z = 1, z' >= 0
and(z, z') -{ 0 }→ 0 :|: z >= 0, z' >= 0
cond(z, z') -{ 3 }→ cond(and(even(z' - 2), 2), 0) :|: z = 2, z' - 2 >= 0
cond(z, z') -{ 4 }→ cond(and(even(z' - 2), 2), 1 + (z' - 2)) :|: z = 2, z' - 2 >= 0
cond(z, z') -{ 2 }→ cond(and(even(z' - 2), 0), 0) :|: z = 2, z' - 2 >= 0
cond(z, z') -{ 3 }→ cond(and(even(z' - 2), 0), 1 + (z' - 2)) :|: z = 2, z' - 2 >= 0
cond(z, z') -{ 5 }→ cond(1, 0) :|: z = 2, z' = 0, x >= 0, 1 = 1, 2 = x
cond(z, z') -{ 4 }→ cond(1, 0) :|: z = 2, z' = 0, x >= 0, 1 = 1, 2 = x
cond(z, z') -{ 5 }→ cond(1, 0) :|: z = 2, z' = 1 + 0, 2 = x, 1 = 1, x >= 0
cond(z, z') -{ 4 }→ cond(1, 0) :|: z = 2, z' = 1 + 0, 2 = x, 1 = 1, x >= 0
cond(z, z') -{ 4 }→ cond(1, 0) :|: z = 2, z' = 1 + 0, 0 = x, 1 = 1, x >= 0
cond(z, z') -{ 3 }→ cond(1, 0) :|: z = 2, z' = 1 + 0, 0 = x, 1 = 1, x >= 0
cond(z, z') -{ 4 }→ cond(1, 0) :|: z = 2, z' = 0, x >= 0, 1 = 1, 0 = x
cond(z, z') -{ 3 }→ cond(1, 0) :|: z = 2, z' = 0, x >= 0, 1 = 1, 0 = x
cond(z, z') -{ 4 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 2 = v0, 1 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 2 = v0, 1 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 2 = v0, 0 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 2 = v0, 0 = v1
cond(z, z') -{ 4 }→ cond(0, 0) :|: z = 2, z' = 1 + 0, v0 >= 0, v1 >= 0, 1 = v0, 2 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 1 + 0, v0 >= 0, v1 >= 0, 1 = v0, 2 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 1 + 0, v0 >= 0, v1 >= 0, 1 = v0, 0 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' = 1 + 0, v0 >= 0, v1 >= 0, 1 = v0, 0 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 0 = v0, 1 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 0 = v0, 1 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' - 1 >= 0, v0 >= 0, v1 >= 0, 0 = v0, 2 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 0 = v0, 0 = v1
cond(z, z') -{ 1 }→ cond(0, 0) :|: z = 2, z' >= 0, v0 >= 0, v1 >= 0, 0 = v0, 0 = v1
cond(z, z') -{ 3 }→ cond(0, z' - 1) :|: z = 2, z' - 1 >= 0, v0 >= 0, v1 >= 0, 0 = v0, 2 = v1
cond(z, z') -{ 2 }→ cond(0, z' - 1) :|: z = 2, z' - 1 >= 0, v0 >= 0, v1 >= 0, 0 = v0, 0 = v1
even(z) -{ 1 }→ even(z - 2) :|: z - 2 >= 0
even(z) -{ 1 }→ 2 :|: z = 0
even(z) -{ 1 }→ 1 :|: z = 1 + 0
even(z) -{ 0 }→ 0 :|: z >= 0
gr(z, z') -{ 1 }→ gr(z - 1, 1) :|: z' = 1 + 1, z - 1 >= 0
gr(z, z') -{ 1 }→ 2 :|: z - 1 >= 0, z' = 0
gr(z, z') -{ 1 }→ 1 :|: z' >= 0, z = 0
gr(z, z') -{ 0 }→ 0 :|: z >= 0, z' >= 0
p(z) -{ 1 }→ 0 :|: z = 0
p(z) -{ 0 }→ 0 :|: z >= 0
p(z) -{ 1 }→ z - 1 :|: z - 1 >= 0
and: runtime: ?, size: O(1) [2] |
and(z, z') -{ 1 }→ 2 :|: z = 2, z' = 2
and(z, z') -{ 1 }→ 1 :|: z >= 0, z' = 1
and(z, z') -{ 1 }→ 1 :|: z = 1, z' >= 0
and(z, z') -{ 0 }→ 0 :|: z >= 0, z' >= 0
cond(z, z') -{ 3 }→ cond(and(even(z' - 2), 2), 0) :|: z = 2, z' - 2 >= 0
cond(z, z') -{ 4 }→ cond(and(even(z' - 2), 2), 1 + (z' - 2)) :|: z = 2, z' - 2 >= 0
cond(z, z') -{ 2 }→ cond(and(even(z' - 2), 0), 0) :|: z = 2, z' - 2 >= 0
cond(z, z') -{ 3 }→ cond(and(even(z' - 2), 0), 1 + (z' - 2)) :|: z = 2, z' - 2 >= 0
cond(z, z') -{ 5 }→ cond(1, 0) :|: z = 2, z' = 0, x >= 0, 1 = 1, 2 = x
cond(z, z') -{ 4 }→ cond(1, 0) :|: z = 2, z' = 0, x >= 0, 1 = 1, 2 = x
cond(z, z') -{ 5 }→ cond(1, 0) :|: z = 2, z' = 1 + 0, 2 = x, 1 = 1, x >= 0
cond(z, z') -{ 4 }→ cond(1, 0) :|: z = 2, z' = 1 + 0, 2 = x, 1 = 1, x >= 0
cond(z, z') -{ 4 }→ cond(1, 0) :|: z = 2, z' = 1 + 0, 0 = x, 1 = 1, x >= 0
cond(z, z') -{ 3 }→ cond(1, 0) :|: z = 2, z' = 1 + 0, 0 = x, 1 = 1, x >= 0
cond(z, z') -{ 4 }→ cond(1, 0) :|: z = 2, z' = 0, x >= 0, 1 = 1, 0 = x
cond(z, z') -{ 3 }→ cond(1, 0) :|: z = 2, z' = 0, x >= 0, 1 = 1, 0 = x
cond(z, z') -{ 4 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 2 = v0, 1 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 2 = v0, 1 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 2 = v0, 0 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 2 = v0, 0 = v1
cond(z, z') -{ 4 }→ cond(0, 0) :|: z = 2, z' = 1 + 0, v0 >= 0, v1 >= 0, 1 = v0, 2 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 1 + 0, v0 >= 0, v1 >= 0, 1 = v0, 2 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 1 + 0, v0 >= 0, v1 >= 0, 1 = v0, 0 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' = 1 + 0, v0 >= 0, v1 >= 0, 1 = v0, 0 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 0 = v0, 1 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 0 = v0, 1 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' - 1 >= 0, v0 >= 0, v1 >= 0, 0 = v0, 2 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 0 = v0, 0 = v1
cond(z, z') -{ 1 }→ cond(0, 0) :|: z = 2, z' >= 0, v0 >= 0, v1 >= 0, 0 = v0, 0 = v1
cond(z, z') -{ 3 }→ cond(0, z' - 1) :|: z = 2, z' - 1 >= 0, v0 >= 0, v1 >= 0, 0 = v0, 2 = v1
cond(z, z') -{ 2 }→ cond(0, z' - 1) :|: z = 2, z' - 1 >= 0, v0 >= 0, v1 >= 0, 0 = v0, 0 = v1
even(z) -{ 1 }→ even(z - 2) :|: z - 2 >= 0
even(z) -{ 1 }→ 2 :|: z = 0
even(z) -{ 1 }→ 1 :|: z = 1 + 0
even(z) -{ 0 }→ 0 :|: z >= 0
gr(z, z') -{ 1 }→ gr(z - 1, 1) :|: z' = 1 + 1, z - 1 >= 0
gr(z, z') -{ 1 }→ 2 :|: z - 1 >= 0, z' = 0
gr(z, z') -{ 1 }→ 1 :|: z' >= 0, z = 0
gr(z, z') -{ 0 }→ 0 :|: z >= 0, z' >= 0
p(z) -{ 1 }→ 0 :|: z = 0
p(z) -{ 0 }→ 0 :|: z >= 0
p(z) -{ 1 }→ z - 1 :|: z - 1 >= 0
and: runtime: O(1) [1], size: O(1) [2] |
and(z, z') -{ 1 }→ 2 :|: z = 2, z' = 2
and(z, z') -{ 1 }→ 1 :|: z >= 0, z' = 1
and(z, z') -{ 1 }→ 1 :|: z = 1, z' >= 0
and(z, z') -{ 0 }→ 0 :|: z >= 0, z' >= 0
cond(z, z') -{ 3 }→ cond(and(even(z' - 2), 2), 0) :|: z = 2, z' - 2 >= 0
cond(z, z') -{ 4 }→ cond(and(even(z' - 2), 2), 1 + (z' - 2)) :|: z = 2, z' - 2 >= 0
cond(z, z') -{ 2 }→ cond(and(even(z' - 2), 0), 0) :|: z = 2, z' - 2 >= 0
cond(z, z') -{ 3 }→ cond(and(even(z' - 2), 0), 1 + (z' - 2)) :|: z = 2, z' - 2 >= 0
cond(z, z') -{ 5 }→ cond(1, 0) :|: z = 2, z' = 0, x >= 0, 1 = 1, 2 = x
cond(z, z') -{ 4 }→ cond(1, 0) :|: z = 2, z' = 0, x >= 0, 1 = 1, 2 = x
cond(z, z') -{ 5 }→ cond(1, 0) :|: z = 2, z' = 1 + 0, 2 = x, 1 = 1, x >= 0
cond(z, z') -{ 4 }→ cond(1, 0) :|: z = 2, z' = 1 + 0, 2 = x, 1 = 1, x >= 0
cond(z, z') -{ 4 }→ cond(1, 0) :|: z = 2, z' = 1 + 0, 0 = x, 1 = 1, x >= 0
cond(z, z') -{ 3 }→ cond(1, 0) :|: z = 2, z' = 1 + 0, 0 = x, 1 = 1, x >= 0
cond(z, z') -{ 4 }→ cond(1, 0) :|: z = 2, z' = 0, x >= 0, 1 = 1, 0 = x
cond(z, z') -{ 3 }→ cond(1, 0) :|: z = 2, z' = 0, x >= 0, 1 = 1, 0 = x
cond(z, z') -{ 4 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 2 = v0, 1 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 2 = v0, 1 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 2 = v0, 0 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 2 = v0, 0 = v1
cond(z, z') -{ 4 }→ cond(0, 0) :|: z = 2, z' = 1 + 0, v0 >= 0, v1 >= 0, 1 = v0, 2 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 1 + 0, v0 >= 0, v1 >= 0, 1 = v0, 2 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 1 + 0, v0 >= 0, v1 >= 0, 1 = v0, 0 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' = 1 + 0, v0 >= 0, v1 >= 0, 1 = v0, 0 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 0 = v0, 1 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 0 = v0, 1 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' - 1 >= 0, v0 >= 0, v1 >= 0, 0 = v0, 2 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 0 = v0, 0 = v1
cond(z, z') -{ 1 }→ cond(0, 0) :|: z = 2, z' >= 0, v0 >= 0, v1 >= 0, 0 = v0, 0 = v1
cond(z, z') -{ 3 }→ cond(0, z' - 1) :|: z = 2, z' - 1 >= 0, v0 >= 0, v1 >= 0, 0 = v0, 2 = v1
cond(z, z') -{ 2 }→ cond(0, z' - 1) :|: z = 2, z' - 1 >= 0, v0 >= 0, v1 >= 0, 0 = v0, 0 = v1
even(z) -{ 1 }→ even(z - 2) :|: z - 2 >= 0
even(z) -{ 1 }→ 2 :|: z = 0
even(z) -{ 1 }→ 1 :|: z = 1 + 0
even(z) -{ 0 }→ 0 :|: z >= 0
gr(z, z') -{ 1 }→ gr(z - 1, 1) :|: z' = 1 + 1, z - 1 >= 0
gr(z, z') -{ 1 }→ 2 :|: z - 1 >= 0, z' = 0
gr(z, z') -{ 1 }→ 1 :|: z' >= 0, z = 0
gr(z, z') -{ 0 }→ 0 :|: z >= 0, z' >= 0
p(z) -{ 1 }→ 0 :|: z = 0
p(z) -{ 0 }→ 0 :|: z >= 0
p(z) -{ 1 }→ z - 1 :|: z - 1 >= 0
and: runtime: O(1) [1], size: O(1) [2] |
and(z, z') -{ 1 }→ 2 :|: z = 2, z' = 2
and(z, z') -{ 1 }→ 1 :|: z >= 0, z' = 1
and(z, z') -{ 1 }→ 1 :|: z = 1, z' >= 0
and(z, z') -{ 0 }→ 0 :|: z >= 0, z' >= 0
cond(z, z') -{ 3 }→ cond(and(even(z' - 2), 2), 0) :|: z = 2, z' - 2 >= 0
cond(z, z') -{ 4 }→ cond(and(even(z' - 2), 2), 1 + (z' - 2)) :|: z = 2, z' - 2 >= 0
cond(z, z') -{ 2 }→ cond(and(even(z' - 2), 0), 0) :|: z = 2, z' - 2 >= 0
cond(z, z') -{ 3 }→ cond(and(even(z' - 2), 0), 1 + (z' - 2)) :|: z = 2, z' - 2 >= 0
cond(z, z') -{ 5 }→ cond(1, 0) :|: z = 2, z' = 0, x >= 0, 1 = 1, 2 = x
cond(z, z') -{ 4 }→ cond(1, 0) :|: z = 2, z' = 0, x >= 0, 1 = 1, 2 = x
cond(z, z') -{ 5 }→ cond(1, 0) :|: z = 2, z' = 1 + 0, 2 = x, 1 = 1, x >= 0
cond(z, z') -{ 4 }→ cond(1, 0) :|: z = 2, z' = 1 + 0, 2 = x, 1 = 1, x >= 0
cond(z, z') -{ 4 }→ cond(1, 0) :|: z = 2, z' = 1 + 0, 0 = x, 1 = 1, x >= 0
cond(z, z') -{ 3 }→ cond(1, 0) :|: z = 2, z' = 1 + 0, 0 = x, 1 = 1, x >= 0
cond(z, z') -{ 4 }→ cond(1, 0) :|: z = 2, z' = 0, x >= 0, 1 = 1, 0 = x
cond(z, z') -{ 3 }→ cond(1, 0) :|: z = 2, z' = 0, x >= 0, 1 = 1, 0 = x
cond(z, z') -{ 4 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 2 = v0, 1 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 2 = v0, 1 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 2 = v0, 0 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 2 = v0, 0 = v1
cond(z, z') -{ 4 }→ cond(0, 0) :|: z = 2, z' = 1 + 0, v0 >= 0, v1 >= 0, 1 = v0, 2 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 1 + 0, v0 >= 0, v1 >= 0, 1 = v0, 2 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 1 + 0, v0 >= 0, v1 >= 0, 1 = v0, 0 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' = 1 + 0, v0 >= 0, v1 >= 0, 1 = v0, 0 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 0 = v0, 1 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 0 = v0, 1 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' - 1 >= 0, v0 >= 0, v1 >= 0, 0 = v0, 2 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 0 = v0, 0 = v1
cond(z, z') -{ 1 }→ cond(0, 0) :|: z = 2, z' >= 0, v0 >= 0, v1 >= 0, 0 = v0, 0 = v1
cond(z, z') -{ 3 }→ cond(0, z' - 1) :|: z = 2, z' - 1 >= 0, v0 >= 0, v1 >= 0, 0 = v0, 2 = v1
cond(z, z') -{ 2 }→ cond(0, z' - 1) :|: z = 2, z' - 1 >= 0, v0 >= 0, v1 >= 0, 0 = v0, 0 = v1
even(z) -{ 1 }→ even(z - 2) :|: z - 2 >= 0
even(z) -{ 1 }→ 2 :|: z = 0
even(z) -{ 1 }→ 1 :|: z = 1 + 0
even(z) -{ 0 }→ 0 :|: z >= 0
gr(z, z') -{ 1 }→ gr(z - 1, 1) :|: z' = 1 + 1, z - 1 >= 0
gr(z, z') -{ 1 }→ 2 :|: z - 1 >= 0, z' = 0
gr(z, z') -{ 1 }→ 1 :|: z' >= 0, z = 0
gr(z, z') -{ 0 }→ 0 :|: z >= 0, z' >= 0
p(z) -{ 1 }→ 0 :|: z = 0
p(z) -{ 0 }→ 0 :|: z >= 0
p(z) -{ 1 }→ z - 1 :|: z - 1 >= 0
and: runtime: O(1) [1], size: O(1) [2] p: runtime: ?, size: O(n1) [z] |
and(z, z') -{ 1 }→ 2 :|: z = 2, z' = 2
and(z, z') -{ 1 }→ 1 :|: z >= 0, z' = 1
and(z, z') -{ 1 }→ 1 :|: z = 1, z' >= 0
and(z, z') -{ 0 }→ 0 :|: z >= 0, z' >= 0
cond(z, z') -{ 3 }→ cond(and(even(z' - 2), 2), 0) :|: z = 2, z' - 2 >= 0
cond(z, z') -{ 4 }→ cond(and(even(z' - 2), 2), 1 + (z' - 2)) :|: z = 2, z' - 2 >= 0
cond(z, z') -{ 2 }→ cond(and(even(z' - 2), 0), 0) :|: z = 2, z' - 2 >= 0
cond(z, z') -{ 3 }→ cond(and(even(z' - 2), 0), 1 + (z' - 2)) :|: z = 2, z' - 2 >= 0
cond(z, z') -{ 5 }→ cond(1, 0) :|: z = 2, z' = 0, x >= 0, 1 = 1, 2 = x
cond(z, z') -{ 4 }→ cond(1, 0) :|: z = 2, z' = 0, x >= 0, 1 = 1, 2 = x
cond(z, z') -{ 5 }→ cond(1, 0) :|: z = 2, z' = 1 + 0, 2 = x, 1 = 1, x >= 0
cond(z, z') -{ 4 }→ cond(1, 0) :|: z = 2, z' = 1 + 0, 2 = x, 1 = 1, x >= 0
cond(z, z') -{ 4 }→ cond(1, 0) :|: z = 2, z' = 1 + 0, 0 = x, 1 = 1, x >= 0
cond(z, z') -{ 3 }→ cond(1, 0) :|: z = 2, z' = 1 + 0, 0 = x, 1 = 1, x >= 0
cond(z, z') -{ 4 }→ cond(1, 0) :|: z = 2, z' = 0, x >= 0, 1 = 1, 0 = x
cond(z, z') -{ 3 }→ cond(1, 0) :|: z = 2, z' = 0, x >= 0, 1 = 1, 0 = x
cond(z, z') -{ 4 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 2 = v0, 1 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 2 = v0, 1 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 2 = v0, 0 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 2 = v0, 0 = v1
cond(z, z') -{ 4 }→ cond(0, 0) :|: z = 2, z' = 1 + 0, v0 >= 0, v1 >= 0, 1 = v0, 2 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 1 + 0, v0 >= 0, v1 >= 0, 1 = v0, 2 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 1 + 0, v0 >= 0, v1 >= 0, 1 = v0, 0 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' = 1 + 0, v0 >= 0, v1 >= 0, 1 = v0, 0 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 0 = v0, 1 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 0 = v0, 1 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' - 1 >= 0, v0 >= 0, v1 >= 0, 0 = v0, 2 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 0 = v0, 0 = v1
cond(z, z') -{ 1 }→ cond(0, 0) :|: z = 2, z' >= 0, v0 >= 0, v1 >= 0, 0 = v0, 0 = v1
cond(z, z') -{ 3 }→ cond(0, z' - 1) :|: z = 2, z' - 1 >= 0, v0 >= 0, v1 >= 0, 0 = v0, 2 = v1
cond(z, z') -{ 2 }→ cond(0, z' - 1) :|: z = 2, z' - 1 >= 0, v0 >= 0, v1 >= 0, 0 = v0, 0 = v1
even(z) -{ 1 }→ even(z - 2) :|: z - 2 >= 0
even(z) -{ 1 }→ 2 :|: z = 0
even(z) -{ 1 }→ 1 :|: z = 1 + 0
even(z) -{ 0 }→ 0 :|: z >= 0
gr(z, z') -{ 1 }→ gr(z - 1, 1) :|: z' = 1 + 1, z - 1 >= 0
gr(z, z') -{ 1 }→ 2 :|: z - 1 >= 0, z' = 0
gr(z, z') -{ 1 }→ 1 :|: z' >= 0, z = 0
gr(z, z') -{ 0 }→ 0 :|: z >= 0, z' >= 0
p(z) -{ 1 }→ 0 :|: z = 0
p(z) -{ 0 }→ 0 :|: z >= 0
p(z) -{ 1 }→ z - 1 :|: z - 1 >= 0
and: runtime: O(1) [1], size: O(1) [2] p: runtime: O(1) [1], size: O(n1) [z] |
and(z, z') -{ 1 }→ 2 :|: z = 2, z' = 2
and(z, z') -{ 1 }→ 1 :|: z >= 0, z' = 1
and(z, z') -{ 1 }→ 1 :|: z = 1, z' >= 0
and(z, z') -{ 0 }→ 0 :|: z >= 0, z' >= 0
cond(z, z') -{ 3 }→ cond(and(even(z' - 2), 2), 0) :|: z = 2, z' - 2 >= 0
cond(z, z') -{ 4 }→ cond(and(even(z' - 2), 2), 1 + (z' - 2)) :|: z = 2, z' - 2 >= 0
cond(z, z') -{ 2 }→ cond(and(even(z' - 2), 0), 0) :|: z = 2, z' - 2 >= 0
cond(z, z') -{ 3 }→ cond(and(even(z' - 2), 0), 1 + (z' - 2)) :|: z = 2, z' - 2 >= 0
cond(z, z') -{ 5 }→ cond(1, 0) :|: z = 2, z' = 0, x >= 0, 1 = 1, 2 = x
cond(z, z') -{ 4 }→ cond(1, 0) :|: z = 2, z' = 0, x >= 0, 1 = 1, 2 = x
cond(z, z') -{ 5 }→ cond(1, 0) :|: z = 2, z' = 1 + 0, 2 = x, 1 = 1, x >= 0
cond(z, z') -{ 4 }→ cond(1, 0) :|: z = 2, z' = 1 + 0, 2 = x, 1 = 1, x >= 0
cond(z, z') -{ 4 }→ cond(1, 0) :|: z = 2, z' = 1 + 0, 0 = x, 1 = 1, x >= 0
cond(z, z') -{ 3 }→ cond(1, 0) :|: z = 2, z' = 1 + 0, 0 = x, 1 = 1, x >= 0
cond(z, z') -{ 4 }→ cond(1, 0) :|: z = 2, z' = 0, x >= 0, 1 = 1, 0 = x
cond(z, z') -{ 3 }→ cond(1, 0) :|: z = 2, z' = 0, x >= 0, 1 = 1, 0 = x
cond(z, z') -{ 4 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 2 = v0, 1 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 2 = v0, 1 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 2 = v0, 0 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 2 = v0, 0 = v1
cond(z, z') -{ 4 }→ cond(0, 0) :|: z = 2, z' = 1 + 0, v0 >= 0, v1 >= 0, 1 = v0, 2 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 1 + 0, v0 >= 0, v1 >= 0, 1 = v0, 2 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 1 + 0, v0 >= 0, v1 >= 0, 1 = v0, 0 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' = 1 + 0, v0 >= 0, v1 >= 0, 1 = v0, 0 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 0 = v0, 1 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 0 = v0, 1 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' - 1 >= 0, v0 >= 0, v1 >= 0, 0 = v0, 2 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 0 = v0, 0 = v1
cond(z, z') -{ 1 }→ cond(0, 0) :|: z = 2, z' >= 0, v0 >= 0, v1 >= 0, 0 = v0, 0 = v1
cond(z, z') -{ 3 }→ cond(0, z' - 1) :|: z = 2, z' - 1 >= 0, v0 >= 0, v1 >= 0, 0 = v0, 2 = v1
cond(z, z') -{ 2 }→ cond(0, z' - 1) :|: z = 2, z' - 1 >= 0, v0 >= 0, v1 >= 0, 0 = v0, 0 = v1
even(z) -{ 1 }→ even(z - 2) :|: z - 2 >= 0
even(z) -{ 1 }→ 2 :|: z = 0
even(z) -{ 1 }→ 1 :|: z = 1 + 0
even(z) -{ 0 }→ 0 :|: z >= 0
gr(z, z') -{ 1 }→ gr(z - 1, 1) :|: z' = 1 + 1, z - 1 >= 0
gr(z, z') -{ 1 }→ 2 :|: z - 1 >= 0, z' = 0
gr(z, z') -{ 1 }→ 1 :|: z' >= 0, z = 0
gr(z, z') -{ 0 }→ 0 :|: z >= 0, z' >= 0
p(z) -{ 1 }→ 0 :|: z = 0
p(z) -{ 0 }→ 0 :|: z >= 0
p(z) -{ 1 }→ z - 1 :|: z - 1 >= 0
and: runtime: O(1) [1], size: O(1) [2] p: runtime: O(1) [1], size: O(n1) [z] |
and(z, z') -{ 1 }→ 2 :|: z = 2, z' = 2
and(z, z') -{ 1 }→ 1 :|: z >= 0, z' = 1
and(z, z') -{ 1 }→ 1 :|: z = 1, z' >= 0
and(z, z') -{ 0 }→ 0 :|: z >= 0, z' >= 0
cond(z, z') -{ 3 }→ cond(and(even(z' - 2), 2), 0) :|: z = 2, z' - 2 >= 0
cond(z, z') -{ 4 }→ cond(and(even(z' - 2), 2), 1 + (z' - 2)) :|: z = 2, z' - 2 >= 0
cond(z, z') -{ 2 }→ cond(and(even(z' - 2), 0), 0) :|: z = 2, z' - 2 >= 0
cond(z, z') -{ 3 }→ cond(and(even(z' - 2), 0), 1 + (z' - 2)) :|: z = 2, z' - 2 >= 0
cond(z, z') -{ 5 }→ cond(1, 0) :|: z = 2, z' = 0, x >= 0, 1 = 1, 2 = x
cond(z, z') -{ 4 }→ cond(1, 0) :|: z = 2, z' = 0, x >= 0, 1 = 1, 2 = x
cond(z, z') -{ 5 }→ cond(1, 0) :|: z = 2, z' = 1 + 0, 2 = x, 1 = 1, x >= 0
cond(z, z') -{ 4 }→ cond(1, 0) :|: z = 2, z' = 1 + 0, 2 = x, 1 = 1, x >= 0
cond(z, z') -{ 4 }→ cond(1, 0) :|: z = 2, z' = 1 + 0, 0 = x, 1 = 1, x >= 0
cond(z, z') -{ 3 }→ cond(1, 0) :|: z = 2, z' = 1 + 0, 0 = x, 1 = 1, x >= 0
cond(z, z') -{ 4 }→ cond(1, 0) :|: z = 2, z' = 0, x >= 0, 1 = 1, 0 = x
cond(z, z') -{ 3 }→ cond(1, 0) :|: z = 2, z' = 0, x >= 0, 1 = 1, 0 = x
cond(z, z') -{ 4 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 2 = v0, 1 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 2 = v0, 1 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 2 = v0, 0 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 2 = v0, 0 = v1
cond(z, z') -{ 4 }→ cond(0, 0) :|: z = 2, z' = 1 + 0, v0 >= 0, v1 >= 0, 1 = v0, 2 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 1 + 0, v0 >= 0, v1 >= 0, 1 = v0, 2 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 1 + 0, v0 >= 0, v1 >= 0, 1 = v0, 0 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' = 1 + 0, v0 >= 0, v1 >= 0, 1 = v0, 0 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 0 = v0, 1 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 0 = v0, 1 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' - 1 >= 0, v0 >= 0, v1 >= 0, 0 = v0, 2 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 0 = v0, 0 = v1
cond(z, z') -{ 1 }→ cond(0, 0) :|: z = 2, z' >= 0, v0 >= 0, v1 >= 0, 0 = v0, 0 = v1
cond(z, z') -{ 3 }→ cond(0, z' - 1) :|: z = 2, z' - 1 >= 0, v0 >= 0, v1 >= 0, 0 = v0, 2 = v1
cond(z, z') -{ 2 }→ cond(0, z' - 1) :|: z = 2, z' - 1 >= 0, v0 >= 0, v1 >= 0, 0 = v0, 0 = v1
even(z) -{ 1 }→ even(z - 2) :|: z - 2 >= 0
even(z) -{ 1 }→ 2 :|: z = 0
even(z) -{ 1 }→ 1 :|: z = 1 + 0
even(z) -{ 0 }→ 0 :|: z >= 0
gr(z, z') -{ 1 }→ gr(z - 1, 1) :|: z' = 1 + 1, z - 1 >= 0
gr(z, z') -{ 1 }→ 2 :|: z - 1 >= 0, z' = 0
gr(z, z') -{ 1 }→ 1 :|: z' >= 0, z = 0
gr(z, z') -{ 0 }→ 0 :|: z >= 0, z' >= 0
p(z) -{ 1 }→ 0 :|: z = 0
p(z) -{ 0 }→ 0 :|: z >= 0
p(z) -{ 1 }→ z - 1 :|: z - 1 >= 0
and: runtime: O(1) [1], size: O(1) [2] p: runtime: O(1) [1], size: O(n1) [z] gr: runtime: ?, size: O(1) [2] |
and(z, z') -{ 1 }→ 2 :|: z = 2, z' = 2
and(z, z') -{ 1 }→ 1 :|: z >= 0, z' = 1
and(z, z') -{ 1 }→ 1 :|: z = 1, z' >= 0
and(z, z') -{ 0 }→ 0 :|: z >= 0, z' >= 0
cond(z, z') -{ 3 }→ cond(and(even(z' - 2), 2), 0) :|: z = 2, z' - 2 >= 0
cond(z, z') -{ 4 }→ cond(and(even(z' - 2), 2), 1 + (z' - 2)) :|: z = 2, z' - 2 >= 0
cond(z, z') -{ 2 }→ cond(and(even(z' - 2), 0), 0) :|: z = 2, z' - 2 >= 0
cond(z, z') -{ 3 }→ cond(and(even(z' - 2), 0), 1 + (z' - 2)) :|: z = 2, z' - 2 >= 0
cond(z, z') -{ 5 }→ cond(1, 0) :|: z = 2, z' = 0, x >= 0, 1 = 1, 2 = x
cond(z, z') -{ 4 }→ cond(1, 0) :|: z = 2, z' = 0, x >= 0, 1 = 1, 2 = x
cond(z, z') -{ 5 }→ cond(1, 0) :|: z = 2, z' = 1 + 0, 2 = x, 1 = 1, x >= 0
cond(z, z') -{ 4 }→ cond(1, 0) :|: z = 2, z' = 1 + 0, 2 = x, 1 = 1, x >= 0
cond(z, z') -{ 4 }→ cond(1, 0) :|: z = 2, z' = 1 + 0, 0 = x, 1 = 1, x >= 0
cond(z, z') -{ 3 }→ cond(1, 0) :|: z = 2, z' = 1 + 0, 0 = x, 1 = 1, x >= 0
cond(z, z') -{ 4 }→ cond(1, 0) :|: z = 2, z' = 0, x >= 0, 1 = 1, 0 = x
cond(z, z') -{ 3 }→ cond(1, 0) :|: z = 2, z' = 0, x >= 0, 1 = 1, 0 = x
cond(z, z') -{ 4 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 2 = v0, 1 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 2 = v0, 1 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 2 = v0, 0 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 2 = v0, 0 = v1
cond(z, z') -{ 4 }→ cond(0, 0) :|: z = 2, z' = 1 + 0, v0 >= 0, v1 >= 0, 1 = v0, 2 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 1 + 0, v0 >= 0, v1 >= 0, 1 = v0, 2 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 1 + 0, v0 >= 0, v1 >= 0, 1 = v0, 0 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' = 1 + 0, v0 >= 0, v1 >= 0, 1 = v0, 0 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 0 = v0, 1 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 0 = v0, 1 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' - 1 >= 0, v0 >= 0, v1 >= 0, 0 = v0, 2 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 0 = v0, 0 = v1
cond(z, z') -{ 1 }→ cond(0, 0) :|: z = 2, z' >= 0, v0 >= 0, v1 >= 0, 0 = v0, 0 = v1
cond(z, z') -{ 3 }→ cond(0, z' - 1) :|: z = 2, z' - 1 >= 0, v0 >= 0, v1 >= 0, 0 = v0, 2 = v1
cond(z, z') -{ 2 }→ cond(0, z' - 1) :|: z = 2, z' - 1 >= 0, v0 >= 0, v1 >= 0, 0 = v0, 0 = v1
even(z) -{ 1 }→ even(z - 2) :|: z - 2 >= 0
even(z) -{ 1 }→ 2 :|: z = 0
even(z) -{ 1 }→ 1 :|: z = 1 + 0
even(z) -{ 0 }→ 0 :|: z >= 0
gr(z, z') -{ 1 }→ gr(z - 1, 1) :|: z' = 1 + 1, z - 1 >= 0
gr(z, z') -{ 1 }→ 2 :|: z - 1 >= 0, z' = 0
gr(z, z') -{ 1 }→ 1 :|: z' >= 0, z = 0
gr(z, z') -{ 0 }→ 0 :|: z >= 0, z' >= 0
p(z) -{ 1 }→ 0 :|: z = 0
p(z) -{ 0 }→ 0 :|: z >= 0
p(z) -{ 1 }→ z - 1 :|: z - 1 >= 0
and: runtime: O(1) [1], size: O(1) [2] p: runtime: O(1) [1], size: O(n1) [z] gr: runtime: O(1) [2], size: O(1) [2] |
and(z, z') -{ 1 }→ 2 :|: z = 2, z' = 2
and(z, z') -{ 1 }→ 1 :|: z >= 0, z' = 1
and(z, z') -{ 1 }→ 1 :|: z = 1, z' >= 0
and(z, z') -{ 0 }→ 0 :|: z >= 0, z' >= 0
cond(z, z') -{ 3 }→ cond(and(even(z' - 2), 2), 0) :|: z = 2, z' - 2 >= 0
cond(z, z') -{ 4 }→ cond(and(even(z' - 2), 2), 1 + (z' - 2)) :|: z = 2, z' - 2 >= 0
cond(z, z') -{ 2 }→ cond(and(even(z' - 2), 0), 0) :|: z = 2, z' - 2 >= 0
cond(z, z') -{ 3 }→ cond(and(even(z' - 2), 0), 1 + (z' - 2)) :|: z = 2, z' - 2 >= 0
cond(z, z') -{ 5 }→ cond(1, 0) :|: z = 2, z' = 0, x >= 0, 1 = 1, 2 = x
cond(z, z') -{ 4 }→ cond(1, 0) :|: z = 2, z' = 0, x >= 0, 1 = 1, 2 = x
cond(z, z') -{ 5 }→ cond(1, 0) :|: z = 2, z' = 1 + 0, 2 = x, 1 = 1, x >= 0
cond(z, z') -{ 4 }→ cond(1, 0) :|: z = 2, z' = 1 + 0, 2 = x, 1 = 1, x >= 0
cond(z, z') -{ 4 }→ cond(1, 0) :|: z = 2, z' = 1 + 0, 0 = x, 1 = 1, x >= 0
cond(z, z') -{ 3 }→ cond(1, 0) :|: z = 2, z' = 1 + 0, 0 = x, 1 = 1, x >= 0
cond(z, z') -{ 4 }→ cond(1, 0) :|: z = 2, z' = 0, x >= 0, 1 = 1, 0 = x
cond(z, z') -{ 3 }→ cond(1, 0) :|: z = 2, z' = 0, x >= 0, 1 = 1, 0 = x
cond(z, z') -{ 4 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 2 = v0, 1 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 2 = v0, 1 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 2 = v0, 0 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 2 = v0, 0 = v1
cond(z, z') -{ 4 }→ cond(0, 0) :|: z = 2, z' = 1 + 0, v0 >= 0, v1 >= 0, 1 = v0, 2 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 1 + 0, v0 >= 0, v1 >= 0, 1 = v0, 2 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 1 + 0, v0 >= 0, v1 >= 0, 1 = v0, 0 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' = 1 + 0, v0 >= 0, v1 >= 0, 1 = v0, 0 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 0 = v0, 1 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 0 = v0, 1 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' - 1 >= 0, v0 >= 0, v1 >= 0, 0 = v0, 2 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 0 = v0, 0 = v1
cond(z, z') -{ 1 }→ cond(0, 0) :|: z = 2, z' >= 0, v0 >= 0, v1 >= 0, 0 = v0, 0 = v1
cond(z, z') -{ 3 }→ cond(0, z' - 1) :|: z = 2, z' - 1 >= 0, v0 >= 0, v1 >= 0, 0 = v0, 2 = v1
cond(z, z') -{ 2 }→ cond(0, z' - 1) :|: z = 2, z' - 1 >= 0, v0 >= 0, v1 >= 0, 0 = v0, 0 = v1
even(z) -{ 1 }→ even(z - 2) :|: z - 2 >= 0
even(z) -{ 1 }→ 2 :|: z = 0
even(z) -{ 1 }→ 1 :|: z = 1 + 0
even(z) -{ 0 }→ 0 :|: z >= 0
gr(z, z') -{ 3 }→ s :|: s >= 0, s <= 2, z' = 1 + 1, z - 1 >= 0
gr(z, z') -{ 1 }→ 2 :|: z - 1 >= 0, z' = 0
gr(z, z') -{ 1 }→ 1 :|: z' >= 0, z = 0
gr(z, z') -{ 0 }→ 0 :|: z >= 0, z' >= 0
p(z) -{ 1 }→ 0 :|: z = 0
p(z) -{ 0 }→ 0 :|: z >= 0
p(z) -{ 1 }→ z - 1 :|: z - 1 >= 0
and: runtime: O(1) [1], size: O(1) [2] p: runtime: O(1) [1], size: O(n1) [z] gr: runtime: O(1) [2], size: O(1) [2] |
and(z, z') -{ 1 }→ 2 :|: z = 2, z' = 2
and(z, z') -{ 1 }→ 1 :|: z >= 0, z' = 1
and(z, z') -{ 1 }→ 1 :|: z = 1, z' >= 0
and(z, z') -{ 0 }→ 0 :|: z >= 0, z' >= 0
cond(z, z') -{ 3 }→ cond(and(even(z' - 2), 2), 0) :|: z = 2, z' - 2 >= 0
cond(z, z') -{ 4 }→ cond(and(even(z' - 2), 2), 1 + (z' - 2)) :|: z = 2, z' - 2 >= 0
cond(z, z') -{ 2 }→ cond(and(even(z' - 2), 0), 0) :|: z = 2, z' - 2 >= 0
cond(z, z') -{ 3 }→ cond(and(even(z' - 2), 0), 1 + (z' - 2)) :|: z = 2, z' - 2 >= 0
cond(z, z') -{ 5 }→ cond(1, 0) :|: z = 2, z' = 0, x >= 0, 1 = 1, 2 = x
cond(z, z') -{ 4 }→ cond(1, 0) :|: z = 2, z' = 0, x >= 0, 1 = 1, 2 = x
cond(z, z') -{ 5 }→ cond(1, 0) :|: z = 2, z' = 1 + 0, 2 = x, 1 = 1, x >= 0
cond(z, z') -{ 4 }→ cond(1, 0) :|: z = 2, z' = 1 + 0, 2 = x, 1 = 1, x >= 0
cond(z, z') -{ 4 }→ cond(1, 0) :|: z = 2, z' = 1 + 0, 0 = x, 1 = 1, x >= 0
cond(z, z') -{ 3 }→ cond(1, 0) :|: z = 2, z' = 1 + 0, 0 = x, 1 = 1, x >= 0
cond(z, z') -{ 4 }→ cond(1, 0) :|: z = 2, z' = 0, x >= 0, 1 = 1, 0 = x
cond(z, z') -{ 3 }→ cond(1, 0) :|: z = 2, z' = 0, x >= 0, 1 = 1, 0 = x
cond(z, z') -{ 4 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 2 = v0, 1 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 2 = v0, 1 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 2 = v0, 0 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 2 = v0, 0 = v1
cond(z, z') -{ 4 }→ cond(0, 0) :|: z = 2, z' = 1 + 0, v0 >= 0, v1 >= 0, 1 = v0, 2 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 1 + 0, v0 >= 0, v1 >= 0, 1 = v0, 2 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 1 + 0, v0 >= 0, v1 >= 0, 1 = v0, 0 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' = 1 + 0, v0 >= 0, v1 >= 0, 1 = v0, 0 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 0 = v0, 1 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 0 = v0, 1 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' - 1 >= 0, v0 >= 0, v1 >= 0, 0 = v0, 2 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 0 = v0, 0 = v1
cond(z, z') -{ 1 }→ cond(0, 0) :|: z = 2, z' >= 0, v0 >= 0, v1 >= 0, 0 = v0, 0 = v1
cond(z, z') -{ 3 }→ cond(0, z' - 1) :|: z = 2, z' - 1 >= 0, v0 >= 0, v1 >= 0, 0 = v0, 2 = v1
cond(z, z') -{ 2 }→ cond(0, z' - 1) :|: z = 2, z' - 1 >= 0, v0 >= 0, v1 >= 0, 0 = v0, 0 = v1
even(z) -{ 1 }→ even(z - 2) :|: z - 2 >= 0
even(z) -{ 1 }→ 2 :|: z = 0
even(z) -{ 1 }→ 1 :|: z = 1 + 0
even(z) -{ 0 }→ 0 :|: z >= 0
gr(z, z') -{ 3 }→ s :|: s >= 0, s <= 2, z' = 1 + 1, z - 1 >= 0
gr(z, z') -{ 1 }→ 2 :|: z - 1 >= 0, z' = 0
gr(z, z') -{ 1 }→ 1 :|: z' >= 0, z = 0
gr(z, z') -{ 0 }→ 0 :|: z >= 0, z' >= 0
p(z) -{ 1 }→ 0 :|: z = 0
p(z) -{ 0 }→ 0 :|: z >= 0
p(z) -{ 1 }→ z - 1 :|: z - 1 >= 0
and: runtime: O(1) [1], size: O(1) [2] p: runtime: O(1) [1], size: O(n1) [z] gr: runtime: O(1) [2], size: O(1) [2] even: runtime: ?, size: O(1) [2] |
and(z, z') -{ 1 }→ 2 :|: z = 2, z' = 2
and(z, z') -{ 1 }→ 1 :|: z >= 0, z' = 1
and(z, z') -{ 1 }→ 1 :|: z = 1, z' >= 0
and(z, z') -{ 0 }→ 0 :|: z >= 0, z' >= 0
cond(z, z') -{ 3 }→ cond(and(even(z' - 2), 2), 0) :|: z = 2, z' - 2 >= 0
cond(z, z') -{ 4 }→ cond(and(even(z' - 2), 2), 1 + (z' - 2)) :|: z = 2, z' - 2 >= 0
cond(z, z') -{ 2 }→ cond(and(even(z' - 2), 0), 0) :|: z = 2, z' - 2 >= 0
cond(z, z') -{ 3 }→ cond(and(even(z' - 2), 0), 1 + (z' - 2)) :|: z = 2, z' - 2 >= 0
cond(z, z') -{ 5 }→ cond(1, 0) :|: z = 2, z' = 0, x >= 0, 1 = 1, 2 = x
cond(z, z') -{ 4 }→ cond(1, 0) :|: z = 2, z' = 0, x >= 0, 1 = 1, 2 = x
cond(z, z') -{ 5 }→ cond(1, 0) :|: z = 2, z' = 1 + 0, 2 = x, 1 = 1, x >= 0
cond(z, z') -{ 4 }→ cond(1, 0) :|: z = 2, z' = 1 + 0, 2 = x, 1 = 1, x >= 0
cond(z, z') -{ 4 }→ cond(1, 0) :|: z = 2, z' = 1 + 0, 0 = x, 1 = 1, x >= 0
cond(z, z') -{ 3 }→ cond(1, 0) :|: z = 2, z' = 1 + 0, 0 = x, 1 = 1, x >= 0
cond(z, z') -{ 4 }→ cond(1, 0) :|: z = 2, z' = 0, x >= 0, 1 = 1, 0 = x
cond(z, z') -{ 3 }→ cond(1, 0) :|: z = 2, z' = 0, x >= 0, 1 = 1, 0 = x
cond(z, z') -{ 4 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 2 = v0, 1 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 2 = v0, 1 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 2 = v0, 0 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 2 = v0, 0 = v1
cond(z, z') -{ 4 }→ cond(0, 0) :|: z = 2, z' = 1 + 0, v0 >= 0, v1 >= 0, 1 = v0, 2 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 1 + 0, v0 >= 0, v1 >= 0, 1 = v0, 2 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 1 + 0, v0 >= 0, v1 >= 0, 1 = v0, 0 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' = 1 + 0, v0 >= 0, v1 >= 0, 1 = v0, 0 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 0 = v0, 1 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 0 = v0, 1 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' - 1 >= 0, v0 >= 0, v1 >= 0, 0 = v0, 2 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 0 = v0, 0 = v1
cond(z, z') -{ 1 }→ cond(0, 0) :|: z = 2, z' >= 0, v0 >= 0, v1 >= 0, 0 = v0, 0 = v1
cond(z, z') -{ 3 }→ cond(0, z' - 1) :|: z = 2, z' - 1 >= 0, v0 >= 0, v1 >= 0, 0 = v0, 2 = v1
cond(z, z') -{ 2 }→ cond(0, z' - 1) :|: z = 2, z' - 1 >= 0, v0 >= 0, v1 >= 0, 0 = v0, 0 = v1
even(z) -{ 1 }→ even(z - 2) :|: z - 2 >= 0
even(z) -{ 1 }→ 2 :|: z = 0
even(z) -{ 1 }→ 1 :|: z = 1 + 0
even(z) -{ 0 }→ 0 :|: z >= 0
gr(z, z') -{ 3 }→ s :|: s >= 0, s <= 2, z' = 1 + 1, z - 1 >= 0
gr(z, z') -{ 1 }→ 2 :|: z - 1 >= 0, z' = 0
gr(z, z') -{ 1 }→ 1 :|: z' >= 0, z = 0
gr(z, z') -{ 0 }→ 0 :|: z >= 0, z' >= 0
p(z) -{ 1 }→ 0 :|: z = 0
p(z) -{ 0 }→ 0 :|: z >= 0
p(z) -{ 1 }→ z - 1 :|: z - 1 >= 0
and: runtime: O(1) [1], size: O(1) [2] p: runtime: O(1) [1], size: O(n1) [z] gr: runtime: O(1) [2], size: O(1) [2] even: runtime: O(n1) [1 + z], size: O(1) [2] |
and(z, z') -{ 1 }→ 2 :|: z = 2, z' = 2
and(z, z') -{ 1 }→ 1 :|: z >= 0, z' = 1
and(z, z') -{ 1 }→ 1 :|: z = 1, z' >= 0
and(z, z') -{ 0 }→ 0 :|: z >= 0, z' >= 0
cond(z, z') -{ 4 + z' }→ cond(s1, 1 + (z' - 2)) :|: s'' >= 0, s'' <= 2, s1 >= 0, s1 <= 2, z = 2, z' - 2 >= 0
cond(z, z') -{ 3 + z' }→ cond(s3, 0) :|: s2 >= 0, s2 <= 2, s3 >= 0, s3 <= 2, z = 2, z' - 2 >= 0
cond(z, z') -{ 3 + z' }→ cond(s5, 1 + (z' - 2)) :|: s4 >= 0, s4 <= 2, s5 >= 0, s5 <= 2, z = 2, z' - 2 >= 0
cond(z, z') -{ 2 + z' }→ cond(s7, 0) :|: s6 >= 0, s6 <= 2, s7 >= 0, s7 <= 2, z = 2, z' - 2 >= 0
cond(z, z') -{ 5 }→ cond(1, 0) :|: z = 2, z' = 0, x >= 0, 1 = 1, 2 = x
cond(z, z') -{ 4 }→ cond(1, 0) :|: z = 2, z' = 0, x >= 0, 1 = 1, 2 = x
cond(z, z') -{ 5 }→ cond(1, 0) :|: z = 2, z' = 1 + 0, 2 = x, 1 = 1, x >= 0
cond(z, z') -{ 4 }→ cond(1, 0) :|: z = 2, z' = 1 + 0, 2 = x, 1 = 1, x >= 0
cond(z, z') -{ 4 }→ cond(1, 0) :|: z = 2, z' = 1 + 0, 0 = x, 1 = 1, x >= 0
cond(z, z') -{ 3 }→ cond(1, 0) :|: z = 2, z' = 1 + 0, 0 = x, 1 = 1, x >= 0
cond(z, z') -{ 4 }→ cond(1, 0) :|: z = 2, z' = 0, x >= 0, 1 = 1, 0 = x
cond(z, z') -{ 3 }→ cond(1, 0) :|: z = 2, z' = 0, x >= 0, 1 = 1, 0 = x
cond(z, z') -{ 4 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 2 = v0, 1 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 2 = v0, 1 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 2 = v0, 0 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 2 = v0, 0 = v1
cond(z, z') -{ 4 }→ cond(0, 0) :|: z = 2, z' = 1 + 0, v0 >= 0, v1 >= 0, 1 = v0, 2 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 1 + 0, v0 >= 0, v1 >= 0, 1 = v0, 2 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 1 + 0, v0 >= 0, v1 >= 0, 1 = v0, 0 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' = 1 + 0, v0 >= 0, v1 >= 0, 1 = v0, 0 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 0 = v0, 1 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 0 = v0, 1 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' - 1 >= 0, v0 >= 0, v1 >= 0, 0 = v0, 2 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 0 = v0, 0 = v1
cond(z, z') -{ 1 }→ cond(0, 0) :|: z = 2, z' >= 0, v0 >= 0, v1 >= 0, 0 = v0, 0 = v1
cond(z, z') -{ 3 }→ cond(0, z' - 1) :|: z = 2, z' - 1 >= 0, v0 >= 0, v1 >= 0, 0 = v0, 2 = v1
cond(z, z') -{ 2 }→ cond(0, z' - 1) :|: z = 2, z' - 1 >= 0, v0 >= 0, v1 >= 0, 0 = v0, 0 = v1
even(z) -{ z }→ s' :|: s' >= 0, s' <= 2, z - 2 >= 0
even(z) -{ 1 }→ 2 :|: z = 0
even(z) -{ 1 }→ 1 :|: z = 1 + 0
even(z) -{ 0 }→ 0 :|: z >= 0
gr(z, z') -{ 3 }→ s :|: s >= 0, s <= 2, z' = 1 + 1, z - 1 >= 0
gr(z, z') -{ 1 }→ 2 :|: z - 1 >= 0, z' = 0
gr(z, z') -{ 1 }→ 1 :|: z' >= 0, z = 0
gr(z, z') -{ 0 }→ 0 :|: z >= 0, z' >= 0
p(z) -{ 1 }→ 0 :|: z = 0
p(z) -{ 0 }→ 0 :|: z >= 0
p(z) -{ 1 }→ z - 1 :|: z - 1 >= 0
and: runtime: O(1) [1], size: O(1) [2] p: runtime: O(1) [1], size: O(n1) [z] gr: runtime: O(1) [2], size: O(1) [2] even: runtime: O(n1) [1 + z], size: O(1) [2] |
and(z, z') -{ 1 }→ 2 :|: z = 2, z' = 2
and(z, z') -{ 1 }→ 1 :|: z >= 0, z' = 1
and(z, z') -{ 1 }→ 1 :|: z = 1, z' >= 0
and(z, z') -{ 0 }→ 0 :|: z >= 0, z' >= 0
cond(z, z') -{ 4 + z' }→ cond(s1, 1 + (z' - 2)) :|: s'' >= 0, s'' <= 2, s1 >= 0, s1 <= 2, z = 2, z' - 2 >= 0
cond(z, z') -{ 3 + z' }→ cond(s3, 0) :|: s2 >= 0, s2 <= 2, s3 >= 0, s3 <= 2, z = 2, z' - 2 >= 0
cond(z, z') -{ 3 + z' }→ cond(s5, 1 + (z' - 2)) :|: s4 >= 0, s4 <= 2, s5 >= 0, s5 <= 2, z = 2, z' - 2 >= 0
cond(z, z') -{ 2 + z' }→ cond(s7, 0) :|: s6 >= 0, s6 <= 2, s7 >= 0, s7 <= 2, z = 2, z' - 2 >= 0
cond(z, z') -{ 5 }→ cond(1, 0) :|: z = 2, z' = 0, x >= 0, 1 = 1, 2 = x
cond(z, z') -{ 4 }→ cond(1, 0) :|: z = 2, z' = 0, x >= 0, 1 = 1, 2 = x
cond(z, z') -{ 5 }→ cond(1, 0) :|: z = 2, z' = 1 + 0, 2 = x, 1 = 1, x >= 0
cond(z, z') -{ 4 }→ cond(1, 0) :|: z = 2, z' = 1 + 0, 2 = x, 1 = 1, x >= 0
cond(z, z') -{ 4 }→ cond(1, 0) :|: z = 2, z' = 1 + 0, 0 = x, 1 = 1, x >= 0
cond(z, z') -{ 3 }→ cond(1, 0) :|: z = 2, z' = 1 + 0, 0 = x, 1 = 1, x >= 0
cond(z, z') -{ 4 }→ cond(1, 0) :|: z = 2, z' = 0, x >= 0, 1 = 1, 0 = x
cond(z, z') -{ 3 }→ cond(1, 0) :|: z = 2, z' = 0, x >= 0, 1 = 1, 0 = x
cond(z, z') -{ 4 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 2 = v0, 1 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 2 = v0, 1 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 2 = v0, 0 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 2 = v0, 0 = v1
cond(z, z') -{ 4 }→ cond(0, 0) :|: z = 2, z' = 1 + 0, v0 >= 0, v1 >= 0, 1 = v0, 2 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 1 + 0, v0 >= 0, v1 >= 0, 1 = v0, 2 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 1 + 0, v0 >= 0, v1 >= 0, 1 = v0, 0 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' = 1 + 0, v0 >= 0, v1 >= 0, 1 = v0, 0 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 0 = v0, 1 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 0 = v0, 1 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' - 1 >= 0, v0 >= 0, v1 >= 0, 0 = v0, 2 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 0 = v0, 0 = v1
cond(z, z') -{ 1 }→ cond(0, 0) :|: z = 2, z' >= 0, v0 >= 0, v1 >= 0, 0 = v0, 0 = v1
cond(z, z') -{ 3 }→ cond(0, z' - 1) :|: z = 2, z' - 1 >= 0, v0 >= 0, v1 >= 0, 0 = v0, 2 = v1
cond(z, z') -{ 2 }→ cond(0, z' - 1) :|: z = 2, z' - 1 >= 0, v0 >= 0, v1 >= 0, 0 = v0, 0 = v1
even(z) -{ z }→ s' :|: s' >= 0, s' <= 2, z - 2 >= 0
even(z) -{ 1 }→ 2 :|: z = 0
even(z) -{ 1 }→ 1 :|: z = 1 + 0
even(z) -{ 0 }→ 0 :|: z >= 0
gr(z, z') -{ 3 }→ s :|: s >= 0, s <= 2, z' = 1 + 1, z - 1 >= 0
gr(z, z') -{ 1 }→ 2 :|: z - 1 >= 0, z' = 0
gr(z, z') -{ 1 }→ 1 :|: z' >= 0, z = 0
gr(z, z') -{ 0 }→ 0 :|: z >= 0, z' >= 0
p(z) -{ 1 }→ 0 :|: z = 0
p(z) -{ 0 }→ 0 :|: z >= 0
p(z) -{ 1 }→ z - 1 :|: z - 1 >= 0
and: runtime: O(1) [1], size: O(1) [2] p: runtime: O(1) [1], size: O(n1) [z] gr: runtime: O(1) [2], size: O(1) [2] even: runtime: O(n1) [1 + z], size: O(1) [2] cond: runtime: ?, size: O(1) [0] |
and(z, z') -{ 1 }→ 2 :|: z = 2, z' = 2
and(z, z') -{ 1 }→ 1 :|: z >= 0, z' = 1
and(z, z') -{ 1 }→ 1 :|: z = 1, z' >= 0
and(z, z') -{ 0 }→ 0 :|: z >= 0, z' >= 0
cond(z, z') -{ 4 + z' }→ cond(s1, 1 + (z' - 2)) :|: s'' >= 0, s'' <= 2, s1 >= 0, s1 <= 2, z = 2, z' - 2 >= 0
cond(z, z') -{ 3 + z' }→ cond(s3, 0) :|: s2 >= 0, s2 <= 2, s3 >= 0, s3 <= 2, z = 2, z' - 2 >= 0
cond(z, z') -{ 3 + z' }→ cond(s5, 1 + (z' - 2)) :|: s4 >= 0, s4 <= 2, s5 >= 0, s5 <= 2, z = 2, z' - 2 >= 0
cond(z, z') -{ 2 + z' }→ cond(s7, 0) :|: s6 >= 0, s6 <= 2, s7 >= 0, s7 <= 2, z = 2, z' - 2 >= 0
cond(z, z') -{ 5 }→ cond(1, 0) :|: z = 2, z' = 0, x >= 0, 1 = 1, 2 = x
cond(z, z') -{ 4 }→ cond(1, 0) :|: z = 2, z' = 0, x >= 0, 1 = 1, 2 = x
cond(z, z') -{ 5 }→ cond(1, 0) :|: z = 2, z' = 1 + 0, 2 = x, 1 = 1, x >= 0
cond(z, z') -{ 4 }→ cond(1, 0) :|: z = 2, z' = 1 + 0, 2 = x, 1 = 1, x >= 0
cond(z, z') -{ 4 }→ cond(1, 0) :|: z = 2, z' = 1 + 0, 0 = x, 1 = 1, x >= 0
cond(z, z') -{ 3 }→ cond(1, 0) :|: z = 2, z' = 1 + 0, 0 = x, 1 = 1, x >= 0
cond(z, z') -{ 4 }→ cond(1, 0) :|: z = 2, z' = 0, x >= 0, 1 = 1, 0 = x
cond(z, z') -{ 3 }→ cond(1, 0) :|: z = 2, z' = 0, x >= 0, 1 = 1, 0 = x
cond(z, z') -{ 4 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 2 = v0, 1 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 2 = v0, 1 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 2 = v0, 0 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 2 = v0, 0 = v1
cond(z, z') -{ 4 }→ cond(0, 0) :|: z = 2, z' = 1 + 0, v0 >= 0, v1 >= 0, 1 = v0, 2 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 1 + 0, v0 >= 0, v1 >= 0, 1 = v0, 2 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 1 + 0, v0 >= 0, v1 >= 0, 1 = v0, 0 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' = 1 + 0, v0 >= 0, v1 >= 0, 1 = v0, 0 = v1
cond(z, z') -{ 3 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 0 = v0, 1 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 0 = v0, 1 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' - 1 >= 0, v0 >= 0, v1 >= 0, 0 = v0, 2 = v1
cond(z, z') -{ 2 }→ cond(0, 0) :|: z = 2, z' = 0, v0 >= 0, v1 >= 0, 0 = v0, 0 = v1
cond(z, z') -{ 1 }→ cond(0, 0) :|: z = 2, z' >= 0, v0 >= 0, v1 >= 0, 0 = v0, 0 = v1
cond(z, z') -{ 3 }→ cond(0, z' - 1) :|: z = 2, z' - 1 >= 0, v0 >= 0, v1 >= 0, 0 = v0, 2 = v1
cond(z, z') -{ 2 }→ cond(0, z' - 1) :|: z = 2, z' - 1 >= 0, v0 >= 0, v1 >= 0, 0 = v0, 0 = v1
even(z) -{ z }→ s' :|: s' >= 0, s' <= 2, z - 2 >= 0
even(z) -{ 1 }→ 2 :|: z = 0
even(z) -{ 1 }→ 1 :|: z = 1 + 0
even(z) -{ 0 }→ 0 :|: z >= 0
gr(z, z') -{ 3 }→ s :|: s >= 0, s <= 2, z' = 1 + 1, z - 1 >= 0
gr(z, z') -{ 1 }→ 2 :|: z - 1 >= 0, z' = 0
gr(z, z') -{ 1 }→ 1 :|: z' >= 0, z = 0
gr(z, z') -{ 0 }→ 0 :|: z >= 0, z' >= 0
p(z) -{ 1 }→ 0 :|: z = 0
p(z) -{ 0 }→ 0 :|: z >= 0
p(z) -{ 1 }→ z - 1 :|: z - 1 >= 0
and: runtime: O(1) [1], size: O(1) [2] p: runtime: O(1) [1], size: O(n1) [z] gr: runtime: O(1) [2], size: O(1) [2] even: runtime: O(n1) [1 + z], size: O(1) [2] cond: runtime: O(n2) [17 + 7·z' + z'2], size: O(1) [0] |