blob: 7c64317b709f54ad591e3b4cbc93516c5aa9dd46 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
(************************************************************************)
(* * The Coq Proof Assistant / The Coq Development Team *)
(* v * INRIA, CNRS and contributors - Copyright 1999-2018 *)
(* <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) *)
(************************************************************************)
open Names
open Vernacexpr
open Constrexpr
open Decl_kinds
(** {6 Parameters/Assumptions} *)
val do_assumptions
: pstate:Proof_global.t option
-> program_mode:bool
-> locality * polymorphic * assumption_object_kind
-> Declaremods.inline
-> (ident_decl list * constr_expr) with_coercion list
-> bool
(** returns [false] if the assumption is neither local to a section,
nor in a module type and meant to be instantiated. *)
val declare_assumption
: pstate:Proof_global.t option
-> coercion_flag
-> assumption_kind
-> Constr.types Entries.in_universes_entry
-> UnivNames.universe_binders
-> Impargs.manual_implicits
-> bool (** implicit *)
-> Declaremods.inline
-> variable CAst.t
-> GlobRef.t * Univ.Instance.t * bool
(** Context command *)
(** returns [false] if, for lack of section, it declares an assumption
(unless in a module type). *)
val context
: pstate:Proof_global.t option
-> Decl_kinds.polymorphic
-> local_binder_expr list
-> bool
val do_primitive : lident -> CPrimitives.op_or_type -> constr_expr option -> unit
|