Riesz Representation Theorem

lean4-prooffunctional-analysisvisualization
ϕH!uH:ϕ(v)=u,v\phi \in H^* \Rightarrow \exists!\, u \in H : \phi(v) = \langle u, v \rangle

Statement

Let HH be a Hilbert space over K\mathbb{K} (real or complex). For every bounded linear functional ϕ:HK\phi : H \to \mathbb{K} there exists a unique vector uHu \in H such that

ϕ(v)=u,vfor all vH,ϕ=u.\phi(v) = \langle u, v \rangle \quad \text{for all } v \in H, \quad \|\phi\| = \|u\|.

The map ϕu\phi \mapsto u is a conjugate-linear isometric isomorphism HHH^* \cong H.

Visualization

Take H=2(N)H = \ell^2(\mathbb{N}) with inner product x,y=n=1xnyn\langle x, y \rangle = \sum_{n=1}^\infty \overline{x_n} y_n.

Define ϕ(v)=n=11n2vn\phi(v) = \sum_{n=1}^\infty \frac{1}{n^2} v_n (a bounded linear functional, since a=(1/n2)2a = (1/n^2) \in \ell^2).

The Riesz vector is u=(1,1/4,1/9,1/16,)=(1/n2)n1u = (1, 1/4, 1/9, 1/16, \ldots) = (1/n^2)_{n \ge 1}:

φ(v) = v₁ + v₂/4 + v₃/9 + v₄/16 + ...
     = 1·v₁ + (1/4)·v₂ + (1/9)·v₃ + ...
     = ⟨u, v⟩  where u = (1, 1/4, 1/9, ...)
vvϕ(v)\phi(v) computed directlyu,v\langle u, v \rangleMatch?
e1=(1,0,0,)e_1 = (1,0,0,\ldots)11u1=1u_1 = 1Yes
e2=(0,1,0,)e_2 = (0,1,0,\ldots)1/41/4u2=1/4u_2 = 1/4Yes
e3=(0,0,1,)e_3 = (0,0,1,\ldots)1/91/9u3=1/9u_3 = 1/9Yes
(1,1,1,0,)(1,1,1,0,\ldots)1+1/4+1/91 + 1/4 + 1/9n=13un\sum_{n=1}^3 u_nYes

Norm check: ϕ=u=n4=π4/901.0823\|\phi\| = \|u\| = \sqrt{\sum n^{-4}} = \sqrt{\pi^4/90} \approx 1.0823.

Proof Sketch

  1. Kernel. If ϕ=0\phi = 0, take u=0u = 0. Otherwise, kerϕ\ker \phi is a proper closed subspace.
  2. Orthogonal complement. By the Hilbert projection theorem, H=kerϕ(kerϕ)H = \ker \phi \oplus (\ker \phi)^\perp and (kerϕ)(\ker \phi)^\perp is one-dimensional; pick a unit vector w(kerϕ)w \in (\ker \phi)^\perp.
  3. Define uu. Set u=ϕ(w)wu = \overline{\phi(w)} \cdot w. Then for any vv: write v=(vϕ(v)ϕ(w)w)+ϕ(v)ϕ(w)wv = (v - \frac{\phi(v)}{\phi(w)} w) + \frac{\phi(v)}{\phi(w)} w.
  4. Verify. The first summand is in kerϕ\ker \phi, so u,v=ϕ(v)ϕ(w)2ϕ(w)2=ϕ(v)\langle u, v \rangle = \frac{\phi(v)}{|\phi(w)|^2} |\phi(w)|^2 = \phi(v).
  5. Norm. ϕ(v)=u,vuv|\phi(v)| = |\langle u, v \rangle| \le \|u\| \|v\|, and equality at v=uv = u gives ϕ=u\|\phi\| = \|u\|.

Connections

  • Hahn–Banach TheoremHahn–Banach Theoremg:ER,  gp=f,  g=f\exists\, g : E \to \mathbb{R},\; g|_p = f,\; \|g\| = \|f\|A bounded linear functional on a subspace of a normed space extends to the whole space with the same normRead more → — in general Banach spaces, Hahn–Banach extends functionals; Riesz strengthens this to an isometric isomorphism in Hilbert spaces.
  • Cauchy–Schwarz InequalityCauchy–Schwarz Inequalityu,vuv|\langle u, v \rangle| \leq \|u\| \, \|v\|The inner product of two vectors is bounded by the product of their normsRead more → — the bound ϕ(v)=u,vuv|\phi(v)| = |\langle u, v \rangle| \le \|u\| \|v\| is Cauchy–Schwarz, giving ϕu\|\phi\| \le \|u\|.
  • Spectral TheoremSpectral TheoremA=QΛQT  (real symmetric case)A = Q \Lambda Q^T \;\text{(real symmetric case)}Every real symmetric matrix is orthogonally diagonalizableRead more → — the Riesz theorem identifies HHH \cong H^*; the spectral theorem for self-adjoint operators then characterises HH-endomorphisms.
  • Uniform Boundedness PrincipleUniform Boundedness PrinciplesupnTnx<  (x)supnTn<\sup_n \|T_n x\| < \infty\;(\forall x) \Rightarrow \sup_n \|T_n\| < \inftyA pointwise-bounded family of bounded linear operators on a Banach space is uniformly bounded in operator normRead more → — a family of bounded functionals ϕι\phi_\iota represented by uιu_\iota is uniformly bounded in HH-norm iff the UBP condition holds.

Lean4 Proof

import Mathlib.Analysis.InnerProductSpace.Dual

/-- **Riesz Representation Theorem** for Hilbert spaces:
    every bounded linear functional equals inner product with a unique vector.
    Uses the isometric isomorphism `toDual` from `InnerProductSpace.Dual`. -/
theorem riesz_representation (E : Type*) [NormedAddCommGroup E] [InnerProductSpace  E]
    [CompleteSpace E] (φ : E L[] ) :
     u : E,  v : E, φ v = ⟪u, v⟫_ℝ := by
  use (InnerProductSpace.toDual  E).symm φ
  intro v
  rw [InnerProductSpace.toDual_symm_apply]