Proposition 11.6.8 — Compact metric spaces have countable dense subsets
ProvedLeblRA.countable_dense_subset_11_6_8Every compact metric space contains a countable dense subset:
This is Lebl’s Proposition 11.6.8, which supplies the countable-domain setting relevant to the subsequent compactness theorem.
Formalization Note. The closure condition is represented by Dense D. The set may be finite, and the empty compact metric space is included. Separability is a conclusion, not an additional hypothesis.
import Mathlib.Topology.UniformSpace.Ascoli import Mathlib.Topology.MetricSpace.UniformConvergence import Mathlib.Topology.MetricSpace.Equicontinuity import Mathlib.Topology.UniformSpace.HeineCantor import Mathlib.Topology.Sequences import Mathlib.Analysis.Complex.Basic import Mathlib.Tactic set_option autoImplicit false set_option maxHeartbeats 200000 open Filter Set Topology open scoped UniformConvergence universe u
namespace LeblRA
theorem countable_dense_subset_11_6_8 {X : Type u} [MetricSpace X] [CompactSpace X] :
∃ D : Set X, D.Countable ∧ Dense D := by sorry
end LeblRARead-back
What the Lean code literally says, in plain math · Codex (exact model identifier unavailable in auditor runtime)
For every compact metric space whose underlying type may lie in any universe, there exists a subset that is at most countable and dense in . Density means that the closure of is all of , or equivalently, for every and every real , there is a point with , where is the metric of . The set is allowed to be finite; no infinitude or uniqueness is asserted. The space may be empty, in which case its empty subset satisfies the conclusion and the ball condition is vacuous. If is nonempty, density entails that is nonempty.
Exact runtime model ID: unavailable; it was not exposed to this auditor.
Confirmed by the mission captain (proposal self-audit).