Mathlib.SetTheory.ZFC.Rank
33 declarations. Mathlib docs · Source
Ordinal ranks of PSet and ZFSet
In this file, we define the ordinal ranks of PSet and ZFSet. These ranks are the same as
WellFounded.rank over ∈, but are defined in a way that the universe levels of ranks are the
same as the indexing types.
Definitions
PSet.rank: Ordinal rank of a pre-set.ZFSet.rank: Ordinal rank of a ZFC set.
PSet rank
ZFSet rank
theorem WellFounded.rank.congr_simp E1 #
∀ {α : Type u} (r r_1 : α → α → Prop) (e_r : r = r_1) [hwf : WellFounded r] (a a_1 : α),
a = a_1 → WellFounded.rank r a = WellFounded.rank r_1 a_1
theorem PSet.rank.match_1.congr_eq_1 E1 #
∀ (motive : PSet.{u_1} → Sort u_2) (x : PSet.{u_1})
(h_1 : («Type» : Type u_1) → (A : «Type» → PSet.{u_1}) → motive { «Type» := «Type», Func := A }) («Type» : Type u_1)
(A : «Type» → PSet.{u_1}),
x = { «Type» := «Type», Func := A } →
(match x with
| { «Type» := «Type», Func := A } => h_1 «Type» A) ≍
h_1 «Type» A
def PSet.rank E1 #
PSet.{u} → Ordinal.{u}
The ordinal rank of a pre-set
theorem PSet.rank_congr E1 #
∀ {x y : PSet.{u_1}}, x.Equiv y → x.rank = y.rank
theorem PSet.rank_lt_of_mem E1 #
∀ {x y : PSet.{u_1}}, y ∈ x → y.rank < x.rank
theorem PSet.rank_le_iff E0 #
∀ {o : Ordinal.{u_1}} {x : PSet.{u_1}}, x.rank ≤ o ↔ ∀ ⦃y : PSet.{u_1}⦄, y ∈ x → y.rank < o
theorem PSet.lt_rank_iff E0 #
∀ {o : Ordinal.{u_1}} {x : PSet.{u_1}}, o < x.rank ↔ ∃ y ∈ x, o ≤ y.rank
theorem PSet.rank_mono E1 #
∀ {x y : PSet.{u}}, x ⊆ y → x.rank ≤ y.rank
theorem PSet.rank_empty E0 #
∅.rank = 0
theorem PSet.rank_insert E0 #
∀ (x y : PSet.{u_1}), (insert x y).rank = max (Order.succ x.rank) y.rank
theorem PSet.rank_singleton E0 #
∀ (x : PSet.{u_1}), {x}.rank = Order.succ x.rank
theorem PSet.rank_pair E1 #
∀ (x y : PSet.{u_1}), {x, y}.rank = max (Order.succ x.rank) (Order.succ y.rank)
theorem PSet.rank_powerset E0 #
∀ (x : PSet.{u_1}), x.powerset.rank = Order.succ x.rank
theorem PSet.rank_sUnion_le E2 #
∀ (x : PSet.{u_1}), (⋃₀ x).rank ≤ x.rank
For the rank of ⋃₀ x, we only have rank (⋃₀ x) ≤ rank x ≤ rank (⋃₀ x) + 1.
This inequality is split into rank_sUnion_le and le_succ_rank_sUnion.
theorem PSet.le_succ_rank_sUnion E1 #
∀ (x : PSet.{u_1}), x.rank ≤ Order.succ (⋃₀ x).rank
theorem PSet.rank_eq_wfRank E1 #
∀ {x : PSet.{u}}, Ordinal.lift.{u + 1, u} x.rank = WellFounded.rank (fun x1 x2 ↦ x1 ∈ x2) x
PSet.rank is equal to the WellFounded.rank over ∈.
def ZFSet.rank E1 #
ZFSet.{u} → Ordinal.{u}
The ordinal rank of a ZFC set
theorem ZFSet.rank_mk E0 #
∀ (x : PSet.{u_1}), (ZFSet.mk x).rank = x.rank
theorem ZFSet.rank_lt_of_mem E1 #
∀ {x y : ZFSet.{u}}, y ∈ x → y.rank < x.rank
theorem ZFSet.rank_le_iff E0 #
∀ {x : ZFSet.{u}} {o : Ordinal.{u}}, x.rank ≤ o ↔ ∀ ⦃y : ZFSet.{u}⦄, y ∈ x → y.rank < o
theorem ZFSet.lt_rank_iff E0 #
∀ {x : ZFSet.{u}} {o : Ordinal.{u}}, o < x.rank ↔ ∃ y ∈ x, o ≤ y.rank
theorem ZFSet.rank_mono E1 #
∀ {x y : ZFSet.{u}}, x ⊆ y → x.rank ≤ y.rank
theorem ZFSet.rank_empty E0 #
∅.rank = 0
theorem ZFSet.rank_insert E0 #
∀ (x y : ZFSet.{u_1}), (insert x y).rank = max (Order.succ x.rank) y.rank
theorem ZFSet.rank_singleton E0 #
∀ (x : ZFSet.{u_1}), {x}.rank = Order.succ x.rank
theorem ZFSet.rank_pair E1 #
∀ (x y : ZFSet.{u_1}), {x, y}.rank = max (Order.succ x.rank) (Order.succ y.rank)
theorem ZFSet.rank_union E0 #
∀ (x y : ZFSet.{u_1}), (x ∪ y).rank = max x.rank y.rank
theorem ZFSet.rank_powerset E0 #
∀ (x : ZFSet.{u_1}), x.powerset.rank = Order.succ x.rank
theorem ZFSet.rank_sUnion_le E2 #
∀ (x : ZFSet.{u_1}), x.sUnion.rank ≤ x.rank
For the rank of ⋃₀ x, we only have rank (⋃₀ x) ≤ rank x ≤ rank (⋃₀ x) + 1.
This inequality is split into rank_sUnion_le and le_succ_rank_sUnion.
theorem ZFSet.le_succ_rank_sUnion E1 #
∀ (x : ZFSet.{u_1}), x.rank ≤ Order.succ x.sUnion.rank
theorem ZFSet.rank_range E0 #
∀ {α : Type u_1} [inst : Small.{u, u_1} α] (f : α → ZFSet.{u}), (ZFSet.range f).rank = ⨆ i, Order.succ (f i).rank
theorem ZFSet.rank_iUnion E0 #
∀ {α : Type u_1} [inst : Small.{u, u_1} α] (f : α → ZFSet.{u}), (ZFSet.iUnion fun i ↦ f i).rank = ⨆ i, (f i).rank
theorem ZFSet.rank_eq_wfRank E1 #
∀ {x : ZFSet.{u}}, Ordinal.lift.{u + 1, u} x.rank = WellFounded.rank (fun x1 x2 ↦ x1 ∈ x2) x
ZFSet.rank is equal to the WellFounded.rank over ∈.