summaryrefslogtreecommitdiff
path: root/plugins/derive/derive.mli
blob: 9ea876f13145e82f4b0a34d76fd05495ecc2d99e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
(************************************************************************)
(*  v      *   The Coq Proof Assistant  /  The Coq Development Team     *)
(* <O___,, *   INRIA - CNRS - LIX - LRI - PPS - Copyright 1999-2016     *)
(*   \VV/  **************************************************************)
(*    //   *      This file is distributed under the terms of the       *)
(*         *       GNU Lesser General Public License Version 2.1        *)
(************************************************************************)

(** [start_deriving f suchthat lemma] starts a proof of [suchthat]
    (which can contain references to [f]) in the context extended by
    [f:=?x]. When the proof ends, [f] is defined as the value of [?x]
    and [lemma] as the proof. *)
val start_deriving : Names.Id.t -> Constrexpr.constr_expr -> Names.Id.t -> unit