-
Notifications
You must be signed in to change notification settings - Fork 1
/
NumeralNotations.out
236 lines (236 loc) · 6.03 KB
/
NumeralNotations.out
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
The command has indeed failed with message:
Unexpected term (nat -> nat) while parsing a numeral notation.
The command has indeed failed with message:
Unexpected non-option term opaque4 while parsing a numeral notation.
The command has indeed failed with message:
Unexpected term (fun (A : Type) (x : A) => x) while parsing a numeral
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
The command has indeed failed with message:
Cannot interpret this number as a value of type unit
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 "stdin", 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]
The command has indeed failed with message:
In environment
v := pto_punits (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
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 := 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
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 "stdin", line 203, characters 2-72:
Warning: The 'abstract after' directive has no effect when the parsing
function (of_uint) targets an option type.
[abstract-large-number-no-op,numbers]
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 (Decimal.D1 Decimal.Nil) in v : unit
: unit
let v := 0%test13 in v : unit
: unit
The command has indeed failed with message:
to_uint' is bound to a notation that does not denote a reference.
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".
The command has indeed failed with message:
to_uint'' is bound to a notation that does not denote a reference.
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
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".
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".
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
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
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".
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".
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
The command has indeed failed with message:
Cannot interpret in test16_scope because NumeralNotations.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
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