Lean library · module TopologyByExample.Theorems.LuzinSets

Shared facts about Luzin subsets

Source file

This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it.

Imports

structure IsLuzinSet

TopologyByExample.IsLuzinSet

An uncountable subset meeting each ambient meagre set countably.

structure IsLuzinSet {X : Type*} [TopologicalSpace X] (L : Set X) : Prop where
  /-- The subset is uncountable. -/
  not_countable : ¬L.Countable
  /-- Intersections with ambient meagre subsets are countable. -/
  countable_inter : ∀ M : Set X, IsMeagre M → (L ∩ M).Countable
variable {X : Type u} [TopologicalSpace X] {L : Set X} (hL : IsLuzinSet L)
include hL

theorem not_countable_type

TopologyByExample.IsLuzinSet.not_countable_type

A Luzin subspace has uncountable underlying type.

theorem not_countable_type : ¬Countable L
Proof
:= fun _ ↦ hL.not_countable (to_countable L)

theorem countable_of_isMeagre

TopologyByExample.IsLuzinSet.countable_of_isMeagre

Every meagre subset of the Luzin subspace is countable.

theorem countable_of_isMeagre {M : Set L} (hM : IsMeagre M) : M.Countable
Proof
:= by
  have hc := hL.countable_inter (Subtype.val '' M) hM.image_val
  have hs : Subtype.val '' M ⊆ L := by rintro _ ⟨x, _, rfl⟩; exact x.property
  rw [inter_eq_right.mpr hs] at hc
  exact countable_of_injective_of_countable_image Subtype.val_injective.injOn hc

theorem not_isMeagre_univ

TopologyByExample.IsLuzinSet.not_isMeagre_univ

Every Luzin subspace is of second category in itself.

theorem not_isMeagre_univ : ¬IsMeagre (univ : Set L)
Proof
:= by
  intro h
  have hc := hL.countable_of_isMeagre h
  exact hL.not_countable_type (countable_univ_iff.mp hc)

theorem mono

TopologyByExample.IsLuzinSet.mono

Intersecting a Luzin set with an uncountable subset preserves the Luzin property.

theorem mono {S : Set X} (hSL : S ⊆ L) (hS : ¬S.Countable) : IsLuzinSet S
Proof
:=
  ⟨hS, fun M hM ↦ (hL.countable_inter M hM).mono (inter_subset_inter_left M hSL)⟩

theorem union

TopologyByExample.IsLuzinSet.union

A finite union of Luzin subsets is again Luzin.

theorem union {S : Set X} (hS : IsLuzinSet S) : IsLuzinSet (L ∪ S)
Proof
:= by
  constructor
  · intro hc
    exact hL.not_countable (hc.mono subset_union_left)
  · intro M hM
    rw [union_inter_distrib_right]
    exact (hL.countable_inter M hM).union (hS.countable_inter M hM)

theorem cardinalityContinuum_of_ch

TopologyByExample.IsLuzinSet.cardinalityContinuum_of_ch

Under CH every Luzin subset of a second-countable Hausdorff space has continuum size.

theorem cardinalityContinuum_of_ch [SecondCountableTopology X] [T0Space X]
    (hCH : continuum.{u} = aleph 1) : CardinalityContinuum L
Proof
:= by
  apply le_antisymm cardinal_mk_le_continuum_of_secondCountable_t0
  rw [hCH, aleph_one_le_iff]
  apply lt_of_not_ge
  intro hc
  exact hL.not_countable_type (Cardinal.mk_le_aleph0_iff.mp hc)