Lean library · module TopologyByExample.Spaces.BernsteinConnectedSet
Properties of Bernstein's connected set
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
instance
instance : Nonempty carrier
Proof
:= isConnected_carrier.nonempty.to_subtype
instance
instance : PreconnectedSpace carrier
Proof
:=
Subtype.preconnectedSpace isPreconnected_carrier
theorem dense_both
TopologyByExample.BernsteinPlane.dense_both
The chosen subset and its complement are both dense in the plane.
theorem dense_both : Dense carrier ∧ Dense carrierᶜ
Proof
:=
⟨dense_carrier, dense_compl_carrier⟩
On this site: Bernstein's connected set: The space and its complement are dense
theorem isMeagre_univ_of_sigmaCompactSpace
TopologyByExample.BernsteinPlane.isMeagre_univ_of_sigmaCompactSpace
Sigma compactness would make the chosen carrier meagre in itself.
theorem isMeagre_univ_of_sigmaCompactSpace (h : SigmaCompactSpace carrier) :
IsMeagre (Set.univ : Set carrier)
Proof
:= by
let := h
obtain ⟨K, hK, hcover⟩ := SigmaCompactSpace.exists_compact_covering (X := carrier)
rw [← hcover]
apply isMeagre_iUnion
intro n
apply IsNowhereDense.isMeagre
change interior (closure (K n)) = ∅
rw [(hK n).isClosed.closure_eq]
exact interior_compact_eq_empty (hK n)
theorem not_sigmaCompactSpace_of_secondCategory
TopologyByExample.BernsteinPlane.not_sigmaCompactSpace_of_secondCategory
Second category would rule out sigma compactness of the chosen carrier.
theorem not_sigmaCompactSpace_of_secondCategory
(h : ¬ IsMeagre (Set.univ : Set carrier)) : ¬ SigmaCompactSpace carrier
Proof
:= by
intro hs
exact h (isMeagre_univ_of_sigmaCompactSpace hs)
theorem not_completelyMetrizable_and_sigmaCompact
TopologyByExample.BernsteinPlane.not_completelyMetrizable_and_sigmaCompact
Complete metrizability and sigma compactness cannot both hold for the carrier.
theorem not_completelyMetrizable_and_sigmaCompact :
¬ (IsCompletelyMetrizableSpace carrier ∧ SigmaCompactSpace carrier)
Proof
:= by
rintro ⟨hc, hs⟩
let := hc
let : BaireSpace carrier := baireSpace_of_isCompletelyMetrizableSpace
exact not_isMeagre_univ_of_baireSpace (isMeagre_univ_of_sigmaCompactSpace hs)
theorem isTotallyDisconnected_compact
TopologyByExample.BernsteinPlane.isTotallyDisconnected_compact
Every compact subset of the chosen carrier is totally disconnected.
theorem isTotallyDisconnected_compact {K : Set carrier} (hK : IsCompact K) :
IsTotallyDisconnected K
Proof
:= by
apply isTotallyDisconnected_of_image continuous_subtypeVal.continuousOn Subtype.val_injective
have hJ := hK.image (continuous_subtypeVal : Continuous ((↑) : carrier → ℝ × ℝ))
intro S hS hc x hx y hy
have hcl : closure S ⊆ ((↑) : carrier → ℝ × ℝ) '' K :=
closure_minimal hS hJ.isClosed
have hcomp := hJ.of_isClosed_subset isClosed_closure hcl
have hsub : closure S ⊆ carrier := by
intro z hz
obtain ⟨w, _, rfl⟩ := hcl hz
exact w.property
exact subsingleton_of_isCompact_of_isPreconnected hcomp hc.closure hsub
(subset_closure hx) (subset_closure hy)
On this site: Bernstein's connected set: Compact subsets are totally disconnected
theorem not_sigmaCompactSpace
TopologyByExample.BernsteinPlane.not_sigmaCompactSpace
Bernstein's connected set is not sigma compact.
theorem not_sigmaCompactSpace : ¬ SigmaCompactSpace carrier
Proof
:= by
intro hs
let := hs
obtain ⟨K, hK, hcover⟩ := SigmaCompactSpace.exists_compact_covering (X := carrier)
have hsub := CompactAvoidance.subsingleton_of_preconnected_compact_cover K hK
(fun n ↦ isTotallyDisconnected_compact (hK n)) hcover
obtain ⟨x, hx, hxA⟩ := meets (vertical 0)
obtain ⟨y, hy, hyA⟩ := meets (vertical 1)
have he : x = y := congrArg Subtype.val (hsub.elim (⟨x, hxA⟩ : carrier) ⟨y, hyA⟩)
have hx0 : x.1 = 0 := hx
have hy1 : y.1 = 1 := hy
rw [he, hy1] at hx0
norm_num at hx0
On this site: Bernstein's connected set is not σ-compact
theorem isTotallyDisconnected_compact_compl
TopologyByExample.BernsteinPlane.isTotallyDisconnected_compact_compl
Compact subsets of the complementary subspace are totally disconnected.
theorem isTotallyDisconnected_compact_compl {K : Set ↥carrierᶜ} (hK : IsCompact K) :
IsTotallyDisconnected K
Proof
:= by
apply isTotallyDisconnected_of_image continuous_subtypeVal.continuousOn Subtype.val_injective
have hJ := hK.image (continuous_subtypeVal : Continuous ((↑) : ↥carrierᶜ → ℝ × ℝ))
apply isTotallyDisconnected_of_closed_disjoint hJ.isClosed
apply Set.disjoint_left.mpr
rintro x ⟨y, _, rfl⟩ hx
exact y.property hx
theorem not_sigmaCompactSpace_compl
TopologyByExample.BernsteinPlane.not_sigmaCompactSpace_compl
The complement of the chosen carrier is not sigma compact.
theorem not_sigmaCompactSpace_compl : ¬ SigmaCompactSpace ↥carrierᶜ
Proof
:= by
intro hs
let := hs
let : PreconnectedSpace ↥carrierᶜ :=
Subtype.preconnectedSpace isPreconnected_compl_carrier
obtain ⟨K, hK, hcover⟩ := SigmaCompactSpace.exists_compact_covering (X := ↥carrierᶜ)
have hsub := CompactAvoidance.subsingleton_of_preconnected_compact_cover K hK
(fun n ↦ isTotallyDisconnected_compact_compl (hK n)) hcover
obtain ⟨x, hx, hxA⟩ := meets_compl (vertical 0)
obtain ⟨y, hy, hyA⟩ := meets_compl (vertical 1)
have he : x = y := congrArg Subtype.val (hsub.elim (⟨x, hxA⟩ : ↥carrierᶜ) ⟨y, hyA⟩)
have hx0 : x.1 = 0 := hx
have hy1 : y.1 = 1 := hy
rw [he, hy1] at hx0
norm_num at hx0
On this site: Bernstein's connected set: The complement is not sigma compact
theorem not_isGδ_carrier
TopologyByExample.BernsteinPlane.not_isGδ_carrier
The chosen carrier is not a countable intersection of open plane sets.
theorem not_isGδ_carrier : ¬ IsGδ carrier
Proof
:= by
intro h
obtain ⟨U, hU, he⟩ := h.eq_iInter_nat
apply not_sigmaCompactSpace_compl
apply isSigmaCompact_iff_sigmaCompactSpace.mp
have hec : carrierᶜ = ⋃ n, (U n)ᶜ := by rw [he, compl_iInter]
rw [hec]
apply isSigmaCompact_iUnion
intro n
exact isSigmaCompact_iff_sigmaCompactSpace.mpr (hU n).isClosed_compl.sigmaCompactSpace
theorem not_completelyMetrizableSpace
TopologyByExample.BernsteinPlane.not_completelyMetrizableSpace
Bernstein's connected set admits no compatible complete metric.
theorem not_completelyMetrizableSpace : ¬ IsCompletelyMetrizableSpace carrier
Proof
:= by
intro h
let := h
exact not_isGδ_carrier (isGδ_of_dense_of_completelyMetrizable dense_carrier)
On this site: Bernstein's connected set: No compatible complete metric
theorem carrier_subset_reservoir
TopologyByExample.BernsteinPlane.carrier_subset_reservoir
The explicit paired choices lie in the meagre plane reservoir.
theorem carrier_subset_reservoir : carrier ⊆ BernsteinMeagreReservoir.planeReservoir
Proof
:= by
rintro x ⟨a, rfl⟩
exact (BernsteinRecursion.pairs_spec _
(fun a ↦ BernsteinMeagreReservoir.cardinal_inter_continuum (enumeration a)) a).1.2
theorem isMeagre_univ
TopologyByExample.BernsteinPlane.isMeagre_univ
This representative is meagre in itself.
theorem isMeagre_univ : IsMeagre (univ : Set carrier)
theorem not_secondCategory
TopologyByExample.BernsteinPlane.not_secondCategory
This representative is not of second category.
theorem not_secondCategory : ¬ ¬ IsMeagre (univ : Set carrier)
Proof
:=
not_not_intro isMeagre_univ
On this site: Bernstein's connected set is not of second category