Lean library · module TopologyByExample.Theorems.PrimeIdealBiconnected
Connected partitions of the prime ideal topology
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 infinite_spectrum
TopologyByExample.PrimeIdealTopology.infinite_spectrum
The spectrum of the integers is infinite.
theorem infinite_spectrum : Infinite (PrimeSpectrum ℤ)
Proof
:= by
apply not_finite_iff_infinite.mp
intro h
let := h
let := isEmpty_of_scatteredSpace_of_not_hasIsolatedPoint not_hasIsolatedPoint
exact isEmptyElim generic
theorem finite_complement_of_isOpen
TopologyByExample.PrimeIdealTopology.finite_complement_of_isOpen
Every nonempty open set in the spectrum of the integers has finite complement.
theorem finite_complement_of_isOpen {U : Set (PrimeSpectrum ℤ)} (hU : IsOpen U)
(hne : U.Nonempty) : Uᶜ.Finite
Proof
:= by
obtain ⟨x, hx⟩ := hne
obtain ⟨_, ⟨n, rfl⟩, hn, hsub⟩ :=
PrimeSpectrum.isTopologicalBasis_basic_opens.isOpen_iff.mp hU x hx
have hn0 : n ≠ 0 := by
intro h
subst n
simp at hn
have hfin : {p : PrimeSpectrum ℤ | n ∈ p.asIdeal}.Finite :=
(Ring.HasFiniteQuotients.finite_setOfPred_mem n hn0).preimage
(f := PrimeSpectrum.asIdeal) (fun a _ b _ h ↦ PrimeSpectrum.ext h)
apply hfin.subset
intro p hp
by_contra hnp
exact hp (hsub hnp)
theorem not_biconnected
TopologyByExample.PrimeIdealTopology.not_biconnected
The prime ideal topology is not biconnected.
theorem not_biconnected : ¬ BiconnectedSpace (PrimeSpectrum ℤ)
Proof
:= by
let := infinite_spectrum
exact not_biconnected_of_finite_complements fun _ hU hne ↦
finite_complement_of_isOpen hU hne
On this site: The prime ideal topology is not biconnected