41561
|
1 |
*****************************************************************************
|
|
2 |
Semantic Analysis of SPARK Text
|
|
3 |
Examiner Pro Edition, Version 9.1.0, Build Date 20101119, Build 19039
|
|
4 |
Copyright (C) 2010 Altran Praxis Limited, Bath, U.K.
|
|
5 |
*****************************************************************************
|
|
6 |
|
|
7 |
|
|
8 |
CREATED 29-NOV-2010, 14:30:13 SIMPLIFIED 29-NOV-2010, 14:30:13
|
|
9 |
|
|
10 |
SPARK Simplifier Pro Edition, Version 9.1.0, Build Date 20101119, Build 19039
|
|
11 |
Copyright (C) 2010 Altran Praxis Limited, Bath, U.K.
|
|
12 |
|
|
13 |
procedure Liseq.Liseq_length
|
|
14 |
|
|
15 |
|
|
16 |
|
|
17 |
|
|
18 |
For path(s) from start to run-time check associated with statement of line 11:
|
|
19 |
|
|
20 |
procedure_liseq_length_1.
|
|
21 |
*** true . /* all conclusions proved */
|
|
22 |
|
|
23 |
|
|
24 |
For path(s) from start to run-time check associated with statement of line 12:
|
|
25 |
|
|
26 |
procedure_liseq_length_2.
|
|
27 |
*** true . /* all conclusions proved */
|
|
28 |
|
|
29 |
|
|
30 |
For path(s) from start to run-time check associated with statement of line 13:
|
|
31 |
|
|
32 |
procedure_liseq_length_3.
|
|
33 |
*** true . /* all conclusions proved */
|
|
34 |
|
|
35 |
|
|
36 |
For path(s) from start to run-time check associated with statement of line 14:
|
|
37 |
|
|
38 |
procedure_liseq_length_4.
|
|
39 |
*** true . /* all conclusions proved */
|
|
40 |
|
|
41 |
|
|
42 |
For path(s) from start to assertion of line 15:
|
|
43 |
|
|
44 |
procedure_liseq_length_5.
|
|
45 |
H1: a__index__subtype__1__first = 0 .
|
|
46 |
H2: l__index__subtype__1__first = 0 .
|
|
47 |
H3: a__index__subtype__1__last = l__index__subtype__1__last .
|
|
48 |
H4: a__index__subtype__1__last < 2147483647 .
|
|
49 |
H5: for_all(i___1 : integer, a__index__subtype__1__first <= i___1 and i___1
|
|
50 |
<= a__index__subtype__1__last -> - 2147483648 <= element(a, [i___1])
|
|
51 |
and element(a, [i___1]) <= 2147483647) .
|
|
52 |
H6: for_all(i___1 : integer, l__index__subtype__1__first <= i___1 and i___1
|
|
53 |
<= l__index__subtype__1__last -> - 2147483648 <= element(l, [i___1])
|
|
54 |
and element(l, [i___1]) <= 2147483647) .
|
|
55 |
H7: 0 <= l__index__subtype__1__last .
|
|
56 |
H8: integer__size >= 0 .
|
|
57 |
H9: a__index__subtype__1__first <= a__index__subtype__1__last .
|
|
58 |
H10: l__index__subtype__1__first <= l__index__subtype__1__last .
|
|
59 |
H11: a__index__subtype__1__first >= - 2147483648 .
|
|
60 |
H12: a__index__subtype__1__last >= - 2147483648 .
|
|
61 |
H13: l__index__subtype__1__first >= - 2147483648 .
|
|
62 |
H14: l__index__subtype__1__last >= - 2147483648 .
|
|
63 |
H15: a__index__subtype__1__last <= 2147483647 .
|
|
64 |
H16: a__index__subtype__1__first <= 2147483647 .
|
|
65 |
H17: l__index__subtype__1__last <= 2147483647 .
|
|
66 |
H18: l__index__subtype__1__first <= 2147483647 .
|
|
67 |
->
|
|
68 |
C1: for_all(i2_ : integer, 0 <= i2_ and i2_ <= 0 -> element(update(l, [0], 1)
|
|
69 |
, [i2_]) = liseq_ends_at(a, i2_)) .
|
|
70 |
C2: 1 = liseq_prfx(a, 1) .
|
|
71 |
|
|
72 |
|
|
73 |
For path(s) from assertion of line 15 to assertion of line 15:
|
|
74 |
|
|
75 |
procedure_liseq_length_6.
|
|
76 |
H1: for_all(i2_ : integer, 0 <= i2_ and i2_ <= i - 1 -> element(l, [i2_]) =
|
|
77 |
liseq_ends_at(a, i2_)) .
|
|
78 |
H2: element(l, [pmax]) = liseq_prfx(a, i) .
|
|
79 |
H3: 0 <= pmax .
|
|
80 |
H4: pmax < i .
|
|
81 |
H5: a__index__subtype__1__first = 0 .
|
|
82 |
H6: l__index__subtype__1__first = 0 .
|
|
83 |
H7: a__index__subtype__1__last = l__index__subtype__1__last .
|
|
84 |
H8: a__index__subtype__1__last < 2147483647 .
|
|
85 |
H9: for_all(i___1 : integer, a__index__subtype__1__first <= i___1 and i___1
|
|
86 |
<= a__index__subtype__1__last -> - 2147483648 <= element(a, [i___1])
|
|
87 |
and element(a, [i___1]) <= 2147483647) .
|
|
88 |
H10: for_all(i___1 : integer, l__index__subtype__1__first <= i___1 and i___1
|
|
89 |
<= l__index__subtype__1__last -> - 2147483648 <= element(l, [i___1])
|
|
90 |
and element(l, [i___1]) <= 2147483647) .
|
|
91 |
H11: i <= l__index__subtype__1__last .
|
|
92 |
H12: pmax >= a__index__subtype__1__first .
|
|
93 |
H13: i <= a__index__subtype__1__last .
|
|
94 |
H14: element(a, [pmax]) <= element(a, [i]) .
|
|
95 |
H15: element(l, [pmax]) >= - 2147483648 .
|
|
96 |
H16: element(l, [pmax]) <= 2147483646 .
|
|
97 |
H17: i >= l__index__subtype__1__first .
|
|
98 |
H18: i <= 2147483646 .
|
|
99 |
H19: integer__size >= 0 .
|
|
100 |
H20: a__index__subtype__1__first <= a__index__subtype__1__last .
|
|
101 |
H21: l__index__subtype__1__first <= l__index__subtype__1__last .
|
|
102 |
H22: a__index__subtype__1__first >= - 2147483648 .
|
|
103 |
H23: a__index__subtype__1__last >= - 2147483648 .
|
|
104 |
H24: l__index__subtype__1__first >= - 2147483648 .
|
|
105 |
H25: l__index__subtype__1__last >= - 2147483648 .
|
|
106 |
H26: a__index__subtype__1__last <= 2147483647 .
|
|
107 |
H27: a__index__subtype__1__first <= 2147483647 .
|
|
108 |
H28: l__index__subtype__1__last <= 2147483647 .
|
|
109 |
H29: l__index__subtype__1__first <= 2147483647 .
|
|
110 |
->
|
|
111 |
C1: for_all(i2_ : integer, 0 <= i2_ and i2_ <= i -> element(update(l, [i],
|
|
112 |
element(l, [pmax]) + 1), [i2_]) = liseq_ends_at(a, i2_)) .
|
|
113 |
C2: element(l, [pmax]) + 1 = liseq_prfx(a, i + 1) .
|
|
114 |
|
|
115 |
|
|
116 |
For path(s) from assertion of line 26 to assertion of line 15:
|
|
117 |
|
|
118 |
procedure_liseq_length_7.
|
|
119 |
H1: for_all(i2_ : integer, 0 <= i2_ and i2_ <= i - 1 -> element(l, [i2_]) =
|
|
120 |
liseq_ends_at(a, i2_)) .
|
|
121 |
H2: element(l, [pmax]) = liseq_prfx(a, i) .
|
|
122 |
H3: i <= l__index__subtype__1__last .
|
|
123 |
H4: 0 <= pmax .
|
|
124 |
H5: pmax < i .
|
|
125 |
H6: 0 <= i .
|
|
126 |
H7: a__index__subtype__1__first = 0 .
|
|
127 |
H8: l__index__subtype__1__first = 0 .
|
|
128 |
H9: a__index__subtype__1__last = l__index__subtype__1__last .
|
|
129 |
H10: a__index__subtype__1__last < 2147483647 .
|
|
130 |
H11: for_all(i___1 : integer, a__index__subtype__1__first <= i___1 and i___1
|
|
131 |
<= a__index__subtype__1__last -> - 2147483648 <= element(a, [i___1])
|
|
132 |
and element(a, [i___1]) <= 2147483647) .
|
|
133 |
H12: for_all(i___1 : integer, l__index__subtype__1__first <= i___1 and i___1
|
|
134 |
<= l__index__subtype__1__last -> - 2147483648 <= element(l, [i___1])
|
|
135 |
and element(l, [i___1]) <= 2147483647) .
|
|
136 |
H13: i <= 2147483647 .
|
|
137 |
H14: max_ext(a, i, i) >= - 2147483648 .
|
|
138 |
H15: max_ext(a, i, i) <= 2147483646 .
|
|
139 |
H16: i >= l__index__subtype__1__first .
|
|
140 |
H17: element(l, [pmax]) >= - 2147483648 .
|
|
141 |
H18: max_ext(a, i, i) + 1 > element(l, [pmax]) .
|
|
142 |
H19: element(l, [pmax]) <= 2147483646 .
|
|
143 |
H20: i <= 2147483646 .
|
|
144 |
H21: integer__size >= 0 .
|
|
145 |
H22: a__index__subtype__1__first <= a__index__subtype__1__last .
|
|
146 |
H23: l__index__subtype__1__first <= l__index__subtype__1__last .
|
|
147 |
H24: a__index__subtype__1__first >= - 2147483648 .
|
|
148 |
H25: a__index__subtype__1__last >= - 2147483648 .
|
|
149 |
H26: l__index__subtype__1__first >= - 2147483648 .
|
|
150 |
H27: l__index__subtype__1__last >= - 2147483648 .
|
|
151 |
H28: a__index__subtype__1__last <= 2147483647 .
|
|
152 |
H29: a__index__subtype__1__first <= 2147483647 .
|
|
153 |
H30: l__index__subtype__1__last <= 2147483647 .
|
|
154 |
H31: l__index__subtype__1__first <= 2147483647 .
|
|
155 |
->
|
|
156 |
C1: for_all(i2_ : integer, 0 <= i2_ and i2_ <= i -> element(update(l, [i],
|
|
157 |
max_ext(a, i, i) + 1), [i2_]) = liseq_ends_at(a, i2_)) .
|
|
158 |
C2: max_ext(a, i, i) + 1 = element(l, [pmax]) + 1 .
|
|
159 |
C3: max_ext(a, i, i) + 1 = liseq_prfx(a, i + 1) .
|
|
160 |
|
|
161 |
|
|
162 |
procedure_liseq_length_8.
|
|
163 |
H1: for_all(i2_ : integer, 0 <= i2_ and i2_ <= i - 1 -> element(l, [i2_]) =
|
|
164 |
liseq_ends_at(a, i2_)) .
|
|
165 |
H2: element(l, [pmax]) = liseq_prfx(a, i) .
|
|
166 |
H3: i <= l__index__subtype__1__last .
|
|
167 |
H4: 0 <= pmax .
|
|
168 |
H5: pmax < i .
|
|
169 |
H6: 0 <= i .
|
|
170 |
H7: a__index__subtype__1__first = 0 .
|
|
171 |
H8: l__index__subtype__1__first = 0 .
|
|
172 |
H9: a__index__subtype__1__last = l__index__subtype__1__last .
|
|
173 |
H10: a__index__subtype__1__last < 2147483647 .
|
|
174 |
H11: for_all(i___1 : integer, a__index__subtype__1__first <= i___1 and i___1
|
|
175 |
<= a__index__subtype__1__last -> - 2147483648 <= element(a, [i___1])
|
|
176 |
and element(a, [i___1]) <= 2147483647) .
|
|
177 |
H12: for_all(i___1 : integer, l__index__subtype__1__first <= i___1 and i___1
|
|
178 |
<= l__index__subtype__1__last -> - 2147483648 <= element(l, [i___1])
|
|
179 |
and element(l, [i___1]) <= 2147483647) .
|
|
180 |
H13: i <= 2147483647 .
|
|
181 |
H14: max_ext(a, i, i) >= - 2147483648 .
|
|
182 |
H15: max_ext(a, i, i) <= 2147483646 .
|
|
183 |
H16: i >= l__index__subtype__1__first .
|
|
184 |
H17: element(l, [pmax]) <= 2147483647 .
|
|
185 |
H18: max_ext(a, i, i) + 1 <= element(l, [pmax]) .
|
|
186 |
H19: i <= 2147483646 .
|
|
187 |
H20: integer__size >= 0 .
|
|
188 |
H21: a__index__subtype__1__first <= a__index__subtype__1__last .
|
|
189 |
H22: l__index__subtype__1__first <= l__index__subtype__1__last .
|
|
190 |
H23: a__index__subtype__1__first >= - 2147483648 .
|
|
191 |
H24: a__index__subtype__1__last >= - 2147483648 .
|
|
192 |
H25: l__index__subtype__1__first >= - 2147483648 .
|
|
193 |
H26: l__index__subtype__1__last >= - 2147483648 .
|
|
194 |
H27: a__index__subtype__1__last <= 2147483647 .
|
|
195 |
H28: a__index__subtype__1__first <= 2147483647 .
|
|
196 |
H29: l__index__subtype__1__last <= 2147483647 .
|
|
197 |
H30: l__index__subtype__1__first <= 2147483647 .
|
|
198 |
->
|
|
199 |
C1: for_all(i2_ : integer, 0 <= i2_ and i2_ <= i -> element(update(l, [i],
|
|
200 |
max_ext(a, i, i) + 1), [i2_]) = liseq_ends_at(a, i2_)) .
|
|
201 |
C2: element(l, [pmax]) = liseq_prfx(a, i + 1) .
|
|
202 |
|
|
203 |
|
|
204 |
For path(s) from assertion of line 15 to run-time check associated with
|
|
205 |
statement of line 23:
|
|
206 |
|
|
207 |
procedure_liseq_length_9.
|
|
208 |
*** true . /* all conclusions proved */
|
|
209 |
|
|
210 |
|
|
211 |
For path(s) from assertion of line 15 to run-time check associated with
|
|
212 |
statement of line 24:
|
|
213 |
|
|
214 |
procedure_liseq_length_10.
|
|
215 |
*** true . /* all conclusions proved */
|
|
216 |
|
|
217 |
|
|
218 |
For path(s) from assertion of line 15 to run-time check associated with
|
|
219 |
statement of line 25:
|
|
220 |
|
|
221 |
procedure_liseq_length_11.
|
|
222 |
*** true . /* all conclusions proved */
|
|
223 |
|
|
224 |
|
|
225 |
For path(s) from assertion of line 15 to assertion of line 26:
|
|
226 |
|
|
227 |
procedure_liseq_length_12.
|
|
228 |
H1: for_all(i2_ : integer, 0 <= i2_ and i2_ <= i - 1 -> element(l, [i2_]) =
|
|
229 |
liseq_ends_at(a, i2_)) .
|
|
230 |
H2: element(l, [pmax]) = liseq_prfx(a, i) .
|
|
231 |
H3: 0 <= pmax .
|
|
232 |
H4: pmax < i .
|
|
233 |
H5: a__index__subtype__1__first = 0 .
|
|
234 |
H6: l__index__subtype__1__first = 0 .
|
|
235 |
H7: a__index__subtype__1__last = l__index__subtype__1__last .
|
|
236 |
H8: a__index__subtype__1__last < 2147483647 .
|
|
237 |
H9: for_all(i___1 : integer, a__index__subtype__1__first <= i___1 and i___1
|
|
238 |
<= a__index__subtype__1__last -> - 2147483648 <= element(a, [i___1])
|
|
239 |
and element(a, [i___1]) <= 2147483647) .
|
|
240 |
H10: for_all(i___1 : integer, l__index__subtype__1__first <= i___1 and i___1
|
|
241 |
<= l__index__subtype__1__last -> - 2147483648 <= element(l, [i___1])
|
|
242 |
and element(l, [i___1]) <= 2147483647) .
|
|
243 |
H11: i <= l__index__subtype__1__last .
|
|
244 |
H12: pmax <= 2147483647 .
|
|
245 |
H13: pmax >= a__index__subtype__1__first .
|
|
246 |
H14: i <= a__index__subtype__1__last .
|
|
247 |
H15: element(a, [i]) < element(a, [pmax]) .
|
|
248 |
H16: integer__size >= 0 .
|
|
249 |
H17: a__index__subtype__1__first <= a__index__subtype__1__last .
|
|
250 |
H18: l__index__subtype__1__first <= l__index__subtype__1__last .
|
|
251 |
H19: a__index__subtype__1__first >= - 2147483648 .
|
|
252 |
H20: a__index__subtype__1__last >= - 2147483648 .
|
|
253 |
H21: l__index__subtype__1__first >= - 2147483648 .
|
|
254 |
H22: l__index__subtype__1__last >= - 2147483648 .
|
|
255 |
H23: a__index__subtype__1__last <= 2147483647 .
|
|
256 |
H24: a__index__subtype__1__first <= 2147483647 .
|
|
257 |
H25: l__index__subtype__1__last <= 2147483647 .
|
|
258 |
H26: l__index__subtype__1__first <= 2147483647 .
|
|
259 |
->
|
|
260 |
C1: 0 = max_ext(a, i, 0) .
|
|
261 |
|
|
262 |
|
|
263 |
For path(s) from assertion of line 26 to assertion of line 26:
|
|
264 |
|
|
265 |
procedure_liseq_length_13.
|
|
266 |
H1: for_all(i2_ : integer, 0 <= i2_ and i2_ <= i - 1 -> element(l, [i2_]) =
|
|
267 |
liseq_ends_at(a, i2_)) .
|
|
268 |
H2: element(l, [pmax]) = liseq_prfx(a, i) .
|
|
269 |
H3: i <= l__index__subtype__1__last .
|
|
270 |
H4: 0 <= pmax .
|
|
271 |
H5: pmax < i .
|
|
272 |
H6: 0 <= j .
|
|
273 |
H7: a__index__subtype__1__first = 0 .
|
|
274 |
H8: l__index__subtype__1__first = 0 .
|
|
275 |
H9: a__index__subtype__1__last = l__index__subtype__1__last .
|
|
276 |
H10: a__index__subtype__1__last < 2147483647 .
|
|
277 |
H11: for_all(i___1 : integer, a__index__subtype__1__first <= i___1 and i___1
|
|
278 |
<= a__index__subtype__1__last -> - 2147483648 <= element(a, [i___1])
|
|
279 |
and element(a, [i___1]) <= 2147483647) .
|
|
280 |
H12: for_all(i___1 : integer, l__index__subtype__1__first <= i___1 and i___1
|
|
281 |
<= l__index__subtype__1__last -> - 2147483648 <= element(l, [i___1])
|
|
282 |
and element(l, [i___1]) <= 2147483647) .
|
|
283 |
H13: j < i .
|
|
284 |
H14: max_ext(a, i, j) >= - 2147483648 .
|
|
285 |
H15: max_ext(a, i, j) <= 2147483647 .
|
|
286 |
H16: j >= l__index__subtype__1__first .
|
|
287 |
H17: i >= a__index__subtype__1__first .
|
|
288 |
H18: i <= a__index__subtype__1__last .
|
|
289 |
H19: j >= a__index__subtype__1__first .
|
|
290 |
H20: j <= a__index__subtype__1__last .
|
|
291 |
H21: element(a, [j]) <= element(a, [i]) .
|
|
292 |
H22: max_ext(a, i, j) < element(l, [j]) .
|
|
293 |
H23: element(l, [j]) >= - 2147483648 .
|
|
294 |
H24: element(l, [j]) <= 2147483647 .
|
|
295 |
H25: j <= 2147483646 .
|
|
296 |
H26: integer__size >= 0 .
|
|
297 |
H27: a__index__subtype__1__first <= a__index__subtype__1__last .
|
|
298 |
H28: l__index__subtype__1__first <= l__index__subtype__1__last .
|
|
299 |
H29: a__index__subtype__1__first >= - 2147483648 .
|
|
300 |
H30: a__index__subtype__1__last >= - 2147483648 .
|
|
301 |
H31: l__index__subtype__1__first >= - 2147483648 .
|
|
302 |
H32: l__index__subtype__1__last >= - 2147483648 .
|
|
303 |
H33: a__index__subtype__1__last <= 2147483647 .
|
|
304 |
H34: a__index__subtype__1__first <= 2147483647 .
|
|
305 |
H35: l__index__subtype__1__last <= 2147483647 .
|
|
306 |
H36: l__index__subtype__1__first <= 2147483647 .
|
|
307 |
->
|
|
308 |
C1: element(l, [j]) = max_ext(a, i, j + 1) .
|
|
309 |
|
|
310 |
|
|
311 |
procedure_liseq_length_14.
|
|
312 |
H1: for_all(i2_ : integer, 0 <= i2_ and i2_ <= i - 1 -> element(l, [i2_]) =
|
|
313 |
liseq_ends_at(a, i2_)) .
|
|
314 |
H2: element(l, [pmax]) = liseq_prfx(a, i) .
|
|
315 |
H3: i <= l__index__subtype__1__last .
|
|
316 |
H4: 0 <= pmax .
|
|
317 |
H5: pmax < i .
|
|
318 |
H6: 0 <= j .
|
|
319 |
H7: a__index__subtype__1__first = 0 .
|
|
320 |
H8: l__index__subtype__1__first = 0 .
|
|
321 |
H9: a__index__subtype__1__last = l__index__subtype__1__last .
|
|
322 |
H10: a__index__subtype__1__last < 2147483647 .
|
|
323 |
H11: for_all(i___1 : integer, a__index__subtype__1__first <= i___1 and i___1
|
|
324 |
<= a__index__subtype__1__last -> - 2147483648 <= element(a, [i___1])
|
|
325 |
and element(a, [i___1]) <= 2147483647) .
|
|
326 |
H12: for_all(i___1 : integer, l__index__subtype__1__first <= i___1 and i___1
|
|
327 |
<= l__index__subtype__1__last -> - 2147483648 <= element(l, [i___1])
|
|
328 |
and element(l, [i___1]) <= 2147483647) .
|
|
329 |
H13: j < i .
|
|
330 |
H14: max_ext(a, i, j) >= - 2147483648 .
|
|
331 |
H15: max_ext(a, i, j) <= 2147483647 .
|
|
332 |
H16: j >= l__index__subtype__1__first .
|
|
333 |
H17: i >= a__index__subtype__1__first .
|
|
334 |
H18: i <= a__index__subtype__1__last .
|
|
335 |
H19: j >= a__index__subtype__1__first .
|
|
336 |
H20: j <= a__index__subtype__1__last .
|
|
337 |
H21: element(a, [i]) < element(a, [j]) or element(l, [j]) <= max_ext(a, i, j)
|
|
338 |
.
|
|
339 |
H22: j <= 2147483646 .
|
|
340 |
H23: integer__size >= 0 .
|
|
341 |
H24: a__index__subtype__1__first <= a__index__subtype__1__last .
|
|
342 |
H25: l__index__subtype__1__first <= l__index__subtype__1__last .
|
|
343 |
H26: a__index__subtype__1__first >= - 2147483648 .
|
|
344 |
H27: a__index__subtype__1__last >= - 2147483648 .
|
|
345 |
H28: l__index__subtype__1__first >= - 2147483648 .
|
|
346 |
H29: l__index__subtype__1__last >= - 2147483648 .
|
|
347 |
H30: a__index__subtype__1__last <= 2147483647 .
|
|
348 |
H31: a__index__subtype__1__first <= 2147483647 .
|
|
349 |
H32: l__index__subtype__1__last <= 2147483647 .
|
|
350 |
H33: l__index__subtype__1__first <= 2147483647 .
|
|
351 |
->
|
|
352 |
C1: max_ext(a, i, j) = max_ext(a, i, j + 1) .
|
|
353 |
|
|
354 |
|
|
355 |
For path(s) from assertion of line 26 to run-time check associated with
|
|
356 |
statement of line 36:
|
|
357 |
|
|
358 |
procedure_liseq_length_15.
|
|
359 |
*** true . /* all conclusions proved */
|
|
360 |
|
|
361 |
|
|
362 |
For path(s) from assertion of line 26 to run-time check associated with
|
|
363 |
statement of line 38:
|
|
364 |
|
|
365 |
procedure_liseq_length_16.
|
|
366 |
*** true . /* all conclusions proved */
|
|
367 |
|
|
368 |
|
|
369 |
For path(s) from assertion of line 26 to run-time check associated with
|
|
370 |
statement of line 40:
|
|
371 |
|
|
372 |
procedure_liseq_length_17.
|
|
373 |
*** true . /* all conclusions proved */
|
|
374 |
|
|
375 |
|
|
376 |
procedure_liseq_length_18.
|
|
377 |
*** true . /* all conclusions proved */
|
|
378 |
|
|
379 |
|
|
380 |
For path(s) from assertion of line 26 to run-time check associated with
|
|
381 |
statement of line 42:
|
|
382 |
|
|
383 |
procedure_liseq_length_19.
|
|
384 |
H1: for_all(i2_ : integer, 0 <= i2_ and i2_ <= i - 1 -> element(l, [i2_]) =
|
|
385 |
liseq_ends_at(a, i2_)) .
|
|
386 |
H2: element(l, [pmax]) = liseq_prfx(a, i) .
|
|
387 |
H3: i <= l__index__subtype__1__last .
|
|
388 |
H4: 0 <= pmax .
|
|
389 |
H5: pmax < i .
|
|
390 |
H6: a__index__subtype__1__first = 0 .
|
|
391 |
H7: l__index__subtype__1__first = 0 .
|
|
392 |
H8: a__index__subtype__1__last = l__index__subtype__1__last .
|
|
393 |
H9: a__index__subtype__1__last < 2147483647 .
|
|
394 |
H10: for_all(i___1 : integer, a__index__subtype__1__first <= i___1 and i___1
|
|
395 |
<= a__index__subtype__1__last -> - 2147483648 <= element(a, [i___1])
|
|
396 |
and element(a, [i___1]) <= 2147483647) .
|
|
397 |
H11: for_all(i___1 : integer, l__index__subtype__1__first <= i___1 and i___1
|
|
398 |
<= l__index__subtype__1__last -> - 2147483648 <= element(l, [i___1])
|
|
399 |
and element(l, [i___1]) <= 2147483647) .
|
|
400 |
H12: i <= 2147483647 .
|
|
401 |
H13: max_ext(a, i, i) >= - 2147483648 .
|
|
402 |
H14: max_ext(a, i, i) <= 2147483647 .
|
|
403 |
H15: integer__size >= 0 .
|
|
404 |
H16: a__index__subtype__1__first <= a__index__subtype__1__last .
|
|
405 |
H17: l__index__subtype__1__first <= l__index__subtype__1__last .
|
|
406 |
H18: a__index__subtype__1__first >= - 2147483648 .
|
|
407 |
H19: a__index__subtype__1__last >= - 2147483648 .
|
|
408 |
H20: l__index__subtype__1__first >= - 2147483648 .
|
|
409 |
H21: l__index__subtype__1__last >= - 2147483648 .
|
|
410 |
H22: a__index__subtype__1__last <= 2147483647 .
|
|
411 |
H23: a__index__subtype__1__first <= 2147483647 .
|
|
412 |
H24: l__index__subtype__1__last <= 2147483647 .
|
|
413 |
H25: l__index__subtype__1__first <= 2147483647 .
|
|
414 |
->
|
|
415 |
C1: max_ext(a, i, i) <= 2147483646 .
|
|
416 |
|
|
417 |
|
|
418 |
For path(s) from assertion of line 26 to run-time check associated with
|
|
419 |
statement of line 43:
|
|
420 |
|
|
421 |
procedure_liseq_length_20.
|
|
422 |
*** true . /* all conclusions proved */
|
|
423 |
|
|
424 |
|
|
425 |
For path(s) from assertion of line 26 to run-time check associated with
|
|
426 |
statement of line 44:
|
|
427 |
|
|
428 |
procedure_liseq_length_21.
|
|
429 |
*** true . /* all conclusions proved */
|
|
430 |
|
|
431 |
|
|
432 |
For path(s) from assertion of line 26 to run-time check associated with
|
|
433 |
statement of line 45:
|
|
434 |
|
|
435 |
procedure_liseq_length_22.
|
|
436 |
*** true . /* all conclusions proved */
|
|
437 |
|
|
438 |
|
|
439 |
For path(s) from assertion of line 15 to run-time check associated with
|
|
440 |
statement of line 48:
|
|
441 |
|
|
442 |
procedure_liseq_length_23.
|
|
443 |
H1: for_all(i2_ : integer, 0 <= i2_ and i2_ <= i - 1 -> element(l, [i2_]) =
|
|
444 |
liseq_ends_at(a, i2_)) .
|
|
445 |
H2: element(l, [pmax]) = liseq_prfx(a, i) .
|
|
446 |
H3: 0 <= pmax .
|
|
447 |
H4: pmax < i .
|
|
448 |
H5: a__index__subtype__1__first = 0 .
|
|
449 |
H6: l__index__subtype__1__first = 0 .
|
|
450 |
H7: a__index__subtype__1__last = l__index__subtype__1__last .
|
|
451 |
H8: a__index__subtype__1__last < 2147483647 .
|
|
452 |
H9: for_all(i___1 : integer, a__index__subtype__1__first <= i___1 and i___1
|
|
453 |
<= a__index__subtype__1__last -> - 2147483648 <= element(a, [i___1])
|
|
454 |
and element(a, [i___1]) <= 2147483647) .
|
|
455 |
H10: for_all(i___1 : integer, l__index__subtype__1__first <= i___1 and i___1
|
|
456 |
<= l__index__subtype__1__last -> - 2147483648 <= element(l, [i___1])
|
|
457 |
and element(l, [i___1]) <= 2147483647) .
|
|
458 |
H11: i <= l__index__subtype__1__last .
|
|
459 |
H12: pmax <= 2147483647 .
|
|
460 |
H13: pmax >= a__index__subtype__1__first .
|
|
461 |
H14: i <= a__index__subtype__1__last .
|
|
462 |
H15: element(a, [pmax]) <= element(a, [i]) .
|
|
463 |
H16: element(l, [pmax]) >= - 2147483648 .
|
|
464 |
H17: element(l, [pmax]) <= 2147483647 .
|
|
465 |
H18: integer__size >= 0 .
|
|
466 |
H19: a__index__subtype__1__first <= a__index__subtype__1__last .
|
|
467 |
H20: l__index__subtype__1__first <= l__index__subtype__1__last .
|
|
468 |
H21: a__index__subtype__1__first >= - 2147483648 .
|
|
469 |
H22: a__index__subtype__1__last >= - 2147483648 .
|
|
470 |
H23: l__index__subtype__1__first >= - 2147483648 .
|
|
471 |
H24: l__index__subtype__1__last >= - 2147483648 .
|
|
472 |
H25: a__index__subtype__1__last <= 2147483647 .
|
|
473 |
H26: a__index__subtype__1__first <= 2147483647 .
|
|
474 |
H27: l__index__subtype__1__last <= 2147483647 .
|
|
475 |
H28: l__index__subtype__1__first <= 2147483647 .
|
|
476 |
->
|
|
477 |
C1: element(l, [pmax]) <= 2147483646 .
|
|
478 |
|
|
479 |
|
|
480 |
For path(s) from assertion of line 15 to run-time check associated with
|
|
481 |
statement of line 49:
|
|
482 |
|
|
483 |
procedure_liseq_length_24.
|
|
484 |
*** true . /* all conclusions proved */
|
|
485 |
|
|
486 |
|
|
487 |
For path(s) from assertion of line 15 to run-time check associated with
|
|
488 |
statement of line 50:
|
|
489 |
|
|
490 |
procedure_liseq_length_25.
|
|
491 |
*** true . /* all conclusions proved */
|
|
492 |
|
|
493 |
|
|
494 |
For path(s) from assertion of line 15 to run-time check associated with
|
|
495 |
statement of line 52:
|
|
496 |
|
|
497 |
procedure_liseq_length_26.
|
|
498 |
*** true . /* all conclusions proved */
|
|
499 |
|
|
500 |
|
|
501 |
For path(s) from assertion of line 26 to run-time check associated with
|
|
502 |
statement of line 52:
|
|
503 |
|
|
504 |
procedure_liseq_length_27.
|
|
505 |
*** true . /* all conclusions proved */
|
|
506 |
|
|
507 |
|
|
508 |
procedure_liseq_length_28.
|
|
509 |
*** true . /* all conclusions proved */
|
|
510 |
|
|
511 |
|
|
512 |
For path(s) from assertion of line 15 to finish:
|
|
513 |
|
|
514 |
procedure_liseq_length_29.
|
|
515 |
H1: for_all(i2_ : integer, 0 <= i2_ and i2_ <= i - 1 -> element(l, [i2_]) =
|
|
516 |
liseq_ends_at(a, i2_)) .
|
|
517 |
H2: element(l, [pmax]) = liseq_prfx(a, i) .
|
|
518 |
H3: i <= l__index__subtype__1__last + 1 .
|
|
519 |
H4: 0 <= pmax .
|
|
520 |
H5: pmax < i .
|
|
521 |
H6: a__index__subtype__1__first = 0 .
|
|
522 |
H7: l__index__subtype__1__first = 0 .
|
|
523 |
H8: a__index__subtype__1__last = l__index__subtype__1__last .
|
|
524 |
H9: a__index__subtype__1__last < 2147483647 .
|
|
525 |
H10: for_all(i___1 : integer, a__index__subtype__1__first <= i___1 and i___1
|
|
526 |
<= a__index__subtype__1__last -> - 2147483648 <= element(a, [i___1])
|
|
527 |
and element(a, [i___1]) <= 2147483647) .
|
|
528 |
H11: for_all(i___1 : integer, l__index__subtype__1__first <= i___1 and i___1
|
|
529 |
<= l__index__subtype__1__last -> - 2147483648 <= element(l, [i___1])
|
|
530 |
and element(l, [i___1]) <= 2147483647) .
|
|
531 |
H12: i <= 2147483647 .
|
|
532 |
H13: l__index__subtype__1__last < i .
|
|
533 |
H14: integer__size >= 0 .
|
|
534 |
H15: a__index__subtype__1__first <= a__index__subtype__1__last .
|
|
535 |
H16: l__index__subtype__1__first <= l__index__subtype__1__last .
|
|
536 |
H17: a__index__subtype__1__first >= - 2147483648 .
|
|
537 |
H18: a__index__subtype__1__last >= - 2147483648 .
|
|
538 |
H19: l__index__subtype__1__first >= - 2147483648 .
|
|
539 |
H20: l__index__subtype__1__last >= - 2147483648 .
|
|
540 |
H21: a__index__subtype__1__last <= 2147483647 .
|
|
541 |
H22: a__index__subtype__1__first <= 2147483647 .
|
|
542 |
H23: l__index__subtype__1__last <= 2147483647 .
|
|
543 |
H24: l__index__subtype__1__first <= 2147483647 .
|
|
544 |
->
|
|
545 |
C1: element(l, [pmax]) = liseq_prfx(a, a__index__subtype__1__last + 1) .
|
|
546 |
|
|
547 |
|