| 1 | (************************************************************************) |
| 2 | (* * The Rocq Prover / The Rocq Development Team *) |
| 3 | (* v * Copyright INRIA, CNRS and contributors *) |
| 4 | (* <O___,, * (see version control and CREDITS file for authors & dates) *) |
| 5 | (* \VV/ **************************************************************) |
| 6 | (* // * This file is distributed under the terms of the *) |
| 7 | (* * GNU Lesser General Public License Version 2.1 *) |
| 8 | (* * (see LICENSE file for the text of the license) *) |
| 9 | (************************************************************************) |
| 10 | |
| 11 | (** [start_deriving f suchthat lemma] starts a proof of [suchthat] |
| 12 | (which can contain references to [f]) in the context extended by |
| 13 | [f:=?x]. When the proof ends, [f] is defined as the value of [?x] |
| 14 | and [lemma] as the proof. *) |
| 15 | val start_deriving |
| 16 | : atts:Vernacentries.DefAttributes.t |
| 17 | -> Constrexpr.local_binder_expr list |
| 18 | -> Constrexpr.constr_expr |
| 19 | -> Names.lident |
| 20 | -> Declare.Proof.t |