(***********************************************************************) (* v * The Coq Proof Assistant / The Coq Development Team *) (* Environ.env val empty_environment : safe_environment (* Adding and removing local declarations (Local or Variables) *) val push_named_assum : identifier * types -> safe_environment -> Univ.constraints * safe_environment val push_named_def : identifier * constr * types option -> safe_environment -> Univ.constraints * safe_environment val pop_named_decls : identifier list -> safe_environment -> safe_environment (* Adding global axioms or definitions *) type constant_entry = { const_entry_body : constr; const_entry_type : types option; const_entry_opaque : bool } type global_declaration = | ConstantEntry of constant_entry | ParameterEntry of types | GlobalRecipe of Cooking.recipe val add_constant : section_path -> global_declaration -> safe_environment -> safe_environment (* Adding an inductive type *) val add_mind : section_path -> Indtypes.mutual_inductive_entry -> safe_environment -> safe_environment (* Adding universe constraints *) val add_constraints : Univ.constraints -> safe_environment -> safe_environment (* Loading and saving a module *) val export : safe_environment -> dir_path -> Environ.compiled_env val import : Environ.compiled_env -> safe_environment -> safe_environment (*s Typing judgments *) type judgment val j_val : judgment -> constr val j_type : judgment -> constr (* Safe typing of a term returning a typing judgment and universe constraints to be added to the environment for the judgment to hold. It is guaranteed that the constraints are satisfiable *) val safe_infer : safe_environment -> constr -> judgment * Univ.constraints val typing : safe_environment -> constr -> judgment