diff options
| author | Pierre-Marie Pédrot | 2020-01-19 18:48:03 +0100 |
|---|---|---|
| committer | Pierre-Marie Pédrot | 2020-01-19 18:48:03 +0100 |
| commit | 3fc470fb3cab7899e372e842a21a4691812ad25a (patch) | |
| tree | 7a6e5dd8b0014db4f9548f1068b886bc6532e406 /kernel/declarations.ml | |
| parent | 927c683116c17a4746afdc4000ba2015591d3ba2 (diff) | |
| parent | 73c3b874633d6f6f8af831d4a37d0c1ae52575bc (diff) | |
Merge PR #11348: Discharge inductive types without rechecking them
Ack-by: maximedenes
Reviewed-by: ppedrot
Diffstat (limited to 'kernel/declarations.ml')
| -rw-r--r-- | kernel/declarations.ml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/kernel/declarations.ml b/kernel/declarations.ml index 9fd10b32e6..0b6e59bd5e 100644 --- a/kernel/declarations.ml +++ b/kernel/declarations.ml @@ -223,6 +223,11 @@ type mutual_inductive_body = { mind_variance : Univ.Variance.t array option; (** Variance info, [None] when non-cumulative. *) + mind_sec_variance : Univ.Variance.t array option; + (** Variance info for section polymorphic universes. [None] + outside sections. The final variance once all sections are + discharged is [mind_sec_variance ++ mind_variance]. *) + 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 *) |
