diff options
| author | Gaëtan Gilbert | 2019-03-20 14:19:54 +0100 |
|---|---|---|
| committer | Gaëtan Gilbert | 2019-03-20 14:19:54 +0100 |
| commit | ba33839754bb6ac0f85070e95466a2b8030fdc1b (patch) | |
| tree | b0cf9609b4ed10b4acf4474edf0ef471d9e681b7 /test-suite | |
| parent | b899b102e071ba0faa07949b2ee66bbb7dade23b (diff) | |
| parent | 636857d2e77ee26b4b193f3bbefee253c07dfbff (diff) | |
Merge PR #9776: [kernel] Fix compare_head_gen_leq_with to use [leq] on applications
Reviewed-by: SkySkimmer
Diffstat (limited to 'test-suite')
| -rw-r--r-- | test-suite/success/cumulativity.v | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test-suite/success/cumulativity.v b/test-suite/success/cumulativity.v index 3d97f27b16..31fed98952 100644 --- a/test-suite/success/cumulativity.v +++ b/test-suite/success/cumulativity.v @@ -137,3 +137,12 @@ Module WithIndex. Monomorphic Constraint i < j. Definition bar : eq mkfoo@{i} mkfoo@{j} := eq_refl _. End WithIndex. + +Module CumulApp. + + (* i is covariant here, and we have one parameter *) + Inductive foo@{i} (A : nat) : Type@{i+1} := mkfoo (B : Type@{i}). + + Definition bar@{i j|i<=j} := fun x : foo@{i} 0 => x : foo@{j} 0. + +End CumulApp. |
