Source file ser_vernacexpr.ml
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
open Ppx_hash_lib.Std.Hash.Builtin
open Ppx_compare_lib.Builtin
open Sexplib.Conv
module CUnix = Ser_cUnix
module Loc = Ser_loc
module CAst = Ser_cAst
module Names = Ser_names
module Flags = Ser_flags
module Sorts = Ser_sorts
module CPrimitives = Ser_cPrimitives
module Univ = Ser_univ
module UnivNames = Ser_univNames
module Conv_oracle = Ser_conv_oracle
module Declarations= Ser_declarations
module Decls = Ser_decls
module Genarg = Ser_genarg
module Declaremods = Ser_declaremods
module Libnames = Ser_libnames
module Extend = Ser_extend
module Stateid = Ser_stateid
module Glob_term = Ser_glob_term
module Goal_select = Ser_goal_select
module Proof_bullet = Ser_proof_bullet
module Constrexpr = Ser_constrexpr
module Notation_term = Ser_notation_term
module Hints = Ser_hints
module Goptions = Ser_goptions
module Genredexpr = Ser_genredexpr
module Universes = Ser_universes
module Attributes = Ser_attributes
module Gramlib = Ser_gramlib
module Impargs = Ser_impargs
module Typeclasses = Ser_typeclasses
module Notationextern = Ser_notationextern
module Util = Ser_util
type coercion_class = [%import: Vernacexpr.coercion_class]
[@@deriving sexp,yojson,hash,compare]
type goal_identifier = [%import: Vernacexpr.goal_identifier]
[@@deriving sexp]
type scope_name = [%import: Vernacexpr.scope_name]
[@@deriving sexp,yojson,hash,compare]
type scope_delimiter = [%import: Vernacexpr.scope_delimiter]
[@@deriving sexp,yojson,hash,compare]
type goal_reference =
[%import: Vernacexpr.goal_reference]
[@@deriving sexp,yojson,hash,compare]
type printable =
[%import: Vernacexpr.printable]
[@@deriving sexp,yojson,hash,compare]
type glob_search_where =
[%import: Vernacexpr.glob_search_where]
[@@deriving sexp,yojson,hash,compare]
type search_item =
[%import: Vernacexpr.search_item]
[@@de sexp,yojso,hash,compare]
type search_requ =
[%import: Vernacexpr]
[@@deriving sexp,yojson,hash,compare]
type searchable =
[%import: Vernacexpr.searchable]
[@@deriving sexp,yojson,hash,compare]
type locatable = [%import: Vernacexpr.locatable]
[@@deriving sexp,yojson,hash,compare]
type showable = [%import: Vernacexpr.showable]
[@@deriving sexp,yojson,hash,compare]
type comment =
[%import: Vernacexpr.comment]
[@@deriving sexp,yojson,hash,compare]
type 'a search_restriction = [%import: 'a Vernacexpr.search_restriction]
[@@deriving sexp,yojson,hash,compare]
= [%import: Vernacexpr.rec_flag ] [@@deriving sexp,yojson] *)
type verbose_flag = [%import: Vernacexpr.verbose_flag ] [@@deriving sexp,yojson,hash,compare]
type coercion_flag = [%import: Vernacexpr.coercion_flag ] [@@deriving sexp,yojson,hash,compare]
] [@@deriving sexp,yojson,hash,compare] *)
type instance_flag = [%import: Vernacexpr.instance_flag ] [@@deriving sexp,yojson,hash,compare]
type export_flag = [%import: Vernacexpr.export_flag ] [@@deriving sexp,yojson,hash,compare]
rsing_flag ] [@@deriving sexp,yojson,hash,compare] *)
type locality_flag = [%import: Vernacexpr.locality_flag ] [@@deriving sexp,yojson,hash,compare]
e obsolete_locality = [%import: Vernacexpr.obsolete_locality ] [@@deriving sexp] *)
type option_setting =
[%import: Vernacexpr.option_setting]
[@@deriving sexp,yojson,hash,compare]
[%import: Vernacexpr.sort_expr]
* [@@deriving sexp,yojson,hash,compare] *)
type definition_expr =
[%import: Vernacexpr.definition_expr]
[@@deriving sexp,yojson,hash,compare]
type import_categories =
[%import: Vernacexpr.import_categories]
[@@deriving sexp,yojson,hash,compare]
type infix_flag =
[%import: Vernacexpr.infix_flag]
[@@deriving sexp,yojson,hash,compare]
type notation_format =
[%import: Vernacexpr.notation_format]
[@@deriving sexp,yojson,hash,compare]
type syntax_modifier =
[%import: Vernacexpr.syntax_modifier]
[@@deriving sexp,yojson,hash,compare]
type notation_declaration =
[%import: Vernacexpr.notation_declaration]
[@@deriving sexp,yojson,hash,compare]
type 'a fix_expr_gen =
[%import: 'a Vernacexpr.fix_expr_gen]
[@@deriving sexp,yojson,hash,compare]
type fixpoint_expr =
[%import: Vernacexpr.fixpoint_expr]
[@@deriving sexp,yojson,hash,compare]
type cofixpoint_expr =
[%import: Vernacexpr.cofixpoint_expr]
[@@deriving sexp,yojson,hash,compare]
type local_decl_expr =
[%import: Vernacexpr.local_decl_expr]
[@@deriving sexp,yojson,hash,compare]
type inductive_kind =
[%import: Vernacexpr.inductive_kind]
[@@deriving sexp,yojson,hash,compare]
type simple_binder =
[%import: Vernacexpr.simple_binder]
[@@deriving sexp,yojson,hash,compare]
type class_binder =
[%import: Vernacexpr.class_binder]
[@@deriving sexp,yojson,hash,compare]
type 'a with_coercion =
[%import: 'a Vernacexpr.with_coercion]
[@@deriving sexp,yojson,hash,compare]
type 'a with_coercion_instance =
[%import: 'a Vernacexpr.with_coercion_instance]
[@@deriving sexp,yojson,hash,compare]
ort: 'a Vernacexpr.with_notation]
* [@@deriving sexp,yojson,hash,compare] *)
import: 'a Vernacexpr.with_priority]
* [@@deriving sexp,yojson,hash,compare] *)
type constructor_expr =
[%import: Vernacexpr.constructor_expr]
[@@deriving sexp,yojson,hash,compare]
type record_field_attr =
[%import: Vernacexpr.record_field_attr]
[@@deriving sexp,yojson,hash,compare]
type record_field_attr_unparsed =
[%import: Vernacexpr.record_field_attr_unparsed]
[@@deriving sexp,yojson,hash,compare]
type constructor_list_or_record_decl_expr =
[%import: Vernacexpr.constructor_list_or_record_decl_expr]
[@@deriving sexp,yojson,hash,compare]
type inductive_params_expr =
[%import: Vernacexpr.inductive_params_expr]
[@@deriving sexp,yojson,hash,compare]
type inductive_expr =
[%import: Vernacexpr.inductive_expr]
[@@deriving sexp,yojson,hash,compare]
type one_inductive_expr =
[%import: Vernacexpr.one_inductive_expr]
[@@deriving sexp,yojson,hash,compare]
type proof_expr =
[%import: Vernacexpr.proof_expr]
[@@deriving sexp,yojson,hash,compare]
type opacity_flag =
[%import: Vernacexpr.opacity_flag]
[@@deriving sexp,yojson,hash,compare]
type proof_end =
[%import: Vernacexpr.proof_end]
[@@deriving sexp,yojson,hash,compare]
type one_import_filter_name =
[%import: Vernacexpr.one_import_filter_name]
[@@deriving sexp,yojson,hash,compare]
type import_filter_expr =
[%import: Vernacexpr.import_filter_expr]
[@@deriving sexp,yojson,hash,compare]
type scheme_type =
[%import: Vernacexpr.scheme_type]
[@@deriving sexp,yojson,hash,compare]
type equality_scheme_type =
[%import: Vernacexpr.equality_scheme_type]
[@@deriving sexp,yojson,hash,compare]
type scheme =
[%import: Vernacexpr.scheme]
[@@deriving sexp,yojson,hash,compare]
type section_subset_expr =
[%import: Vernacexpr.section_subset_expr]
[@@deriving sexp,yojson,hash,compare]
type extend_name =
[%import: Vernacexpr.extend_name]
[@@deriving sexp,yojson,hash,compare]
type register_kind =
[%import: Vernacexpr.register_kind]
[@@deriving sexp,yojson,hash,compare]
type module_ast_inl =
[%import: Vernacexpr.module_ast_inl]
[@@deriving sexp,yojson,hash,compare]
type export_with_cats =
[%import: Vernacexpr.export_with_cats]
[@@deriving sexp,yojson,hash,compare]
type module_binder =
[%import: Vernacexpr.module_binder]
[@@deriving sexp,yojson,hash,compare]
type typeclass_constraint =
[%import: Vernacexpr.typeclass_constraint]
[@@deriving sexp,yojson,hash,compare]
type discharge =
[%import: Vernacexpr.discharge]
[@@deriving sexp,yojson,hash,compare]
type arguments_modifier =
[%import: Vernacexpr.arguments_modifier]
[@@deriving sexp,yojson,hash,compare]
type vernac_one_argument_status =
[%import: Vernacexpr.vernac_one_argument_status]
[@@deriving sexp,yojson,hash,compare]
type vernac_argument_status =
[%import: Vernacexpr.vernac_argument_status]
[@@deriving sexp,yojson,hash,compare]
type hint_info_expr =
[%import: Vernacexpr.hint_info_expr]
[@@deriving sexp,yojson,hash,compare]
type reference_or_constr =
[%import: Vernacexpr.reference_or_constr]
[@@deriving sexp,yojson,hash,compare]
type hints_expr =
[%import: Vernacexpr.hints_expr]
[@@deriving sexp,yojson,hash,compare]
type notation_enable_modifier =
[%import: Vernacexpr.notation_enable_modifier]
[@@deriving sexp,yojson,hash,compare]
type synterp_vernac_expr =
[%import: Vernacexpr.synterp_vernac_expr]
[@@deriving sexp,yojson,hash,compare]
type synpure_vernac_expr =
[%import: