1020.63/291.49 WORST_CASE(Omega(n^1), O(n^2)) 1020.63/291.50 proof of /export/starexec/sandbox/benchmark/theBenchmark.xml 1020.63/291.50 # AProVE Commit ID: 48fb2092695e11cc9f56e44b17a92a5f88ffb256 marcel 20180622 unpublished dirty 1020.63/291.50 1020.63/291.50 1020.63/291.50 The Runtime Complexity (full) of the given CpxTRS could be proven to be BOUNDS(n^1, n^2). 1020.63/291.50 1020.63/291.50 (0) CpxTRS 1020.63/291.50 (1) RcToIrcProof [BOTH BOUNDS(ID, ID), 0 ms] 1020.63/291.50 (2) CpxTRS 1020.63/291.50 (3) RelTrsToWeightedTrsProof [BOTH BOUNDS(ID, ID), 0 ms] 1020.63/291.50 (4) CpxWeightedTrs 1020.63/291.50 (5) TypeInferenceProof [BOTH BOUNDS(ID, ID), 0 ms] 1020.63/291.50 (6) CpxTypedWeightedTrs 1020.63/291.50 (7) CompletionProof [UPPER BOUND(ID), 0 ms] 1020.63/291.50 (8) CpxTypedWeightedCompleteTrs 1020.63/291.50 (9) CpxTypedWeightedTrsToRntsProof [UPPER BOUND(ID), 0 ms] 1020.63/291.50 (10) CpxRNTS 1020.63/291.50 (11) CompleteCoflocoProof [FINISHED, 1264 ms] 1020.63/291.50 (12) BOUNDS(1, n^2) 1020.63/291.50 (13) RenamingProof [BOTH BOUNDS(ID, ID), 0 ms] 1020.63/291.50 (14) CpxTRS 1020.63/291.50 (15) TypeInferenceProof [BOTH BOUNDS(ID, ID), 0 ms] 1020.63/291.50 (16) typed CpxTrs 1020.63/291.50 (17) OrderProof [LOWER BOUND(ID), 0 ms] 1020.63/291.50 (18) typed CpxTrs 1020.63/291.50 (19) RewriteLemmaProof [LOWER BOUND(ID), 292 ms] 1020.63/291.50 (20) BEST 1020.63/291.50 (21) proven lower bound 1020.63/291.50 (22) LowerBoundPropagationProof [FINISHED, 0 ms] 1020.63/291.50 (23) BOUNDS(n^1, INF) 1020.63/291.50 (24) typed CpxTrs 1020.63/291.50 (25) RewriteLemmaProof [LOWER BOUND(ID), 63 ms] 1020.63/291.50 (26) typed CpxTrs 1020.63/291.50 1020.63/291.50 1020.63/291.50 ---------------------------------------- 1020.63/291.50 1020.63/291.50 (0) 1020.63/291.50 Obligation: 1020.63/291.50 The Runtime Complexity (full) of the given CpxTRS could be proven to be BOUNDS(n^1, n^2). 1020.63/291.50 1020.63/291.50 1020.63/291.50 The TRS R consists of the following rules: 1020.63/291.50 1020.63/291.50 f(true, x, y, z) -> f(gt(x, plus(y, z)), x, s(y), z) 1020.63/291.50 f(true, x, y, z) -> f(gt(x, plus(y, z)), x, y, s(z)) 1020.63/291.50 plus(n, 0) -> n 1020.63/291.50 plus(n, s(m)) -> s(plus(n, m)) 1020.63/291.50 gt(0, v) -> false 1020.63/291.50 gt(s(u), 0) -> true 1020.63/291.50 gt(s(u), s(v)) -> gt(u, v) 1020.63/291.50 1020.63/291.50 S is empty. 1020.63/291.50 Rewrite Strategy: FULL 1020.63/291.50 ---------------------------------------- 1020.63/291.50 1020.63/291.50 (1) RcToIrcProof (BOTH BOUNDS(ID, ID)) 1020.63/291.50 Converted rc-obligation to irc-obligation. 1020.63/291.50 1020.63/291.50 The duplicating contexts are: 1020.63/291.50 f(true, [], y, z) 1020.63/291.50 f(true, x, [], z) 1020.63/291.50 f(true, x, y, []) 1020.63/291.50 1020.63/291.50 1020.63/291.50 The defined contexts are: 1020.63/291.50 f([], x1, x2, s(x3)) 1020.63/291.50 gt(x0, []) 1020.63/291.50 f([], x1, s(x2), x3) 1020.63/291.50 1020.63/291.50 1020.63/291.50 As the TRS is an overlay system and the defined contexts and the duplicating contexts don't overlap, we have rc = irc. 1020.63/291.50 ---------------------------------------- 1020.63/291.50 1020.63/291.50 (2) 1020.63/291.50 Obligation: 1020.63/291.50 The Runtime Complexity (innermost) of the given CpxTRS could be proven to be BOUNDS(1, n^2). 1020.63/291.50 1020.63/291.50 1020.63/291.50 The TRS R consists of the following rules: 1020.63/291.50 1020.63/291.50 f(true, x, y, z) -> f(gt(x, plus(y, z)), x, s(y), z) 1020.63/291.50 f(true, x, y, z) -> f(gt(x, plus(y, z)), x, y, s(z)) 1020.63/291.50 plus(n, 0) -> n 1020.63/291.50 plus(n, s(m)) -> s(plus(n, m)) 1020.63/291.50 gt(0, v) -> false 1020.63/291.50 gt(s(u), 0) -> true 1020.63/291.50 gt(s(u), s(v)) -> gt(u, v) 1020.63/291.50 1020.63/291.50 S is empty. 1020.63/291.50 Rewrite Strategy: INNERMOST 1020.63/291.50 ---------------------------------------- 1020.63/291.50 1020.63/291.50 (3) RelTrsToWeightedTrsProof (BOTH BOUNDS(ID, ID)) 1020.63/291.50 Transformed relative TRS to weighted TRS 1020.63/291.50 ---------------------------------------- 1020.63/291.50 1020.63/291.50 (4) 1020.63/291.50 Obligation: 1020.63/291.50 The Runtime Complexity (innermost) of the given CpxWeightedTrs could be proven to be BOUNDS(1, n^2). 1020.63/291.50 1020.63/291.50 1020.63/291.50 The TRS R consists of the following rules: 1020.63/291.50 1020.63/291.50 f(true, x, y, z) -> f(gt(x, plus(y, z)), x, s(y), z) [1] 1020.63/291.50 f(true, x, y, z) -> f(gt(x, plus(y, z)), x, y, s(z)) [1] 1020.63/291.50 plus(n, 0) -> n [1] 1020.63/291.50 plus(n, s(m)) -> s(plus(n, m)) [1] 1020.63/291.50 gt(0, v) -> false [1] 1020.63/291.50 gt(s(u), 0) -> true [1] 1020.63/291.50 gt(s(u), s(v)) -> gt(u, v) [1] 1020.63/291.50 1020.63/291.50 Rewrite Strategy: INNERMOST 1020.63/291.50 ---------------------------------------- 1020.63/291.50 1020.63/291.50 (5) TypeInferenceProof (BOTH BOUNDS(ID, ID)) 1020.63/291.50 Infered types. 1020.63/291.50 ---------------------------------------- 1020.63/291.50 1020.63/291.50 (6) 1020.63/291.50 Obligation: 1020.63/291.50 Runtime Complexity Weighted TRS with Types. 1020.63/291.50 The TRS R consists of the following rules: 1020.63/291.50 1020.63/291.50 f(true, x, y, z) -> f(gt(x, plus(y, z)), x, s(y), z) [1] 1020.63/291.50 f(true, x, y, z) -> f(gt(x, plus(y, z)), x, y, s(z)) [1] 1020.63/291.50 plus(n, 0) -> n [1] 1020.63/291.50 plus(n, s(m)) -> s(plus(n, m)) [1] 1020.63/291.50 gt(0, v) -> false [1] 1020.63/291.50 gt(s(u), 0) -> true [1] 1020.63/291.50 gt(s(u), s(v)) -> gt(u, v) [1] 1020.63/291.50 1020.63/291.50 The TRS has the following type information: 1020.63/291.50 f :: true:false -> s:0 -> s:0 -> s:0 -> f 1020.63/291.50 true :: true:false 1020.63/291.50 gt :: s:0 -> s:0 -> true:false 1020.63/291.50 plus :: s:0 -> s:0 -> s:0 1020.63/291.50 s :: s:0 -> s:0 1020.63/291.50 0 :: s:0 1020.63/291.50 false :: true:false 1020.63/291.50 1020.63/291.50 Rewrite Strategy: INNERMOST 1020.63/291.50 ---------------------------------------- 1020.63/291.50 1020.63/291.50 (7) CompletionProof (UPPER BOUND(ID)) 1020.63/291.50 The TRS is a completely defined constructor system, as every type has a constant constructor and the following rules were added: 1020.63/291.50 1020.63/291.50 f(v0, v1, v2, v3) -> null_f [0] 1020.63/291.50 1020.63/291.50 And the following fresh constants: null_f 1020.63/291.50 1020.63/291.50 ---------------------------------------- 1020.63/291.50 1020.63/291.50 (8) 1020.63/291.50 Obligation: 1020.63/291.50 Runtime Complexity Weighted TRS where all functions are completely defined. The underlying TRS is: 1020.63/291.50 1020.63/291.50 Runtime Complexity Weighted TRS with Types. 1020.63/291.50 The TRS R consists of the following rules: 1020.63/291.50 1020.63/291.50 f(true, x, y, z) -> f(gt(x, plus(y, z)), x, s(y), z) [1] 1020.63/291.50 f(true, x, y, z) -> f(gt(x, plus(y, z)), x, y, s(z)) [1] 1020.63/291.50 plus(n, 0) -> n [1] 1020.63/291.50 plus(n, s(m)) -> s(plus(n, m)) [1] 1020.63/291.50 gt(0, v) -> false [1] 1020.63/291.50 gt(s(u), 0) -> true [1] 1020.63/291.50 gt(s(u), s(v)) -> gt(u, v) [1] 1020.63/291.50 f(v0, v1, v2, v3) -> null_f [0] 1020.63/291.50 1020.63/291.50 The TRS has the following type information: 1020.63/291.50 f :: true:false -> s:0 -> s:0 -> s:0 -> null_f 1020.63/291.50 true :: true:false 1020.63/291.50 gt :: s:0 -> s:0 -> true:false 1020.63/291.50 plus :: s:0 -> s:0 -> s:0 1020.63/291.50 s :: s:0 -> s:0 1020.63/291.50 0 :: s:0 1020.63/291.50 false :: true:false 1020.63/291.50 null_f :: null_f 1020.63/291.50 1020.63/291.50 Rewrite Strategy: INNERMOST 1020.63/291.50 ---------------------------------------- 1020.63/291.50 1020.63/291.50 (9) CpxTypedWeightedTrsToRntsProof (UPPER BOUND(ID)) 1020.63/291.50 Transformed the TRS into an over-approximating RNTS by (improved) Size Abstraction. 1020.63/291.50 The constant constructors are abstracted as follows: 1020.63/291.50 1020.63/291.50 true => 1 1020.63/291.50 0 => 0 1020.63/291.50 false => 0 1020.63/291.50 null_f => 0 1020.63/291.50 1020.63/291.50 ---------------------------------------- 1020.63/291.50 1020.63/291.50 (10) 1020.63/291.50 Obligation: 1020.63/291.50 Complexity RNTS consisting of the following rules: 1020.63/291.50 1020.63/291.50 f(z', z'', z1, z2) -{ 1 }-> f(gt(x, plus(y, z)), x, y, 1 + z) :|: z1 = y, z >= 0, z2 = z, x >= 0, y >= 0, z'' = x, z' = 1 1020.63/291.50 f(z', z'', z1, z2) -{ 1 }-> f(gt(x, plus(y, z)), x, 1 + y, z) :|: z1 = y, z >= 0, z2 = z, x >= 0, y >= 0, z'' = x, z' = 1 1020.63/291.50 f(z', z'', z1, z2) -{ 0 }-> 0 :|: z2 = v3, v0 >= 0, z1 = v2, v1 >= 0, z'' = v1, v2 >= 0, v3 >= 0, z' = v0 1020.63/291.50 gt(z', z'') -{ 1 }-> gt(u, v) :|: v >= 0, z' = 1 + u, z'' = 1 + v, u >= 0 1020.63/291.50 gt(z', z'') -{ 1 }-> 1 :|: z'' = 0, z' = 1 + u, u >= 0 1020.63/291.50 gt(z', z'') -{ 1 }-> 0 :|: z'' = v, v >= 0, z' = 0 1020.63/291.50 plus(z', z'') -{ 1 }-> n :|: z'' = 0, n >= 0, z' = n 1020.63/291.50 plus(z', z'') -{ 1 }-> 1 + plus(n, m) :|: n >= 0, z'' = 1 + m, z' = n, m >= 0 1020.63/291.50 1020.63/291.50 Only complete derivations are relevant for the runtime complexity. 1020.63/291.50 1020.63/291.50 ---------------------------------------- 1020.63/291.50 1020.63/291.50 (11) CompleteCoflocoProof (FINISHED) 1020.63/291.50 Transformed the RNTS (where only complete derivations are relevant) into cost relations for CoFloCo: 1020.63/291.50 1020.63/291.50 eq(start(V, V1, V6, V2),0,[f(V, V1, V6, V2, Out)],[V >= 0,V1 >= 0,V6 >= 0,V2 >= 0]). 1020.63/291.50 eq(start(V, V1, V6, V2),0,[plus(V, V1, Out)],[V >= 0,V1 >= 0]). 1020.63/291.50 eq(start(V, V1, V6, V2),0,[gt(V, V1, Out)],[V >= 0,V1 >= 0]). 1020.63/291.50 eq(f(V, V1, V6, V2, Out),1,[plus(V3, V5, Ret01),gt(V4, Ret01, Ret0),f(Ret0, V4, 1 + V3, V5, Ret)],[Out = Ret,V6 = V3,V5 >= 0,V2 = V5,V4 >= 0,V3 >= 0,V1 = V4,V = 1]). 1020.63/291.50 eq(f(V, V1, V6, V2, Out),1,[plus(V9, V8, Ret011),gt(V7, Ret011, Ret02),f(Ret02, V7, V9, 1 + V8, Ret1)],[Out = Ret1,V6 = V9,V8 >= 0,V2 = V8,V7 >= 0,V9 >= 0,V1 = V7,V = 1]). 1020.63/291.50 eq(plus(V, V1, Out),1,[],[Out = V10,V1 = 0,V10 >= 0,V = V10]). 1020.63/291.50 eq(plus(V, V1, Out),1,[plus(V11, V12, Ret11)],[Out = 1 + Ret11,V11 >= 0,V1 = 1 + V12,V = V11,V12 >= 0]). 1020.63/291.50 eq(gt(V, V1, Out),1,[],[Out = 0,V1 = V13,V13 >= 0,V = 0]). 1020.63/291.50 eq(gt(V, V1, Out),1,[],[Out = 1,V1 = 0,V = 1 + V14,V14 >= 0]). 1020.63/291.50 eq(gt(V, V1, Out),1,[gt(V15, V16, Ret2)],[Out = Ret2,V16 >= 0,V = 1 + V15,V1 = 1 + V16,V15 >= 0]). 1020.63/291.50 eq(f(V, V1, V6, V2, Out),0,[],[Out = 0,V2 = V19,V18 >= 0,V6 = V20,V17 >= 0,V1 = V17,V20 >= 0,V19 >= 0,V = V18]). 1020.63/291.50 input_output_vars(f(V,V1,V6,V2,Out),[V,V1,V6,V2],[Out]). 1020.63/291.50 input_output_vars(plus(V,V1,Out),[V,V1],[Out]). 1020.63/291.50 input_output_vars(gt(V,V1,Out),[V,V1],[Out]). 1020.63/291.50 1020.63/291.50 1020.63/291.50 CoFloCo proof output: 1020.63/291.50 Preprocessing Cost Relations 1020.63/291.50 ===================================== 1020.63/291.50 1020.63/291.50 #### Computed strongly connected components 1020.63/291.50 0. recursive : [gt/3] 1020.63/291.50 1. recursive : [plus/3] 1020.63/291.50 2. recursive : [f/5] 1020.63/291.50 3. non_recursive : [start/4] 1020.63/291.50 1020.63/291.50 #### Obtained direct recursion through partial evaluation 1020.63/291.50 0. SCC is partially evaluated into gt/3 1020.63/291.50 1. SCC is partially evaluated into plus/3 1020.63/291.50 2. SCC is partially evaluated into f/5 1020.63/291.50 3. SCC is partially evaluated into start/4 1020.63/291.50 1020.63/291.50 Control-Flow Refinement of Cost Relations 1020.63/291.50 ===================================== 1020.63/291.50 1020.63/291.50 ### Specialization of cost equations gt/3 1020.63/291.50 * CE 11 is refined into CE [12] 1020.63/291.50 * CE 10 is refined into CE [13] 1020.63/291.50 * CE 9 is refined into CE [14] 1020.63/291.50 1020.63/291.50 1020.63/291.50 ### Cost equations --> "Loop" of gt/3 1020.63/291.50 * CEs [13] --> Loop 10 1020.63/291.50 * CEs [14] --> Loop 11 1020.63/291.50 * CEs [12] --> Loop 12 1020.63/291.50 1020.63/291.50 ### Ranking functions of CR gt(V,V1,Out) 1020.63/291.50 * RF of phase [12]: [V,V1] 1020.63/291.50 1020.63/291.50 #### Partial ranking functions of CR gt(V,V1,Out) 1020.63/291.50 * Partial RF of phase [12]: 1020.63/291.50 - RF of loop [12:1]: 1020.63/291.50 V 1020.63/291.50 V1 1020.63/291.50 1020.63/291.50 1020.63/291.50 ### Specialization of cost equations plus/3 1020.63/291.50 * CE 8 is refined into CE [15] 1020.63/291.50 * CE 7 is refined into CE [16] 1020.63/291.50 1020.63/291.50 1020.63/291.50 ### Cost equations --> "Loop" of plus/3 1020.63/291.50 * CEs [16] --> Loop 13 1020.63/291.50 * CEs [15] --> Loop 14 1020.63/291.50 1020.63/291.50 ### Ranking functions of CR plus(V,V1,Out) 1020.63/291.50 * RF of phase [14]: [V1] 1020.63/291.50 1020.63/291.50 #### Partial ranking functions of CR plus(V,V1,Out) 1020.63/291.50 * Partial RF of phase [14]: 1020.63/291.50 - RF of loop [14:1]: 1020.63/291.50 V1 1020.63/291.50 1020.63/291.50 1020.63/291.50 ### Specialization of cost equations f/5 1020.63/291.50 * CE 6 is refined into CE [17] 1020.63/291.50 * CE 5 is refined into CE [18,19,20,21,22,23,24] 1020.63/291.50 * CE 4 is refined into CE [25,26,27,28,29,30,31] 1020.63/291.50 1020.63/291.50 1020.63/291.50 ### Cost equations --> "Loop" of f/5 1020.63/291.50 * CEs [24] --> Loop 15 1020.63/291.50 * CEs [31] --> Loop 16 1020.63/291.50 * CEs [23] --> Loop 17 1020.63/291.50 * CEs [30] --> Loop 18 1020.63/291.50 * CEs [21] --> Loop 19 1020.63/291.50 * CEs [28] --> Loop 20 1020.63/291.50 * CEs [20] --> Loop 21 1020.63/291.50 * CEs [27] --> Loop 22 1020.63/291.50 * CEs [26] --> Loop 23 1020.63/291.50 * CEs [19] --> Loop 24 1020.63/291.50 * CEs [22] --> Loop 25 1020.63/291.50 * CEs [29] --> Loop 26 1020.63/291.50 * CEs [18] --> Loop 27 1020.63/291.50 * CEs [25] --> Loop 28 1020.63/291.50 * CEs [17] --> Loop 29 1020.63/291.50 1020.63/291.50 ### Ranking functions of CR f(V,V1,V6,V2,Out) 1020.63/291.50 * RF of phase [15,16]: [V1-V6-V2] 1020.63/291.50 * RF of phase [20]: [V1-V6] 1020.63/291.50 1020.63/291.50 #### Partial ranking functions of CR f(V,V1,V6,V2,Out) 1020.63/291.50 * Partial RF of phase [15,16]: 1020.63/291.50 - RF of loop [15:1]: 1020.63/291.50 V1-V2 1020.63/291.50 - RF of loop [15:1,16:1]: 1020.63/291.50 V1-V6-V2 1020.63/291.50 - RF of loop [16:1]: 1020.63/291.50 V1-V6-1 1020.63/291.50 * Partial RF of phase [20]: 1020.63/291.50 - RF of loop [20:1]: 1020.63/291.50 V1-V6 1020.63/291.50 1020.63/291.50 1020.63/291.50 ### Specialization of cost equations start/4 1020.63/291.50 * CE 1 is refined into CE [32,33,34,35,36,37,38,39] 1020.63/291.50 * CE 2 is refined into CE [40,41] 1020.63/291.50 * CE 3 is refined into CE [42,43,44,45] 1020.63/291.50 1020.63/291.50 1020.63/291.50 ### Cost equations --> "Loop" of start/4 1020.63/291.50 * CEs [39] --> Loop 30 1020.63/291.50 * CEs [38] --> Loop 31 1020.63/291.50 * CEs [36] --> Loop 32 1020.63/291.50 * CEs [37,41,44,45] --> Loop 33 1020.63/291.50 * CEs [32,34,35] --> Loop 34 1020.63/291.50 * CEs [33,40,43] --> Loop 35 1020.63/291.50 * CEs [42] --> Loop 36 1020.63/291.50 1020.63/291.50 ### Ranking functions of CR start(V,V1,V6,V2) 1020.63/291.50 1020.63/291.50 #### Partial ranking functions of CR start(V,V1,V6,V2) 1020.63/291.50 1020.63/291.50 1020.63/291.50 Computing Bounds 1020.63/291.50 ===================================== 1020.63/291.50 1020.63/291.50 #### Cost of chains of gt(V,V1,Out): 1020.63/291.50 * Chain [[12],11]: 1*it(12)+1 1020.63/291.50 Such that:it(12) =< V 1020.63/291.50 1020.63/291.50 with precondition: [Out=0,V>=1,V1>=V] 1020.63/291.50 1020.63/291.50 * Chain [[12],10]: 1*it(12)+1 1020.63/291.50 Such that:it(12) =< V1 1020.63/291.50 1020.63/291.50 with precondition: [Out=1,V1>=1,V>=V1+1] 1020.63/291.50 1020.63/291.50 * Chain [11]: 1 1020.63/291.50 with precondition: [V=0,Out=0,V1>=0] 1020.63/291.50 1020.63/291.50 * Chain [10]: 1 1020.63/291.50 with precondition: [V1=0,Out=1,V>=1] 1020.63/291.50 1020.63/291.50 1020.63/291.50 #### Cost of chains of plus(V,V1,Out): 1020.63/291.50 * Chain [[14],13]: 1*it(14)+1 1020.63/291.50 Such that:it(14) =< V1 1020.63/291.50 1020.63/291.50 with precondition: [V+V1=Out,V>=0,V1>=1] 1020.63/291.50 1020.63/291.50 * Chain [13]: 1 1020.63/291.50 with precondition: [V1=0,V=Out,V>=0] 1020.63/291.50 1020.63/291.50 1020.63/291.50 #### Cost of chains of f(V,V1,V6,V2,Out): 1020.63/291.50 * Chain [[20],29]: 3*it(20)+1*s(3)+0 1020.63/291.50 Such that:aux(1) =< V1 1020.63/291.50 it(20) =< V1-V6 1020.63/291.50 s(3) =< it(20)*aux(1) 1020.63/291.50 1020.63/291.50 with precondition: [V=1,V2=0,Out=0,V6>=1,V1>=V6+1] 1020.63/291.50 1020.63/291.50 * Chain [[20],22,29]: 3*it(20)+1*s(3)+1*s(4)+3 1020.63/291.50 Such that:it(20) =< V1-V6 1020.63/291.50 aux(2) =< V1 1020.63/291.50 s(4) =< aux(2) 1020.63/291.50 s(3) =< it(20)*aux(2) 1020.63/291.50 1020.63/291.50 with precondition: [V=1,V2=0,Out=0,V6>=1,V1>=V6+1] 1020.63/291.50 1020.63/291.50 * Chain [[20],21,29]: 3*it(20)+1*s(3)+1*s(5)+3 1020.63/291.50 Such that:it(20) =< V1-V6 1020.63/291.50 aux(3) =< V1 1020.63/291.50 s(5) =< aux(3) 1020.63/291.50 s(3) =< it(20)*aux(3) 1020.63/291.50 1020.63/291.50 with precondition: [V=1,V2=0,Out=0,V6>=1,V1>=V6+1] 1020.63/291.50 1020.63/291.50 * Chain [[20],19,[15,16],29]: 7*it(15)+3*it(20)+1*s(3)+2*s(14)+1*s(16)+1*s(17)+3 1020.63/291.50 Such that:it(20) =< V1-V6 1020.63/291.50 aux(13) =< V1 1020.63/291.50 it(15) =< aux(13) 1020.63/291.50 aux(7) =< aux(13)-1 1020.63/291.50 aux(6) =< aux(13) 1020.63/291.50 s(14) =< it(15)*aux(13) 1020.63/291.50 s(16) =< it(15)*aux(7) 1020.63/291.50 s(17) =< it(15)*aux(6) 1020.63/291.50 s(3) =< it(20)*aux(13) 1020.63/291.50 1020.63/291.50 with precondition: [V=1,V2=0,Out=0,V6>=1,V1>=V6+3] 1020.63/291.50 1020.63/291.50 * Chain [[20],19,[15,16],18,29]: 9*it(15)+3*it(20)+1*s(3)+2*s(14)+1*s(16)+1*s(17)+6 1020.63/291.50 Such that:it(20) =< V1-V6 1020.63/291.50 aux(18) =< V1 1020.63/291.50 it(15) =< aux(18) 1020.63/291.50 aux(7) =< aux(18)-1 1020.63/291.50 aux(6) =< aux(18) 1020.63/291.50 s(14) =< it(15)*aux(18) 1020.63/291.50 s(16) =< it(15)*aux(7) 1020.63/291.50 s(17) =< it(15)*aux(6) 1020.63/291.50 s(3) =< it(20)*aux(18) 1020.63/291.50 1020.63/291.50 with precondition: [V=1,V2=0,Out=0,V6>=1,V1>=V6+3] 1020.63/291.50 1020.63/291.50 * Chain [[20],19,[15,16],17,29]: 5*it(15)+3*it(16)+3*it(20)+1*s(3)+2*s(14)+1*s(16)+1*s(17)+1*s(21)+6 1020.63/291.50 Such that:aux(20) =< V1+1 1020.63/291.50 it(20) =< V1-V6+1 1020.63/291.50 aux(23) =< V1 1020.63/291.50 it(15) =< aux(23) 1020.63/291.50 it(16) =< aux(20) 1020.63/291.50 s(21) =< aux(20) 1020.63/291.50 it(16) =< aux(23) 1020.63/291.50 aux(7) =< aux(23)-1 1020.63/291.50 aux(6) =< aux(23) 1020.63/291.50 s(14) =< it(15)*aux(23) 1020.63/291.50 s(16) =< it(16)*aux(7) 1020.63/291.50 s(17) =< it(16)*aux(6) 1020.63/291.50 s(3) =< it(20)*aux(23) 1020.63/291.50 1020.63/291.50 with precondition: [V=1,V2=0,Out=0,V6>=1,V1>=V6+3] 1020.63/291.50 1020.63/291.50 * Chain [[20],19,29]: 3*it(20)+1*s(3)+1*s(18)+3 1020.63/291.50 Such that:it(20) =< V1-V6 1020.63/291.50 aux(24) =< V1 1020.63/291.50 s(18) =< aux(24) 1020.63/291.50 s(3) =< it(20)*aux(24) 1020.63/291.50 1020.63/291.50 with precondition: [V=1,V2=0,Out=0,V6>=1,V1>=V6+2] 1020.63/291.50 1020.63/291.50 * Chain [[20],19,18,29]: 3*it(20)+1*s(3)+2*s(18)+1*s(19)+6 1020.63/291.50 Such that:s(19) =< 1 1020.63/291.50 it(20) =< V1-V6 1020.63/291.50 aux(25) =< V1 1020.63/291.50 s(18) =< aux(25) 1020.63/291.50 s(3) =< it(20)*aux(25) 1020.63/291.50 1020.63/291.50 with precondition: [V=1,V2=0,Out=0,V6>=1,V1>=V6+2] 1020.63/291.50 1020.63/291.50 * Chain [[20],19,17,29]: 3*it(20)+1*s(3)+2*s(18)+1*s(21)+6 1020.63/291.50 Such that:s(21) =< 2 1020.63/291.50 it(20) =< V1-V6 1020.63/291.50 aux(26) =< V1 1020.63/291.50 s(18) =< aux(26) 1020.63/291.50 s(3) =< it(20)*aux(26) 1020.63/291.50 1020.63/291.50 with precondition: [V=1,V2=0,Out=0,V6>=1,V1>=V6+2] 1020.63/291.50 1020.63/291.50 * Chain [[15,16],29]: 3*it(15)+3*it(16)+1*s(14)+1*s(15)+1*s(16)+1*s(17)+0 1020.63/291.50 Such that:aux(4) =< V1 1020.63/291.50 aux(8) =< V1-V6 1020.63/291.50 aux(11) =< V1-V6-V2 1020.63/291.50 it(15) =< aux(11) 1020.63/291.50 it(16) =< aux(11) 1020.63/291.50 it(16) =< aux(8) 1020.63/291.50 aux(7) =< aux(8)-1 1020.63/291.50 aux(6) =< aux(4) 1020.63/291.50 s(14) =< it(15)*aux(8) 1020.63/291.50 s(15) =< it(15)*aux(4) 1020.63/291.50 s(16) =< it(16)*aux(7) 1020.63/291.50 s(17) =< it(16)*aux(6) 1020.63/291.50 1020.63/291.50 with precondition: [V=1,Out=0,V6>=0,V2>=1,V1>=V2+V6+1] 1020.63/291.50 1020.63/291.50 * Chain [[15,16],18,29]: 3*it(15)+3*it(16)+1*s(14)+1*s(15)+1*s(16)+1*s(17)+1*s(19)+1*s(20)+3 1020.63/291.50 Such that:aux(14) =< V1 1020.63/291.50 aux(15) =< V1-V6 1020.63/291.50 aux(16) =< V1-V6-V2 1020.63/291.50 s(20) =< aux(14) 1020.63/291.50 it(16) =< aux(15) 1020.63/291.50 s(19) =< aux(15) 1020.63/291.50 it(15) =< aux(16) 1020.63/291.50 it(16) =< aux(16) 1020.63/291.50 aux(7) =< aux(15)-1 1020.63/291.50 aux(6) =< aux(14) 1020.63/291.50 s(14) =< it(15)*aux(15) 1020.63/291.50 s(15) =< it(15)*aux(14) 1020.63/291.50 s(16) =< it(16)*aux(7) 1020.63/291.50 s(17) =< it(16)*aux(6) 1020.63/291.50 1020.63/291.50 with precondition: [V=1,Out=0,V6>=0,V2>=1,V1>=V2+V6+1] 1020.63/291.50 1020.63/291.50 * Chain [[15,16],17,29]: 3*it(15)+3*it(16)+1*s(14)+1*s(15)+1*s(16)+1*s(17)+1*s(21)+1*s(22)+3 1020.63/291.50 Such that:aux(8) =< V1-V6 1020.63/291.50 aux(19) =< V1 1020.63/291.50 aux(20) =< V1-V6+1 1020.63/291.50 aux(21) =< V1-V6-V2 1020.63/291.50 s(22) =< aux(19) 1020.63/291.50 it(16) =< aux(20) 1020.63/291.50 s(21) =< aux(20) 1020.63/291.50 it(15) =< aux(21) 1020.63/291.50 it(16) =< aux(8) 1020.63/291.50 it(16) =< aux(21) 1020.63/291.50 aux(7) =< aux(8)-1 1020.63/291.50 aux(6) =< aux(19) 1020.63/291.50 s(14) =< it(15)*aux(8) 1020.63/291.50 s(15) =< it(15)*aux(19) 1020.63/291.50 s(16) =< it(16)*aux(7) 1020.63/291.50 s(17) =< it(16)*aux(6) 1020.63/291.50 1020.63/291.50 with precondition: [V=1,Out=0,V6>=0,V2>=1,V1>=V2+V6+1] 1020.63/291.50 1020.63/291.50 * Chain [29]: 0 1020.63/291.50 with precondition: [Out=0,V>=0,V1>=0,V6>=0,V2>=0] 1020.63/291.50 1020.63/291.50 * Chain [28,29]: 3 1020.63/291.50 with precondition: [V=1,V1=0,V2=0,Out=0,V6>=0] 1020.63/291.50 1020.63/291.50 * Chain [27,29]: 3 1020.63/291.50 with precondition: [V=1,V1=0,V2=0,Out=0,V6>=0] 1020.63/291.50 1020.63/291.50 * Chain [26,29]: 1*s(23)+3 1020.63/291.50 Such that:s(23) =< V2 1020.63/291.50 1020.63/291.50 with precondition: [V=1,V1=0,Out=0,V6>=0,V2>=1] 1020.63/291.50 1020.63/291.50 * Chain [25,29]: 1*s(24)+3 1020.63/291.50 Such that:s(24) =< V2+1 1020.63/291.50 1020.63/291.50 with precondition: [V=1,V1=0,Out=0,V6>=0,V2>=1] 1020.63/291.50 1020.63/291.50 * Chain [24,[15,16],29]: 6*it(15)+2*s(14)+1*s(16)+1*s(17)+3 1020.63/291.50 Such that:aux(27) =< V1 1020.63/291.50 it(15) =< aux(27) 1020.63/291.50 aux(7) =< aux(27)-1 1020.63/291.50 aux(6) =< aux(27) 1020.63/291.50 s(14) =< it(15)*aux(27) 1020.63/291.50 s(16) =< it(15)*aux(7) 1020.63/291.50 s(17) =< it(15)*aux(6) 1020.63/291.50 1020.63/291.50 with precondition: [V=1,V6=0,V2=0,Out=0,V1>=2] 1020.63/291.50 1020.63/291.50 * Chain [24,[15,16],18,29]: 8*it(15)+2*s(14)+1*s(16)+1*s(17)+6 1020.63/291.50 Such that:aux(28) =< V1 1020.63/291.50 it(15) =< aux(28) 1020.63/291.50 aux(7) =< aux(28)-1 1020.63/291.50 aux(6) =< aux(28) 1020.63/291.50 s(14) =< it(15)*aux(28) 1020.63/291.50 s(16) =< it(15)*aux(7) 1020.63/291.50 s(17) =< it(15)*aux(6) 1020.63/291.50 1020.63/291.50 with precondition: [V=1,V6=0,V2=0,Out=0,V1>=2] 1020.63/291.50 1020.63/291.50 * Chain [24,[15,16],17,29]: 4*it(15)+3*it(16)+2*s(14)+1*s(16)+1*s(17)+1*s(21)+6 1020.63/291.50 Such that:aux(20) =< V1+1 1020.63/291.50 aux(29) =< V1 1020.63/291.50 it(15) =< aux(29) 1020.63/291.50 it(16) =< aux(20) 1020.63/291.50 s(21) =< aux(20) 1020.63/291.50 it(16) =< aux(29) 1020.63/291.50 aux(7) =< aux(29)-1 1020.63/291.50 aux(6) =< aux(29) 1020.63/291.50 s(14) =< it(15)*aux(29) 1020.63/291.50 s(16) =< it(16)*aux(7) 1020.63/291.50 s(17) =< it(16)*aux(6) 1020.63/291.50 1020.63/291.50 with precondition: [V=1,V6=0,V2=0,Out=0,V1>=2] 1020.63/291.50 1020.63/291.50 * Chain [24,29]: 3 1020.63/291.50 with precondition: [V=1,V6=0,V2=0,Out=0,V1>=1] 1020.63/291.50 1020.63/291.50 * Chain [24,18,29]: 2*s(19)+6 1020.63/291.50 Such that:aux(30) =< 1 1020.63/291.50 s(19) =< aux(30) 1020.63/291.50 1020.63/291.50 with precondition: [V=1,V1=1,V6=0,V2=0,Out=0] 1020.63/291.50 1020.63/291.50 * Chain [24,17,29]: 1*s(21)+1*s(22)+6 1020.63/291.50 Such that:s(22) =< 1 1020.63/291.50 s(21) =< 2 1020.63/291.50 1020.63/291.50 with precondition: [V=1,V1=1,V6=0,V2=0,Out=0] 1020.63/291.50 1020.63/291.50 * Chain [23,[20],29]: 3*it(20)+1*s(3)+3 1020.63/291.50 Such that:aux(31) =< V1 1020.63/291.50 it(20) =< aux(31) 1020.63/291.50 s(3) =< it(20)*aux(31) 1020.63/291.50 1020.63/291.50 with precondition: [V=1,V6=0,V2=0,Out=0,V1>=2] 1020.63/291.50 1020.63/291.50 * Chain [23,[20],22,29]: 4*it(20)+1*s(3)+6 1020.63/291.50 Such that:aux(32) =< V1 1020.63/291.50 it(20) =< aux(32) 1020.63/291.50 s(3) =< it(20)*aux(32) 1020.63/291.50 1020.63/291.50 with precondition: [V=1,V6=0,V2=0,Out=0,V1>=2] 1020.63/291.50 1020.63/291.50 * Chain [23,[20],21,29]: 4*it(20)+1*s(3)+6 1020.63/291.50 Such that:aux(33) =< V1 1020.63/291.50 it(20) =< aux(33) 1020.63/291.50 s(3) =< it(20)*aux(33) 1020.63/291.50 1020.63/291.50 with precondition: [V=1,V6=0,V2=0,Out=0,V1>=2] 1020.63/291.50 1020.63/291.50 * Chain [23,[20],19,[15,16],29]: 10*it(15)+3*s(3)+1*s(16)+1*s(17)+6 1020.63/291.50 Such that:aux(34) =< V1 1020.63/291.50 it(15) =< aux(34) 1020.63/291.50 aux(7) =< aux(34)-1 1020.63/291.50 aux(6) =< aux(34) 1020.63/291.50 s(3) =< it(15)*aux(34) 1020.63/291.50 s(16) =< it(15)*aux(7) 1020.63/291.50 s(17) =< it(15)*aux(6) 1020.63/291.50 1020.63/291.50 with precondition: [V=1,V6=0,V2=0,Out=0,V1>=4] 1020.63/291.50 1020.63/291.50 * Chain [23,[20],19,[15,16],18,29]: 12*it(15)+3*s(3)+1*s(16)+1*s(17)+9 1020.63/291.50 Such that:aux(35) =< V1 1020.63/291.50 it(15) =< aux(35) 1020.63/291.50 aux(7) =< aux(35)-1 1020.63/291.50 aux(6) =< aux(35) 1020.63/291.50 s(3) =< it(15)*aux(35) 1020.63/291.50 s(16) =< it(15)*aux(7) 1020.63/291.50 s(17) =< it(15)*aux(6) 1020.63/291.50 1020.63/291.50 with precondition: [V=1,V6=0,V2=0,Out=0,V1>=4] 1020.63/291.50 1020.63/291.50 * Chain [23,[20],19,[15,16],17,29]: 8*it(15)+3*it(16)+3*s(3)+1*s(16)+1*s(17)+1*s(21)+9 1020.63/291.50 Such that:aux(20) =< V1+1 1020.63/291.50 aux(36) =< V1 1020.63/291.50 it(15) =< aux(36) 1020.63/291.50 it(16) =< aux(20) 1020.63/291.50 s(21) =< aux(20) 1020.63/291.50 it(16) =< aux(36) 1020.63/291.50 aux(7) =< aux(36)-1 1020.63/291.50 aux(6) =< aux(36) 1020.63/291.50 s(3) =< it(15)*aux(36) 1020.63/291.50 s(16) =< it(16)*aux(7) 1020.63/291.50 s(17) =< it(16)*aux(6) 1020.63/291.50 1020.63/291.50 with precondition: [V=1,V6=0,V2=0,Out=0,V1>=4] 1020.63/291.50 1020.63/291.50 * Chain [23,[20],19,29]: 4*it(20)+1*s(3)+6 1020.63/291.50 Such that:aux(37) =< V1 1020.63/291.50 it(20) =< aux(37) 1020.63/291.50 s(3) =< it(20)*aux(37) 1020.63/291.50 1020.63/291.50 with precondition: [V=1,V6=0,V2=0,Out=0,V1>=3] 1020.63/291.50 1020.63/291.50 * Chain [23,[20],19,18,29]: 5*it(20)+1*s(3)+1*s(19)+9 1020.63/291.50 Such that:s(19) =< 1 1020.63/291.50 aux(38) =< V1 1020.63/291.50 it(20) =< aux(38) 1020.63/291.50 s(3) =< it(20)*aux(38) 1020.63/291.50 1020.63/291.50 with precondition: [V=1,V6=0,V2=0,Out=0,V1>=3] 1020.63/291.50 1020.63/291.50 * Chain [23,[20],19,17,29]: 5*it(20)+1*s(3)+1*s(21)+9 1020.63/291.50 Such that:s(21) =< 2 1020.63/291.50 aux(39) =< V1 1020.63/291.50 it(20) =< aux(39) 1020.63/291.50 s(3) =< it(20)*aux(39) 1020.63/291.50 1020.63/291.50 with precondition: [V=1,V6=0,V2=0,Out=0,V1>=3] 1020.63/291.50 1020.63/291.50 * Chain [23,29]: 3 1020.63/291.50 with precondition: [V=1,V6=0,V2=0,Out=0,V1>=1] 1020.63/291.50 1020.63/291.50 * Chain [23,22,29]: 1*s(4)+6 1020.63/291.50 Such that:s(4) =< 1 1020.63/291.50 1020.63/291.50 with precondition: [V=1,V1=1,V6=0,V2=0,Out=0] 1020.63/291.50 1020.63/291.50 * Chain [23,21,29]: 1*s(5)+6 1020.63/291.50 Such that:s(5) =< 1 1020.63/291.50 1020.63/291.50 with precondition: [V=1,V1=1,V6=0,V2=0,Out=0] 1020.63/291.50 1020.63/291.50 * Chain [23,19,[15,16],29]: 6*it(15)+2*s(14)+1*s(16)+1*s(17)+1*s(18)+6 1020.63/291.50 Such that:s(18) =< 1 1020.63/291.50 aux(40) =< V1 1020.63/291.50 it(15) =< aux(40) 1020.63/291.50 aux(7) =< aux(40)-1 1020.63/291.50 aux(6) =< aux(40) 1020.63/291.50 s(14) =< it(15)*aux(40) 1020.63/291.50 s(16) =< it(15)*aux(7) 1020.63/291.50 s(17) =< it(15)*aux(6) 1020.63/291.50 1020.63/291.50 with precondition: [V=1,V6=0,V2=0,Out=0,V1>=3] 1020.63/291.50 1020.63/291.50 * Chain [23,19,[15,16],18,29]: 8*it(15)+2*s(14)+1*s(16)+1*s(17)+1*s(18)+9 1020.63/291.50 Such that:s(18) =< 1 1020.63/291.50 aux(41) =< V1 1020.63/291.50 it(15) =< aux(41) 1020.63/291.50 aux(7) =< aux(41)-1 1020.63/291.50 aux(6) =< aux(41) 1020.63/291.50 s(14) =< it(15)*aux(41) 1020.63/291.50 s(16) =< it(15)*aux(7) 1020.63/291.50 s(17) =< it(15)*aux(6) 1020.63/291.50 1020.63/291.50 with precondition: [V=1,V6=0,V2=0,Out=0,V1>=3] 1020.63/291.50 1020.63/291.50 * Chain [23,19,[15,16],17,29]: 8*it(15)+2*s(14)+1*s(16)+1*s(17)+1*s(18)+9 1020.63/291.50 Such that:s(18) =< 1 1020.63/291.50 aux(42) =< V1 1020.63/291.50 it(15) =< aux(42) 1020.63/291.50 aux(7) =< aux(42)-1 1020.63/291.50 aux(6) =< aux(42) 1020.63/291.50 s(14) =< it(15)*aux(42) 1020.63/291.50 s(16) =< it(15)*aux(7) 1020.63/291.50 s(17) =< it(15)*aux(6) 1020.63/291.50 1020.63/291.50 with precondition: [V=1,V6=0,V2=0,Out=0,V1>=3] 1020.63/291.50 1020.63/291.50 * Chain [23,19,29]: 1*s(18)+6 1020.63/291.50 Such that:s(18) =< 1 1020.63/291.50 1020.63/291.50 with precondition: [V=1,V6=0,V2=0,Out=0,V1>=2] 1020.63/291.50 1020.63/291.50 * Chain [23,19,18,29]: 2*s(18)+1*s(20)+9 1020.63/291.50 Such that:s(20) =< 2 1020.63/291.50 aux(43) =< 1 1020.63/291.50 s(18) =< aux(43) 1020.63/291.50 1020.63/291.50 with precondition: [V=1,V1=2,V6=0,V2=0,Out=0] 1020.63/291.50 1020.63/291.50 * Chain [23,19,17,29]: 1*s(18)+2*s(21)+9 1020.63/291.50 Such that:s(18) =< 1 1020.63/291.50 aux(44) =< 2 1020.63/291.50 s(21) =< aux(44) 1020.63/291.50 1020.63/291.50 with precondition: [V=1,V1=2,V6=0,V2=0,Out=0] 1020.63/291.50 1020.63/291.50 * Chain [22,29]: 1*s(4)+3 1020.63/291.50 Such that:s(4) =< V1 1020.63/291.50 1020.63/291.50 with precondition: [V=1,V2=0,Out=0,V1>=1,V6>=V1] 1020.63/291.50 1020.63/291.50 * Chain [21,29]: 1*s(5)+3 1020.63/291.50 Such that:s(5) =< V1 1020.63/291.50 1020.63/291.50 with precondition: [V=1,V2=0,Out=0,V1>=1,V6>=V1] 1020.63/291.50 1020.63/291.50 * Chain [19,[15,16],29]: 6*it(15)+1*s(14)+1*s(15)+1*s(16)+1*s(17)+1*s(18)+3 1020.63/291.50 Such that:aux(4) =< V1 1020.63/291.50 s(18) =< V6 1020.63/291.50 aux(12) =< V1-V6 1020.63/291.50 it(15) =< aux(12) 1020.63/291.50 aux(7) =< aux(12)-1 1020.63/291.50 aux(6) =< aux(4) 1020.63/291.50 s(14) =< it(15)*aux(12) 1020.63/291.50 s(15) =< it(15)*aux(4) 1020.63/291.50 s(16) =< it(15)*aux(7) 1020.63/291.50 s(17) =< it(15)*aux(6) 1020.63/291.50 1020.63/291.50 with precondition: [V=1,V2=0,Out=0,V6>=1,V1>=V6+2] 1020.63/291.50 1020.63/291.50 * Chain [19,[15,16],18,29]: 7*it(15)+1*s(14)+1*s(15)+1*s(16)+1*s(17)+1*s(18)+1*s(20)+6 1020.63/291.50 Such that:aux(14) =< V1 1020.63/291.50 s(18) =< V6 1020.63/291.50 aux(17) =< V1-V6 1020.63/291.50 s(20) =< aux(14) 1020.63/291.50 it(15) =< aux(17) 1020.63/291.50 aux(7) =< aux(17)-1 1020.63/291.50 aux(6) =< aux(14) 1020.63/291.50 s(14) =< it(15)*aux(17) 1020.63/291.50 s(15) =< it(15)*aux(14) 1020.63/291.50 s(16) =< it(15)*aux(7) 1020.63/291.50 s(17) =< it(15)*aux(6) 1020.63/291.50 1020.63/291.50 with precondition: [V=1,V2=0,Out=0,V6>=1,V1>=V6+2] 1020.63/291.50 1020.63/291.50 * Chain [19,[15,16],17,29]: 3*it(15)+3*it(16)+1*s(14)+1*s(15)+1*s(16)+1*s(17)+1*s(18)+1*s(21)+1*s(22)+6 1020.63/291.50 Such that:aux(19) =< V1 1020.63/291.50 aux(20) =< V1-V6+1 1020.63/291.50 s(18) =< V6 1020.63/291.50 aux(22) =< V1-V6 1020.63/291.50 s(22) =< aux(19) 1020.63/291.50 it(16) =< aux(20) 1020.63/291.50 s(21) =< aux(20) 1020.63/291.50 it(15) =< aux(22) 1020.63/291.50 it(16) =< aux(22) 1020.63/291.50 aux(7) =< aux(22)-1 1020.63/291.50 aux(6) =< aux(19) 1020.63/291.50 s(14) =< it(15)*aux(22) 1020.63/291.50 s(15) =< it(15)*aux(19) 1020.63/291.50 s(16) =< it(16)*aux(7) 1020.63/291.50 s(17) =< it(16)*aux(6) 1020.63/291.50 1020.63/291.50 with precondition: [V=1,V2=0,Out=0,V6>=1,V1>=V6+2] 1020.63/291.50 1020.63/291.50 * Chain [19,29]: 1*s(18)+3 1020.63/291.50 Such that:s(18) =< V6 1020.63/291.50 1020.63/291.50 with precondition: [V=1,V2=0,Out=0,V6>=1,V1>=V6+1] 1020.63/291.50 1020.63/291.50 * Chain [19,18,29]: 1*s(18)+1*s(19)+1*s(20)+6 1020.63/291.50 Such that:s(19) =< 1 1020.63/291.50 s(18) =< V6 1020.63/291.50 s(20) =< V6+1 1020.63/291.50 1020.63/291.50 with precondition: [V=1,V2=0,Out=0,V1=V6+1,V1>=2] 1020.63/291.50 1020.63/291.50 * Chain [19,17,29]: 1*s(18)+1*s(21)+1*s(22)+6 1020.63/291.50 Such that:s(21) =< 2 1020.63/291.50 s(18) =< V6 1020.63/291.50 s(22) =< V6+1 1020.63/291.50 1020.63/291.50 with precondition: [V=1,V2=0,Out=0,V1=V6+1,V1>=2] 1020.63/291.50 1020.63/291.50 * Chain [18,29]: 1*s(19)+1*s(20)+3 1020.63/291.50 Such that:s(20) =< V1 1020.63/291.50 s(19) =< V2 1020.63/291.50 1020.63/291.50 with precondition: [V=1,Out=0,V1>=1,V6>=0,V2>=1,V2+V6>=V1] 1020.63/291.50 1020.63/291.50 * Chain [17,29]: 1*s(21)+1*s(22)+3 1020.63/291.50 Such that:s(22) =< V1 1020.63/291.50 s(21) =< V2+1 1020.63/291.50 1020.63/291.50 with precondition: [V=1,Out=0,V1>=1,V6>=0,V2>=1,V2+V6>=V1] 1020.63/291.50 1020.63/291.50 1020.63/291.50 #### Cost of chains of start(V,V1,V6,V2): 1020.63/291.50 * Chain [36]: 1 1020.63/291.50 with precondition: [V=0,V1>=0] 1020.63/291.50 1020.63/291.50 * Chain [35]: 1*s(273)+1*s(274)+3 1020.63/291.50 Such that:s(273) =< V2 1020.63/291.50 s(274) =< V2+1 1020.63/291.50 1020.63/291.50 with precondition: [V1=0,V>=0] 1020.63/291.50 1020.63/291.50 * Chain [34]: 10*s(279)+2*s(280)+95*s(281)+27*s(284)+7*s(285)+7*s(286)+6*s(287)+2*s(288)+2*s(289)+2*s(290)+18 1020.63/291.50 Such that:s(275) =< 1 1020.63/291.50 s(276) =< 2 1020.63/291.50 s(277) =< V1 1020.63/291.50 s(278) =< V1+1 1020.63/291.50 s(279) =< s(275) 1020.63/291.50 s(280) =< s(276) 1020.63/291.50 s(281) =< s(277) 1020.63/291.50 s(282) =< s(277)-1 1020.63/291.50 s(283) =< s(277) 1020.63/291.50 s(284) =< s(281)*s(277) 1020.63/291.50 s(285) =< s(281)*s(282) 1020.63/291.50 s(286) =< s(281)*s(283) 1020.63/291.50 s(287) =< s(278) 1020.63/291.50 s(288) =< s(278) 1020.63/291.50 s(287) =< s(277) 1020.63/291.50 s(289) =< s(287)*s(282) 1020.63/291.50 s(290) =< s(287)*s(283) 1020.63/291.50 1020.63/291.50 with precondition: [V>=0,V1>=0,V6>=0,V2>=0] 1020.63/291.50 1020.63/291.50 * Chain [33]: 4*s(292)+1*s(294)+3 1020.63/291.50 Such that:s(294) =< V 1020.63/291.50 aux(63) =< V1 1020.63/291.50 s(292) =< aux(63) 1020.63/291.50 1020.63/291.50 with precondition: [V>=0,V1>=1] 1020.63/291.50 1020.63/291.50 * Chain [32]: 2*s(304)+2*s(305)+40*s(306)+4*s(307)+6*s(308)+2*s(309)+30*s(310)+11*s(311)+3*s(312)+3*s(315)+1*s(316)+1*s(317)+2*s(318)+2*s(319)+3*s(320)+1*s(321)+6*s(323)+1*s(324)+1*s(325)+1*s(326)+2*s(327)+2*s(328)+6 1020.63/291.50 Such that:s(297) =< 1 1020.63/291.50 s(298) =< 2 1020.63/291.50 s(299) =< V1 1020.63/291.50 s(296) =< V1+1 1020.63/291.50 s(300) =< V1-V6 1020.63/291.50 s(301) =< V1-V6+1 1020.63/291.50 s(302) =< V6 1020.63/291.50 s(303) =< V6+1 1020.63/291.50 s(304) =< s(297) 1020.63/291.50 s(305) =< s(298) 1020.63/291.50 s(306) =< s(300) 1020.63/291.50 s(307) =< s(301) 1020.63/291.50 s(308) =< s(302) 1020.63/291.50 s(309) =< s(303) 1020.63/291.50 s(310) =< s(299) 1020.63/291.50 s(311) =< s(306)*s(299) 1020.63/291.50 s(312) =< s(301) 1020.63/291.50 s(312) =< s(300) 1020.63/291.50 s(313) =< s(300)-1 1020.63/291.50 s(314) =< s(299) 1020.63/291.50 s(315) =< s(306)*s(300) 1020.63/291.50 s(316) =< s(312)*s(313) 1020.63/291.50 s(317) =< s(312)*s(314) 1020.63/291.50 s(318) =< s(306)*s(313) 1020.63/291.50 s(319) =< s(306)*s(314) 1020.63/291.50 s(320) =< s(296) 1020.63/291.50 s(321) =< s(296) 1020.63/291.50 s(320) =< s(299) 1020.63/291.50 s(322) =< s(299)-1 1020.63/291.50 s(323) =< s(310)*s(299) 1020.63/291.50 s(324) =< s(320)*s(322) 1020.63/291.50 s(325) =< s(320)*s(314) 1020.63/291.50 s(326) =< s(307)*s(299) 1020.63/291.50 s(327) =< s(310)*s(322) 1020.63/291.50 s(328) =< s(310)*s(314) 1020.63/291.50 1020.63/291.50 with precondition: [V=1,V2=0,V6>=1,V1>=V6+1] 1020.63/291.50 1020.63/291.50 * Chain [31]: 1*s(329)+1*s(330)+2*s(332)+3 1020.63/291.50 Such that:s(331) =< V1 1020.63/291.50 s(329) =< V2 1020.63/291.50 s(330) =< V2+1 1020.63/291.50 s(332) =< s(331) 1020.63/291.50 1020.63/291.50 with precondition: [V=1,V1>=1,V6>=0,V2>=1,V2+V6>=V1] 1020.63/291.50 1020.63/291.50 * Chain [30]: 2*s(337)+6*s(338)+1*s(339)+9*s(340)+3*s(343)+3*s(344)+2*s(345)+2*s(346)+3*s(347)+1*s(348)+1*s(349)+1*s(350)+3 1020.63/291.50 Such that:s(334) =< V1 1020.63/291.50 s(335) =< V1-V6 1020.63/291.50 s(333) =< V1-V6+1 1020.63/291.50 s(336) =< V1-V6-V2 1020.63/291.50 s(337) =< s(334) 1020.63/291.50 s(338) =< s(335) 1020.63/291.50 s(339) =< s(335) 1020.63/291.50 s(340) =< s(336) 1020.63/291.50 s(338) =< s(336) 1020.63/291.50 s(341) =< s(335)-1 1020.63/291.50 s(342) =< s(334) 1020.63/291.50 s(343) =< s(340)*s(335) 1020.63/291.50 s(344) =< s(340)*s(334) 1020.63/291.50 s(345) =< s(338)*s(341) 1020.63/291.50 s(346) =< s(338)*s(342) 1020.63/291.50 s(347) =< s(333) 1020.63/291.50 s(348) =< s(333) 1020.63/291.50 s(347) =< s(335) 1020.63/291.50 s(347) =< s(336) 1020.63/291.50 s(349) =< s(347)*s(341) 1020.63/291.50 s(350) =< s(347)*s(342) 1020.63/291.50 1020.63/291.50 with precondition: [V=1,V6>=0,V2>=1,V1>=V2+V6+1] 1020.63/291.50 1020.63/291.50 1020.63/291.50 Closed-form bounds of start(V,V1,V6,V2): 1020.63/291.50 ------------------------------------- 1020.63/291.50 * Chain [36] with precondition: [V=0,V1>=0] 1020.63/291.50 - Upper bound: 1 1020.63/291.50 - Complexity: constant 1020.63/291.50 * Chain [35] with precondition: [V1=0,V>=0] 1020.63/291.50 - Upper bound: nat(V2)+3+nat(V2+1) 1020.63/291.50 - Complexity: n 1020.63/291.50 * Chain [34] with precondition: [V>=0,V1>=0,V6>=0,V2>=0] 1020.63/291.50 - Upper bound: 95*V1+32+34*V1*V1+7*V1*nat(V1-1)+(V1+1)*(2*V1)+(V1+1)*(nat(V1-1)*2)+(8*V1+8) 1020.63/291.51 - Complexity: n^2 1020.63/291.51 * Chain [33] with precondition: [V>=0,V1>=1] 1020.63/291.51 - Upper bound: V+4*V1+3 1020.63/291.51 - Complexity: n 1020.63/291.51 * Chain [32] with precondition: [V=1,V2=0,V6>=1,V1>=V6+1] 1020.63/291.51 - Upper bound: 40*V1-40*V6+(7*V1-7*V6+7+(30*V1+12+8*V1*V1+(V1-1)*(2*V1)+(V1+1)*V1+(V1-V6+1)*(2*V1)+(V1-V6)*(13*V1)+6*V6+(V1-1)*(V1+1)+(V1-V6-1)*(V1-V6+1)+(2*V1-2*V6-2)*(V1-V6)+(4*V1+4)+(2*V6+2)))+(3*V1-3*V6)*(V1-V6) 1020.63/291.51 - Complexity: n^2 1020.63/291.51 * Chain [31] with precondition: [V=1,V1>=1,V6>=0,V2>=1,V6+V2>=V1] 1020.63/291.51 - Upper bound: 2*V1+2*V2+4 1020.63/291.51 - Complexity: n 1020.63/291.51 * Chain [30] with precondition: [V=1,V6>=0,V2>=1,V1>=V6+V2+1] 1020.63/291.51 - Upper bound: 9*V1-9*V6-9*V2+(7*V1-7*V6+(4*V1-4*V6+4+(2*V1+3+(V1-V6+1)*V1+(V1-V6)*(2*V1)+(V1-V6-V2)*(3*V1)+(V1-V6-1)*(V1-V6+1)+(2*V1-2*V6-2)*(V1-V6)))+(V1-V6-V2)*(3*V1-3*V6)) 1020.63/291.51 - Complexity: n^2 1020.63/291.51 1020.63/291.51 ### Maximum cost of start(V,V1,V6,V2): max([nat(V2)+2+nat(V2+1),2*V1+2+max([max([nat(V2+1)+nat(V2),2*V1*nat(V1-V6)+nat(V1-V6+1)*V1+3*V1*nat(V1-V6-V2)+nat(V1-V6+1)*nat(nat(V1-V6)+ -1)+nat(nat(V1-V6)+ -1)*2*nat(V1-V6)+nat(V1-V6+1)*4+nat(V1-V6)*7+nat(V1-V6)*3*nat(V1-V6-V2)+nat(V1-V6-V2)*9]),2*V1+max([V,26*V1+9+8*V1*V1+2*V1*nat(V1-1)+(V1+1)*V1+(V1+1)*nat(V1-1)+(4*V1+4)+max([65*V1+20+26*V1*V1+5*V1*nat(V1-1)+(V1+1)*V1+(V1+1)*nat(V1-1)+(4*V1+4),13*V1*nat(V1-V6)+2*V1*nat(V1-V6+1)+nat(V6)*6+nat(V1-V6+1)*nat(nat(V1-V6)+ -1)+nat(nat(V1-V6)+ -1)*2*nat(V1-V6)+nat(V6+1)*2+nat(V1-V6+1)*7+nat(V1-V6)*40+nat(V1-V6)*3*nat(V1-V6)])])])])+1 1020.63/291.51 Asymptotic class: n^2 1020.63/291.51 * Total analysis performed in 1132 ms. 1020.63/291.51 1020.63/291.51 1020.63/291.51 ---------------------------------------- 1020.63/291.51 1020.63/291.51 (12) 1020.63/291.51 BOUNDS(1, n^2) 1020.63/291.51 1020.63/291.51 ---------------------------------------- 1020.63/291.51 1020.63/291.51 (13) RenamingProof (BOTH BOUNDS(ID, ID)) 1020.63/291.51 Renamed function symbols to avoid clashes with predefined symbol. 1020.63/291.51 ---------------------------------------- 1020.63/291.51 1020.63/291.51 (14) 1020.63/291.51 Obligation: 1020.63/291.51 The Runtime Complexity (full) of the given CpxTRS could be proven to be BOUNDS(n^1, INF). 1020.63/291.51 1020.63/291.51 1020.63/291.51 The TRS R consists of the following rules: 1020.63/291.51 1020.63/291.51 f(true, x, y, z) -> f(gt(x, plus(y, z)), x, s(y), z) 1020.63/291.51 f(true, x, y, z) -> f(gt(x, plus(y, z)), x, y, s(z)) 1020.63/291.51 plus(n, 0') -> n 1020.63/291.51 plus(n, s(m)) -> s(plus(n, m)) 1020.63/291.51 gt(0', v) -> false 1020.63/291.51 gt(s(u), 0') -> true 1020.63/291.51 gt(s(u), s(v)) -> gt(u, v) 1020.63/291.51 1020.63/291.51 S is empty. 1020.63/291.51 Rewrite Strategy: FULL 1020.63/291.51 ---------------------------------------- 1020.63/291.51 1020.63/291.51 (15) TypeInferenceProof (BOTH BOUNDS(ID, ID)) 1020.63/291.51 Infered types. 1020.63/291.51 ---------------------------------------- 1020.63/291.51 1020.63/291.51 (16) 1020.63/291.51 Obligation: 1020.63/291.51 TRS: 1020.63/291.51 Rules: 1020.63/291.51 f(true, x, y, z) -> f(gt(x, plus(y, z)), x, s(y), z) 1020.63/291.51 f(true, x, y, z) -> f(gt(x, plus(y, z)), x, y, s(z)) 1020.63/291.51 plus(n, 0') -> n 1020.63/291.51 plus(n, s(m)) -> s(plus(n, m)) 1020.63/291.51 gt(0', v) -> false 1020.63/291.51 gt(s(u), 0') -> true 1020.63/291.51 gt(s(u), s(v)) -> gt(u, v) 1020.63/291.51 1020.63/291.51 Types: 1020.63/291.51 f :: true:false -> s:0' -> s:0' -> s:0' -> f 1020.63/291.51 true :: true:false 1020.63/291.51 gt :: s:0' -> s:0' -> true:false 1020.63/291.51 plus :: s:0' -> s:0' -> s:0' 1020.63/291.51 s :: s:0' -> s:0' 1020.63/291.51 0' :: s:0' 1020.63/291.51 false :: true:false 1020.63/291.51 hole_f1_0 :: f 1020.63/291.51 hole_true:false2_0 :: true:false 1020.63/291.51 hole_s:0'3_0 :: s:0' 1020.63/291.51 gen_s:0'4_0 :: Nat -> s:0' 1020.63/291.51 1020.63/291.51 ---------------------------------------- 1020.63/291.51 1020.63/291.51 (17) OrderProof (LOWER BOUND(ID)) 1020.63/291.51 Heuristically decided to analyse the following defined symbols: 1020.63/291.51 f, gt, plus 1020.63/291.51 1020.63/291.51 They will be analysed ascendingly in the following order: 1020.63/291.51 gt < f 1020.63/291.51 plus < f 1020.63/291.51 1020.63/291.51 ---------------------------------------- 1020.63/291.51 1020.63/291.51 (18) 1020.63/291.51 Obligation: 1020.63/291.51 TRS: 1020.63/291.51 Rules: 1020.63/291.51 f(true, x, y, z) -> f(gt(x, plus(y, z)), x, s(y), z) 1020.63/291.51 f(true, x, y, z) -> f(gt(x, plus(y, z)), x, y, s(z)) 1020.63/291.51 plus(n, 0') -> n 1020.63/291.51 plus(n, s(m)) -> s(plus(n, m)) 1020.63/291.51 gt(0', v) -> false 1020.63/291.51 gt(s(u), 0') -> true 1020.63/291.51 gt(s(u), s(v)) -> gt(u, v) 1020.63/291.51 1020.63/291.51 Types: 1020.63/291.51 f :: true:false -> s:0' -> s:0' -> s:0' -> f 1020.63/291.51 true :: true:false 1020.63/291.51 gt :: s:0' -> s:0' -> true:false 1020.63/291.51 plus :: s:0' -> s:0' -> s:0' 1020.63/291.51 s :: s:0' -> s:0' 1020.63/291.51 0' :: s:0' 1020.63/291.51 false :: true:false 1020.63/291.51 hole_f1_0 :: f 1020.63/291.51 hole_true:false2_0 :: true:false 1020.63/291.51 hole_s:0'3_0 :: s:0' 1020.63/291.51 gen_s:0'4_0 :: Nat -> s:0' 1020.63/291.51 1020.63/291.51 1020.63/291.51 Generator Equations: 1020.63/291.51 gen_s:0'4_0(0) <=> 0' 1020.63/291.51 gen_s:0'4_0(+(x, 1)) <=> s(gen_s:0'4_0(x)) 1020.63/291.51 1020.63/291.51 1020.63/291.51 The following defined symbols remain to be analysed: 1020.63/291.51 gt, f, plus 1020.63/291.51 1020.63/291.51 They will be analysed ascendingly in the following order: 1020.63/291.51 gt < f 1020.63/291.51 plus < f 1020.63/291.51 1020.63/291.51 ---------------------------------------- 1020.63/291.51 1020.63/291.51 (19) RewriteLemmaProof (LOWER BOUND(ID)) 1020.63/291.51 Proved the following rewrite lemma: 1020.63/291.51 gt(gen_s:0'4_0(n6_0), gen_s:0'4_0(n6_0)) -> false, rt in Omega(1 + n6_0) 1020.63/291.51 1020.63/291.51 Induction Base: 1020.63/291.51 gt(gen_s:0'4_0(0), gen_s:0'4_0(0)) ->_R^Omega(1) 1020.63/291.51 false 1020.63/291.51 1020.63/291.51 Induction Step: 1020.63/291.51 gt(gen_s:0'4_0(+(n6_0, 1)), gen_s:0'4_0(+(n6_0, 1))) ->_R^Omega(1) 1020.63/291.51 gt(gen_s:0'4_0(n6_0), gen_s:0'4_0(n6_0)) ->_IH 1020.63/291.51 false 1020.63/291.51 1020.63/291.51 We have rt in Omega(n^1) and sz in O(n). Thus, we have irc_R in Omega(n). 1020.63/291.51 ---------------------------------------- 1020.63/291.51 1020.63/291.51 (20) 1020.63/291.51 Complex Obligation (BEST) 1020.63/291.51 1020.63/291.51 ---------------------------------------- 1020.63/291.51 1020.63/291.51 (21) 1020.63/291.51 Obligation: 1020.63/291.51 Proved the lower bound n^1 for the following obligation: 1020.63/291.51 1020.63/291.51 TRS: 1020.63/291.51 Rules: 1020.63/291.51 f(true, x, y, z) -> f(gt(x, plus(y, z)), x, s(y), z) 1020.63/291.51 f(true, x, y, z) -> f(gt(x, plus(y, z)), x, y, s(z)) 1020.63/291.51 plus(n, 0') -> n 1020.63/291.51 plus(n, s(m)) -> s(plus(n, m)) 1020.63/291.51 gt(0', v) -> false 1020.63/291.51 gt(s(u), 0') -> true 1020.63/291.51 gt(s(u), s(v)) -> gt(u, v) 1020.63/291.51 1020.63/291.51 Types: 1020.63/291.51 f :: true:false -> s:0' -> s:0' -> s:0' -> f 1020.63/291.51 true :: true:false 1020.63/291.51 gt :: s:0' -> s:0' -> true:false 1020.63/291.51 plus :: s:0' -> s:0' -> s:0' 1020.63/291.51 s :: s:0' -> s:0' 1020.63/291.51 0' :: s:0' 1020.63/291.51 false :: true:false 1020.63/291.51 hole_f1_0 :: f 1020.63/291.51 hole_true:false2_0 :: true:false 1020.63/291.51 hole_s:0'3_0 :: s:0' 1020.63/291.51 gen_s:0'4_0 :: Nat -> s:0' 1020.63/291.51 1020.63/291.51 1020.63/291.51 Generator Equations: 1020.63/291.51 gen_s:0'4_0(0) <=> 0' 1020.63/291.51 gen_s:0'4_0(+(x, 1)) <=> s(gen_s:0'4_0(x)) 1020.63/291.51 1020.63/291.51 1020.63/291.51 The following defined symbols remain to be analysed: 1020.63/291.51 gt, f, plus 1020.63/291.51 1020.63/291.51 They will be analysed ascendingly in the following order: 1020.63/291.51 gt < f 1020.63/291.51 plus < f 1020.63/291.51 1020.63/291.51 ---------------------------------------- 1020.63/291.51 1020.63/291.51 (22) LowerBoundPropagationProof (FINISHED) 1020.63/291.51 Propagated lower bound. 1020.63/291.51 ---------------------------------------- 1020.63/291.51 1020.63/291.51 (23) 1020.63/291.51 BOUNDS(n^1, INF) 1020.63/291.51 1020.63/291.51 ---------------------------------------- 1020.63/291.51 1020.63/291.51 (24) 1020.63/291.51 Obligation: 1020.63/291.51 TRS: 1020.63/291.51 Rules: 1020.63/291.51 f(true, x, y, z) -> f(gt(x, plus(y, z)), x, s(y), z) 1020.63/291.51 f(true, x, y, z) -> f(gt(x, plus(y, z)), x, y, s(z)) 1020.63/291.51 plus(n, 0') -> n 1020.63/291.51 plus(n, s(m)) -> s(plus(n, m)) 1020.63/291.51 gt(0', v) -> false 1020.63/291.51 gt(s(u), 0') -> true 1020.63/291.51 gt(s(u), s(v)) -> gt(u, v) 1020.63/291.51 1020.63/291.51 Types: 1020.63/291.51 f :: true:false -> s:0' -> s:0' -> s:0' -> f 1020.63/291.51 true :: true:false 1020.63/291.51 gt :: s:0' -> s:0' -> true:false 1020.63/291.51 plus :: s:0' -> s:0' -> s:0' 1020.63/291.51 s :: s:0' -> s:0' 1020.63/291.51 0' :: s:0' 1020.63/291.51 false :: true:false 1020.63/291.51 hole_f1_0 :: f 1020.63/291.51 hole_true:false2_0 :: true:false 1020.63/291.51 hole_s:0'3_0 :: s:0' 1020.63/291.51 gen_s:0'4_0 :: Nat -> s:0' 1020.63/291.51 1020.63/291.51 1020.63/291.51 Lemmas: 1020.63/291.51 gt(gen_s:0'4_0(n6_0), gen_s:0'4_0(n6_0)) -> false, rt in Omega(1 + n6_0) 1020.63/291.51 1020.63/291.51 1020.63/291.51 Generator Equations: 1020.63/291.51 gen_s:0'4_0(0) <=> 0' 1020.63/291.51 gen_s:0'4_0(+(x, 1)) <=> s(gen_s:0'4_0(x)) 1020.63/291.51 1020.63/291.51 1020.63/291.51 The following defined symbols remain to be analysed: 1020.63/291.51 plus, f 1020.63/291.51 1020.63/291.51 They will be analysed ascendingly in the following order: 1020.63/291.51 plus < f 1020.63/291.51 1020.63/291.51 ---------------------------------------- 1020.63/291.51 1020.63/291.51 (25) RewriteLemmaProof (LOWER BOUND(ID)) 1020.63/291.51 Proved the following rewrite lemma: 1020.63/291.51 plus(gen_s:0'4_0(a), gen_s:0'4_0(n235_0)) -> gen_s:0'4_0(+(n235_0, a)), rt in Omega(1 + n235_0) 1020.63/291.51 1020.63/291.51 Induction Base: 1020.63/291.51 plus(gen_s:0'4_0(a), gen_s:0'4_0(0)) ->_R^Omega(1) 1020.63/291.51 gen_s:0'4_0(a) 1020.63/291.51 1020.63/291.51 Induction Step: 1020.63/291.51 plus(gen_s:0'4_0(a), gen_s:0'4_0(+(n235_0, 1))) ->_R^Omega(1) 1020.63/291.51 s(plus(gen_s:0'4_0(a), gen_s:0'4_0(n235_0))) ->_IH 1020.63/291.51 s(gen_s:0'4_0(+(a, c236_0))) 1020.63/291.51 1020.63/291.51 We have rt in Omega(n^1) and sz in O(n). Thus, we have irc_R in Omega(n). 1020.63/291.51 ---------------------------------------- 1020.63/291.51 1020.63/291.51 (26) 1020.63/291.51 Obligation: 1020.63/291.51 TRS: 1020.63/291.51 Rules: 1020.63/291.51 f(true, x, y, z) -> f(gt(x, plus(y, z)), x, s(y), z) 1020.63/291.51 f(true, x, y, z) -> f(gt(x, plus(y, z)), x, y, s(z)) 1020.63/291.51 plus(n, 0') -> n 1020.63/291.51 plus(n, s(m)) -> s(plus(n, m)) 1020.63/291.51 gt(0', v) -> false 1020.63/291.51 gt(s(u), 0') -> true 1020.63/291.51 gt(s(u), s(v)) -> gt(u, v) 1020.63/291.51 1020.63/291.51 Types: 1020.63/291.51 f :: true:false -> s:0' -> s:0' -> s:0' -> f 1020.63/291.51 true :: true:false 1020.63/291.51 gt :: s:0' -> s:0' -> true:false 1020.63/291.51 plus :: s:0' -> s:0' -> s:0' 1020.63/291.51 s :: s:0' -> s:0' 1020.63/291.51 0' :: s:0' 1020.63/291.51 false :: true:false 1020.63/291.51 hole_f1_0 :: f 1020.63/291.51 hole_true:false2_0 :: true:false 1020.63/291.51 hole_s:0'3_0 :: s:0' 1020.63/291.51 gen_s:0'4_0 :: Nat -> s:0' 1020.63/291.51 1020.63/291.51 1020.63/291.51 Lemmas: 1020.63/291.51 gt(gen_s:0'4_0(n6_0), gen_s:0'4_0(n6_0)) -> false, rt in Omega(1 + n6_0) 1020.63/291.51 plus(gen_s:0'4_0(a), gen_s:0'4_0(n235_0)) -> gen_s:0'4_0(+(n235_0, a)), rt in Omega(1 + n235_0) 1020.63/291.51 1020.63/291.51 1020.63/291.51 Generator Equations: 1020.63/291.51 gen_s:0'4_0(0) <=> 0' 1020.63/291.51 gen_s:0'4_0(+(x, 1)) <=> s(gen_s:0'4_0(x)) 1020.63/291.51 1020.63/291.51 1020.63/291.51 The following defined symbols remain to be analysed: 1020.63/291.51 f 1020.92/291.57 EOF