Theorem 4.8 — continuity by preimages of open sets
ProvedRudin.ch04_continuous_iff_preimage_openanalysistopology
A mapping of a metric space into a metric space is continuous if and only if is open in for every open .
Preamble
import Mathlib import Definitions.Def_Rudin_ch04_continuity open Filter Topology
Formal statement
namespace Rudin
/-- Rudin, Theorem 4.8: a mapping `f` of a metric space `X` into a metric space `Y` is
continuous if and only if the preimage of every open subset of `Y` is open in `X`. -/
theorem ch04_continuous_iff_preimage_open {X Y : Type*} [MetricSpace X] [MetricSpace Y]
(f : X → Y) : Continuous f ↔ ∀ V : Set Y, IsOpen V → IsOpen (f ⁻¹' V) := by sorry
end RudinSource
Walter Rudin, Principles of Mathematical Analysis, 3rd edition, McGraw-Hill, 1976, Chapter 4, p. 86, Theorem 4.8
Read-back
What the Lean code literally says, in plain math · Aristotle (Harmonic)
Let and be metric spaces and a function defined on all of . Then is continuous (globally, with respect to the metric topologies) if and only if for every subset that is open, the preimage
is open in .
Both directions are asserted; the right-hand condition quantifies over all open subsets of , with no restriction to a basis of balls.
Human review
Confirmed by the mission captain (proposal self-audit).