| 1 |
Module Ex0. |
| 2 |
|
| 3 |
Record S : Type := Pack { sort :> Type }. |
| 4 |
|
| 5 |
Canonical SSet := Pack Set. |
| 6 |
|
| 7 |
Check Set : S. |
| 8 |
(* Error: Anomaly "Unable to handle arbitrary u+k <= v constraints." *) |
| 9 |
|
| 10 |
End Ex0. |
| 11 |
|
| 12 |
Module Ex1. |
| 13 |
|
| 14 |
Record type : Type := Pack { sort :> nat -> Type }. |
| 15 |
|
| 16 |
Definition set := fun _ : nat => Set. |
| 17 |
|
| 18 |
Canonical inst := Pack set. |
| 19 |
|
| 20 |
Set Printing All. |
| 21 |
Set Printing Universes. |
| 22 |
|
| 23 |
Check set : type. |
| 24 |
(* Error: Anomaly "Unable to handle arbitrary u+k <= v constraints." *) |
| 25 |
|
| 26 |
End Ex1. |