(************************************************************************) (* * The Rocq Prover / The Rocq Development Team *) (* v * Copyright INRIA, CNRS and contributors *) (* Global.indirect_accessor -> env -> Constant.t -> InfvInst.t -> constant_body -> ml_decl val extract_constant_spec : Common.State.t -> env -> Constant.t -> InfvInst.t -> ('a, 'b) pconstant_body -> ml_spec (** For extracting "module ... with ..." declaration *) val extract_with_type : Common.State.t -> env -> evar_map -> EConstr.t -> ( Id.t list * ml_type ) option val extract_fixpoint : Common.State.t -> env -> evar_map -> Constant.t array -> InfvInst.t -> EConstr.rec_declaration -> ml_decl val extract_inductive : Common.State.t -> env -> MutInd.t -> InfvInst.t -> ml_ind (** For Extraction Compute and Show Extraction *) val extract_constr : Common.State.t -> env -> evar_map -> EConstr.t -> ml_ast * ml_type (*s Is a [ml_decl] or a [ml_spec] logical ? *) val logical_decl : ml_decl -> bool val logical_spec : ml_spec -> bool