diff options
Diffstat (limited to 'vernac/declareDef.mli')
| -rw-r--r-- | vernac/declareDef.mli | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/vernac/declareDef.mli b/vernac/declareDef.mli new file mode 100644 index 0000000000..1e3644c371 --- /dev/null +++ b/vernac/declareDef.mli @@ -0,0 +1,35 @@ +(************************************************************************) +(* * The Coq Proof Assistant / The Coq Development Team *) +(* v * INRIA, CNRS and contributors - Copyright 1999-2018 *) +(* <O___,, * (see CREDITS file for the list of authors) *) +(* \VV/ **************************************************************) +(* // * This file is distributed under the terms of the *) +(* * GNU Lesser General Public License Version 2.1 *) +(* * (see LICENSE file for the text of the license) *) +(************************************************************************) + +open Names +open Decl_kinds + +val get_locality : Id.t -> kind:string -> Decl_kinds.locality -> bool + +val declare_definition : Id.t -> definition_kind -> + ?hook:Lemmas.declaration_hook -> + Safe_typing.private_constants Entries.definition_entry -> UnivNames.universe_binders -> Impargs.manual_implicits -> + GlobRef.t + +val declare_fix : ?opaque:bool -> definition_kind -> + UnivNames.universe_binders -> Entries.constant_universes_entry -> + Id.t -> Safe_typing.private_constants Entries.proof_output -> + Constr.types -> Impargs.manual_implicits -> + GlobRef.t + +val prepare_definition : allow_evars:bool -> + ?opaque:bool -> ?inline:bool -> poly:bool -> + Evd.evar_map -> UState.universe_decl -> + types:EConstr.t option -> body:EConstr.t -> + Evd.evar_map * Safe_typing.private_constants Entries.definition_entry + +val prepare_parameter : allow_evars:bool -> + poly:bool -> Evd.evar_map -> UState.universe_decl -> EConstr.types -> + Evd.evar_map * Entries.parameter_entry |
