aboutsummaryrefslogtreecommitdiff
path: root/kernel/declarations.mli
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2016-06-18 20:07:02 +0200
committerPierre-Marie Pédrot2016-06-18 20:07:02 +0200
commitb2495b2326083776f9b15355acac77cde73545e1 (patch)
treed030b2e5fbd6fe9c7bba68e5fb80d2546ab96f92 /kernel/declarations.mli
parent561dbba4ce47aa1920b27a6fa3ea1fdb03835557 (diff)
parent371d69b334837c51d0dc998ddefbd072ac8dde2f (diff)
Merge PR# 169: Local type-in-type flag.
Diffstat (limited to 'kernel/declarations.mli')
-rw-r--r--kernel/declarations.mli8
1 files changed, 4 insertions, 4 deletions
diff --git a/kernel/declarations.mli b/kernel/declarations.mli
index 8b42a90e48..f89773fcc5 100644
--- a/kernel/declarations.mli
+++ b/kernel/declarations.mli
@@ -14,9 +14,8 @@ open Term
inductive definitions, modules and module types *)
type set_predicativity = ImpredicativeSet | PredicativeSet
-type type_hierarchy = TypeInType | StratifiedType
-type engagement = set_predicativity * type_hierarchy
+type engagement = set_predicativity
(** {6 Representation of constants (Definition/Axiom) } *)
@@ -73,6 +72,7 @@ type constant_universes = Univ.universe_context
type typing_flags = {
check_guarded : bool; (** If [false] then fixed points and co-fixed
points are assumed to be total. *)
+ check_universes : bool; (** If [false] universe constraints are not checked *)
}
(* some contraints are in constant_constraints, some other may be in
@@ -190,8 +190,8 @@ type mutual_inductive_body = {
mind_universes : Univ.universe_context; (** Local universe variables and constraints *)
mind_private : bool option; (** allow pattern-matching: Some true ok, Some false blocked *)
-
- mind_checked_positive : bool; (** [false] when the mutual-inductive was assumed to be well-founded, bypassing the positivity checker. *)
+
+ mind_typing_flags : typing_flags; (** typing flags at the time of the inductive creation *)
}
(** {6 Module declarations } *)