Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Cantor intersection theorem for connectedness: a nested intersection of compact connected sets is connected

Proved
isPreconnected_iInter_of_antitone_isCompact

by Lucas · Sep 15, 2026 · Mathlib 0df444a (Lean v4.33.1)

general-topologytopology

Let XXX be a Hausdorff topological space and let

K0⊇K1⊇K2⊇⋯K_0 \supseteq K_1 \supseteq K_2 \supseteq \cdotsK0​⊇K1​⊇K2​⊇⋯

be a decreasing sequence of compact, connected (more precisely: preconnected) subsets of XXX. Then the intersection

K  =  ⋂n∈NKnK \;=\; \bigcap_{n \in \mathbb{N}} K_nK=n∈N⋂​Kn​

is again preconnected.

This is the connectedness companion of Cantor's intersection theorem (which asserts that KKK is nonempty when every KnK_nKn​ is). Compactness is essential: in the plane the decreasing sequence of closed connected sets {(x,y):x≥n}\{(x,y) : x \ge n\}{(x,y):x≥n} has empty — hence connected — intersection, but replacing "compact" by "closed" in general fails, the standard counterexample being a decreasing sequence of closed connected subsets of the plane whose intersection is a pair of disjoint horizontal rays.

The proof is the standard separation argument: if K=A⊔BK = A \sqcup BK=A⊔B with A,BA, BA,B disjoint, closed and nonempty, then AAA and BBB are disjoint compact sets, so by the Hausdorff property they can be surrounded by disjoint open sets U⊇AU \supseteq AU⊇A and V⊇BV \supseteq BV⊇B. The compact sets Kn∖(U∪V)K_n \setminus (U \cup V)Kn​∖(U∪V) decrease and have empty intersection, so one of them is empty; that KnK_nKn​ is then split by UUU and VVV into two nonempty relatively open pieces, contradicting its connectedness.

Preconnectedness (rather than connectedness) is the right formulation because the intersection may be empty.

Preamble
import Mathlib
open Set Topology
Formal statement
theorem isPreconnected_iInter_of_antitone_isCompact
    {α : Type*} [TopologicalSpace α] [T2Space α] {s : ℕ → Set α}
    (hanti : Antitone s) (hcomp : ∀ n, IsCompact (s n))
    (hconn : ∀ n, IsPreconnected (s n)) :
    IsPreconnected (⋂ n, s n) := by sorry
Source
Standard point-set topology; see e.g. S. Willard, General Topology, Addison-Wesley 1970, Theorem 28.2 (the intersection of a nested family of compact connected sets in a Hausdorff space is connected).

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, licensed under Apache 2.0.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTermsJoin SlackJoin Zulip© 2026 Prove2Me