-
Notifications
You must be signed in to change notification settings - Fork 632
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Reviewed-by: SkySkimmer Co-authored-by: gares <gares@users.noreply.github.com>
- Loading branch information
Showing
2 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
Module Ex0. | ||
|
||
Record S : Type := Pack { sort :> Type }. | ||
|
||
Canonical SSet := Pack Set. | ||
|
||
Check Set : S. | ||
(* Error: Anomaly "Unable to handle arbitrary u+k <= v constraints." *) | ||
|
||
End Ex0. | ||
|
||
Module Ex1. | ||
|
||
Record type : Type := Pack { sort :> nat -> Type }. | ||
|
||
Definition set := fun _ : nat => Set. | ||
|
||
Canonical inst := Pack set. | ||
|
||
Set Printing All. | ||
Set Printing Universes. | ||
|
||
Check set : type. | ||
(* Error: Anomaly "Unable to handle arbitrary u+k <= v constraints." *) | ||
|
||
End Ex1. |