aboutsummaryrefslogtreecommitdiff
path: root/plugins/funind/gen_principle.mli
blob: 6313a2b16e2c3c69f650c8ed09b5a603bd38e2a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
(************************************************************************)
(*         *   The Coq Proof Assistant / The Coq Development Team       *)
(*  v      *         Copyright INRIA, CNRS and contributors             *)
(* <O___,, * (see version control and CREDITS file for authors & dates) *)
(*   \VV/  **************************************************************)
(*    //   *    This file is distributed under the terms of the         *)
(*         *     GNU Lesser General Public License Version 2.1          *)
(*         *     (see LICENSE file for the text of the license)         *)
(************************************************************************)

val warn_cannot_define_graph : ?loc:Loc.t -> Pp.t * Pp.t -> unit
val warn_cannot_define_principle : ?loc:Loc.t -> Pp.t * Pp.t -> unit

val do_generate_principle_interactive : Vernacexpr.fixpoint_expr list -> Lemmas.t
val do_generate_principle : Vernacexpr.fixpoint_expr list -> unit

val make_graph : Names.GlobRef.t -> unit

(* Can be thrown by build_{,case}_scheme *)
exception No_graph_found

val build_scheme : (Names.Id.t * Libnames.qualid * Sorts.family) list -> unit
val build_case_scheme : (Names.Id.t * Libnames.qualid * Sorts.family) -> unit