Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Algebras of functions, equicontinuity, uniform closure

Definition
Rudin_ch07_families

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

analysistopology

The vocabulary of Rudin's Chapter 7 that is not already in Mathlib in his form. A set A\mathcal{A}A of real functions is an algebra if it is closed under sums, products and real scalar multiples (Definition 7.28); it separates points on KKK and vanishes at no point of KKK in the sense of Definition 7.30; its uniform closure on KKK is the set of uniform limits on KKK of sequences drawn from it (Section 7.13, Definition 7.29). A sequence of functions is pointwise bounded or uniformly bounded on EEE as in Definition 7.19, and equicontinuous on EEE when a single δ\deltaδ serves every member of the family (Definition 7.22). Uniform convergence itself is Mathlib's TendstoUniformlyOn.

Definition code
import Mathlib

/-!
# Rudin, Chapter 7 — families of functions

Definitions transcribed from Walter Rudin, *Principles of Mathematical Analysis*, 3rd edition,
Chapter 7 (Definitions 7.7, 7.19, 7.22, 7.28, 7.30 and Section 7.13).

Uniform convergence itself is Mathlib's `TendstoUniformlyOn` and is reused.  What is added here
is the vocabulary of the Stone–Weierstrass section — algebras of functions, separation of
points, vanishing at no point, uniform closure — together with Rudin's boundedness and
equicontinuity conditions for families of functions, all stated for plain function sets rather
than for bundled subalgebras, so that they match the book.
-/

namespace Rudin

variable {X : Type*}

/-- Rudin, Definition 7.28: a set `A` of real functions is an **algebra** if it is closed under
addition, multiplication and scalar multiplication. -/
def IsFunctionAlgebra (A : Set (X → ℝ)) : Prop :=
  (∀ f ∈ A, ∀ g ∈ A, f + g ∈ A) ∧ (∀ f ∈ A, ∀ g ∈ A, f * g ∈ A) ∧
    (∀ c : ℝ, ∀ f ∈ A, (fun x => c * f x) ∈ A)

/-- Rudin, Definition 7.30: `A` **separates points** on `K` if for any two distinct points of
`K` some member of `A` takes different values at them. -/
def SeparatesPointsOn (A : Set (X → ℝ)) (K : Set X) : Prop :=
  ∀ x ∈ K, ∀ y ∈ K, x ≠ y → ∃ f ∈ A, f x ≠ f y

/-- Rudin, Definition 7.30: `A` **vanishes at no point** of `K` if for each `x ∈ K` some member
of `A` is nonzero at `x`. -/
def VanishesAtNoPointOn (A : Set (X → ℝ)) (K : Set X) : Prop :=
  ∀ x ∈ K, ∃ f ∈ A, f x ≠ 0

/-- Rudin, Section 7.13 and Definition 7.29: the **uniform closure** of `A` on `K` is the set of
functions that are uniform limits on `K` of sequences from `A`. -/
def UniformClosureOn [PseudoMetricSpace X] (A : Set (X → ℝ)) (K : Set X) : Set (X → ℝ) :=
  {g | ∃ f : ℕ → X → ℝ, (∀ n, f n ∈ A) ∧ TendstoUniformlyOn f g Filter.atTop K}

/-- Rudin, Definition 7.19: the sequence `F` is **pointwise bounded** on `E`. -/
def PointwiseBoundedOn (F : ℕ → X → ℂ) (E : Set X) : Prop :=
  ∀ x ∈ E, ∃ M : ℝ, ∀ n, ‖F n x‖ ≤ M

/-- Rudin, Definition 7.19: the sequence `F` is **uniformly bounded** on `E`. -/
def UniformlyBoundedOn (F : ℕ → X → ℂ) (E : Set X) : Prop :=
  ∃ M : ℝ, ∀ n, ∀ x ∈ E, ‖F n x‖ ≤ M

/-- Rudin, Definition 7.22: the family `F` is **equicontinuous** on `E`: one `δ` works for every
member of the family and every pair of points of `E`. -/
def EquicontinuousOn [PseudoMetricSpace X] (F : ℕ → X → ℂ) (E : Set X) : Prop :=
  ∀ ε : ℝ, 0 < ε → ∃ δ : ℝ, 0 < δ ∧
    ∀ n, ∀ x ∈ E, ∀ y ∈ E, dist x y < δ → ‖F n x - F n y‖ < ε

end Rudin
Source
Walter Rudin, Principles of Mathematical Analysis, 3rd edition, McGraw-Hill, 1976, Chapter 7, pp. 150-162, Definitions 7.19, 7.22, 7.28, 7.30 and Section 7.13
Read-back

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

Seven definitions about sets and sequences of functions on an arbitrary type XXX.

Algebra of functions. A set AAA of real-valued functions on XXX is an algebra if: for all f,g∈Af,g \in Af,g∈A one has f+g∈Af+g \in Af+g∈A; for all f,g∈Af,g \in Af,g∈A one has f⋅g∈Af \cdot g \in Af⋅g∈A (pointwise product); and for every real ccc and every f∈Af \in Af∈A, the function x↦c f(x)x \mapsto c\,f(x)x↦cf(x) lies in AAA. Closure under these three operations only — AAA is not required to be nonempty, to contain constants, or to be closed under subtraction explicitly (though −1-1−1 scaling gives it).

Separating points. AAA separates points on K⊆XK \subseteq XK⊆X: for all x,y∈Kx,y \in Kx,y∈K with x≠yx \ne yx=y there is f∈Af \in Af∈A with f(x)≠f(y)f(x) \ne f(y)f(x)=f(y).

Vanishing at no point. AAA vanishes at no point of KKK: for every x∈Kx \in Kx∈K there is f∈Af \in Af∈A with f(x)≠0f(x) \ne 0f(x)=0.

Uniform closure. For XXX a pseudometric space, the uniform closure of AAA on KKK is the set of functions g:X→Rg : X \to \mathbb{R}g:X→R for which there exists a sequence f0,f1,…f_0,f_1,\dotsf0​,f1​,… with every fn∈Af_n \in Afn​∈A and fn→gf_n \to gfn​→g uniformly on KKK. Membership constrains ggg only through its values on KKK via the uniform convergence, but ggg is a function on all of XXX.

Pointwise boundedness. For a sequence F0,F1,…F_0,F_1,\dotsF0​,F1​,… of complex-valued functions and E⊆XE \subseteq XE⊆X: for every x∈Ex \in Ex∈E there is a real MMM (depending on xxx) with ∥Fn(x)∥≤M\lVert F_n(x)\rVert \le M∥Fn​(x)∥≤M for all nnn.

Uniform boundedness. There is a single real MMM with ∥Fn(x)∥≤M\lVert F_n(x) \rVert \le M∥Fn​(x)∥≤M for all nnn and all x∈Ex \in Ex∈E.

Equicontinuity. For XXX a pseudometric space: for every ε>0\varepsilon>0ε>0 there is δ>0\delta>0δ>0 such that for every index nnn and all x,y∈Ex,y \in Ex,y∈E with d(x,y)<δd(x,y) < \deltad(x,y)<δ one has ∥Fn(x)−Fn(y)∥<ε\lVert F_n(x) - F_n(y)\rVert < \varepsilon∥Fn​(x)−Fn​(y)∥<ε. The single δ\deltaδ serves all members of the family and all pairs of points — this is uniform equicontinuity on EEE.

These are definitions only; nothing is asserted about them.

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

  • Endorsed by LG · Sep 13, 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