aboutsummaryrefslogtreecommitdiff
path: root/library
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2019-05-15 23:50:42 +0200
committerPierre-Marie Pédrot2019-05-19 13:14:19 +0200
commit801aed67a90ec49c15a4469e1905aa2835fabe19 (patch)
tree9da139e5e0e5ecd8ba74806d2baa1225cee2e720 /library
parent925778ff0128dfbfe00aafa8a4aa9f3a2eb2301d (diff)
Parameterize the constant_body type by opaque subproofs.
Diffstat (limited to 'library')
-rw-r--r--library/global.mli4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/global.mli b/library/global.mli
index f65ffaa2ee..eabae89d8d 100644
--- a/library/global.mli
+++ b/library/global.mli
@@ -84,7 +84,7 @@ val add_module_parameter :
(** {6 Queries in the global environment } *)
val lookup_named : variable -> Constr.named_declaration
-val lookup_constant : Constant.t -> Declarations.constant_body
+val lookup_constant : Constant.t -> Opaqueproof.opaque Declarations.constant_body
val lookup_inductive : inductive ->
Declarations.mutual_inductive_body * Declarations.one_inductive_body
val lookup_pinductive : Constr.pinductive ->
@@ -105,7 +105,7 @@ val body_of_constant : Constant.t -> (Constr.constr * Univ.AUContext.t) option
polymorphic constants, the term contains De Bruijn universe variables that
need to be instantiated. *)
-val body_of_constant_body : Declarations.constant_body -> (Constr.constr * Univ.AUContext.t) option
+val body_of_constant_body : Opaqueproof.opaque Declarations.constant_body -> (Constr.constr * Univ.AUContext.t) option
(** Same as {!body_of_constant} but on {!Declarations.constant_body}. *)
(** {6 Compiled libraries } *)