aboutsummaryrefslogtreecommitdiff
path: root/kernel/indTyping.mli
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2020-01-19 18:48:03 +0100
committerPierre-Marie Pédrot2020-01-19 18:48:03 +0100
commit3fc470fb3cab7899e372e842a21a4691812ad25a (patch)
tree7a6e5dd8b0014db4f9548f1068b886bc6532e406 /kernel/indTyping.mli
parent927c683116c17a4746afdc4000ba2015591d3ba2 (diff)
parent73c3b874633d6f6f8af831d4a37d0c1ae52575bc (diff)
Merge PR #11348: Discharge inductive types without rechecking them
Ack-by: maximedenes Reviewed-by: ppedrot
Diffstat (limited to 'kernel/indTyping.mli')
-rw-r--r--kernel/indTyping.mli9
1 files changed, 6 insertions, 3 deletions
diff --git a/kernel/indTyping.mli b/kernel/indTyping.mli
index 5c04e860a2..8dea8f046d 100644
--- a/kernel/indTyping.mli
+++ b/kernel/indTyping.mli
@@ -17,6 +17,7 @@ open Declarations
- environment with inductives + parameters in rel context
- abstracted universes
- checked variance info
+ (variance for section universes is at the beginning of the array)
- record entry (checked to be OK)
- parameters
- for each inductive,
@@ -24,9 +25,11 @@ open Declarations
* (indices * splayed constructor types) (both without params)
* top allowed elimination
*)
-val typecheck_inductive : env -> mutual_inductive_entry ->
- env
- * universes * Univ.Variance.t array option
+val typecheck_inductive : env -> sec_univs:Univ.Level.t array option
+ -> mutual_inductive_entry
+ -> env
+ * universes
+ * Univ.Variance.t array option
* Names.Id.t array option option
* Constr.rel_context
* ((inductive_arity * Constr.types array) *