(************************************************************************) (* * The Rocq Prover / The Rocq Development Team *) (* v * Copyright INRIA, CNRS and contributors *) (* evar_map -> ?len:int -> EConstr.types -> (evar_map * clause) (** An evar version of {!make_clenv_binding}. Given a type [t], [evar_environments env sigma ~len t bl] tries to eliminate at most [len] products of the type [t] by filling it with evars. It returns the resulting type together with the list of holes generated. Assumes that [t] is well-typed in the environment. *) val solve_evar_clause : env -> evar_map -> bool -> clause -> EConstr.constr bindings -> evar_map (** [solve_evar_clause env sigma hyps cl bl] tries to solve the holes contained in [cl] according to the [bl] argument. Assumes that [bl] are well-typed in the environment. The boolean [hyps] is a compatibility flag that allows to consider arguments to be dependent only when they appear in hypotheses and not in the conclusion. This boolean is only used when [bl] is of the form [ImplicitBindings _]. *) val check_bindings : 'a explicit_bindings -> unit val explain_no_such_bound_variable : Id.t list -> Id.t CAst.t -> 'a val error_not_right_number_missing_arguments : int -> 'a val check_evar_clause : Environ.env -> evar_map -> evar_map -> clause -> unit