Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 4.22 — continuous images of connected sets

Proved
Rudin.ch04_continuous_image_connected

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

analysistopology

If EEE is a connected subset of a metric space XXX and fff is continuous on EEE, then f(E)f(E)f(E) is connected.

Preamble
import Mathlib
import Definitions.Def_Rudin_ch04_continuity

open Filter Topology
Formal statement
namespace Rudin

/-- Rudin, Theorem 4.22: the continuous image of a connected set is connected. -/
theorem ch04_continuous_image_connected {X Y : Type*} [MetricSpace X] [MetricSpace Y]
    (f : X → Y) (E : Set X) (hE : IsPreconnected E) (hf : ContinuousOn f E) :
    IsPreconnected (f '' E) := by sorry

end Rudin
Source
Walter Rudin, Principles of Mathematical Analysis, 3rd edition, McGraw-Hill, 1976, Chapter 4, p. 93, Theorem 4.22
Read-back

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

Let X,YX, YX,Y be metric spaces, f:X→Yf : X \to Yf:X→Y and E⊆XE \subseteq XE⊆X. If EEE is preconnected (it admits no separation by two open sets meeting it, covering it and disjoint on it — the connectedness condition with nonemptiness not required) and fff is continuous on EEE (relative continuity at each point of EEE), then the image f(E)f(E)f(E) is preconnected in YYY.

Nonemptiness is neither assumed nor concluded: for E=∅E=\emptysetE=∅ both sides hold trivially. Nothing is assumed about fff off EEE.

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