0 CpxTRS
↳1 NestedDefinedSymbolProof (BOTH BOUNDS(ID, ID), 0 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), 14 ms)
↳12 CpxRNTS
↳13 SimplificationProof (BOTH BOUNDS(ID, ID), 0 ms)
↳14 CpxRNTS
↳15 CpxRntsAnalysisOrderProof (BOTH BOUNDS(ID, ID), 0 ms)
↳16 CpxRNTS
↳17 IntTrsBoundProof (UPPER BOUND(ID), 386 ms)
↳18 CpxRNTS
↳19 IntTrsBoundProof (UPPER BOUND(ID), 73 ms)
↳20 CpxRNTS
↳21 ResultPropagationProof (UPPER BOUND(ID), 1 ms)
↳22 CpxRNTS
↳23 IntTrsBoundProof (UPPER BOUND(ID), 365 ms)
↳24 CpxRNTS
↳25 IntTrsBoundProof (UPPER BOUND(ID), 41 ms)
↳26 CpxRNTS
↳27 ResultPropagationProof (UPPER BOUND(ID), 0 ms)
↳28 CpxRNTS
↳29 IntTrsBoundProof (UPPER BOUND(ID), 484 ms)
↳30 CpxRNTS
↳31 IntTrsBoundProof (UPPER BOUND(ID), 60 ms)
↳32 CpxRNTS
↳33 ResultPropagationProof (UPPER BOUND(ID), 0 ms)
↳34 CpxRNTS
↳35 IntTrsBoundProof (UPPER BOUND(ID), 168 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), 310 ms)
↳42 CpxRNTS
↳43 IntTrsBoundProof (UPPER BOUND(ID), 159 ms)
↳44 CpxRNTS
↳45 FinalProof (⇔, 0 ms)
↳46 BOUNDS(1, n^1)
f(x, nil) → g(nil, x)
f(x, g(y, z)) → g(f(x, y), z)
++(x, nil) → x
++(x, g(y, z)) → g(++(x, y), z)
null(nil) → true
null(g(x, y)) → false
mem(nil, y) → false
mem(g(x, y), z) → or(=(y, z), mem(x, z))
mem(x, max(x)) → not(null(x))
max(g(g(nil, x), y)) → max'(x, y)
max(g(g(g(x, y), z), u)) → max'(max(g(g(x, y), z)), u)
f(x, nil) → g(nil, x)
max(g(g(nil, x), y)) → max'(x, y)
max(g(g(g(x, y), z), u)) → max'(max(g(g(x, y), z)), u)
++(x, g(y, z)) → g(++(x, y), z)
null(nil) → true
mem(g(x, y), z) → or(=(y, z), mem(x, z))
mem(nil, y) → false
++(x, nil) → x
null(g(x, y)) → false
f(x, g(y, z)) → g(f(x, y), z)
f(x, nil) → g(nil, x) [1]
max(g(g(nil, x), y)) → max'(x, y) [1]
max(g(g(g(x, y), z), u)) → max'(max(g(g(x, y), z)), u) [1]
++(x, g(y, z)) → g(++(x, y), z) [1]
null(nil) → true [1]
mem(g(x, y), z) → or(=(y, z), mem(x, z)) [1]
mem(nil, y) → false [1]
++(x, nil) → x [1]
null(g(x, y)) → false [1]
f(x, g(y, z)) → g(f(x, y), z) [1]
f(x, nil) → g(nil, x) [1]
max(g(g(nil, x), y)) → max'(x, y) [1]
max(g(g(g(x, y), z), u)) → max'(max(g(g(x, y), z)), u) [1]
++(x, g(y, z)) → g(++(x, y), z) [1]
null(nil) → true [1]
mem(g(x, y), z) → or(=(y, z), mem(x, z)) [1]
mem(nil, y) → false [1]
++(x, nil) → x [1]
null(g(x, y)) → false [1]
f(x, g(y, z)) → g(f(x, y), z) [1]
f :: max':u → nil:g → nil:g nil :: nil:g g :: nil:g → max':u → nil:g max :: nil:g → max':u max' :: max':u → max':u → max':u u :: max':u ++ :: nil:g → nil:g → nil:g null :: nil:g → true:or:false true :: true:or:false mem :: nil:g → a → true:or:false or :: = → true:or:false → true:or:false = :: max':u → a → = false :: true:or:false |
(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:
f
max
++
null
mem
const, const1
Runtime Complexity Weighted TRS with Types. The TRS R consists of the following rules:
The TRS has the following type information:
Rewrite Strategy: INNERMOST |
Runtime Complexity Weighted TRS with Types. The TRS R consists of the following rules:
The TRS has the following type information:
Rewrite Strategy: INNERMOST |
nil => 0
u => 0
true => 1
false => 0
const => 0
const1 => 0
++(z', z'') -{ 1 }→ x :|: z'' = 0, z' = x, x >= 0
++(z', z'') -{ 1 }→ 1 + ++(x, y) + z :|: z >= 0, z' = x, x >= 0, y >= 0, z'' = 1 + y + z
f(z', z'') -{ 1 }→ 1 + f(x, y) + z :|: z >= 0, z' = x, x >= 0, y >= 0, z'' = 1 + y + z
f(z', z'') -{ 1 }→ 1 + 0 + x :|: z'' = 0, z' = x, x >= 0
max(z') -{ 1 }→ 1 + x + y :|: z' = 1 + (1 + 0 + x) + y, x >= 0, y >= 0
max(z') -{ 1 }→ 1 + max(1 + (1 + x + y) + z) + 0 :|: z' = 1 + (1 + (1 + x + y) + z) + 0, z >= 0, x >= 0, y >= 0
mem(z', z'') -{ 1 }→ 0 :|: z'' = y, y >= 0, z' = 0
mem(z', z'') -{ 1 }→ 1 + (1 + y + z) + mem(x, z) :|: z'' = z, z >= 0, z' = 1 + x + y, x >= 0, y >= 0
null(z') -{ 1 }→ 1 :|: z' = 0
null(z') -{ 1 }→ 0 :|: z' = 1 + x + y, x >= 0, y >= 0
++(z', z'') -{ 1 }→ z' :|: z'' = 0, z' >= 0
++(z', z'') -{ 1 }→ 1 + ++(z', y) + z :|: z >= 0, z' >= 0, y >= 0, z'' = 1 + y + z
f(z', z'') -{ 1 }→ 1 + f(z', y) + z :|: z >= 0, z' >= 0, y >= 0, z'' = 1 + y + z
f(z', z'') -{ 1 }→ 1 + 0 + z' :|: z'' = 0, z' >= 0
max(z') -{ 1 }→ 1 + x + y :|: z' = 1 + (1 + 0 + x) + y, x >= 0, y >= 0
max(z') -{ 1 }→ 1 + max(1 + (1 + x + y) + z) + 0 :|: z' = 1 + (1 + (1 + x + y) + z) + 0, z >= 0, x >= 0, y >= 0
mem(z', z'') -{ 1 }→ 0 :|: z'' >= 0, z' = 0
mem(z', z'') -{ 1 }→ 1 + (1 + y + z'') + mem(x, z'') :|: z'' >= 0, z' = 1 + x + y, x >= 0, y >= 0
null(z') -{ 1 }→ 1 :|: z' = 0
null(z') -{ 1 }→ 0 :|: z' = 1 + x + y, x >= 0, y >= 0
{ mem } { max } { f } { null } { ++ } |
++(z', z'') -{ 1 }→ z' :|: z'' = 0, z' >= 0
++(z', z'') -{ 1 }→ 1 + ++(z', y) + z :|: z >= 0, z' >= 0, y >= 0, z'' = 1 + y + z
f(z', z'') -{ 1 }→ 1 + f(z', y) + z :|: z >= 0, z' >= 0, y >= 0, z'' = 1 + y + z
f(z', z'') -{ 1 }→ 1 + 0 + z' :|: z'' = 0, z' >= 0
max(z') -{ 1 }→ 1 + x + y :|: z' = 1 + (1 + 0 + x) + y, x >= 0, y >= 0
max(z') -{ 1 }→ 1 + max(1 + (1 + x + y) + z) + 0 :|: z' = 1 + (1 + (1 + x + y) + z) + 0, z >= 0, x >= 0, y >= 0
mem(z', z'') -{ 1 }→ 0 :|: z'' >= 0, z' = 0
mem(z', z'') -{ 1 }→ 1 + (1 + y + z'') + mem(x, z'') :|: z'' >= 0, z' = 1 + x + y, x >= 0, y >= 0
null(z') -{ 1 }→ 1 :|: z' = 0
null(z') -{ 1 }→ 0 :|: z' = 1 + x + y, x >= 0, y >= 0
++(z', z'') -{ 1 }→ z' :|: z'' = 0, z' >= 0
++(z', z'') -{ 1 }→ 1 + ++(z', y) + z :|: z >= 0, z' >= 0, y >= 0, z'' = 1 + y + z
f(z', z'') -{ 1 }→ 1 + f(z', y) + z :|: z >= 0, z' >= 0, y >= 0, z'' = 1 + y + z
f(z', z'') -{ 1 }→ 1 + 0 + z' :|: z'' = 0, z' >= 0
max(z') -{ 1 }→ 1 + x + y :|: z' = 1 + (1 + 0 + x) + y, x >= 0, y >= 0
max(z') -{ 1 }→ 1 + max(1 + (1 + x + y) + z) + 0 :|: z' = 1 + (1 + (1 + x + y) + z) + 0, z >= 0, x >= 0, y >= 0
mem(z', z'') -{ 1 }→ 0 :|: z'' >= 0, z' = 0
mem(z', z'') -{ 1 }→ 1 + (1 + y + z'') + mem(x, z'') :|: z'' >= 0, z' = 1 + x + y, x >= 0, y >= 0
null(z') -{ 1 }→ 1 :|: z' = 0
null(z') -{ 1 }→ 0 :|: z' = 1 + x + y, x >= 0, y >= 0
mem: runtime: ?, size: O(n2) [z' + z'·z'' + z'2] |
++(z', z'') -{ 1 }→ z' :|: z'' = 0, z' >= 0
++(z', z'') -{ 1 }→ 1 + ++(z', y) + z :|: z >= 0, z' >= 0, y >= 0, z'' = 1 + y + z
f(z', z'') -{ 1 }→ 1 + f(z', y) + z :|: z >= 0, z' >= 0, y >= 0, z'' = 1 + y + z
f(z', z'') -{ 1 }→ 1 + 0 + z' :|: z'' = 0, z' >= 0
max(z') -{ 1 }→ 1 + x + y :|: z' = 1 + (1 + 0 + x) + y, x >= 0, y >= 0
max(z') -{ 1 }→ 1 + max(1 + (1 + x + y) + z) + 0 :|: z' = 1 + (1 + (1 + x + y) + z) + 0, z >= 0, x >= 0, y >= 0
mem(z', z'') -{ 1 }→ 0 :|: z'' >= 0, z' = 0
mem(z', z'') -{ 1 }→ 1 + (1 + y + z'') + mem(x, z'') :|: z'' >= 0, z' = 1 + x + y, x >= 0, y >= 0
null(z') -{ 1 }→ 1 :|: z' = 0
null(z') -{ 1 }→ 0 :|: z' = 1 + x + y, x >= 0, y >= 0
mem: runtime: O(n1) [1 + z'], size: O(n2) [z' + z'·z'' + z'2] |
++(z', z'') -{ 1 }→ z' :|: z'' = 0, z' >= 0
++(z', z'') -{ 1 }→ 1 + ++(z', y) + z :|: z >= 0, z' >= 0, y >= 0, z'' = 1 + y + z
f(z', z'') -{ 1 }→ 1 + f(z', y) + z :|: z >= 0, z' >= 0, y >= 0, z'' = 1 + y + z
f(z', z'') -{ 1 }→ 1 + 0 + z' :|: z'' = 0, z' >= 0
max(z') -{ 1 }→ 1 + x + y :|: z' = 1 + (1 + 0 + x) + y, x >= 0, y >= 0
max(z') -{ 1 }→ 1 + max(1 + (1 + x + y) + z) + 0 :|: z' = 1 + (1 + (1 + x + y) + z) + 0, z >= 0, x >= 0, y >= 0
mem(z', z'') -{ 1 }→ 0 :|: z'' >= 0, z' = 0
mem(z', z'') -{ 2 + x }→ 1 + (1 + y + z'') + s :|: s >= 0, s <= 1 * (x * x) + 1 * (x * z'') + 1 * x, z'' >= 0, z' = 1 + x + y, x >= 0, y >= 0
null(z') -{ 1 }→ 1 :|: z' = 0
null(z') -{ 1 }→ 0 :|: z' = 1 + x + y, x >= 0, y >= 0
mem: runtime: O(n1) [1 + z'], size: O(n2) [z' + z'·z'' + z'2] |
++(z', z'') -{ 1 }→ z' :|: z'' = 0, z' >= 0
++(z', z'') -{ 1 }→ 1 + ++(z', y) + z :|: z >= 0, z' >= 0, y >= 0, z'' = 1 + y + z
f(z', z'') -{ 1 }→ 1 + f(z', y) + z :|: z >= 0, z' >= 0, y >= 0, z'' = 1 + y + z
f(z', z'') -{ 1 }→ 1 + 0 + z' :|: z'' = 0, z' >= 0
max(z') -{ 1 }→ 1 + x + y :|: z' = 1 + (1 + 0 + x) + y, x >= 0, y >= 0
max(z') -{ 1 }→ 1 + max(1 + (1 + x + y) + z) + 0 :|: z' = 1 + (1 + (1 + x + y) + z) + 0, z >= 0, x >= 0, y >= 0
mem(z', z'') -{ 1 }→ 0 :|: z'' >= 0, z' = 0
mem(z', z'') -{ 2 + x }→ 1 + (1 + y + z'') + s :|: s >= 0, s <= 1 * (x * x) + 1 * (x * z'') + 1 * x, z'' >= 0, z' = 1 + x + y, x >= 0, y >= 0
null(z') -{ 1 }→ 1 :|: z' = 0
null(z') -{ 1 }→ 0 :|: z' = 1 + x + y, x >= 0, y >= 0
mem: runtime: O(n1) [1 + z'], size: O(n2) [z' + z'·z'' + z'2] max: runtime: ?, size: O(n1) [z'] |
++(z', z'') -{ 1 }→ z' :|: z'' = 0, z' >= 0
++(z', z'') -{ 1 }→ 1 + ++(z', y) + z :|: z >= 0, z' >= 0, y >= 0, z'' = 1 + y + z
f(z', z'') -{ 1 }→ 1 + f(z', y) + z :|: z >= 0, z' >= 0, y >= 0, z'' = 1 + y + z
f(z', z'') -{ 1 }→ 1 + 0 + z' :|: z'' = 0, z' >= 0
max(z') -{ 1 }→ 1 + x + y :|: z' = 1 + (1 + 0 + x) + y, x >= 0, y >= 0
max(z') -{ 1 }→ 1 + max(1 + (1 + x + y) + z) + 0 :|: z' = 1 + (1 + (1 + x + y) + z) + 0, z >= 0, x >= 0, y >= 0
mem(z', z'') -{ 1 }→ 0 :|: z'' >= 0, z' = 0
mem(z', z'') -{ 2 + x }→ 1 + (1 + y + z'') + s :|: s >= 0, s <= 1 * (x * x) + 1 * (x * z'') + 1 * x, z'' >= 0, z' = 1 + x + y, x >= 0, y >= 0
null(z') -{ 1 }→ 1 :|: z' = 0
null(z') -{ 1 }→ 0 :|: z' = 1 + x + y, x >= 0, y >= 0
mem: runtime: O(n1) [1 + z'], size: O(n2) [z' + z'·z'' + z'2] max: runtime: O(n1) [1 + z'], size: O(n1) [z'] |
++(z', z'') -{ 1 }→ z' :|: z'' = 0, z' >= 0
++(z', z'') -{ 1 }→ 1 + ++(z', y) + z :|: z >= 0, z' >= 0, y >= 0, z'' = 1 + y + z
f(z', z'') -{ 1 }→ 1 + f(z', y) + z :|: z >= 0, z' >= 0, y >= 0, z'' = 1 + y + z
f(z', z'') -{ 1 }→ 1 + 0 + z' :|: z'' = 0, z' >= 0
max(z') -{ 4 + x + y + z }→ 1 + s' + 0 :|: s' >= 0, s' <= 1 * (1 + (1 + x + y) + z), z' = 1 + (1 + (1 + x + y) + z) + 0, z >= 0, x >= 0, y >= 0
max(z') -{ 1 }→ 1 + x + y :|: z' = 1 + (1 + 0 + x) + y, x >= 0, y >= 0
mem(z', z'') -{ 1 }→ 0 :|: z'' >= 0, z' = 0
mem(z', z'') -{ 2 + x }→ 1 + (1 + y + z'') + s :|: s >= 0, s <= 1 * (x * x) + 1 * (x * z'') + 1 * x, z'' >= 0, z' = 1 + x + y, x >= 0, y >= 0
null(z') -{ 1 }→ 1 :|: z' = 0
null(z') -{ 1 }→ 0 :|: z' = 1 + x + y, x >= 0, y >= 0
mem: runtime: O(n1) [1 + z'], size: O(n2) [z' + z'·z'' + z'2] max: runtime: O(n1) [1 + z'], size: O(n1) [z'] |
++(z', z'') -{ 1 }→ z' :|: z'' = 0, z' >= 0
++(z', z'') -{ 1 }→ 1 + ++(z', y) + z :|: z >= 0, z' >= 0, y >= 0, z'' = 1 + y + z
f(z', z'') -{ 1 }→ 1 + f(z', y) + z :|: z >= 0, z' >= 0, y >= 0, z'' = 1 + y + z
f(z', z'') -{ 1 }→ 1 + 0 + z' :|: z'' = 0, z' >= 0
max(z') -{ 4 + x + y + z }→ 1 + s' + 0 :|: s' >= 0, s' <= 1 * (1 + (1 + x + y) + z), z' = 1 + (1 + (1 + x + y) + z) + 0, z >= 0, x >= 0, y >= 0
max(z') -{ 1 }→ 1 + x + y :|: z' = 1 + (1 + 0 + x) + y, x >= 0, y >= 0
mem(z', z'') -{ 1 }→ 0 :|: z'' >= 0, z' = 0
mem(z', z'') -{ 2 + x }→ 1 + (1 + y + z'') + s :|: s >= 0, s <= 1 * (x * x) + 1 * (x * z'') + 1 * x, z'' >= 0, z' = 1 + x + y, x >= 0, y >= 0
null(z') -{ 1 }→ 1 :|: z' = 0
null(z') -{ 1 }→ 0 :|: z' = 1 + x + y, x >= 0, y >= 0
mem: runtime: O(n1) [1 + z'], size: O(n2) [z' + z'·z'' + z'2] max: runtime: O(n1) [1 + z'], size: O(n1) [z'] f: runtime: ?, size: O(n1) [1 + z' + z''] |
++(z', z'') -{ 1 }→ z' :|: z'' = 0, z' >= 0
++(z', z'') -{ 1 }→ 1 + ++(z', y) + z :|: z >= 0, z' >= 0, y >= 0, z'' = 1 + y + z
f(z', z'') -{ 1 }→ 1 + f(z', y) + z :|: z >= 0, z' >= 0, y >= 0, z'' = 1 + y + z
f(z', z'') -{ 1 }→ 1 + 0 + z' :|: z'' = 0, z' >= 0
max(z') -{ 4 + x + y + z }→ 1 + s' + 0 :|: s' >= 0, s' <= 1 * (1 + (1 + x + y) + z), z' = 1 + (1 + (1 + x + y) + z) + 0, z >= 0, x >= 0, y >= 0
max(z') -{ 1 }→ 1 + x + y :|: z' = 1 + (1 + 0 + x) + y, x >= 0, y >= 0
mem(z', z'') -{ 1 }→ 0 :|: z'' >= 0, z' = 0
mem(z', z'') -{ 2 + x }→ 1 + (1 + y + z'') + s :|: s >= 0, s <= 1 * (x * x) + 1 * (x * z'') + 1 * x, z'' >= 0, z' = 1 + x + y, x >= 0, y >= 0
null(z') -{ 1 }→ 1 :|: z' = 0
null(z') -{ 1 }→ 0 :|: z' = 1 + x + y, x >= 0, y >= 0
mem: runtime: O(n1) [1 + z'], size: O(n2) [z' + z'·z'' + z'2] max: runtime: O(n1) [1 + z'], size: O(n1) [z'] f: runtime: O(n1) [1 + z''], size: O(n1) [1 + z' + z''] |
++(z', z'') -{ 1 }→ z' :|: z'' = 0, z' >= 0
++(z', z'') -{ 1 }→ 1 + ++(z', y) + z :|: z >= 0, z' >= 0, y >= 0, z'' = 1 + y + z
f(z', z'') -{ 2 + y }→ 1 + s'' + z :|: s'' >= 0, s'' <= 1 * z' + 1 * y + 1, z >= 0, z' >= 0, y >= 0, z'' = 1 + y + z
f(z', z'') -{ 1 }→ 1 + 0 + z' :|: z'' = 0, z' >= 0
max(z') -{ 4 + x + y + z }→ 1 + s' + 0 :|: s' >= 0, s' <= 1 * (1 + (1 + x + y) + z), z' = 1 + (1 + (1 + x + y) + z) + 0, z >= 0, x >= 0, y >= 0
max(z') -{ 1 }→ 1 + x + y :|: z' = 1 + (1 + 0 + x) + y, x >= 0, y >= 0
mem(z', z'') -{ 1 }→ 0 :|: z'' >= 0, z' = 0
mem(z', z'') -{ 2 + x }→ 1 + (1 + y + z'') + s :|: s >= 0, s <= 1 * (x * x) + 1 * (x * z'') + 1 * x, z'' >= 0, z' = 1 + x + y, x >= 0, y >= 0
null(z') -{ 1 }→ 1 :|: z' = 0
null(z') -{ 1 }→ 0 :|: z' = 1 + x + y, x >= 0, y >= 0
mem: runtime: O(n1) [1 + z'], size: O(n2) [z' + z'·z'' + z'2] max: runtime: O(n1) [1 + z'], size: O(n1) [z'] f: runtime: O(n1) [1 + z''], size: O(n1) [1 + z' + z''] |
++(z', z'') -{ 1 }→ z' :|: z'' = 0, z' >= 0
++(z', z'') -{ 1 }→ 1 + ++(z', y) + z :|: z >= 0, z' >= 0, y >= 0, z'' = 1 + y + z
f(z', z'') -{ 2 + y }→ 1 + s'' + z :|: s'' >= 0, s'' <= 1 * z' + 1 * y + 1, z >= 0, z' >= 0, y >= 0, z'' = 1 + y + z
f(z', z'') -{ 1 }→ 1 + 0 + z' :|: z'' = 0, z' >= 0
max(z') -{ 4 + x + y + z }→ 1 + s' + 0 :|: s' >= 0, s' <= 1 * (1 + (1 + x + y) + z), z' = 1 + (1 + (1 + x + y) + z) + 0, z >= 0, x >= 0, y >= 0
max(z') -{ 1 }→ 1 + x + y :|: z' = 1 + (1 + 0 + x) + y, x >= 0, y >= 0
mem(z', z'') -{ 1 }→ 0 :|: z'' >= 0, z' = 0
mem(z', z'') -{ 2 + x }→ 1 + (1 + y + z'') + s :|: s >= 0, s <= 1 * (x * x) + 1 * (x * z'') + 1 * x, z'' >= 0, z' = 1 + x + y, x >= 0, y >= 0
null(z') -{ 1 }→ 1 :|: z' = 0
null(z') -{ 1 }→ 0 :|: z' = 1 + x + y, x >= 0, y >= 0
mem: runtime: O(n1) [1 + z'], size: O(n2) [z' + z'·z'' + z'2] max: runtime: O(n1) [1 + z'], size: O(n1) [z'] f: runtime: O(n1) [1 + z''], size: O(n1) [1 + z' + z''] null: runtime: ?, size: O(1) [1] |
++(z', z'') -{ 1 }→ z' :|: z'' = 0, z' >= 0
++(z', z'') -{ 1 }→ 1 + ++(z', y) + z :|: z >= 0, z' >= 0, y >= 0, z'' = 1 + y + z
f(z', z'') -{ 2 + y }→ 1 + s'' + z :|: s'' >= 0, s'' <= 1 * z' + 1 * y + 1, z >= 0, z' >= 0, y >= 0, z'' = 1 + y + z
f(z', z'') -{ 1 }→ 1 + 0 + z' :|: z'' = 0, z' >= 0
max(z') -{ 4 + x + y + z }→ 1 + s' + 0 :|: s' >= 0, s' <= 1 * (1 + (1 + x + y) + z), z' = 1 + (1 + (1 + x + y) + z) + 0, z >= 0, x >= 0, y >= 0
max(z') -{ 1 }→ 1 + x + y :|: z' = 1 + (1 + 0 + x) + y, x >= 0, y >= 0
mem(z', z'') -{ 1 }→ 0 :|: z'' >= 0, z' = 0
mem(z', z'') -{ 2 + x }→ 1 + (1 + y + z'') + s :|: s >= 0, s <= 1 * (x * x) + 1 * (x * z'') + 1 * x, z'' >= 0, z' = 1 + x + y, x >= 0, y >= 0
null(z') -{ 1 }→ 1 :|: z' = 0
null(z') -{ 1 }→ 0 :|: z' = 1 + x + y, x >= 0, y >= 0
mem: runtime: O(n1) [1 + z'], size: O(n2) [z' + z'·z'' + z'2] max: runtime: O(n1) [1 + z'], size: O(n1) [z'] f: runtime: O(n1) [1 + z''], size: O(n1) [1 + z' + z''] null: runtime: O(1) [1], size: O(1) [1] |
++(z', z'') -{ 1 }→ z' :|: z'' = 0, z' >= 0
++(z', z'') -{ 1 }→ 1 + ++(z', y) + z :|: z >= 0, z' >= 0, y >= 0, z'' = 1 + y + z
f(z', z'') -{ 2 + y }→ 1 + s'' + z :|: s'' >= 0, s'' <= 1 * z' + 1 * y + 1, z >= 0, z' >= 0, y >= 0, z'' = 1 + y + z
f(z', z'') -{ 1 }→ 1 + 0 + z' :|: z'' = 0, z' >= 0
max(z') -{ 4 + x + y + z }→ 1 + s' + 0 :|: s' >= 0, s' <= 1 * (1 + (1 + x + y) + z), z' = 1 + (1 + (1 + x + y) + z) + 0, z >= 0, x >= 0, y >= 0
max(z') -{ 1 }→ 1 + x + y :|: z' = 1 + (1 + 0 + x) + y, x >= 0, y >= 0
mem(z', z'') -{ 1 }→ 0 :|: z'' >= 0, z' = 0
mem(z', z'') -{ 2 + x }→ 1 + (1 + y + z'') + s :|: s >= 0, s <= 1 * (x * x) + 1 * (x * z'') + 1 * x, z'' >= 0, z' = 1 + x + y, x >= 0, y >= 0
null(z') -{ 1 }→ 1 :|: z' = 0
null(z') -{ 1 }→ 0 :|: z' = 1 + x + y, x >= 0, y >= 0
mem: runtime: O(n1) [1 + z'], size: O(n2) [z' + z'·z'' + z'2] max: runtime: O(n1) [1 + z'], size: O(n1) [z'] f: runtime: O(n1) [1 + z''], size: O(n1) [1 + z' + z''] null: runtime: O(1) [1], size: O(1) [1] |
++(z', z'') -{ 1 }→ z' :|: z'' = 0, z' >= 0
++(z', z'') -{ 1 }→ 1 + ++(z', y) + z :|: z >= 0, z' >= 0, y >= 0, z'' = 1 + y + z
f(z', z'') -{ 2 + y }→ 1 + s'' + z :|: s'' >= 0, s'' <= 1 * z' + 1 * y + 1, z >= 0, z' >= 0, y >= 0, z'' = 1 + y + z
f(z', z'') -{ 1 }→ 1 + 0 + z' :|: z'' = 0, z' >= 0
max(z') -{ 4 + x + y + z }→ 1 + s' + 0 :|: s' >= 0, s' <= 1 * (1 + (1 + x + y) + z), z' = 1 + (1 + (1 + x + y) + z) + 0, z >= 0, x >= 0, y >= 0
max(z') -{ 1 }→ 1 + x + y :|: z' = 1 + (1 + 0 + x) + y, x >= 0, y >= 0
mem(z', z'') -{ 1 }→ 0 :|: z'' >= 0, z' = 0
mem(z', z'') -{ 2 + x }→ 1 + (1 + y + z'') + s :|: s >= 0, s <= 1 * (x * x) + 1 * (x * z'') + 1 * x, z'' >= 0, z' = 1 + x + y, x >= 0, y >= 0
null(z') -{ 1 }→ 1 :|: z' = 0
null(z') -{ 1 }→ 0 :|: z' = 1 + x + y, x >= 0, y >= 0
mem: runtime: O(n1) [1 + z'], size: O(n2) [z' + z'·z'' + z'2] max: runtime: O(n1) [1 + z'], size: O(n1) [z'] f: runtime: O(n1) [1 + z''], size: O(n1) [1 + z' + z''] null: runtime: O(1) [1], size: O(1) [1] ++: runtime: ?, size: O(n1) [z' + z''] |
++(z', z'') -{ 1 }→ z' :|: z'' = 0, z' >= 0
++(z', z'') -{ 1 }→ 1 + ++(z', y) + z :|: z >= 0, z' >= 0, y >= 0, z'' = 1 + y + z
f(z', z'') -{ 2 + y }→ 1 + s'' + z :|: s'' >= 0, s'' <= 1 * z' + 1 * y + 1, z >= 0, z' >= 0, y >= 0, z'' = 1 + y + z
f(z', z'') -{ 1 }→ 1 + 0 + z' :|: z'' = 0, z' >= 0
max(z') -{ 4 + x + y + z }→ 1 + s' + 0 :|: s' >= 0, s' <= 1 * (1 + (1 + x + y) + z), z' = 1 + (1 + (1 + x + y) + z) + 0, z >= 0, x >= 0, y >= 0
max(z') -{ 1 }→ 1 + x + y :|: z' = 1 + (1 + 0 + x) + y, x >= 0, y >= 0
mem(z', z'') -{ 1 }→ 0 :|: z'' >= 0, z' = 0
mem(z', z'') -{ 2 + x }→ 1 + (1 + y + z'') + s :|: s >= 0, s <= 1 * (x * x) + 1 * (x * z'') + 1 * x, z'' >= 0, z' = 1 + x + y, x >= 0, y >= 0
null(z') -{ 1 }→ 1 :|: z' = 0
null(z') -{ 1 }→ 0 :|: z' = 1 + x + y, x >= 0, y >= 0
mem: runtime: O(n1) [1 + z'], size: O(n2) [z' + z'·z'' + z'2] max: runtime: O(n1) [1 + z'], size: O(n1) [z'] f: runtime: O(n1) [1 + z''], size: O(n1) [1 + z' + z''] null: runtime: O(1) [1], size: O(1) [1] ++: runtime: O(n1) [1 + z''], size: O(n1) [z' + z''] |