Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 3.6: lower bound on the reconstruction and total errors

Proved
DeepONetError.lower_bound

by Xeroth · Nov 24, 2026 · Mathlib 0df444a (Lean v4.33.1)

covariance-operatordeeponeterror-decompositionoperator-learningprincipal-component-analysis

Consider the setting of Definition 2.1. Let N=R∘A∘E\mathcal{N}=\mathcal{R}\circ\mathcal{A}\circ\mathcal{E}N=R∘A∘E be a DeepONet with an encoder E:X→Rm\mathcal{E}:X\to\mathbb{R}^mE:X→Rm and an approximator A:Rm→Rp\mathcal{A}:\mathbb{R}^m\to\mathbb{R}^pA:Rm→Rp. Its reconstruction R(α)=τ0+∑k=1pαkτk\mathcal{R}(\alpha)=\tau_0+\sum_{k=1}^p\alpha_k\tau_kR(α)=τ0​+∑k=1p​αk​τk​ has τ0∈L2(U)\tau_0\in L^2(U)τ0​∈L2(U) and linearly independent τ1,…,τp∈L2(U)\tau_1,\dots,\tau_p\in L^2(U)τ1​,…,τp​∈L2(U). Let P\mathcal{P}P be the optimal affine projection (3.19) associated with R\mathcal{R}R. Let λ1≥λ2≥⋯\lambda_1\ge\lambda_2\ge\cdotsλ1​≥λ2​≥⋯ be the eigenvalues, repeated according to multiplicity, of the covariance operator ΓG#μ\Gamma_{\mathcal{G}_\#\mu}ΓG#​μ​ of the push-forward measure. Then

∑k>pλk≤E^R≤E^.\sqrt{\sum_{k>p}\lambda_k}\le\widehat{\mathcal{E}}_{\mathcal{R}}\le\widehat{\mathcal{E}}.k>p∑​λk​​≤ER​≤E.

No DeepONet with ppp trunk functions can therefore beat the tail of the spectrum of ΓG#μ\Gamma_{\mathcal{G}_\#\mu}ΓG#​μ​.

Formalization Note The eigenvalues are given by a spectral decomposition ΓG#μ=∑kλkϕk⊗ϕk\Gamma_{\mathcal{G}_\#\mu}=\sum_k\lambda_k\phi_k\otimes\phi_kΓG#​μ​=∑k​λk​ϕk​⊗ϕk​, indexed from 000. The paper's "optimal affine projection associated with R\mathcal{R}R" is the projector of Lemma 3.13, which presupposes linearly independent τ1,…,τp\tau_1,\dots,\tau_pτ1​,…,τp​; this is made an explicit hypothesis. Encoder and approximator are arbitrary maps.

Preamble
import Mathlib
import Definitions.Def_DeepONetError_Basic

open MeasureTheory
Formal statement
namespace DeepONetError

