(************************************************************************) (* * The Rocq Prover / The Rocq Development Team *) (* v * Copyright INRIA, CNRS and contributors *) (* refine:bool (* [refine] means definitions are allowed to have holes *) -> program_mode:bool (* [program_mode] means here: - a special treatment of subsets in pretyping - a special treatment of type class inference in pretyping - if a wf/measure fixpoint, encapsulation under a combinator (in which case, it requires [pm]) Note: for turning unresolved evars into obligations, set also [pm] *) -> ?use_inference_hook:bool (* Tell to try the obligation tactic to solve evars *) -> ?scope:Locality.definition_scope (* Local or Global visibility *) -> ?clearbody:bool (* Hide body if in sections *) -> kind:Decls.logical_kind (* Logical kind: Theorem, Definition, Fixpoint, etc.*) -> poly:PolyFlags.t (* Use universe /sort polymorphism and cumulativity *) -> ?typing_flags:Declarations.typing_flags -> ?user_warns:Globnames.extended_global_reference UserWarn.with_qf (* Warnings and deprecations *) -> ?using:Vernacexpr.section_subset_expr (* Tell which section variables to use *) -> recursives_expr -> Declare.OblState.t option * Declare.Proof.t option (* Returns open obligations and open proof, if any *) (************************************************************************) (** Internal API *) (************************************************************************) (** Exported for Funind *) val interp_fixpoint_short : Constrexpr.fixpoint_order_expr option list -> recursive_expr_gen list -> Constr.types list * Evd.evar_map