aboutsummaryrefslogtreecommitdiffhomepage
path: root/kernel/declarations.ml
diff options
context:
space:
mode:
authorGravatar Amin Timany <amintimany@gmail.com>2017-03-28 19:24:02 +0200
committerGravatar Emilio Jesus Gallego Arias <e+git@x80.org>2017-06-16 04:45:18 +0200
commit44f462aa380de847452c0809d15c86649d5d6a7a (patch)
tree840d369425f4b5fc2f6c41fb8dba91e90e8cfbc4 /kernel/declarations.ml
parent1d3703be3ab41d016c776bb29d9f5eff0cdb401d (diff)
Extend definition of inductives to include subtyping info
Diffstat (limited to 'kernel/declarations.ml')
-rw-r--r--kernel/declarations.ml2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/declarations.ml b/kernel/declarations.ml
index 71e228b19..9536407d3 100644
--- a/kernel/declarations.ml
+++ b/kernel/declarations.ml
@@ -190,6 +190,8 @@ type mutual_inductive_body = {
mind_universes : Univ.universe_context; (** Local universe variables and constraints *)
+ mind_subtyping : Univ.universe_context; (** Constraints for subtyping *)
+
mind_private : bool option; (** allow pattern-matching: Some true ok, Some false blocked *)
mind_typing_flags : typing_flags; (** typing flags at the time of the inductive creation *)