Arzelà–Ascoli Theorem

lean4-proofanalysisvisualizationtopology
equicontinuous+pointwise boundedF compact in C(K)\text{equicontinuous} + \text{pointwise bounded} \Rightarrow \overline{F} \text{ compact in } C(K)

The Arzelà–Ascoli theorem characterises compact subsets of the space C(K)C(K) of continuous functions on a compact metric space. It is the workhorse for existence proofs in analysis and PDEs — sequences of approximate solutions are shown to have convergent subsequences.

Statement

Let KK be a compact metric space and (fn)(f_n) a sequence of continuous functions fn:KRf_n : K \to \mathbb{R}. The sequence has a uniformly convergent subsequence if and only if:

  1. Uniform boundedness: supnfn<\sup_n \|f_n\|_\infty < \infty.
  2. Equicontinuity: for every ε>0\varepsilon > 0 there exists δ>0\delta > 0 such that d(x,y)<δfn(x)fn(y)<εd(x,y) < \delta \Rightarrow |f_n(x) - f_n(y)| < \varepsilon for all nn simultaneously.

More generally, AC(K)A \subseteq C(K) has compact closure if and only if AA is equicontinuous and pointwise bounded.

Visualization

Three families of functions — which are equicontinuous?

Consider fn(x)=sin(nx)/nf_n(x) = \sin(nx)/n on K=[0,2π]K = [0, 2\pi].

nnfn\|f_n\|_\inftymodulus of continuityequicontinuous?
111<span class="math-inline" data-latex="n\cos(nc)
101/101/10<span class="math-inline" data-latex="\supf_n'
1001/1001/100<span class="math-inline" data-latex="\supf_n'

Since fn(x)fn(y)xysupfn=xy|f_n(x) - f_n(y)| \leq |x - y| \cdot \sup|f_n'| = |x-y| (because fn=cos(nx)1|f_n'| = |\cos(nx)| \leq 1), the family {fn}\{f_n\} is equicontinuous with modulus δ=ε\delta = \varepsilon, and fn1\|f_n\|_\infty \leq 1. Arzelà–Ascoli applies.

Contrast: gn(x)=sin(nx)g_n(x) = \sin(nx) (no 1/n1/n factor):

nngn\|g_n\|_\inftymodulusequicontinuous?
111δ=ε\delta = \varepsilonyes
1011need δ<ε/10\delta < \varepsilon/10worse
10011need δ<ε/100\delta < \varepsilon/100worse

For (gn)(g_n), any fixed δ\delta fails for large nn: not equicontinuous. Indeed (gn)(g_n) has no uniformly convergent subsequence.

Schematic — equicontinuous vs. oscillatory:

 f_n = sin(nx)/n       g_n = sin(nx)
  1 |                    1 |~~~~~
    |~     ~              | ~   ~   ~
  0 |  ~ ~               0 |    ~ ~
    |                    -1|
    +-----> x               +-----> x
     slowly shrinking        fixed amplitude
     equicontinuous          NOT equicontinuous

Proof Sketch

  1. (\Rightarrow) Compact sets in a metric space are totally bounded: from any sequence, extract a Cauchy subsequence. Taking nn \to \infty shows equicontinuity and boundedness.

  2. (\Leftarrow) Given an equicontinuous uniformly bounded sequence (fn)(f_n):

    • Pick a countable dense set {xk}K\{x_k\} \subseteq K (possible since KK is compact metric).
    • By the Bolzano–Weierstrass TheoremBolzano–Weierstrass Theorembounded (xn)Rn    convergent subsequence\text{bounded } (x_n) \subseteq \mathbb{R}^n \implies \exists\, \text{convergent subsequence}Every bounded sequence in ℝⁿ has a convergent subsequenceRead more → applied to the bounded sequence (fn(x1))n(f_n(x_1))_n, extract a subsequence converging at x1x_1. Repeat at x2,x3,x_2, x_3, \ldots by diagonal extraction.
    • The diagonal subsequence converges at all xkx_k.
    • Equicontinuity promotes pointwise convergence on {xk}\{x_k\} to uniform convergence on all of KK (a 3ε3\varepsilon-argument using density).

Connections

Arzelà–Ascoli is the standard tool for proving existence in ODEs (Peano's theorem), integral equations, and variational problems. It is the function-space analogue of the Bolzano–Weierstrass TheoremBolzano–Weierstrass Theorembounded (xn)Rn    convergent subsequence\text{bounded } (x_n) \subseteq \mathbb{R}^n \implies \exists\, \text{convergent subsequence}Every bounded sequence in ℝⁿ has a convergent subsequenceRead more →, and together they illustrate the general principle: compact = closed + totally bounded. The Heine–Borel TheoremHeine–Borel TheoremKRn  compact    K  closed and boundedK \subseteq \mathbb{R}^n \;\text{compact} \iff K \;\text{closed and bounded}In ℝⁿ, a subset is compact if and only if it is closed and boundedRead more → is the same principle for finite-dimensional Rn\mathbb{R}^n.

Lean4 Proof

import Mathlib.Topology.ContinuousMap.Bounded.ArzelaAscoli

open BoundedContinuousFunction Set

/-- Arzelà–Ascoli theorem: a closed equicontinuous subset of bounded continuous
    functions on a compact space with compact range is compact. -/
theorem arzela_ascoli_compact {α β : Type*}
    [TopologicalSpace α] [CompactSpace α]
    [PseudoMetricSpace β] [CompactSpace β]
    (A : Setᵇ β))
    (hA_closed : IsClosed A)
    (hA_equi : Equicontinuous ((↑) : A  α  β)) :
    IsCompact A :=
  arzela_ascoli₁ A hA_closed hA_equi