File: NumberNotations.out

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