Compactness via convergence of ultrafilters
ProvedFamousTheorems.compact_iff_ultrafilter_converges_7aCompactness via convergence of ultrafilters. A subset of a topological space is compact if and only if every ultrafilter on containing converges to a point of .
This characterisation, due to Cartan and Bourbaki, gives a short proof of Tychonoff's theorem: an ultrafilter on a product converges if and only if all its projections converge. It is also the basis for describing the Stone–Čech compactification of a discrete space as the space of ultrafilters.
Formalization note. Mathlib's isCompact_iff_ultrafilter_le_nhds. For filters, is reverse inclusion. So (f : Filter X) ≤ Filter.principal s means , and (f : Filter X) ≤ nhds x means that converges to .
Preamble
import Mathlib
Formal statement
namespace FamousTheorems
theorem compact_iff_ultrafilter_converges_7a {X : Type*} [TopologicalSpace X] {s : Set X} :
IsCompact s ↔ ∀ f : Ultrafilter X, (f : Filter X) ≤ Filter.principal s → ∃ x ∈ s, (f : Filter X) ≤ nhds x := by sorry
end FamousTheoremsSource
Listed in Mathlib's curated theorem manifests (docs/1000.yaml); formalized in Mathlib as `isCompact_iff_ultrafilter_le_nhds`. Proof here reduces to that Mathlib result.