| 1 |
Polymorphic Axiom T@{u} : Prop. |
| 2 |
|
| 3 |
Universe u1 u2. |
| 4 |
|
| 5 |
Definition t1 := T@{u1}. |
| 6 |
Definition t2 := T@{u2}. |
| 7 |
|
| 8 |
Constraint u1 = u2. |
| 9 |
|
| 10 |
Check fun P : t1 => P <: t2. |
| 11 |
(* Error: In environment |
| 12 |
P : t1 |
| 13 |
The term "P" has type "t1" while it is expected to have type "t2". *) |