Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion Mathlib/SetTheory/Ordinal/Basic.lean
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,11 @@ def type (r : α → α → Prop) [wo : IsWellOrder α r] : Ordinal :=
⟦⟨α, r, wo⟩⟧

/-- `typeLT α` is an abbreviation for the order type of the `<` relation of `α`. -/
scoped notation "typeLT " α:70 => @Ordinal.type α (· < ·) inferInstance
scoped notation3 "typeLT " α:70 => @Ordinal.type α (· < ·) inferInstance

/-- info: typeLT ℕ : Ordinal.{0} -/
#guard_msgs in
#check typeLT ℕ

instance zero : Zero Ordinal :=
⟨type <| @emptyRelation PEmpty⟩
Expand Down
Loading