Skip to content

Commit

Permalink
chore(SetTheory/Ordinal/Arithmetic): fix Ordinal.enum type signature (
Browse files Browse the repository at this point in the history
  • Loading branch information
vihdzp committed Oct 16, 2024
1 parent fd745ec commit e0e004a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Mathlib/SetTheory/Ordinal/Basic.lean
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ the elements of `α`. -/
-- The explicit typing is required in order for `simp` to work properly.
@[simps! symm_apply_coe]
def enum (r : α → α → Prop) [IsWellOrder α r] :
@RelIso (Subtype fun o => o < type r) α (Subrel (· < · ) _) r :=
@RelIso { o // o < type r } α (Subrel (· < ·) { o | o < type r }) r :=
(typein.principalSeg r).subrelIso

@[simp]
Expand Down

0 comments on commit e0e004a

Please sign in to comment.