test-suite/bugs/bug_18636.v
raw| 1 | Polymorphic Axiom array@{u} : Type@{u} -> Type@{u}. |
| 2 | Polymorphic Axiom get : forall {A} (t : array A), A. |
| 3 | |
| 4 | Lemma foo (t: array nat): True. |
| 5 | Proof. |
| 6 | assert True by abstract exact I. |
| 7 | assert (v := get t). |
| 8 | abstract exact I. (* Universe inconsistency. Cannot enforce Top.5 = Set because Set < Top.5. *) |
| 9 | Qed. |