This project formalises function spaces of smooth functions in Lean 4 and Mathlib: Besov,
Triebel–Lizorkin, Sobolev and Bessel potential spaces. Each space has several classical
descriptions, and the project proves that they define the same space, on ℝ^d, the torus,
intervals and the cube, bounded Lipschitz domains and compact manifolds. Wherever possible, a
space is also identified with an approximation space: the functions whose error of best
approximation by a fixed scheme (band-limited functions, trigonometric polynomials, splines,
wavelets, eigenfunctions) decays at a given rate. This form makes the general methods of
approximation theory available, such as interpolation, embeddings, decompositions and traces,
and it is the form numerical analysis needs. The project has about 136 000 lines of Lean in 327
files and contains no sorry.
- Blueprint (the mathematics, with the Lean name at every statement)
- Blueprint as PDF
- Dependency graph (own design, main results)
- Dependency graph (leanblueprint)
The project treats the classical spaces of smooth functions: the Besov spaces B^s_{p,q}, the
Triebel–Lizorkin spaces F^s_{p,q}, the Sobolev spaces W^m_p and the Bessel potential spaces
H^{s,p}. These spaces can be characterized by
- finite differences (moduli of smoothness), on
ℝ^dor inside a domain, - Littlewood–Paley blocks, local means and ball means,
- atomic decompositions,
- wavelet coefficients, Fourier coefficients and eigenfunction expansions,
- weak derivatives and Bessel potentials,
- best approximation by a fixed scheme,
- real interpolation,
- restrictions of spaces on
ℝ^dand pieces in charts,
depending on the choice of parameters and the domain.
The spaces are studied in these settings:
ℝ^d, with the Daubechies wavelets onℝand their tensor products onℝ^d;- the torus
𝕋^d; - the interval
[0, 1]and the cube[0, 1]^d; - Lipschitz graph domains, bounded Lipschitz domains and bounded smooth domains in
ℝ^d; - compact manifolds without boundary, with boundary or with corners.
On a domain the descriptions use the values of f in the domain (intrinsic differences, weak
derivatives, eigenfunction expansions) or extensions to ℝ^d (restrictions). A compact manifold
carries its spaces in the charts of an atlas and a smooth measure, that is, a measure with a
continuous positive density in every chart.
An approximation scheme in a normed space X is a sequence of sets {0} = A_0 ⊆ A_1 ⊆ ⋯ with
c A_n ⊆ A_n and A_m + A_n ⊆ A_{m+n}. With the error of best approximation
E_n(f) = inf { ‖f - a‖ : a ∈ A_n }, the approximation space A^s_q consists of the f with
(n^(s - 1/q) E_{n-1}(f))_{n ≥ 1} ∈ ℓ_q (Pietsch 1981); for s ≥ 0 and 0 < q ≤ ∞ it is a linear
subspace of X. For trigonometric polynomials, splines, band-limited functions, wavelets and
eigenfunctions these are Besov spaces. On a finite measure space, a scheme of essentially bounded
functions has Besov spaces B^s_{p,q} for every 0 < p ≤ ∞ and 0 < q ≤ ∞, with the error of best
approximation in the quasi-norm ‖·‖_p; for p ≥ 1 they are its approximation spaces in L_p. The
torus and the dyadic step functions on [0, 1) are the concrete instances of its Nikolskii theory;
filtrations and eigenbases use its martingale and spectral parts, and the other characterisations
are proved in their settings.
Applications use different descriptions of the same space: finite element methods use weak derivatives, wavelet methods use coefficients, approximation theory uses best approximation and moduli of smoothness, and harmonic analysis uses Littlewood–Paley blocks. The proof that two descriptions agree is often long and technical. With the equivalences below, a statement proved in one description holds in the others, in the stated ranges.
Each table collects descriptions of one kind of space. A row names a description, and each
setting in it links to the blueprint statement that proves the description equivalent to another
one of the same space; the blueprint names the Lean declarations. Throughout 1 ≤ q ≤ ∞, and
1 ≤ p < ∞ unless an entry says otherwise. Ranges 0 < s < r or 0 < s < L refer to
differences, local means or atoms of order r or L. The modulus of smoothness of order r is
ω_r(f, t)_p = sup_{|h| ≤ t} ‖Δ_h^r f‖_p, and ℕ = {0, 1, 2, …}. The blueprint chapter
The representations of Besov spaces explains what each description measures
and how they differ.
Besov spaces B^s_{p,q}
| Characterization by | Settings |
|---|---|
| differences (moduli of smoothness) | ℝ^d, 𝕋^d (0 < s < r); [0, 1], [0, 1]^d, isotropic or coordinate differences (0 ≤ s < r - 1 + 1/p) |
| intrinsic differences | Lipschitz graph domains, bounded Lipschitz domains, bounded smooth domains (0 < s < r) |
restrictions of B^s_{p,q}(ℝ^d) |
Lipschitz graph domains, bounded Lipschitz domains (0 < s < r) |
| restrictions of tensor splines on a cube | [0, 1]^d, bounded Lipschitz domains in a cube a + L [0, 1]^d (0 < s < r - 1 + 1/p) |
| Littlewood–Paley blocks | ℝ^d, 𝕋^d |
| dyadic blocks of Fourier coefficients | 𝕋^d (p = 2) |
| local means | ℝ^d (0 < s < L) |
atoms with coefficients in b^s_{p,q} |
ℝ^d (0 < s < L) |
| wavelet coefficients | ℝ, Daubechies D4 (0 < s < 2 - log₂(1 + √3)), ℝ^d, tensor Daubechies (0 < s < min(θ, N)), [0, 1], multiwavelets (0 < s < 1/p) |
the Gagliardo form, W^{s,p} = B^s_{p,p} |
ℝ^d (0 < s < 1) |
| real interpolation of two difference spaces | ℝ^d (0 < s₀ < s₁ < r) |
real interpolation of L_p and a difference space, (L_p, B^t_{p,∞,1})_{s/t,q} = B^s_{p,q,1} |
[0, 1], 0 < p ≤ 1, first differences (0 < s < t ≤ 1/p, 0 < q ≤ ∞) |
| chart pieces | bounded smooth domains, compact manifolds, any two Besov atlases |
| eigenfunction expansions | bounded Lipschitz domains, Neumann, compact manifolds, a chart form (d ≥ 1, p = 2, 0 < s < 1) |
| best approximation | the table of approximation spaces below |
| mixed differences, mixed local means, tensor Littlewood–Paley blocks | ℝ^d, dominating mixed smoothness (0 < s < L) |
Triebel–Lizorkin spaces F^s_{p,q}, defined by Littlewood–Paley blocks. Here 1 < p < ∞
and 1 < q ≤ ∞ unless an entry says otherwise.
| Characterization by | Settings |
|---|---|
| Littlewood–Paley blocks of any admissible family | ℝ^d (s ∈ ℝ) |
| local means | ℝ^d, 𝕋^d (0 < s < L) |
| ball means of differences | ℝ^d (0 < s < L) |
atoms with coefficients in f^s_{p,q} |
ℝ^d (0 < s < L) |
Besov spaces: B^s_{p,min(p,q)} ⊆ F^s_{p,q} ⊆ B^s_{p,max(p,q)}, so F^s_{p,p} = B^s_{p,p} |
ℝ^d, 𝕋^d (1 ≤ p < ∞, 1 ≤ q ≤ ∞, s > 0) |
real interpolation: (F^{s₀}_{p,q₀}, F^{s₁}_{p,q₁})_{η,q} = B^{(1-η)s₀+ηs₁}_{p,q} |
ℝ^d, 𝕋^d (1 ≤ p < ∞, 0 < s₀ < s₁) |
Sobolev spaces W^m_p, defined by weak derivatives. Here 1 < p < ∞, m ∈ ℕ and d ≥ 1
unless an entry says otherwise.
| Characterization by | Settings |
|---|---|
Littlewood–Paley blocks: W^m_p = F^m_{p,2}, and L_p = F^0_{p,2} |
ℝ^d, ℝ^d, the square function theorem, 𝕋^d |
Bessel potentials: W^m_p = H^{m,p} (Calderón) |
ℝ^d |
| local means | 𝕋^d (1 ≤ m < L) |
Besov spaces: B^m_{p,min(p,2)} ⊆ W^m_p ⊆ B^m_{p,max(p,2)}, and W^m_2 = B^m_{2,2} |
ℝ^d, ℝ^d, p = 2, 𝕋^d, p = 2 (m ≥ 1) |
| weighted Fourier coefficients | 𝕋^d (p = 2) |
real interpolation: (L_p, W^m_p)_{θ,q} = B^{θm}_{p,q} |
ℝ^d (m ≥ 1, 0 < θ < 1) |
restrictions of W^m_p(ℝ^d) |
bounded Lipschitz domains, with a bounded linear extension operator for m = 1 (1 ≤ p ≤ ∞); H^1(Ω) = W^1_2(Ω) (p = 2) |
| intrinsic differences | H^1(Ω) of a bounded Lipschitz domain (p = 2, order r ≥ 2) |
| chart pieces | compact manifolds, H^1_A(M) = B^1_{2,2}(M) (p = 2) |
Bessel potential spaces H^{s,p}, Mathlib's spaces of tempered distributions. Here
1 < p < ∞ and d ≥ 1 unless an entry says otherwise.
| Characterization by | Settings |
|---|---|
Littlewood–Paley blocks: H^{s,p} = F^s_{p,2} |
ℝ^d (s ∈ ℝ), ℝ^d, p = 2, and H^s = B^s_{2,2} for s > 0 (s ≥ 0) |
derivatives: u ∈ H^{s+1,p} iff u and every ∂_v u lie in H^{s,p} |
ℝ^d (s ∈ ℝ), ℝ^d, p = 2, with the identity (2π)² ‖U‖²_{s+1} = (2π)² ‖U‖²_s + ∑_i ‖∂_i U‖²_s |
differences: ‖U‖_{H^s} ≈ ‖U‖_2 + ‖(2^(ks) ω_r(U, 2^(-k))_2)_k‖_{ℓ_2} |
ℝ^d, explicit constants (p = 2, 0 < s < r) |
real interpolation: (H^{s₀,p}, H^{s₁,p})_{η,q} = B^{(1-η)s₀+ηs₁}_{p,q} |
ℝ^d (0 < s₀ < s₁) |
| tensor Daubechies wavelet coefficients | ℝ^d, p = 2 (0 < s < 3 - log₂ 3 for masks of order three) |
supports: H̃^s(Ω) is the set of U ∈ H^s(ℝ^d) vanishing outside Ω |
bounded Lipschitz domains (p = 2, s ≥ 0) |
restriction: H̃^s(Ω) ≅ H^s_0(Ω) |
open sets, isometric (p = 2, s ∈ ℕ), bounded Lipschitz domains (p = 2, s ≥ 0, s - 1/2 ∉ ℕ) |
the kernel of the trace: H^s_0(Ω) = ker γ_s |
bounded Lipschitz domains (p = 2, 1/2 < s < 3/2) |
H^s_0(Ω) = H^s(Ω) |
bounded Lipschitz domains (p = 2, 0 ≤ s < 1/2) |
Traces. The trace maps B^{s+1/p}_{p,q} of the domain onto B^s_{p,q} of the boundary, and
H^s(Ω), 1/2 < s < 3/2, onto H^{s-1/2}(Γ) of the boundary Γ. The rows describe the space
on the boundary.
| Boundary space described by | Settings |
|---|---|
| the Besov space of the boundary | 𝕋^{n+1} to a face 𝕋^n, the half-space to its hyperplane (s > 0) |
| chart pieces | bounded Lipschitz domains (first differences, 0 < s < 1), B^{s+1/p}_{p,q}(Ω) of a bounded Lipschitz domain, a bounded operator onto B^s_{p,q}(Γ) (1 ≤ p < ∞, 1 ≤ q ≤ ∞, 0 < s < 1), compact manifolds with boundary (s > 0), H^1(Ω) of a bounded Lipschitz domain, B^{1/2}_{2,2}(Γ), H^s(Ω) of a bounded Lipschitz domain, H^{s-1/2}(Γ) = B^{s-1/2}_{2,2}(Γ) (1/2 < s < 3/2) |
the Gagliardo form ∫_Γ ∫_Γ |g(x) - g(y)|² / |x - y|^(d+2s-2) dσ dσ |
H^s(Ω) of a bounded Lipschitz domain (1/2 < s < 3/2, equivalent norms), the Hilbert norm of H^t(Γ) by the Gagliardo forms of the chart pieces (0 < t < 1) |
the quotient H^s(Ω) ⧸ H^s_0(Ω) |
bounded Lipschitz domains (1/2 < s < 3/2) |
Approximation spaces A^s_q. Each row names a space and the scheme whose approximation
spaces it is.
| Space | Approximation space of |
|---|---|
B^s_{p,q}(ℝ^d) |
band-limited functions (s > 0), tensor Daubechies scaling spaces (0 < s < min(θ, N)) |
B^s_{p,q}(𝕋^d) |
trigonometric polynomials (s > 0) |
B^s_{p,q}[0, 1] |
dyadic splines of order r (0 < s < r - 1 + 1/p), dyadic piecewise polynomials (0 < s < 1/p) |
B^s_{p,q,1}[0, 1], 0 < p ≤ 1, by the first modulus |
dyadic step functions (0 < s < 1/p) |
B^θ_{τ,τ}[0, 1], θ = 1/τ - 1/2 |
n-term combinations of Haar functions, a nonlinear scheme in L_2[0, 1] (2/3 < τ < 2; for 0 < τ ≤ 2/3 the space of the first modulus) |
B^{d(1/τ - 1/2)}_{τ,τ}(ℝ^d) ∩ L_2(ℝ^d) |
n-term combinations of tensor Daubechies wavelets, a nonlinear scheme in L_2(ℝ^d) (1 ≤ τ < 2, d(1/τ - 1/2) < min(θ, N)) |
B^s_{p,q}([0, 1]^d) |
tensor splines of order r (0 < s < r - 1 + 1/p) |
F^s_{p,p}(ℝ^d), F^s_{p,p}(𝕋^d) |
band-limited functions and trigonometric polynomials, since F^s_{p,p}(ℝ^d) = B^s_{p,p}(ℝ^d) and F^s_{p,p}(𝕋^d) = B^s_{p,p}(𝕋^d) (s > 0) |
W^{s,p}(ℝ^d), Sobolev–Slobodeckij |
band-limited functions, q = p (0 < s < 1) |
H^s(ℝ^d) |
band-limited functions, q = 2 (s > 0) |
W^m_2(ℝ^d), W^m_2(𝕋^d) |
band-limited functions (d ≥ 1), trigonometric polynomials, q = 2 (m ≥ 1) |
B^θ_{2,q}(Ω) of a bounded Lipschitz domain |
Neumann eigenfunctions (d ≥ 1, 0 < θ < 1) |
(L_2(Ω), W^1_2(Ω))_{θ,q} of a bounded Lipschitz domain |
Neumann eigenfunctions (d ≥ 1, 0 < θ < 1) |
(L_2(Ω), H^1_0(Ω))_{θ,q} of a bounded open set |
Dirichlet eigenfunctions (0 < θ < 1) |
B^θ_{2,q}(M) of a compact manifold |
eigenfunctions of a chart form (d ≥ 1, 0 < θ < 1) |
(X, Y)_{s/r,q} for a bounded linear map Y → X |
every scheme in X with Jackson and Bernstein inequalities of order r (0 < s < r) |
(N₀, N₀ + Y)_{s/r,q} in a quasi-normed group |
every couple whose Y has Jackson's and Bernstein's inequality of order r, through the E-functional (0 < s < r, 0 < q ≤ ∞) |
For a general scheme the project describes A^s_q
- by a modulus of smoothness, under Jackson's and an inverse
inequality of order
θ(0 ≤ s < θ), also in quasi-normed groups, through the E-functional (InterpCouple.CoupleModulusData.eNormDyadic_lt_top_iff); - by block decompositions, in a Banach space (
s > 0,1 ≤ q ≤ ∞), also in quasi-normed couples with aρ-triangle inequality, such as the couple of a scheme of functions inL_pforp < 1, through the E-functional (InterpCouple.eNormDyadic_lt_top_iff_eBlockDecompNorm_lt_top), fors > 0and0 < q ≤ ∞; - by dyadic blocks of coefficients, for a Hilbert basis with
levels (
s > 0); - by coefficients in
ℓ_τ, forn-term approximation from a Hilbert basis (s = 1/τ - 1/2,q = τ,0 < τ < 2); - by martingale differences, in
L_pof a filtration with dense union, and on[0, 1]by Haar coefficients and multiwavelet coefficients (s > 0); - by real interpolation: two approximation spaces
interpolate to a third (reiteration,
0 < s₀ < s₁), and so do two Besov spaces of a scheme on a finite measure space,0 < p ≤ ∞; in a quasi-normed group the spacesE_{s,q}of the E-functional are the interpolation spaces of(N₀, E_{r,q₁})for every0 < q, q₁ ≤ ∞, and those of(N₀, N₀ + Y)for aYwith Jackson's and Bernstein's inequality of orderr(0 < s < r).
V is a finite-dimensional real inner product space of dimension d, such as ℝ^d. Each item
gives the central statements of one area. The block documents listed under
Organisation state every result with its Lean name.
- Besov spaces on
ℝ^d. Let1 ≤ p < ∞,1 ≤ q ≤ ∞and0 < s < r. Forf ∈ L_p(V)these are equivalent:f ∈ A^s_qof the band-limited functions;‖(2^(js) ‖ψ_j ⋆ f‖_p)_j‖_{ℓ_q} < ∞for the Littlewood–Paley blocksψ_j ⋆ f;‖f‖_p + ‖(2^(ks) ω_r(f, 2^(-k))_p)_k‖_{ℓ_q} < ∞(Rd.memApprox_bandScheme_iff_modulus,Rd.littlewoodPaleyNorm_lt_top_iff_modulus). - Daubechies wavelets. Let
1 ≤ p < ∞and1 ≤ q ≤ ∞, letφ,ψbe the scaling function and wavelet of a mask of orderN ≥ 2withω_N(φ, t)_p ≤ K t^θfor0 < t ≤ 1,Φ = φ ⊗ ⋯ ⊗ φand, for nonemptye ⊆ {1, …, d},Ψ^ethe tensor product withψin the coordinates ofeandφin the others.- For
0 < s < min(θ, N),f ∈ L_p(ℝ^d), with the maximum norm onℝ^d, has‖f‖_p + ‖(2^(ks) ω_N(f, 2^(-k))_p)_k‖_{ℓ_q} < ∞iff‖(⟨f, Φ(· - k)⟩)_k‖_{ℓ_p} + ‖(2^(j(s+d/2-d/p)) ‖(⟨f, Ψ^e_{j,k}⟩)_{e,k}‖_{ℓ_p})_j‖_{ℓ_q} < ∞(Daubechies.tensor_besov_iff_coeff). - On
ℝ, for the D4 scaling function and wavelet,f ∈ L_p(ℝ)has‖f‖_p + ‖(2^(ks) ω_2(f, 2^(-k))_p)_k‖_{ℓ_q} < ∞iff‖(⟨f, φ(· - k)⟩)_k‖_{ℓ_p} + ‖(2^(j(s+1/2-1/p)) ‖(⟨f, ψ_{j,k}⟩)_k‖_{ℓ_p})_j‖_{ℓ_q} < ∞, for0 < s < 2 - log₂(1 + √3) ≈ 0.55(Daubechies.besov_iff_coeff_d4). - The functions
Φ(· - k)andΨ^e_{j,k}form a Hilbert basis ofL_2(ℝ^d)(Daubechies.tensorWaveletBasis). Let1 ≤ τ < 2and0 < α = d(1/τ - 1/2) < min(θ, N), withθas above forp = τ. Thenf ∈ L_2(ℝ^d)lies in the approximation spaceA^{1/τ - 1/2}_τofn-term approximation from this basis ifff ∈ L_τ(ℝ^d)and‖f‖_τ + ‖(2^(kα) ω_N(f, 2^(-k))_τ)_k‖_{ℓ_τ} < ∞, that is, ifff ∈ B^α_{τ,τ}(ℝ^d)(Daubechies.memApprox_nTerm_tensorWaveletBasis_iff).
- For
- Sobolev, Bessel potential and Triebel–Lizorkin spaces on
ℝ^d. Letd ≥ 1and1 < p < ∞.- The square function theorem,
L_p = F^0_{p,2}: everyf ∈ L_p(V)has‖f‖_{F^0_{p,2}} ≤ C ‖f‖_pand‖f‖_p ≤ C' ‖f‖_{F^0_{p,2}}, with finite constants depending onVandp(Rd.triebelLizorkinNorm_zero_two_le,Rd.enorm_le_triebelLizorkinNorm_zero_two). - For
m ∈ ℕ,f ∈ L_p(V)lies inW^m_p(V)iff inF^m_{p,2}(V)iff inH^{m,p}(V), the last being Calderón's theorem (Rd.memSobolevW_iff_memTriebelLizorkin,Rd.memSobolevW_iff_memSobolev_bessel). - For real
s, a tempered distribution lies inH^{s,p}(V)iff it lies inF^s_{p,2}(V)(Rd.memSobolev_bessel_iff_memTriebelLizorkinDistr). - Sobolev embeddings: let
m ∈ ℕandf ∈ W^m_p(V). Ifr < ∞and1/r = 1/p - m/d, thenfagrees almost everywhere with a function inL_r(V)(Rd.exists_memLp_ae_eq_of_memSobolevW_of_eq); ifm > d/p, with a bounded continuous function (Rd.exists_boundedContinuous_ae_eq_of_memSobolevW).
- The square function theorem,
- Bounded Lipschitz domains. Let
Ω ⊆ Vbe a bounded open set that agrees near each boundary point with the region above a Lipschitz graph (Rd.isBoundedLipschitzDomain_iff_exists).- Besov spaces: let
1 ≤ p < ∞,1 ≤ q ≤ ∞and0 < s < r. Thenf ∈ L_p(V)agrees onΩwith someFwith‖F‖_p + ‖(2^(ks) ω_r(F, 2^(-k))_p)_k‖_{ℓ_q} < ∞iff‖f‖_{L_p(Ω)} + ‖(2^(ks) ω_r(f, 2^(-k), Ω)_p)_k‖_{ℓ_q} < ∞, with differences insideΩ; some suchFhas quasi-norm at mostCtimes the intrinsic one, oneC < ∞for allf(Rd.BoundedLipschitzDomain.exists_besov_extension_iff_modulusOn_indicator,Rd.BoundedLipschitzDomain.exists_besov_extension_le). - Sobolev spaces: for
1 < p < ∞and everym, everyf ∈ L_p(Ω)with weak derivatives of order at mostminL_p(Ω)agrees onΩwith someF ∈ W^m_p(V)(Rd.BoundedLipschitzDomain.memWeakSobolev_iff_exists_memSobolevW_order); form = 1,d ≥ 1and1 ≤ p ≤ ∞a bounded linear operator does this (Rd.BoundedLipschitzDomain.sobolevExtensionL). - Splines: let
Ωlie in a cubeQ = a + L [0, 1]^d,1 ≤ p < ∞,1 ≤ q ≤ ∞,r ≥ 1and0 < s < r - 1 + 1/p, and let the tensor splines of orderronQbe those of[0, 1]^dmoved byx ↦ a + L x. Then‖f‖_{L_p(Ω)} + ‖(2^(ks) ω_r(f, 2^(-k), Ω)_p)_k‖_{ℓ_q} < ∞ifffagrees onΩwith a function in the approximation spaceA^s_qof these splines (Rd.BoundedLipschitzDomain.exists_memApprox_cubeSplineSchemeAt_iff).
- Besov spaces: let
- Traces. Let
Ωbe a bounded Lipschitz domain, with boundaryΓand surface measureσ, the(d-1)-dimensional Hausdorff measure onΓ.- Besov spaces: for
1 ≤ p < ∞,1 ≤ q ≤ ∞and1/p < s < 1 + 1/p, letB^s_{p,q}(Ω)carry the intrinsic quasi-norm with differences of order2andB^{s-1/p}_{p,q}(Γ)the quasi-norm by the chart pieces of a resolution of unity. Both are Banach spaces, and the trace is a bounded linear operator fromB^s_{p,q}(Ω)ontoB^{s-1/p}_{p,q}(Γ)with a bounded linear right inverse (Rd.BoundedLipschitzDomain.besovTrace,Rd.BoundedLipschitzDomain.besovTrace_surjective,Rd.BoundedLipschitzDomain.besovExtend,Rd.BoundedLipschitzDomain.toLp_besovTrace_besovExtend; Schneider–Vybíral, Mayboroda). - Sobolev spaces: for
0 < t < 1letH^t(Γ)beB^t_{2,2}(Γ)with a Hilbert norm built from the Gagliardo forms of the chart pieces (Rd.BoundedLipschitzDomain.BoundarySobolev). Let1/2 < s < 3/2,H^s(Ω)the restrictions ofH^s(V)andH^s_0(Ω)the closure of the restricted test functions. The trace mapsH^s(Ω)ontoH^{s-1/2}(Γ)with a bounded linear right inverse (Rd.BoundedLipschitzDomain.sobolevTrace,Rd.BoundedLipschitzDomain.sobolevTrace_sobolevExtend; McLean, Theorem 3.38), its kernel isH^s_0(Ω)(Rd.BoundedLipschitzDomain.traceKer_eq_zeroBoundarySpace; McLean, Theorem 3.40), andH^s(Ω) ⧸ H^s_0(Ω)is isomorphic toH^{s-1/2}(Γ)(Rd.BoundedLipschitzDomain.quotientZeroBoundaryEquivBoundarySobolev).
- Besov spaces: for
H̃^s(Ω),H^s_0(Ω)and Gelfand triples. LetΩ ⊆ Vbe open,H̃^s(Ω)the closure of the test functions ofΩinH^s(V)andH^s_0(Ω)the closure of their restrictions inH^s(Ω).- For every
l ∈ ℕ, restriction is an isometric isomorphism ofH̃^l(Ω)ontoH^l_0(Ω)(Rd.tildeEquivZeroBoundaryNat; Hewett–Moiola, Lemma 2.2(iii)). - Let
Ωbe a bounded Lipschitz domain ands ≥ 0. ThenH̃^s(Ω)consists of theU ∈ H^s(V)that vanish almost everywhere outsideΩ(Rd.BoundedLipschitzDomain.mem_tildeSpace_iff_of_nonneg); ifs - 1/2 ∉ ℕ, restriction is an isomorphism ofH̃^s(Ω)ontoH^s_0(Ω)(Rd.BoundedLipschitzDomain.tildeEquivZeroBoundaryOfNeHalf; McLean, Theorem 3.33); andH^s_0(Ω) = H^s(Ω)fors < 1/2(Rd.BoundedLipschitzDomain.zeroBoundarySpace_eq_top_of_lt_half). L_2is the pivot space betweenH^sandH^{-s}onℝ^d, on open setsΩand on the boundaryΓof a bounded Lipschitz domain. Fors ≥ 0the embeddingsH^s(V) → L_2(V)andH̃^s(Ω) → L_2(Ω), and for0 < t < 1the embeddingH^t(Γ) → L_2(Γ), are injective with dense range, so their pivot dualsg ↦ ⟪g, ι ·⟫_{L_2}mapL_2injectively into the dual spaces (ContinuousLinearMap.pivotDual_injective_iff,Rd.denseRange_sobolevToL2,Rd.denseRange_tildeToL2,Rd.BoundedLipschitzDomain.denseRange_boundarySobolevToL2).
- For every
- Compact manifolds and eigenfunction expansions.
- Let
Mbe a compact Hausdorff smooth manifold of dimensiond ≥ 1, without boundary, with boundary or with corners, with a smooth measureμ. For1 ≤ p < ∞,s > 0and1 ≤ q ≤ ∞,B^s_{p,q}(M), defined by the chart pieces of a Besov atlas, is the same for every atlas (Manifold.memManifoldBesov_iff). - For an orthonormal basis of weak eigenfunctions
e_iwith eigenvaluesλ_i, letA_kbe the span of thee_iwith⌊√(1 + λ_i)⌋ < k, and let0 < θ < 1,1 ≤ q ≤ ∞. On a bounded Lipschitz domainΩ,d ≥ 1, with the Neumann eigenbasis,f ∈ L_2(V)hasf|_Ω ∈ A^θ_qiff‖f‖_{L_2(Ω)} + ‖(2^(kθ) ω_r(f, 2^(-k), Ω)_2)_k‖_{ℓ_q} < ∞, for everyr ≥ 1(Rd.BoundedLipschitzDomain.memApprox_neumannScheme_iff). OnM, with the eigenbasis of the chart forma_A(u, w) = ∑_{k,j} ⟨∂_j P_k u, ∂_j P_k w⟩of an atlasA,f ∈ L_2(μ)lies inA^θ_qifff ∈ B^θ_{2,q}(M)(Manifold.BesovAtlas.memApprox_chartScheme_iff).
- Let
- Approximation spaces are interpolation spaces. Let
ι : Y → Xbe a bounded linear map of real normed spaces and(A_n)a scheme inXwith Jackson's inequalityE_n(ι y) ≤ C n^(-r) ‖y‖and Bernstein's inequality (everya ∈ A_nisι ywith‖y‖ ≤ C n^r ‖a‖),n ≥ 1. For0 < s < rand1 ≤ q ≤ ∞,A^s_q = (X, Y)_{s/r,q}for the continuous K-method withK(t, f) = inf_y (‖f - ι y‖ + t ‖y‖)(ApproximationScheme.memApprox_iff_memInclKMethod_of_jacksonBound_of_liftBound). - Approximation in quasi-normed groups. Let
(N₀, N₁)be a couple of an error quasi-normN₀and a complexityN₁on an abelian groupU, both even, vanishing at0and satisfying a quasi-triangle inequality, withN₁subadditive; the model is the couple of a scheme of functions inL_p,0 < p < 1, withN₀ = ‖·‖_pandN₁the level of the approximants (FunctionScheme.lpCouple). The E-functionalE(t, u) = inf {N₀(u - b) : N₁(b) ≤ t}(Bergh–Löfström, Section 7.1, with the two spaces swapped;InterpCouple.eFunctional) gives the spaceE_{s,q}, in dyadic form, of theuwithN₀(u) + ‖(2^(ks) E(2^k, u))_k‖_{ℓ_q} < ∞(InterpCouple.eNormDyadic).- For
r > 0,0 < η < 1and0 < q, q₁ ≤ ∞,(N₀, E_{r,q₁})_{η,q} = E_{ηr,q}, with the dyadic quasi-norm onE_{r,q₁}(DeVore;InterpCouple.memKMethod_leftECouple_iff). - Let
Y : U → [0, ∞]be even withY^ρsubadditive for someρ > 0, and let Jackson's inequalityE(2^k, u) ≤ C_J 2^(-kr) Y(u)and Bernstein's inequalityY(a) ≤ C_B 2^(kr) N₀(a)forN₁(a) ≤ 2^khold with finite constants (InterpCouple.JacksonBernsteinData). Then(N₀, N₀ + Y)_{s/r,q} = E_{s,q}for0 < s < rand0 < q ≤ ∞(DeVore;InterpCouple.JacksonBernsteinData.memKMethod_smoothnessCouple_iff). - If
N₀^ρis subadditive for someρ > 0, then fors > 0and0 < q ≤ ∞,u ∈ E_{s,q}iffuis theN₀-limit of the partial sums of blocksg_kwithN₁(g_k) ≤ 2^kand(2^(ks) N₀(g_k))_k ∈ ℓ_q(DeVore–Popov;InterpCouple.eNormDyadic_lt_top_iff_eBlockDecompNorm_lt_top).
- For
- Nonlinear approximation from an orthonormal basis. Let
(e_i)_{i ∈ I}be a Hilbert basis of a complex Hilbert spaceH, and letA_nbe the set of linear combinations of at mostnof the vectorse_i. For0 < τ < 2andθ = 1/τ - 1/2,f ∈ Hlies in the approximation spaceA^θ_τof(A_n)iff∑_i |⟨e_i, f⟩|^τ < ∞(Stechkin forτ = 1; Pietsch, DeVore in general;HilbertBasis.memApprox_nTerm_iff).- For the Fourier basis of
L_2(𝕋^d)the condition is∑_{k ∈ ℤ^d} |f̂(k)|^τ < ∞(Torus.periodic_memApprox_nTerm_iff). - For the Haar basis of
L_2[0, 1],f ∈ A^θ_τiff‖f‖_τ + ‖(2^(kθ) ω_1(f, 2^(-k), [0, 1])_τ)_k‖_{ℓ_τ} < ∞(Haar.memApprox_nTerm_iff_intervalModulus_of_lt_two); for1 ≤ τ < 2this is the theorem of DeVore–Jawerth–Popov,A^θ_τ = B^θ_{τ,τ}[0, 1].
- For the Fourier basis of
- Besov spaces of a scheme for
0 < p ≤ ∞. Letμbe a finite measure onΩandSa scheme of essentially bounded functions: sets{0} = S_0 ⊆ S_1 ⊆ ⋯inL_∞(μ)withc S_n ⊆ S_nandS_m + S_n ⊆ S_{m+n}(FunctionScheme). For0 < p ≤ ∞,0 < q ≤ ∞and reals, the Besov spaceB^s_{p,q}(S)consists of thef ∈ L_p(μ)with((n + 1)^(s - 1/q) E_n(f)_p)_{n ≥ 0} ∈ ℓ_q, whereE_n(f)_p = inf {‖f - a‖_p : a ∈ S_n}(FunctionScheme.MemBesov).- For
s ≥ 0this holds iff‖f‖_p + ‖(2^(ks) E_{2^k}(f)_p)_k‖_{ℓ_q} < ∞(FunctionScheme.memBesov_iff_eNormDyadic_lt_top), and forp ≥ 1,B^s_{p,q}(S)is the approximation spaceA^s_qofSinL_p(μ)(FunctionScheme.memBesov_iff_memApprox). - Block decompositions: for
s > 0,f ∈ B^s_{p,q}(S)ifff = ∑_k g_kalmost everywhere withg_k ∈ S_{2^k}and(2^(ks) ‖g_k‖_p)_k ∈ ℓ_q, and the partial sums of every such series converge tofinL_pand in measure (DeVore–Popov;FunctionScheme.memBesov_iff_exists_blocks,FunctionScheme.tendsto_eLpNorm_sub_sum_of_blocks). - Interpolation: for
0 < s < tand0 < q, q₁ ≤ ∞,B^s_{p,q} = (L_p, B^t_{p,q₁})_{s/t,q}with the dyadic quasi-norm onB^t_{p,q₁}(FunctionScheme.memBesov_iff_memKMethod_lpBesovCouple). - Embeddings: let
D ≥ 0, and let there beC < ∞with‖a‖_∞ ≤ C n^(D/p) ‖a‖_pfor alln ≥ 1anda ∈ S_n(FunctionScheme.HasNikolskiiAt). Letp ≤ r ≤ ∞andα = D(1/p - 1/r) < s. There isK < ∞such that everyf ∈ B^s_{p,q}(S)is the class inL_p(μ)of someg ∈ L_r(μ)with‖g‖_r + ‖(2^(k(s-α)) E_{2^k}(g)_r)_k‖_{ℓ_q} ≤ K (‖f‖_p + ‖(2^(ks) E_{2^k}(f)_p)_k‖_{ℓ_q}), sog ∈ B^{s-α}_{r,q}(S)(FunctionScheme.exists_uniform_inclusion_eq_of_nikolskii). The embedding holds for the trigonometric polynomials on𝕋^dwithD = d(Torus.memBesov_exists_inclusion_eq), and for the dyadic step functions on[0, 1)withD = 1, in the dyadic norms of the step couples (Haar.exists_uniform_inclusion_eq_stepCouple).
- For
- Besov spaces for
0 < p ≤ 1on[0, 1]. Let0 < p ≤ 1and0 < q ≤ ∞, and letE_k(f)be the error of best approximation off ∈ L_p[0, 1]by step functions on the dyadic intervals of length2^(-k).- For
0 ≤ s < 1/p,‖f‖_p + ‖(2^(ks) E_k(f))_k‖_{ℓ_q} < ∞iff‖f‖_p + ‖(2^(ks) ω_1(f, 2^(-k), [0, 1])_p)_k‖_{ℓ_q} < ∞, that is, ifff ∈ B^s_{p,q,1}[0, 1](Haar.eNormDyadic_stepCouple_lt_top_iff_modulus), and this space is the Besov space of the scheme of dyadic steps (Haar.memBesov_haarScheme_iff_modulus). - For
0 < s < t ≤ 1/p,B^s_{p,q,1}[0, 1]is the real interpolation space(L_p, B^t_{p,∞,1}[0, 1])_{s/t,q}, whereB^t_{p,∞,1}[0, 1]carries the quasi-norm‖f‖_p + sup_k 2^(kt) ω_1(f, 2^(-k), [0, 1])_p(Haar.memKMethod_intervalLpModulus_iff). - For
1/p - 1 < s < 1/p,f ∈ B^s_{p,q,1}[0, 1]ifff ∈ L_1[0, 1]and|∫_0^1 f| + ‖(2^(k(s+1/2-1/p)) ‖(⟨f, h_{k,m}⟩)_{m<2^k}‖_{ℓ_p})_k‖_{ℓ_q} < ∞(Haar.lqNorm_modulus_lt_top_iff_haarCoeff_of_le_one). - For
s < 1these are the Besov spaces of DeVore–Popov; for1/p - 1 < s < 1andq < ∞also the Fourier-analyticB^s_{p,q}[0, 1](Oswald).
- For
The library ApproximationSpaces holds the abstract theory: schemes, the spaces A^s_q, real
interpolation of couples and the E-functional of quasi-normed couples (Interpolation/) and
decompositions (Decompositions/). The library FunctionSpaces holds the function spaces in
folders by setting: Analysis/, MeasureSpaces/, Rd/ (one folder per characterisation),
Torus/, Domains/ (intervals, the cube, Lipschitz domains, traces, eigenbases, manifolds) and
Wavelets/. The blueprint gives the proofs. The block documents state every result with its
Lean name and list the files:
- Besov spaces on
ℝ^d: Littlewood–Paley blocks, differences, local means, atoms. - Daubechies wavelets: wavelet coefficients on
ℝandℝ^d,H^sby tensor wavelets, the tensor wavelet basis ofL_2(ℝ^d)andn-term approximation. - Dominating mixed smoothness: mixed differences, hyperbolic crosses.
- The torus: trigonometric approximation, moduli, traces, Sobolev spaces.
- Intervals, the cube, splines and wavelets: splines, Haar, multiwavelets.
- Triebel–Lizorkin spaces: maximal inequalities, local means, atoms, singular integrals.
- Sobolev spaces on
ℝ^d: weak derivatives,W^m_p = F^m_{p,2} = H^{m,p}, embeddings. - Lipschitz domains and traces: extension, splines on domains,
B^s_{p,q}(Ω),H^s(Ω)and their traces,H^t(Γ), Green's formula. - Fractional Sobolev spaces on Lipschitz domains:
H̃^s(Ω)andH^s_0(Ω), the zero extension bound, the indicator as a multiplier ofB^s_{p,q}for0 < s < 1/p,H̃^s ≅ H^s_0 = H^sfor0 ≤ s < 1/2, a fractional Hardy inequality, the kernel of the trace, vector-valued spaces. - Manifolds and eigenbases: compact manifolds, Dirichlet and Neumann eigenfunctions.
- Besov and Sobolev spaces on measure spaces: spaces of a scheme for
0 < p ≤ ∞, embeddings, block decompositions, interpolation. - Approximation spaces: schemes,
A^s_q, the E-functional of quasi-normed couples, interpolation, decompositions. - Tools from analysis:
L_ptools for every0 < p ≤ ∞, convolution, maximal functions, Gelfand triples, finiteL_2sums.
MathlibCandidates.md lists what could be upstreamed.
- Interpolation: Lorentz spaces, real Riesz–Thorin, off-diagonal Marcinkiewicz, J- and complex method.
- The quasi-Banach range: moduli of smoothness on the torus, the cube and
ℝ^dforp < 1, splines of orderr ≥ 2forp < 1, Triebel–Lizorkin spaces withp < 1, and the interpolation of two Besov spaces with fine indices below1. - Triebel–Lizorkin spaces with
p = 1orq = 1, and ball means and atoms on the torus. - Triebel–Lizorkin spaces on Lipschitz domains and their traces onto
B^{s-1/p}_{p,p}(Γ). - Sobolev spaces: Jawerth–Franke with Besov targets, Hardy–Littlewood–Sobolev, Trudinger, Mihlin multipliers with finitely many derivatives (Riesz transforms).
- Manifolds: the cube as a manifold with corners, traces on faces, products of models, and the comparison of the chart-defined Besov spaces and traces on smooth boundaries with the Lipschitz ones.
- Higher smoothness: Marchaud's inequality, sharp Daubechies exponents, and spline approximation on domains described intrinsically.
- Extension operators for
W^m_pof every order, and Stein's universal operator. - Eigenbases: elliptic regularity, the local Weyl law, the identification of the spectral
B^s_{p,q}with the classical spaces forp ≠ 2ors ≥ 1, the two-sided description of the Dirichlet approximation spaces, and the Laplace–Beltrami operator.
Requires elan; Lean and Mathlib are pinned to
v4.36.0. Run lake exe cache get and then lake build from inside this folder, and do not
run lake update, which re-resolves the dependencies. The blueprint follows
leanblueprint (leanblueprint pdf,
leanblueprint web). GitHub Actions builds the project and the blueprint on every push, checks
that every \lean{...} of the blueprint resolves, and publishes both. The dependency graph read
off the Lean proofs comes from a separate extractor run on the compiled project: its pages and
data are committed in blueprint/graph/ and copied into the site.
The formalisation was written with Claude Code, and Lean checks every statement and proof. The mathematical design and the choice of statements are the author's. The author has read all statements in broad terms; a detailed check and a second opinion are pending. The column "Human-checked" in the tables of the block documents records the detailed check.
CITATION.cff holds the citation data; GitHub shows it under "Cite this repository". Questions, corrections and wishes go to the issue tracker.
Apache 2.0, the same as Mathlib. See LICENSE.
The blueprint's bibliography lists all sources. The essential ones:
- J. Bergh, J. Löfström, Interpolation Spaces. An Introduction, Springer-Verlag, 1976.
- A. P. Calderón, Lebesgue spaces of differentiable functions and distributions, Proc. Sympos. Pure Math. 4 (1961), 33–49.
- I. Daubechies, Ten Lectures on Wavelets, SIAM, 1992.
- R. A. DeVore, Nonlinear approximation, Acta Numer. 7 (1998), 51–150.
- R. A. DeVore, B. Jawerth, V. A. Popov, Compression of wavelet decompositions, Amer. J. Math. 114 (1992), 737–785.
- R. A. DeVore, G. G. Lorentz, Constructive Approximation, Springer-Verlag, 1993.
- R. A. DeVore, V. A. Popov, Interpolation of Besov spaces, Trans. Amer. Math. Soc. 305 (1988), 397–414.
- Z. Ditzian, A. Prymak, On Nikol'skii inequalities for domains in
ℝ^d, Constr. Approx. 44 (2016), 23–51. - C. Fefferman, E. M. Stein, Some maximal inequalities, Amer. J. Math. 93 (1971), 107–115.
- L. Grafakos, Classical Fourier Analysis, 3rd ed., Springer, 2014.
- D. P. Hewett, A. Moiola, A note on properties of the restriction operator on Sobolev spaces, J. Appl. Anal. 23 (2017), 1–8.
- J. Johnsen, W. Sickel, A direct proof of Sobolev embeddings for quasi-homogeneous Lizorkin–Triebel spaces with mixed norms, J. Funct. Spaces Appl. 5 (2007), 183–198.
- G. Kerkyacharian, P. Petrushev, Heat kernel based decomposition of spaces of distributions in the framework of Dirichlet spaces, Trans. Amer. Math. Soc. 367 (2015), 121–189.
- S. Mayboroda, The Poisson Problem on Lipschitz Domains, PhD thesis, University of Missouri-Columbia, 2005.
- W. McLean, Strongly Elliptic Systems and Boundary Integral Equations, Cambridge University Press, 2000.
- S. M. Nikol'skii, Approximation of Functions of Several Variables and Imbedding Theorems, Springer-Verlag, 1975.
- P. Oswald, Haar system as Schauder basis in Besov spaces: The limiting cases for
0 < p ≤ 1, preprint, 2018, arXiv:1808.08156. - A. Pietsch, Approximation spaces, J. Approx. Theory 32 (1981), 115–134.
- V. S. Rychkov, On restrictions and extensions of the Besov and Triebel–Lizorkin spaces with respect to Lipschitz domains, J. London Math. Soc. (2) 60 (1999), 237–257.
- C. Schneider, J. Vybíral, Non-smooth atomic decompositions, traces on Lipschitz domains, and pointwise multipliers in function spaces, J. Funct. Anal. 264 (2013), 1197–1237.
- S. B. Stechkin, On absolute convergence of orthogonal series (in Russian), Dokl. Akad. Nauk SSSR (N.S.) 102 (1955), 37–40.
- E. M. Stein, Singular Integrals and Differentiability Properties of Functions, Princeton University Press, 1970.
- H. Triebel, Theory of Function Spaces, Birkhäuser, 1983.
- H. Triebel, Theory of Function Spaces II, Birkhäuser, 1992.
Lean projects whose code is mirrored here, with credit:
- L. Becker et al., Formalizing Carleson's theorem in Lean, preprint, 2026, arXiv:2609.31334, and its blueprint, arXiv:2405.06423: weak and strong type, real interpolation and the Calderón–Zygmund decomposition.
- F. van Doorn, J. Portegies, M. Rothgang, L. Viana Reis, MultilinearInterpolation, 2026, lua-vr/MultilinearInterpolation: couples as two extended quasi-norms on one group.
- The Tau Ceti contributors, TauCeti, 2026, TauCetiProject/TauCeti: eigenbases of compact self-adjoint operators, the Japanese bracket, Mathlib's Bessel potential spaces and the decreasing rearrangement of null families.