theorem lower_bound {d n m p : ℕ} {Dset : Set (Fin d → ℝ)} {U : Set (Fin n → ℝ)}
    {X : Type*} [NormedAddCommGroup X] [NormedSpace ℝ X] [CompleteSpace X]
    [TopologicalSpace.SeparableSpace X] [MeasurableSpace X] [BorelSpace X]
    [MeasurableSpace (L2 U)] [BorelSpace (L2 U)]
    (iota : X →L[ℝ] L2 Dset) (mu : Measure X) (A : Set X) (G : X → L2 U)
    (hdata : IsDeepONetData Dset U iota mu A G)
    (E : X → EuclideanSpace ℝ (Fin m))
    (Apx : EuclideanSpace ℝ (Fin m) → EuclideanSpace ℝ (Fin p))
    (tau : Fin (p + 1) → L2 U) (htau : LinearIndependent ℝ (fun k : Fin p => tau k.succ))
    (lam : ℕ → ℝ) (phi : ℕ → L2 U) (hspec : IsSpectralDecomp (covOp (mu.map G)) lam phi) :
    (∑' k, ENNReal.ofReal (lam (k + p))) ^ ((1 : ℝ) / 2) ≤
        recErr (mu.map G) (trunkRec tau) (optProj tau) ∧
      recErr (mu.map G) (trunkRec tau) (optProj tau) ≤
        totalErr mu G (fun u => trunkRec tau (Apx (E u))) := by sorry

end DeepONetError
Source
Lanthaler, Mishra and Karniadakis, Error estimates for DeepOnets: A deep learning framework in infinite dimensions, arXiv:2102.09618v3 (2022), Section 3.2.2, Theorem 3.6, eq. (3.9), p. 13; proof in Section 3.4, eq. (3.24), p. 20
Read-back

What the Lean code literally says, in plain math · claude-opus-5-5

Setting. Fix natural numbers d,n,m,pd, n, m, pd,n,m,p (any of them may be 000), and sets D⊆RdD \subseteq \mathbb{R}^dD⊆Rd and U⊆RnU \subseteq \mathbb{R}^nU⊆Rn. Write L2(D)L^2(D)L2(D) and L2(U)L^2(U)L2(U) for the real Hilbert spaces of square-integrable functions with respect to Lebesgue measure restricted to DDD, resp. UUU.

Let XXX be a real normed space with the following properties:

  • XXX is complete and separable;
  • XXX carries its Borel σ\sigmaσ-algebra.

L2(U)L^2(U)L2(U) is also equipped with its Borel σ\sigmaσ-algebra.

The remaining data are:

  • a continuous linear map ι:X→L2(D)\iota : X \to L^2(D)ι:X→L2(D);
  • a measure μ\muμ on XXX;
  • a set A⊆XA \subseteq XA⊆X;
  • a map G:X→L2(U)G : X \to L^2(U)G:X→L2(U).

Data hypothesis. All of the following are assumed:

  1. DDD is bounded and Lebesgue measurable.
  2. UUU is bounded and Lebesgue measurable.
  3. ι\iotaι is injective.
  4. μ\muμ is a probability measure with ∫X∥u∥X2 dμ(u)<∞\int_X \|u\|_X^2 \, d\mu(u) < \infty∫X​∥u∥X2​dμ(u)<∞.
  5. AAA is measurable and μ(A)=1\mu(A) = 1μ(A)=1.
  6. For every u∈Au \in Au∈A there is a function f:Rd→Rf : \mathbb{R}^d \to \mathbb{R}f:Rd→R that is continuous on DDD and agrees with ι(u)\iota(u)ι(u) almost everywhere on DDD.
  7. GGG is measurable and ∫X∥G(u)∥L2(U)2 dμ(u)<∞\int_X \|G(u)\|_{L^2(U)}^2 \, d\mu(u) < \infty∫X​∥G(u)∥L2(U)2​dμ(u)<∞.

The objects ι\iotaι, AAA and DDD appear only in these hypotheses, not in the conclusion.

Encoder, approximator and trunk functions. Let E:X→RmE : X \to \mathbb{R}^mE:X→Rm and A:Rm→Rp\mathcal{A} : \mathbb{R}^m \to \mathbb{R}^pA:Rm→Rp be arbitrary functions. No continuity, measurability, network structure or sensor-evaluation form is required of either.

Let τ0,τ1,…,τp∈L2(U)\tau_0, \tau_1, \dots, \tau_p \in L^2(U)τ0​,τ1​,…,τp​∈L2(U) be such that τ1,…,τp\tau_1, \dots, \tau_pτ1​,…,τp​ are linearly independent. No condition is placed on τ0\tau_0τ0​. For p=0p = 0p=0 the independence condition is vacuous.

From these, define the reconstructor R:Rp→L2(U)R : \mathbb{R}^p \to L^2(U)R:Rp→L2(U) by

R(α)=τ0+∑k=1pαkτk.R(\alpha) = \tau_0 + \sum_{k=1}^{p} \alpha_k \tau_k .R(α)=τ0​+k=1∑p​αk​τk​.

Let G\mathcal{G}G be the Gram matrix Gkj=⟨τk,τj⟩\mathcal{G}_{kj} = \langle \tau_k, \tau_j \rangleGkj​=⟨τk​,τj​⟩ for k,j=1,…,pk, j = 1, \dots, pk,j=1,…,p. Define the dual vectors

τk∗=∑j=1p(G−1)kj τj,\tau_k^* = \sum_{j=1}^{p} (\mathcal{G}^{-1})_{kj} \, \tau_j ,τk∗​=j=1∑p​(G−1)kj​τj​,

and the projector P:L2(U)→RpP : L^2(U) \to \mathbb{R}^pP:L2(U)→Rp by

P(v)=(⟨v−τ0,τ1∗⟩,…,⟨v−τ0,τp∗⟩).P(v) = \big( \langle v - \tau_0, \tau_1^* \rangle, \dots, \langle v - \tau_0, \tau_p^* \rangle \big).P(v)=(⟨v−τ0​,τ1∗​⟩,…,⟨v−τ0​,τp∗​⟩).

Spectral hypothesis. Let ν=G#μ\nu = G_\# \muν=G#​μ be the push-forward measure of μ\muμ under GGG on L2(U)L^2(U)L2(U). Let vˉ=∫v dν(v)\bar v = \int v \, d\nu(v)vˉ=∫vdν(v) be its Bochner mean; by convention this is 000 if the integral is not defined. Let Γ\GammaΓ be the covariance operator

Γw=∫⟨v−vˉ,w⟩ (v−vˉ) dν(v),\Gamma w = \int \langle v - \bar v, w \rangle \, (v - \bar v) \, d\nu(v),Γw=∫⟨v−vˉ,w⟩(v−vˉ)dν(v),

again with the convention that the Bochner integral is 000 when undefined.

Let λ0,λ1,λ2,…\lambda_0, \lambda_1, \lambda_2, \dotsλ0​,λ1​,λ2​,… be real numbers and φ0,φ1,⋯∈L2(U)\varphi_0, \varphi_1, \dots \in L^2(U)φ0​,φ1​,⋯∈L2(U), indexed from 000. They are assumed to satisfy:

  • (φk)k≥0(\varphi_k)_{k \ge 0}(φk​)k≥0​ is an orthonormal sequence;
  • λ0≥λ1≥λ2≥⋯\lambda_0 \ge \lambda_1 \ge \lambda_2 \ge \cdotsλ0​≥λ1​≥λ2​≥⋯, i.e. the sequence is non-increasing (it is not required to be nonnegative);
  • for every w∈L2(U)w \in L^2(U)w∈L2(U), the series ∑k≥0λk⟨φk,w⟩φk\sum_{k \ge 0} \lambda_k \langle \varphi_k, w \rangle \varphi_k∑k≥0​λk​⟨φk​,w⟩φk​ converges unconditionally in L2(U)L^2(U)L2(U) to Γw\Gamma wΓw.

An infinite orthonormal sequence can exist only if L2(U)L^2(U)L2(U) is infinite-dimensional. In particular, this hypothesis cannot be satisfied in the following cases, and the theorem is then vacuous:

  • UUU has Lebesgue measure zero (e.g. U=∅U = \emptysetU=∅), since L2(U)={0}L^2(U) = \{0\}L2(U)={0};
  • n=0n = 0n=0, since L2(U)L^2(U)L2(U) then has dimension at most 111.

Conclusion. Write

ER=(∫∥R(P(v))−v∥L2(U)2 dν(v))1/2\mathcal{E}_R = \Big( \int \| R(P(v)) - v \|_{L^2(U)}^2 \, d\nu(v) \Big)^{1/2}ER​=(∫∥R(P(v))−v∥L2(U)2​dν(v))1/2

for the reconstruction error, and

E=(∫X∥G(u)−τ0−∑k=1pA(E(u))k τk∥L2(U)2 dμ(u))1/2\mathcal{E} = \Big( \int_X \Big\| G(u) - \tau_0 - \sum_{k=1}^{p} \mathcal{A}(E(u))_k \, \tau_k \Big\|_{L^2(U)}^2 \, d\mu(u) \Big)^{1/2}E=(∫X​​G(u)−τ0​−k=1∑p​A(E(u))k​τk​​L2(U)2​dμ(u))1/2

for the total error. Both integrals are lower Lebesgue integrals valued in [0,∞][0, \infty][0,∞]. They are defined even without measurability of the integrand, and may equal +∞+\infty+∞.

The theorem asserts both of the following inequalities in [0,∞][0, \infty][0,∞]:

(∑k=0∞max⁡(λk+p,0))1/2  ≤  ERandER  ≤  E.\Big( \sum_{k=0}^{\infty} \max(\lambda_{k+p}, 0) \Big)^{1/2} \;\le\; \mathcal{E}_R \qquad \text{and} \qquad \mathcal{E}_R \;\le\; \mathcal{E}.(k=0∑∞​max(λk+p​,0))1/2≤ER​andER​≤E.

On the left of the first inequality:

  • the sum omits the first ppp terms λ0,…,λp−1\lambda_0, \dots, \lambda_{p-1}λ0​,…,λp−1​;
  • any negative λk\lambda_kλk​ is replaced by 000;
  • the sum may be +∞+\infty+∞.
Human review
  • Endorsed by Shuze Chen · Nov 24, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Xeroth · Nov 24, 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