Skip to content

Commit

Permalink
fix universe variance in IsSmall
Browse files Browse the repository at this point in the history
Signed-off-by: Ali Caglayan <[email protected]>
  • Loading branch information
Alizter committed Sep 24, 2024
1 parent 92483c1 commit 18c6a48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion theories/Basics/Overture.v
Original file line number Diff line number Diff line change
Expand Up @@ -763,7 +763,7 @@ Global Arguments hfiber {A B}%_type_scope f%_function_scope y.
(** ** Smallness *)

(** We say that [X : Type@{j}] is small (relative to Type@{i}) if it is equivalent to a type in [Type@{i}]. We use a record to avoid an extra universe variable. This version has no constraints on [i] and [j]. It lands in [max(i+1,j)], as expected. *)
Class IsSmall@{i j | } (X : Type@{j}) := {
Class IsSmall@{=i j | } (X : Type@{j}) := {
smalltype : Type@{i} ;
equiv_smalltype : smalltype <~> X ;
}.
Expand Down

0 comments on commit 18c6a48

Please sign in to comment.