Debian Codegraph @

vernac/comFixpoint.mli

raw symbols SCIP
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 open Vernacexpr
12
13 (** {6 Fixpoints and cofixpoints} *)
14
15 (** Entry points for the vernacular commands Fixpoint and CoFixpoint *)
16
17 val do_mutually_recursive
18 : ?pm:Declare.OblState.t
19 (* Obligation mode turns unresolved evars into obligations *)
20 -> refine:bool
21 (* [refine] means definitions are allowed to have holes *)
22 -> program_mode:bool
23 (* [program_mode] means here:
24 - a special treatment of subsets in pretyping
25 - a special treatment of type class inference in pretyping
26 - if a wf/measure fixpoint, encapsulation under a combinator (in which case, it requires [pm])
27 Note: for turning unresolved evars into obligations, set also [pm] *)
28 -> ?use_inference_hook:bool
29 (* Tell to try the obligation tactic to solve evars *)
30 -> ?scope:Locality.definition_scope
31 (* Local or Global visibility *)
32 -> ?clearbody:bool
33 (* Hide body if in sections *)
34 -> kind:Decls.logical_kind
35 (* Logical kind: Theorem, Definition, Fixpoint, etc.*)
36 -> poly:PolyFlags.t
37 (* Use universe /sort polymorphism and cumulativity *)
38 -> ?typing_flags:Declarations.typing_flags
39 -> ?user_warns:Globnames.extended_global_reference UserWarn.with_qf
40 (* Warnings and deprecations *)
41 -> ?using:Vernacexpr.section_subset_expr
42 (* Tell which section variables to use *)
43 -> recursives_expr
44 -> Declare.OblState.t option * Declare.Proof.t option
45 (* Returns open obligations and open proof, if any *)
46
47 (************************************************************************)
48 (** Internal API *)
49 (************************************************************************)
50
51 (** Exported for Funind *)
52
53 val interp_fixpoint_short
54 : Constrexpr.fixpoint_order_expr option list
55 -> recursive_expr_gen list
56 -> Constr.types list * Evd.evar_map