| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
val check_may_eval : |
| 12 |
Environ.env -> |
| 13 |
Evd.evar_map -> |
| 14 |
Redexpr.raw_red_expr option -> |
| 15 |
Constrexpr.constr_expr -> |
| 16 |
Pp.t |
| 17 |
|
| 18 |
|
| 19 |
val translate_vernac |
| 20 |
: ?loc:Loc.t |
| 21 |
-> atts:Attributes.vernac_flags |
| 22 |
-> Synterp.vernac_entry |
| 23 |
-> Vernactypes.typed_vernac |
| 24 |
|
| 25 |
|
| 26 |
val vernac_require |
| 27 |
: intern:Library.Intern.t |
| 28 |
-> Libnames.qualid option |
| 29 |
-> Vernacexpr.export_with_cats option |
| 30 |
-> (Libnames.qualid * Vernacexpr.import_filter_expr) list |
| 31 |
-> unit |
| 32 |
|
| 33 |
|
| 34 |
val vernac_require_interp |
| 35 |
: Library.library_t list |
| 36 |
-> Names.DirPath.t list |
| 37 |
-> Vernacexpr.export_with_cats option |
| 38 |
-> (Libnames.qualid * Vernacexpr.import_filter_expr) list |
| 39 |
-> unit |
| 40 |
|
| 41 |
|
| 42 |
val command_focus : unit Proof.focus_kind |
| 43 |
|
| 44 |
|
| 45 |
module Preprocessed_Mind_decl : sig |
| 46 |
type flags = ComInductive.flags |
| 47 |
type record = { |
| 48 |
flags : flags; |
| 49 |
udecl : Constrexpr.cumul_univ_decl_expr option; |
| 50 |
primitive_proj : bool; |
| 51 |
kind : Vernacexpr.inductive_kind; |
| 52 |
records : Record.Ast.t list; |
| 53 |
} |
| 54 |
type inductive = { |
| 55 |
flags : flags; |
| 56 |
udecl : Constrexpr.cumul_univ_decl_expr option; |
| 57 |
typing_flags : Declarations.typing_flags option; |
| 58 |
private_ind : bool; |
| 59 |
uniform : ComInductive.uniform_inductive_flag; |
| 60 |
inductives : (Vernacexpr.one_inductive_expr * Vernacexpr.notation_declaration list) list; |
| 61 |
} |
| 62 |
type t = |
| 63 |
| Record of record |
| 64 |
| Inductive of inductive |
| 65 |
end |
| 66 |
|
| 67 |
val preprocess_inductive_decl |
| 68 |
: atts:Attributes.vernac_flags |
| 69 |
-> Vernacexpr.inductive_kind |
| 70 |
-> (Vernacexpr.inductive_expr * Vernacexpr.notation_declaration list) list |
| 71 |
-> Preprocessed_Mind_decl.t |
| 72 |
|
| 73 |
module DefAttributes : sig |
| 74 |
|
| 75 |
type t = { |
| 76 |
hooks : Declare.Hook.t list ; |
| 77 |
scope : Locality.definition_scope; |
| 78 |
locality : bool option; |
| 79 |
poly : PolyFlags.t; |
| 80 |
program : bool; |
| 81 |
user_warns : Globnames.extended_global_reference UserWarn.with_qf option; |
| 82 |
canonical_instance : bool; |
| 83 |
typing_flags : Declarations.typing_flags option; |
| 84 |
using : Vernacexpr.section_subset_expr option; |
| 85 |
reversible : bool; |
| 86 |
clearbody: bool option; |
| 87 |
} |
| 88 |
|
| 89 |
module Observer : Summary.OBSERVABLE |
| 90 |
with type value = unit Declare.Hook.g list Attributes.attribute |
| 91 |
|
| 92 |
val def_attributes : t Attributes.attribute |
| 93 |
|
| 94 |
end |
| 95 |
|
| 96 |
val show_goal : Vernacexpr.goal_reference -> Proof.t -> Proof.t option option -> Pp.t |