Debian Codegraph @

test-suite/output/NumberNotations.out

raw
1 File "./output/NumberNotations.v", line 11, characters 13-14:
2 The command has indeed failed with message:
3 Unexpected term (nat -> nat) while parsing a number notation.
4 File "./output/NumberNotations.v", line 21, characters 13-14:
5 The command has indeed failed with message:
6 Unexpected non-option term opaque4 while parsing a number notation.
7 File "./output/NumberNotations.v", line 32, characters 13-14:
8 The command has indeed failed with message:
9 Unexpected term (fun (A : Type) (x : A) => x) while parsing a number
10 notation.
11 let v := 0%ppp in v : punit
12 : punit
13 let v := 0%ppp in v : punit
14 : punit
15 let v := 0%ppp in v : punit
16 : punit
17 let v := 0%ppp in v : punit
18 : punit
19 let v := 0%uto in v : unit
20 : unit
21 File "./output/NumberNotations.v", line 72, characters 13-14:
22 The command has indeed failed with message:
23 Cannot interpret this number as a value of type unit
24 File "./output/NumberNotations.v", line 73, characters 14-16:
25 The command has indeed failed with message:
26 Cannot interpret this number as a value of type unit
27 let v := 0%upp in v : unit
28 : unit
29 let v := 0%upp in v : unit
30 : unit
31 let v := 0%upp in v : unit
32 : unit
33 let v := 0%ppps in v : punit
34 : punit
35 File "./output/NumberNotations.v", line 91, characters 2-46:
36 Warning: To avoid stack overflow, large numbers in punit are interpreted as
37 applications of pto_punits. [abstract-large-number,numbers,default]
38 File "./output/NumberNotations.v", line 91, characters 32-33:
39 The command has indeed failed with message:
40 In environment
41 v := pto_punits (Number.UIntDecimal (Decimal.D1 Decimal.Nil)) : punit
42 The term "v" has type "punit@{Set}" while it is expected to have type
43 "punit@{u}"
44 (universe inconsistency: Cannot enforce Set = u).
45 S
46 : nat -> nat
47 S (ack 4 4)
48 : nat
49 let v := 0%wnat in v : wnat
50 : wnat
51 0%wnat
52 : wnat
53 {| unwrap := ack 4 4 |}
54 : wnat
55 {| Test6.unwrap := 0 |}
56 : Test6.wnat
57 let v := 0%wnat in v : Test6.wnat
58 : Test6.wnat
59 let v := 0%wuint in v : wuint
60 : wuint
61 let v := 1%wuint in v : wuint
62 : wuint
63 let v := 0%wuint8 in v : wuint
64 : wuint
65 let v := 0 in v : nat
66 : nat
67 File "./output/NumberNotations.v", line 164, characters 34-35:
68 The command has indeed failed with message:
69 In environment
70 v := 0 : nat
71 The term "v" has type "nat" while it is expected to have type "wuint".
72 = {| unwrap := Number.UIntDecimal (Decimal.D0 Decimal.Nil) |}
73 : wuint
74 let v := 0%wuint8' in v : wuint
75 : wuint
76 let v := 0%wuint9 in v : wuint
77 : wuint
78 let v := 0%wuint9' in v : wuint
79 : wuint
80 let v := 0 in v : nat
81 : nat
82 File "./output/NumberNotations.v", line 191, characters 34-35:
83 The command has indeed failed with message:
84 In environment
85 v := 0 : nat
86 The term "v" has type "nat" while it is expected to have type "wuint".
87 File "./output/NumberNotations.v", line 203, characters 2-71:
88 Warning: The 'abstract after' directive has no effect when the parsing
89 function (of_uint) targets an option type.
90 [abstract-large-number-no-op,numbers,default]
91 File "./output/NumberNotations.v", line 206, characters 2-77:
92 The command has indeed failed with message:
93 The 'abstract after' directive has no effect when the parsing function
94 (of_uint) targets an option type.
95 [abstract-large-number-no-op,numbers,default]
96 let v := of_uint (Number.UIntDecimal (Decimal.D1 Decimal.Nil)) in v : unit
97 : unit
98 let v := 0%test13 in v : unit
99 : unit
100 File "./output/NumberNotations.v", line 238, characters 36-44:
101 The command has indeed failed with message:
102 to_uint' is bound to a notation that does not denote a reference.
103 File "./output/NumberNotations.v", line 239, characters 35-36:
104 The command has indeed failed with message:
105 In environment
106 v := 0 : nat
107 The term "v" has type "nat" while it is expected to have type "unit".
108 File "./output/NumberNotations.v", line 240, characters 36-45:
109 The command has indeed failed with message:
110 to_uint'' is bound to a notation that does not denote a reference.
111 File "./output/NumberNotations.v", line 241, characters 36-37:
112 The command has indeed failed with message:
113 In environment
114 v := 0 : nat
115 The term "v" has type "nat" while it is expected to have type "unit".
116 let v := 0%test14' in v : unit
117 : unit
118 let v := 0%test14' in v : unit
119 : unit
120 File "./output/NumberNotations.v", line 264, characters 34-35:
121 The command has indeed failed with message:
122 In environment
123 v := 0 : nat
124 The term "v" has type "nat" while it is expected to have type "unit".
125 File "./output/NumberNotations.v", line 265, characters 35-36:
126 The command has indeed failed with message:
127 In environment
128 v := 0 : nat
129 The term "v" has type "nat" while it is expected to have type "unit".
130 File "./output/NumberNotations.v", line 267, characters 34-35:
131 The command has indeed failed with message:
132 In environment
133 v := 0 : nat
134 The term "v" has type "nat" while it is expected to have type "unit".
135 let v := 0%test14' in v : unit
136 : unit
137 File "./output/NumberNotations.v", line 273, characters 4-71:
138 The command has indeed failed with message:
139 This command does not support the Global option in sections.
140 let v := 0%test14'' in v : unit
141 : unit
142 File "./output/NumberNotations.v", line 275, characters 39-40:
143 The command has indeed failed with message:
144 In environment
145 v := 0 : nat
146 The term "v" has type "nat" while it is expected to have type "unit".
147 File "./output/NumberNotations.v", line 277, characters 36-37:
148 The command has indeed failed with message:
149 In environment
150 v := 0 : nat
151 The term "v" has type "nat" while it is expected to have type "unit".
152 File "./output/NumberNotations.v", line 278, characters 37-38:
153 The command has indeed failed with message:
154 In environment
155 v := 0 : nat
156 The term "v" has type "nat" while it is expected to have type "unit".
157 let v := 0%test15 in v : unit
158 : unit
159 let v := 0%test15 in v : unit
160 : unit
161 let v := 0%test15 in v : unit
162 : unit
163 let v := foo a.t in v : Foo
164 : Foo
165 File "./output/NumberNotations.v", line 320, characters 22-23:
166 The command has indeed failed with message:
167 Cannot interpret in test16_scope because NumberNotations.Test16.F.Foo could not be found in the current environment.
168 let v := 0%test17 in v : myint63
169 : myint63
170 let v := 0%Q in v : Q
171 : Q
172 let v := 1%Q in v : Q
173 : Q
174 let v := 2%Q in v : Q
175 : Q
176 let v := 3%Q in v : Q
177 : Q
178 let v := 4%Q in v : Q
179 : Q
180 = (0, 1)
181 : nat * nat
182 = (1, 1)
183 : nat * nat
184 = (2, 1)
185 : nat * nat
186 = (3, 1)
187 : nat * nat
188 = (4, 1)
189 : nat * nat
190 let v := (-1)%Zlike in v : Zlike
191 : Zlike
192 let v := 0%Zlike in v : Zlike
193 : Zlike
194 let v := 1%Zlike in v : Zlike
195 : Zlike
196 let v := 2%Zlike in v : Zlike
197 : Zlike
198 let v := 3%Zlike in v : Zlike
199 : Zlike
200 let v := 4%Zlike in v : Zlike
201 : Zlike
202 2%Zlike
203 : Zlike
204 0%Zlike
205 : Zlike
206 let v := 0%kt in v : ty
207 : ty
208 let v := 1%kt in v : ty
209 : ty
210 let v := 2%kt in v : ty
211 : ty
212 let v := 3%kt in v : ty
213 : ty
214 let v := 4%kt in v : ty
215 : ty
216 let v := 5%kt in v : ty
217 : ty
218 File "./output/NumberNotations.v", line 463, characters 22-23:
219 The command has indeed failed with message:
220 Cannot interpret this number as a value of type ty
221 = 0%kt
222 : ty
223 = 1%kt
224 : ty
225 = 2%kt
226 : ty
227 = 3%kt
228 : ty
229 = 4%kt
230 : ty
231 = 5%kt
232 : ty
233 let v : ty := Build_ty Empty_set zero in v : ty
234 : ty
235 let v : ty := Build_ty unit one in v : ty
236 : ty
237 let v : ty := Build_ty bool two in v : ty
238 : ty
239 let v : ty := Build_ty Prop prop in v : ty
240 : ty
241 let v : ty := Build_ty Set set in v : ty
242 : ty
243 let v : ty := Build_ty Type type in v : ty
244 : ty
245 1
246 : nat
247 1000
248 : nat
249 0
250 : Prop
251 +0
252 : bool
253 -0
254 : bool
255 00
256 : nat * nat
257 1000
258 : Prop
259 1_000
260 : list nat
261 0
262 : Set
263 1
264 : Set
265 2
266 : Set
267 3
268 : Set
269 Empty_set
270 : Set
271 unit
272 : Set
273 sum unit unit
274 : Set
275 sum unit (sum unit unit)
276 : Set
277 File "./output/NumberNotations.v", line 558, characters 0-112:
278 The command has indeed failed with message:
279 Missing mapping for constructor Isum.
280 File "./output/NumberNotations.v", line 564, characters 68-73:
281 The command has indeed failed with message:
282 Iunit was already mapped to unit and cannot be remapped to unit.
283 File "./output/NumberNotations.v", line 568, characters 47-50:
284 The command has indeed failed with message:
285 add is not an inductive type.
286 File "./output/NumberNotations.v", line 574, characters 40-43:
287 The command has indeed failed with message:
288 add is not a constructor of an inductive type.
289 File "./output/NumberNotations.v", line 578, characters 0-103:
290 The command has indeed failed with message:
291 Missing mapping for constructor Iempty.
292 File "./output/NumberNotations.v", line 592, characters 56-61:
293 Warning: Type of I'sum seems incompatible with the type of sum.
294 Expected type is: (I' -> I' -> I') instead of (I -> I' -> I').
295 This might yield ill typed terms when using the notation.
296 [via-type-mismatch,numbers,default]
297 File "./output/NumberNotations.v", line 597, characters 32-33:
298 Warning: I was already mapped to Set, mapping it also to
299 nat might yield ill typed terms when using the notation.
300 [via-type-remapping,numbers,default]
301 File "./output/NumberNotations.v", line 597, characters 37-42:
302 Warning: Type of Iunit seems incompatible with the type of O.
303 Expected type is: I instead of I.
304 This might yield ill typed terms when using the notation.
305 [via-type-mismatch,numbers,default]
306 File "./output/NumberNotations.v", line 601, characters 0-146:
307 The command has indeed failed with message:
308 'via' and 'abstract' cannot be used together.
309 File "./output/NumberNotations.v", line 680, characters 21-23:
310 Warning: Type of I1 seems incompatible with the type of Fin.F1.
311 Expected type is: (nat -> I) instead of I.
312 This might yield ill typed terms when using the notation.
313 [via-type-mismatch,numbers,default]
314 File "./output/NumberNotations.v", line 680, characters 35-37:
315 Warning: Type of IS seems incompatible with the type of Fin.FS.
316 Expected type is: (nat -> I -> I) instead of (I -> I).
317 This might yield ill typed terms when using the notation.
318 [via-type-mismatch,numbers,default]
319 File "./output/NumberNotations.v", line 683, characters 11-12:
320 The command has indeed failed with message:
321 The term "0" has type "forall n : nat, Fin.t (S n)"
322 while it is expected to have type "nat".
323 0
324 : Fin.t (S ?n)
325 where
326 ?n : [ |- nat]
327 1
328 : Fin.t (S (S ?n))
329 where
330 ?n : [ |- nat]
331 2
332 : Fin.t (S (S (S ?n)))
333 where
334 ?n : [ |- nat]
335 3
336 : Fin.t (S (S (S (S ?n))))
337 where
338 ?n : [ |- nat]
339 0 : Fin.t 3
340 : Fin.t 3
341 1 : Fin.t 3
342 : Fin.t 3
343 2 : Fin.t 3
344 : Fin.t 3
345 File "./output/NumberNotations.v", line 696, characters 11-42:
346 The command has indeed failed with message:
347 The term "3" has type "Fin.t (S (S (S (S ?n))))"
348 while it is expected to have type "Fin.t 3".
349 @Fin.F1 ?n
350 : Fin.t (S ?n)
351 where
352 ?n : [ |- nat]
353 @Fin.FS (S ?n) (@Fin.F1 ?n)
354 : Fin.t (S (S ?n))
355 where
356 ?n : [ |- nat]
357 @Fin.FS (S (S ?n)) (@Fin.FS (S ?n) (@Fin.F1 ?n))
358 : Fin.t (S (S (S ?n)))
359 where
360 ?n : [ |- nat]
361 @Fin.FS (S (S (S ?n))) (@Fin.FS (S (S ?n)) (@Fin.FS (S ?n) (@Fin.F1 ?n)))
362 : Fin.t (S (S (S (S ?n))))
363 where
364 ?n : [ |- nat]
365 @Fin.F1 (S (S O)) : Fin.t (S (S (S O)))
366 : Fin.t (S (S (S O)))
367 @Fin.FS (S (S O)) (@Fin.F1 (S O)) : Fin.t (S (S (S O)))
368 : Fin.t (S (S (S O)))
369 @Fin.FS (S (S O)) (@Fin.FS (S O) (@Fin.F1 O)) : Fin.t (S (S (S O)))
370 : Fin.t (S (S (S O)))
371 File "./output/NumberNotations.v", line 705, characters 11-12:
372 The command has indeed failed with message:
373 The term
374 "@Fin.FS (S (S (S ?n))) (@Fin.FS (S (S ?n)) (@Fin.FS (S ?n) (@Fin.F1 ?n)))"
375 has type "Fin.t (S (S (S (S ?n))))" while it is expected to have type
376 "Fin.t (S (S (S O)))".
377 0
378 : list unit
379 1
380 : list unit
381 2
382 : list unit
383 2
384 : list unit
385 0 :: 0 :: nil
386 : list nat
387 0
388 : Ip nat bool
389 1
390 : Ip nat bool
391 2
392 : Ip nat bool
393 3
394 : Ip nat bool
395 1
396 : Ip nat bool
397 1
398 : Ip nat bool
399 1
400 : Ip nat bool
401 1
402 : Ip nat bool
403 Ip0 nat nat 1
404 : Ip nat nat
405 Ip0 bool bool 1
406 : Ip bool bool
407 Ip1 nat nat 1
408 : Ip nat nat
409 Ip3 1 nat nat
410 : Ip nat nat
411 Ip0 nat bool O
412 : Ip nat bool
413 Ip1 bool nat (S O)
414 : Ip nat bool
415 Ip2 nat (S (S O)) bool
416 : Ip nat bool
417 Ip3 (S (S (S O))) nat bool
418 : Ip nat bool
419 0
420 : 0 = 0
421 eq_refl
422 : 1 = 1
423 0
424 : 0 = 0
425 eq_refl
426 : id 0 = id 0
427 eq_refl
428 : 1 = 1
429 0
430 : 0 = 0
431 eq_refl
432 : id 0 = id 0
433 2
434 : extra_list_unit
435 cons O unit tt (cons O unit tt (nil O unit))
436 : extra_list unit
437 0
438 : Set
439 1
440 : Set
441 2
442 : Set
443 3
444 : Set
445 Empty_set
446 : Set
447 unit
448 : Set
449 sum unit unit
450 : Set
451 sum unit (sum unit unit)
452 : Set
453 0
454 : Fin.t (S ?n)
455 where
456 ?n : [ |- nat]
457 1
458 : Fin.t (S (S ?n))
459 where
460 ?n : [ |- nat]
461 2
462 : Fin.t (S (S (S ?n)))
463 where
464 ?n : [ |- nat]
465 3
466 : Fin.t (S (S (S (S ?n))))
467 where
468 ?n : [ |- nat]
469 0 : Fin.t 3
470 : Fin.t 3
471 1 : Fin.t 3
472 : Fin.t 3
473 2 : Fin.t 3
474 : Fin.t 3
475 File "./output/NumberNotations.v", line 933, characters 11-42:
476 The command has indeed failed with message:
477 The term "3" has type "Fin.t (S (S (S (S ?n))))"
478 while it is expected to have type "Fin.t 3".
479 @Fin.F1 ?n
480 : Fin.t (S ?n)
481 where
482 ?n : [ |- nat]
483 @Fin.FS (S ?n) (@Fin.F1 ?n)
484 : Fin.t (S (S ?n))
485 where
486 ?n : [ |- nat]
487 @Fin.FS (S (S ?n)) (@Fin.FS (S ?n) (@Fin.F1 ?n))
488 : Fin.t (S (S (S ?n)))
489 where
490 ?n : [ |- nat]
491 @Fin.FS (S (S (S ?n))) (@Fin.FS (S (S ?n)) (@Fin.FS (S ?n) (@Fin.F1 ?n)))
492 : Fin.t (S (S (S (S ?n))))
493 where
494 ?n : [ |- nat]
495 @Fin.F1 (S (S O)) : Fin.t (S (S (S O)))
496 : Fin.t (S (S (S O)))
497 @Fin.FS (S (S O)) (@Fin.F1 (S O)) : Fin.t (S (S (S O)))
498 : Fin.t (S (S (S O)))
499 @Fin.FS (S (S O)) (@Fin.FS (S O) (@Fin.F1 O)) : Fin.t (S (S (S O)))
500 : Fin.t (S (S (S O)))
501 File "./output/NumberNotations.v", line 942, characters 11-12:
502 The command has indeed failed with message:
503 The term
504 "@Fin.FS (S (S (S ?n))) (@Fin.FS (S (S ?n)) (@Fin.FS (S ?n) (@Fin.F1 ?n)))"
505 has type "Fin.t (S (S (S (S ?n))))" while it is expected to have type
506 "Fin.t (S (S (S O)))".
507 0
508 : Fin.t (S ?n)
509 where
510 ?n : [ |- nat : Set]
511 1
512 : Fin.t (S (S ?n))
513 where
514 ?n : [ |- nat : Set]
515 2
516 : Fin.t (S (S (S ?n)))
517 where
518 ?n : [ |- nat : Set]
519 3
520 : Fin.t (S (S (S (S ?n))))
521 where
522 ?n : [ |- nat : Set]
523 0 : Fin.t 3
524 : Fin.t 3
525 1 : Fin.t 3
526 : Fin.t 3
527 2 : Fin.t 3
528 : Fin.t 3
529 File "./output/NumberNotations.v", line 987, characters 11-42:
530 The command has indeed failed with message:
531 The term "3" has type "Fin.t (S (S (S (S ?n))))"
532 while it is expected to have type "Fin.t 3".
533 @Fin.F1 ?n
534 : Fin.t (S ?n)
535 where
536 ?n : [ |- nat : Set]
537 @Fin.FS (S ?n) (@Fin.F1 ?n)
538 : Fin.t (S (S ?n))
539 where
540 ?n : [ |- nat : Set]
541 @Fin.FS (S (S ?n)) (@Fin.FS (S ?n) (@Fin.F1 ?n))
542 : Fin.t (S (S (S ?n)))
543 where
544 ?n : [ |- nat : Set]
545 @Fin.FS (S (S (S ?n))) (@Fin.FS (S (S ?n)) (@Fin.FS (S ?n) (@Fin.F1 ?n)))
546 : Fin.t (S (S (S (S ?n))))
547 where
548 ?n : [ |- nat : Set]
549 @Fin.F1 (S (S O)) : Fin.t (S (S (S O)))
550 : Fin.t (S (S (S O)))
551 @Fin.FS (S (S O)) (@Fin.F1 (S O)) : Fin.t (S (S (S O)))
552 : Fin.t (S (S (S O)))
553 @Fin.FS (S (S O)) (@Fin.FS (S O) (@Fin.F1 O)) : Fin.t (S (S (S O)))
554 : Fin.t (S (S (S O)))
555 File "./output/NumberNotations.v", line 996, characters 11-12:
556 The command has indeed failed with message:
557 The term
558 "@Fin.FS (S (S (S ?n))) (@Fin.FS (S (S ?n)) (@Fin.FS (S ?n) (@Fin.F1 ?n)))"
559 has type "Fin.t (S (S (S (S ?n))))" while it is expected to have type
560 "Fin.t (S (S (S O)))".
561 0%float
562 : float
563 1%float
564 : float
565 infinity
566 : float
567 neg_infinity
568 : float
569 nan
570 : float
571 2
572 : nunit2
573 2
574 : nunit2
575 NUnit 3
576 : nunit 3
577 NUnit 0
578 : nunit 0
579 NUnit (1 + 1)
580 : nunit (1 + 1)