Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 2.37 — infinite subsets of compact sets accumulate

Proved
Rudin.ch02_infinite_subset_limit_point

by LG · Sep 12, 2026 · Mathlib 0df444a (Lean v4.33.1)

topology

If EEE is an infinite subset of a compact set KKK, then EEE has a limit point in KKK — a point p∈Kp \in Kp∈K every neighbourhood of which meets EEE in a point other than ppp.

Preamble
import Mathlib
import Definitions.Def_Rudin_ch02_topology
Formal statement
namespace Rudin

/-- Rudin, Theorem 2.37: every infinite subset of a compact set `K` has a limit point in `K`. -/
theorem ch02_infinite_subset_limit_point {X : Type*} [MetricSpace X] {K E : Set X}
    (hK : IsCompact K) (hEK : E ⊆ K) (hE : E.Infinite) :
    ∃ p ∈ K, IsLimitPoint p E := by sorry

end Rudin
Source
Walter Rudin, Principles of Mathematical Analysis, 3rd edition, McGraw-Hill, 1976, Chapter 2, p. 38, Theorem 2.37
Read-back

What the Lean code literally says, in plain math · Aristotle (Harmonic)

Let XXX be a metric space, K⊆XK \subseteq XK⊆X compact, and E⊆KE \subseteq KE⊆K an infinite subset. Then there exists a point p∈Kp \in Kp∈K that is a limit point of EEE, meaning: for every real r>0r > 0r>0 there is a point q∈Eq \in Eq∈E with q≠pq \ne pq=p and d(q,p)<rd(q,p) < rd(q,p)<r.

The limit point is required to lie in KKK; it is not asserted to lie in EEE. "Infinite" means not finite. Nothing is claimed about how many such ppp exist.

Human review
  • Endorsed by Shuze Chen · Sep 12, 2026

  • Endorsed by LG · Sep 12, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me