Lean library · module TopologyByExample.Theorems.FanCardinality
Cardinality of the punctured Knaster–Kuratowski fan
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
theorem punctured
TopologyByExample.FanCardinality.punctured
Irrational heights on one nonendpoint leg already give continuum many points.
theorem punctured : CardinalityContinuum PuncturedKnasterKuratowskiFan
Proof
:= by
unfold CardinalityContinuum
apply le_antisymm
· exact (mk_set_le _).trans_eq (by simp [mk_prod, mk_real, continuum_mul_self])
· obtain ⟨c, hc, hce, _⟩ := exists_not_mem_endpoints zero_mem_cantorSet one_pos
let H : Set ℝ := Ioo (0 : ℝ) (1 / 2) \ range ((↑) : ℚ → ℝ)
have hH : #H = 𝔠 := by
dsimp [H]
have hi : (Ioo (0 : ℝ) (1 / 2)).Infinite := aleph0_le_mk_set.1 (by
rw [mk_Ioo_real (by norm_num : (0 : ℝ) < 1 / 2)]
exact aleph0_le_continuum)
rw [mk_sdiff_eq_left hi]
· exact mk_Ioo_real (by norm_num)
· rw [mk_Ioo_real (by norm_num : (0 : ℝ) < 1 / 2)]
exact (le_aleph0_iff_set_countable.2 (countable_range _)).trans_lt aleph0_lt_continuum
let f : H → PuncturedKnasterKuratowskiFan := fun y =>
⟨legPoint (c, y), ⟨(c, y),
⟨hc, Ioo_subset_Ico_self y.property.1, iff_of_false hce y.property.2⟩, rfl⟩⟩
have hf : Function.Injective f := by
intro y z h
exact Subtype.ext (congrArg (fun x : PuncturedKnasterKuratowskiFan => x.val.2) h)
exact hH ▸ mk_le_of_injective hf
On this site: The punctured Knaster–Kuratowski fan has cardinality equal to \(\mathfrak{c}\)