aboutsummaryrefslogtreecommitdiff
path: root/plugins/funind/gen_principle.mli
blob: 7eb8ca3af138aef30fb88b57793c4a1e2faa8e54 (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      *   INRIA, CNRS and contributors - Copyright 1999-2019       *)
(* <O___,, *       (see CREDITS file for the list of authors)           *)
(*   \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