diff options
| author | Maxime Dénès | 2018-03-09 20:16:08 +0100 |
|---|---|---|
| committer | Maxime Dénès | 2018-03-09 20:16:08 +0100 |
| commit | 1f2a922d52251f79a11d75c2205e6827a07e591b (patch) | |
| tree | 2f8bedc06474b905f22e763a0b1cc66f3d46d9c3 /kernel/univ.ml | |
| parent | 6ba4733a32812e04e831d081737c5665fb12a152 (diff) | |
| parent | 426c9afeb9c85616b89c26aabfe9a6d8cc37c8f0 (diff) | |
Merge PR #6775: Allow using cumulativity without forcing strict constraints.
Diffstat (limited to 'kernel/univ.ml')
| -rw-r--r-- | kernel/univ.ml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/univ.ml b/kernel/univ.ml index 584593e2fc..be21381b71 100644 --- a/kernel/univ.ml +++ b/kernel/univ.ml @@ -914,6 +914,9 @@ let enforce_eq_instances x y = (Pp.str " instances of different lengths.")); CArray.fold_right2 enforce_eq_level ax ay +let enforce_eq_variance_instances = Variance.eq_constraints +let enforce_leq_variance_instances = Variance.leq_constraints + let subst_instance_level s l = match l.Level.data with | Level.Var n -> s.(n) |
