Theorem 2.43 — nonempty perfect sets are uncountable
ProvedRudin.ch02_perfect_uncountableA nonempty perfect set — closed, with every point a limit point of — is uncountable. In particular every interval with is uncountable, and so is the Cantor set.
import Mathlib
namespace Rudin
/-- Rudin, Theorem 2.43: a nonempty perfect set in `ℝ^k` — a nonempty closed set every point of
which is a limit point of the set — is uncountable. -/
theorem ch02_perfect_uncountable (k : ℕ) (P : Set (EuclideanSpace ℝ (Fin k)))
(hne : P.Nonempty) (hP : Perfect P) : ¬ P.Countable := by sorry
end RudinRead-back
What the Lean code literally says, in plain math · Aristotle (Harmonic)
Let be a natural number and let be a subset of -dimensional Euclidean space which is nonempty and perfect, where perfect means: is closed and has no isolated points (every point of lies in the closure of minus that point). Then is not countable, i.e. there is no injection from into .
Nonemptiness is an explicit separate hypothesis (the empty set is perfect and countable). Both and are formally covered by the statement as written; in the hypotheses can only be met vacuously or not at all, which the statement does not discuss.
Confirmed by the mission captain (proposal self-audit).