Lean library · module TopologyByExample.Spaces.SorgenfreyPlane
The Sorgenfrey plane
The Sorgenfrey plane is the product ℝₗ × ℝₗ of two copies of the Sorgenfrey line
TopologyByExample.SorgenfreyLine. We introduce no new type for it, so results about products
apply to it directly.
We prove that each antidiagonal {x | x.1 + x.2 = c} is a closed discrete subset of cardinality
continuum. Hence the plane is neither Lindelöf nor normal, although the line is both.
Main statements
TopologyByExample.SorgenfreyLine.isClosed_antidiagonalTopologyByExample.SorgenfreyLine.cardinal_antidiagonalTopologyByExample.SorgenfreyLine.exists_closed_discrete_continuum_le_prod: the plane has a closed discrete subset of cardinality𝔠.TopologyByExample.SorgenfreyLine.not_countableExtent_prod: the plane does not have countable extent.TopologyByExample.SorgenfreyLine.not_lindelofSpace_prod: the plane is not Lindelöf.TopologyByExample.SorgenfreyLine.not_normalSpace_prod: the plane is not normal.TopologyByExample.SorgenfreyLine.not_separatedNhds_rat_irrational_antidiag: an explicit pair of disjoint closed sets that cannot be separated.
Provenance
Everything here except not_countable_antidiagonal, exists_closed_discrete_continuum_le_prod,
not_countableExtent_prod and not_lindelofSpace_prod is adapted from
Mathlib's Counterexamples/SorgenfreyLine.lean by Yury Kudryashov, at the Mathlib commit this
project pins. The changes are the namespace (Counterexample became TopologyByExample) and the
split into a separate file; not_separableSpace_antidiagonal now goes through
not_countable_antidiagonal; Mathlib's derivation of non-metrizability and non-second-countability
of the line from not_normalSpace_prod is replaced by direct proofs in
TopologyByExample.Spaces.SorgenfreyLine.
References
- L. A. Steen and J. A. Seebach, Counterexamples in Topology, Example 84.
- R. H. Sorgenfrey, On the topological product of paracompact spaces, Bull. Amer. Math. Soc. 53 (1947), 631–632.
Tags
Sorgenfrey plane, Lindelöf, normal space, counterexample
This file was written by Claude (Anthropic's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it.
Imports
- Mathlib.Topology.Baire.Lemmas
- Mathlib.Topology.Baire.LocallyCompactRegular
- Mathlib.Topology.Instances.Irrational
- Mathlib.Topology.Separation.NotNormal
- TopologyByExample.Spaces.SorgenfreyLine
- TopologyByExample.Theorems.Category
- TopologyByExample.Theorems.CompactnessVariants
- TopologyByExample.Theorems.ConnectednessExtremes
- TopologyByExample.Theorems.CountableChainCondition
- TopologyByExample.Theorems.CountableExtent
- TopologyByExample.Theorems.Disconnectedness
- TopologyByExample.Theorems.GridProperties
- TopologyByExample.Theorems.Paracompactness
- TopologyByExample.Theorems.SeparationVariants
theorem isClosed_antidiagonal
TopologyByExample.SorgenfreyLine.isClosed_antidiagonal
theorem isClosed_antidiagonal (c : ℝₗ) : IsClosed {x : ℝₗ × ℝₗ | x.1 + x.2 = c}
Proof
:=
isClosed_singleton.preimage continuous_add
On this site: Sorgenfrey plane: Antidiagonals are closed
theorem isClopen_Ici_prod
TopologyByExample.SorgenfreyLine.isClopen_Ici_prod
theorem isClopen_Ici_prod (x : ℝₗ × ℝₗ) : IsClopen (Ici x)
Proof
:=
(Ici_prod_eq x).symm ▸ (isClopen_Ici _).prod (isClopen_Ici _)
theorem cardinal_antidiagonal
TopologyByExample.SorgenfreyLine.cardinal_antidiagonal
theorem cardinal_antidiagonal (c : ℝₗ) : #{x : ℝₗ × ℝₗ | x.1 + x.2 = c} = 𝔠
Proof
:= by
rw [← Cardinal.mk_real]
exact Equiv.cardinal_eq ⟨fun x ↦ toReal x.val.1,
fun x ↦ ⟨(toReal.symm x, c - toReal.symm x), by simp⟩,
fun ⟨x, hx⟩ ↦ by ext <;> simp [← hx.out], fun x ↦ rfl⟩
On this site: Sorgenfrey plane: Antidiagonals have the cardinality of the continuum
theorem not_countable_antidiagonal
TopologyByExample.SorgenfreyLine.not_countable_antidiagonal
An antidiagonal {(x, y) : ℝₗ × ℝₗ | x + y = c} is uncountable.
theorem not_countable_antidiagonal (c : ℝₗ) : ¬{x : ℝₗ × ℝₗ | x.1 + x.2 = c}.Countable
Proof
:= by
rw [← countable_coe_iff, ← Cardinal.mk_le_aleph0_iff, cardinal_antidiagonal, not_le]
exact Cardinal.aleph0_lt_continuum
theorem isClosed_of_subset_antidiagonal
TopologyByExample.SorgenfreyLine.isClosed_of_subset_antidiagonal
Any subset of an antidiagonal {(x, y) : ℝₗ × ℝₗ | x + y = c} is a closed set.
theorem isClosed_of_subset_antidiagonal {s : Set (ℝₗ × ℝₗ)} {c : ℝₗ} (hs : ∀ x ∈ s, x.1 + x.2 = c) :
IsClosed s
Proof
:= by
rw [← closure_subset_iff_isClosed]
rintro ⟨x, y⟩ H
obtain rfl : x + y = c := by
change (x, y) ∈ {p : ℝₗ × ℝₗ | p.1 + p.2 = c}
exact closure_minimal (fun x hx ↦ hs x hx) (isClosed_antidiagonal c) H
rcases mem_closure_iff.1 H (Ici (x, y)) (isClopen_Ici_prod _).2 self_mem_Ici with
⟨⟨x', y'⟩, ⟨hx : x ≤ x', hy : y ≤ y'⟩, H⟩
convert! H
· refine hx.antisymm ?_
rwa [← add_le_add_iff_right, hs _ H, add_le_add_iff_left]
· refine hy.antisymm ?_
rwa [← add_le_add_iff_left, hs _ H, add_le_add_iff_right]
On this site: Sorgenfrey plane: Every subset of an antidiagonal is closed
instance instDiscreteTopologyAntidiagonal
TopologyByExample.SorgenfreyLine.instDiscreteTopologyAntidiagonal
Every antidiagonal {(x, y) : ℝₗ × ℝₗ | x + y = c} is discrete in the subspace topology, since
all its subsets are closed.
instance instDiscreteTopologyAntidiagonal (c : ℝₗ) :
DiscreteTopology {x : ℝₗ × ℝₗ | x.1 + x.2 = c}
Proof
:=
discreteTopology_iff_forall_isClosed.2 fun C ↦ isClosed_induced_iff.2
⟨val '' C, isClosed_of_subset_antidiagonal <| coe_image_subset _ C,
preimage_image_eq _ val_injective⟩
On this site: Sorgenfrey plane: Antidiagonals are discrete
theorem exists_closed_discrete_continuum_le_prod
TopologyByExample.SorgenfreyLine.exists_closed_discrete_continuum_le_prod
The Sorgenfrey plane has a closed discrete subset of cardinality 𝔠: the antidiagonal
through the origin.
theorem exists_closed_discrete_continuum_le_prod :
∃ s : Set (ℝₗ × ℝₗ), IsClosed s ∧ IsDiscrete s ∧ 𝔠 ≤ #s
Proof
:=
⟨_, isClosed_antidiagonal 0, isDiscrete_iff_discreteTopology.2 inferInstance,
(cardinal_antidiagonal 0).ge⟩
On this site: The Sorgenfrey plane has a closed discrete subset of cardinality \(\mathfrak{c}\)
theorem not_countableExtent_prod
TopologyByExample.SorgenfreyLine.not_countableExtent_prod
The Sorgenfrey plane ℝₗ × ℝₗ does not have countable extent: the antidiagonal is an
uncountable set with no accumulation point (it is closed and discrete).
theorem not_countableExtent_prod :
¬∀ s : Set (ℝₗ × ℝₗ), ¬s.Countable → ∃ x, AccPt x (𝓟 s)
Proof
:= fun h ↦
not_countable_antidiagonal 0 <| countableExtent_iff.1 h _ (isClosed_antidiagonal 0)
(isDiscrete_iff_discreteTopology.2 inferInstance)
theorem not_lindelofSpace_prod
TopologyByExample.SorgenfreyLine.not_lindelofSpace_prod
The Sorgenfrey plane ℝₗ × ℝₗ is not a Lindelöf space: the antidiagonal is a closed,
discrete, uncountable subset.
theorem not_lindelofSpace_prod : ¬LindelofSpace (ℝₗ × ℝₗ)
Proof
:= fun _ ↦
not_countableExtent_prod countableExtent_of_lindelofSpace
theorem not_normalSpace_prod
TopologyByExample.SorgenfreyLine.not_normalSpace_prod
The Sorgenfrey plane ℝₗ × ℝₗ is not a normal space.
theorem not_normalSpace_prod : ¬NormalSpace (ℝₗ × ℝₗ)
Proof
:=
(isClosed_antidiagonal 0).not_normal_of_continuum_le_mk (cardinal_antidiagonal _).ge
On this site: The Sorgenfrey plane is not normal
theorem isSeparable_antidiagonal
TopologyByExample.SorgenfreyLine.isSeparable_antidiagonal
An antidiagonal is a separable set but is not a separable space.
theorem isSeparable_antidiagonal (c : ℝₗ) : IsSeparable {x : ℝₗ × ℝₗ | x.1 + x.2 = c}
Proof
:=
.of_separableSpace _
theorem not_separableSpace_antidiagonal
TopologyByExample.SorgenfreyLine.not_separableSpace_antidiagonal
An antidiagonal is a separable set but is not a separable space.
theorem not_separableSpace_antidiagonal (c : ℝₗ) :
¬SeparableSpace {x : ℝₗ × ℝₗ | x.1 + x.2 = c}
Proof
:= by
rw [separableSpace_iff_countable]
exact not_countable_antidiagonal c
On this site: Sorgenfrey plane: Antidiagonals are not separable
theorem nhds_prod_antitone_basis_inv_pnat
TopologyByExample.SorgenfreyLine.nhds_prod_antitone_basis_inv_pnat
theorem nhds_prod_antitone_basis_inv_pnat (x y : ℝₗ) :
(𝓝 (x, y)).HasAntitoneBasis fun n : ℕ+ => Ico x (x + (n : ℝₗ)⁻¹) ×ˢ Ico y (y + (n : ℝₗ)⁻¹)
Proof
:= by
rw [nhds_prod_eq]
exact (nhds_antitone_basis_Ico_inv_pnat x).prod (nhds_antitone_basis_Ico_inv_pnat y)
theorem not_separatedNhds_rat_irrational_antidiag
TopologyByExample.SorgenfreyLine.not_separatedNhds_rat_irrational_antidiag
The sets of rational and irrational points of the antidiagonal {(x, y) | x + y = 0} cannot be
separated by open neighborhoods. This implies that ℝₗ × ℝₗ is not a normal space.
theorem not_separatedNhds_rat_irrational_antidiag :
¬SeparatedNhds {x : ℝₗ × ℝₗ | x.1 + x.2 = 0 ∧ ∃ r : ℚ, ↑r = x.1}
{x : ℝₗ × ℝₗ | x.1 + x.2 = 0 ∧ Irrational (toReal x.1)}
Proof
:= by
have h₀ : ∀ {n : ℕ+}, 0 < (n : ℝ)⁻¹ := inv_pos.2 (Nat.cast_pos.2 (PNat.pos _))
have h₀' : ∀ {n : ℕ+} {x : ℝ}, x < x + (n : ℝ)⁻¹ := lt_add_of_pos_right _ h₀
/- Let `S` be the set of points `(x, y)` on the line `x + y = 0` such that `x` is rational.
Let `T` be the set of points `(x, y)` on the line `x + y = 0` such that `x` is irrational.
These sets are closed, see `SorgenfreyLine.isClosed_of_subset_antidiagonal`, and disjoint. -/
set S := {x : ℝₗ × ℝₗ | x.1 + x.2 = 0 ∧ ∃ r : ℚ, ↑r = x.1}
set T := {x : ℝₗ × ℝₗ | x.1 + x.2 = 0 ∧ Irrational (toReal x.1)}
-- Consider disjoint open sets `U ⊇ S` and `V ⊇ T`.
rintro ⟨U, V, Uo, Vo, SU, TV, UV⟩
/- For each point `(x, -x) ∈ T`, choose a neighborhood
`Ico x (x + k⁻¹) ×ˢ Ico (-x) (-x + k⁻¹) ⊆ V`. -/
have : ∀ x : ℝₗ, Irrational (toReal x) →
∃ k : ℕ+, Ico x (x + (k : ℝₗ)⁻¹) ×ˢ Ico (-x) (-x + (k : ℝₗ)⁻¹) ⊆ V := fun x hx ↦ by
have hV : V ∈ 𝓝 (x, -x) := Vo.mem_nhds (@TV (x, -x) ⟨add_neg_cancel x, hx⟩)
exact (nhds_prod_antitone_basis_inv_pnat _ _).mem_iff.1 hV
choose! k hkV using this
/- Since the set of irrational numbers is a dense Gδ set in the usual topology of `ℝ`, there
exists `N > 0` such that the set `C N = {x : ℝ | Irrational x ∧ k x = N}` is dense in a nonempty
interval. In other words, the closure of this set has a nonempty interior. -/
set C : ℕ+ → Set ℝ := fun n => closure {x | Irrational x ∧ k (toReal.symm x) = n}
have H : {x : ℝ | Irrational x} ⊆ ⋃ n, C n := fun x hx =>
mem_iUnion.2 ⟨_, subset_closure ⟨hx, rfl⟩⟩
have Hd : Dense (⋃ n, interior (C n)) :=
IsGδ.setOfPred_irrational.dense_iUnion_interior_of_closed dense_irrational
(fun _ => isClosed_closure) H
obtain ⟨N, hN⟩ : ∃ n : ℕ+, (interior <| C n).Nonempty := nonempty_iUnion.mp Hd.nonempty
/- Choose a rational number `r` in the interior of the closure of `C N`, then choose `n ≥ N > 0`
such that `Ico r (r + n⁻¹) × Ico (-r) (-r + n⁻¹) ⊆ U`. -/
rcases Rat.denseRange_cast.exists_mem_open isOpen_interior hN with ⟨r, hr⟩
have hrU : ((r, -r) : ℝₗ × ℝₗ) ∈ U := @SU (r, -r) ⟨add_neg_cancel _, r, rfl⟩
obtain ⟨n, hnN, hn⟩ :
∃ n, N ≤ n ∧ Ico (r : ℝₗ) (r + (n : ℝₗ)⁻¹) ×ˢ Ico (-r : ℝₗ) (-r + (n : ℝₗ)⁻¹) ⊆ U :=
((nhds_prod_antitone_basis_inv_pnat _ _).hasBasis_ge N).mem_iff.1 (Uo.mem_nhds hrU)
/- Finally, choose `x ∈ Ioo (r : ℝ) (r + n⁻¹) ∩ C N`. Then `(x, -r)` belongs both to `U` and `V`,
so they are not disjoint. This contradiction completes the proof. -/
obtain ⟨x, hxn, hx_irr, rfl⟩ :
∃ x : ℝ, x ∈ Ioo (r : ℝ) (r + (n : ℝ)⁻¹) ∧ Irrational x ∧ k (toReal.symm x) = N := by
have : (r : ℝ) ∈ closure (Ioo (r : ℝ) (r + (n : ℝ)⁻¹)) := by
rw [closure_Ioo h₀'.ne, left_mem_Icc]
exact h₀'.le
rcases mem_closure_iff_nhds.1 this _ (mem_interior_iff_mem_nhds.1 hr) with ⟨x', hx', hx'ε⟩
exact mem_closure_iff.1 hx' _ isOpen_Ioo hx'ε
refine UV.le_bot (?_ : (toReal.symm x, -(r : ℝₗ)) ∈ _)
refine ⟨hn ⟨?_, ?_⟩, hkV (toReal.symm x) hx_irr ⟨?_, ?_⟩⟩
· exact Ioo_subset_Ico_self hxn
· exact left_mem_Ico.2 h₀'
· exact left_mem_Ico.2 h₀'
· refine (nhds_antitone_basis_Ico_inv_pnat (-x)).antitone hnN ⟨neg_le_neg hxn.1.le, ?_⟩
simp only [add_neg_lt_iff_le_add', lt_neg_add_iff_add_lt]
exact hxn.2
On this site: Sorgenfrey plane: The rational and irrational points of an antidiagonal cannot be separated
Category and countable paracompactness
theorem baireSpace_prod
TopologyByExample.SorgenfreyLine.baireSpace_prod
The Sorgenfrey plane is a Baire space: every nonempty open set contains a half-open box
[a, a') × [b, b'), hence the preimage of the usual open box (a, a') × (b, b').
theorem baireSpace_prod : BaireSpace (ℝₗ × ℝₗ)
Proof
:= by
refine baireSpace_of_continuous_of_surjective
(f := Prod.map toReal toReal) (continuous_toReal.prodMap continuous_toReal)
(toReal.surjective.prodMap toReal.surjective) fun U hU ⟨⟨a, b⟩, hab⟩ ↦ ?_
obtain ⟨⟨a', b'⟩, ⟨ha, hb⟩, hU'⟩ :=
((nhds_basis_Ico a).prod_nhds (nhds_basis_Ico b)).mem_iff.1 (hU.mem_nhds hab)
refine ⟨Ioo (toReal a) (toReal a') ×ˢ Ioo (toReal b) (toReal b'),
isOpen_Ioo.prod isOpen_Ioo, (nonempty_Ioo.2 (toReal_lt_toReal.2 ha)).prod
(nonempty_Ioo.2 (toReal_lt_toReal.2 hb)), fun ⟨z, w⟩ hz ↦ hU' ?_⟩
obtain ⟨⟨h1, h2⟩, h3, h4⟩ := hz
exact ⟨⟨(toReal_lt_toReal.1 h1).le, toReal_lt_toReal.1 h2⟩,
(toReal_lt_toReal.1 h3).le, toReal_lt_toReal.1 h4⟩
On this site: The Sorgenfrey plane is a Baire space
theorem not_isMeagre_univ_prod
TopologyByExample.SorgenfreyLine.not_isMeagre_univ_prod
The Sorgenfrey plane is of second category in itself.
theorem not_isMeagre_univ_prod : ¬IsMeagre (Set.univ : Set (ℝₗ × ℝₗ))
Proof
:=
haveI := baireSpace_prod
not_isMeagre_univ_of_baireSpace
theorem not_countablyParacompactSpace_prod
TopologyByExample.SorgenfreyLine.not_countablyParacompactSpace_prod
The Sorgenfrey plane is not countably paracompact: it is separable, and the antidiagonal
x + y = 0 is a closed discrete subset of cardinality 𝔠.
theorem not_countablyParacompactSpace_prod : ¬CountablyParacompactSpace (ℝₗ × ℝₗ)
Proof
:=
(isClosed_antidiagonal 0).not_countablyParacompactSpace_of_continuum_le_mk
(cardinal_antidiagonal 0).ge
On this site: Space: Sorgenfrey plane