Module Derive_plugin.Derive
val start_deriving : Names.Id.t -> Constrexpr.constr_expr -> Names.Id.t -> Declare.Proof.t
start_deriving f suchthat lemma
starts a proof ofsuchthat
(which can contain references tof
) in the context extended byf:=?x
. When the proof ends,f
is defined as the value of?x
andlemma
as the proof.