Mathlib.SetTheory.Ordinal.Rank
11 declarations. Mathlib docs · Source
Rank in a well-founded relation
For r a well-founded relation, WellFounded.rank r a is recursively defined as the least
ordinal greater than the ranks of all elements below a.
Rank of an accessible value
Rank in a well-founded relation
def Acc.rank E1 #
{α : Type u} → {a : α} → {r : α → α → Prop} → Acc r a → Ordinal.{u}
The rank of an element a accessible under a relation r is defined recursively as the
smallest ordinal greater than the ranks of all elements below it (i.e. elements b such that
r b a).
theorem Acc.rank_eq E0 #
∀ {α : Type u} {a : α} {r : α → α → Prop} (h : Acc r a), h.rank = ⨆ b, Order.succ ⋯.rank
theorem Acc.rank_lt_of_rel E1 #
∀ {α : Type u} {a b : α} {r : α → α → Prop} (hb : Acc r b) (h : r a b), ⋯.rank < hb.rank
if r a b then the rank of a is less than the rank of b.
theorem Acc.mem_range_rank_of_le E0 #
∀ {α : Type u} {a : α} {r : α → α → Prop} {o : Ordinal.{u}} (ha : Acc r a),
o ≤ ha.rank → ∃ b, ∃ (hb : Acc r b), hb.rank = o
def WellFounded.rank E1 #
{α : Type u} → (r : α → α → Prop) → [hwf : WellFounded r] → α → Ordinal.{u}
The rank of an element a under a well-founded relation r is defined recursively as the
smallest ordinal greater than the ranks of all elements below it (i.e. elements b such that
r b a).
theorem WellFounded.rank_eq E0 #
∀ {α : Type u} (r : α → α → Prop) [hwf : WellFounded r] (a : α),
WellFounded.rank r a = ⨆ b, Order.succ (WellFounded.rank r ↑b)
theorem WellFounded.rank_lt_of_rel E1 #
∀ {α : Type u} {a b : α} {r : α → α → Prop} [hwf : WellFounded r], r a b → WellFounded.rank r a < WellFounded.rank r b
theorem WellFounded.mem_range_rank_of_le E0 #
∀ {α : Type u} {a : α} {r : α → α → Prop} [hwf : WellFounded r] {o : Ordinal.{u}},
o ≤ WellFounded.rank r a → o ∈ Set.range (WellFounded.rank r)
theorem WellFoundedLT.rank_strictMono E1 #
∀ {α : Type u} [inst : Preorder α] [inst_1 : WellFoundedLT α], StrictMono (WellFounded.rank fun x1 x2 ↦ x1 < x2)
theorem WellFoundedGT.rank_strictAnti E1 #
∀ {α : Type u} [inst : Preorder α] [inst_1 : WellFoundedGT α], StrictAnti (WellFounded.rank fun x1 x2 ↦ x1 > x2)
theorem WellFounded.rank_eq_typein E0 #
∀ {α : Type u} (r : α → α → Prop) [inst : IsWellOrder α r], WellFounded.rank r = ⇑(Ordinal.typein r).toRelEmbedding