Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Theorem 11.42 — the Riesz–Fischer theorem

Proved
Rudin.ch11_riesz_fischer

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

analysismeasure-theory

L2(μ)\mathscr{L}^2(\mu)L2(μ) is complete: if {fn}\{f_n\}{fn​} is a Cauchy sequence in L2(μ)\mathscr{L}^2(\mu)L2(μ), then there is an f∈L2(μ)f \in \mathscr{L}^2(\mu)f∈L2(μ) with ∥fn−f∥2→0\|f_n - f\|_2 \to 0∥fn​−f∥2​→0.

Preamble
import Mathlib
import Definitions.Def_Rudin_ch11_L2

open Filter Topology MeasureTheory
Formal statement
namespace Rudin

/-- Rudin, Theorem 11.42 (Riesz–Fischer): every Cauchy sequence in `ℒ²(μ)` converges in the mean
to a function of `ℒ²(μ)`; that is, `ℒ²(μ)` is complete. -/
theorem ch11_riesz_fischer {X : Type*} [MeasurableSpace X] (μ : Measure X) (f : ℕ → X → ℝ)
    (hmem : ∀ n, MemL2 μ (f n)) (hcauchy : CauchyL2 μ f) :
    ∃ g : X → ℝ, MemL2 μ g ∧ TendstoL2 μ f g := by sorry

end Rudin
Source
Walter Rudin, Principles of Mathematical Analysis, 3rd edition, McGraw-Hill, 1976, Chapter 11, p. 329, Theorem 11.42
Read-back

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

Let XXX be a measurable space with measure μ\muμ and let f0,f1,⋯:X→Rf_0,f_1,\dots : X \to \mathbb{R}f0​,f1​,⋯:X→R be functions such that:

  • every fnf_nfn​ lies in L2(μ)\mathcal{L}^2(\mu)L2(μ), i.e. is measurable with integrable square;
  • the sequence is Cauchy in the L2\mathcal{L}^2L2 norm: for every ε>0\varepsilon>0ε>0 there is NNN with
∥fn−fm∥2=∫X(fn−fm)2dμ<εfor all m,n≥N.\lVert f_n - f_m\rVert_2 = \sqrt{\int_X (f_n - f_m)^2 d\mu} < \varepsilon \quad\text{for all } m,n \ge N .∥fn​−fm​∥2​=∫X​(fn​−fm​)2dμ​<εfor all m,n≥N.

Then there exists a function g:X→Rg : X \to \mathbb{R}g:X→R such that g∈L2(μ)g \in \mathcal{L}^2(\mu)g∈L2(μ) and fn→gf_n \to gfn​→g in the mean:

∥fn−g∥2⟶0(n→∞).\lVert f_n - g\rVert_2 \longrightarrow 0 \qquad (n \to \infty).∥fn​−g∥2​⟶0(n→∞).

The limit is produced as an honest function, not an equivalence class, and is not claimed to be unique (any modification on a null set would serve equally); no pointwise or almost-everywhere convergence is asserted.

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

  • Endorsed by Lucas · 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, licensed under Apache 2.0.

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