Theorem 3.10: optimal linear subspaces and the projection error
ProvedDeepONetError.optimal_linear_subspaceLet be a separable real Hilbert space and . Let be the uncentered covariance operator, with eigenvalues repeated according to multiplicity, and let . For a subspace let . Then:
- There is a -dimensional subspace minimizing among all -dimensional subspaces.
- Let be the eigenspaces of for its distinct eigenvalues , and choose with , so that . A -dimensional subspace is optimal if and only if
- If for some , equivalently , the optimal -dimensional subspace is unique.
- Every optimal -dimensional subspace satisfies
This is principal component analysis in a Hilbert space. It identifies the best -dimensional linear subspace for a given measure.
Formalization Note The eigenvalues come from a spectral decomposition with an orthonormal sequence indexed from , so the paper's is lam (p-1). The orthonormal sequence makes infinite-dimensional. This is the case for every space to which the paper applies the theorem; for the printed existence claim is false. The sums of eigenspaces are written as spans of eigenvectors with eigenvalue , respectively . The paper's "" is read as an infimum over subspaces of .
import Mathlib import Definitions.Def_DeepONetError_Basic open MeasureTheory
namespace DeepONetError
theorem optimal_linear_subspace {H : Type*} [NormedAddCommGroup H] [InnerProductSpace ℝ H]
[CompleteSpace H] [TopologicalSpace.SeparableSpace H] [MeasurableSpace H] [BorelSpace H]
(nu : Measure H) (hnu : IsP2 nu)
(lam : ℕ → ℝ) (phi : ℕ → H) (hspec : IsSpectralDecomp (uncovOp nu) lam phi)
(p : ℕ) (hp : 1 ≤ p) :
(∃ V : Submodule ℝ H, IsOptimalSubspace nu p V) ∧
(∀ V : Submodule ℝ H, Module.finrank ℝ V = p →
(IsOptimalSubspace nu p V ↔
eigSpan (uncovOp nu) (Set.Ioi (lam (p - 1))) ≤ V ∧
V ≤ eigSpan (uncovOp nu) (Set.Ici (lam (p - 1))))) ∧
(lam p < lam (p - 1) → ∀ V W : Submodule ℝ H,
IsOptimalSubspace nu p V → IsOptimalSubspace nu p W → V = W) ∧
(∀ V : Submodule ℝ H, IsOptimalSubspace nu p V →
projErr nu (V : Set H) = ∑' k, ENNReal.ofReal (lam (k + p))) := by sorry
end DeepONetErrorRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. Let be a real Hilbert space: a real inner product space that is complete. It is also separable and carries its Borel -algebra. Let be a measure on such that:
- is a probability measure, and
- has finite second moment, , where the integral is taken in .
Uncentered covariance operator. Let denote the uncentered covariance operator of :
This is a Bochner integral, with the convention that it equals whenever the integrand is not integrable. No mean is subtracted.
Spectral hypothesis. Let be real numbers and be elements of , both indexed by . Assume:
- the family is orthonormal;
- the sequence is non-increasing, ;
- for every the series converges unconditionally (as a sum over the index set) to .
Some consequences and non-requirements of this hypothesis:
- An orthonormal family indexed by all natural numbers exists only if is infinite-dimensional. For finite-dimensional the hypothesis cannot be satisfied, and the statement is vacuous there.
- The are not assumed nonnegative.
- The family is not assumed to be complete.
Let be a natural number.
Projection error. For a subset , its projection error is
Optimal subspace. A linear subspace is called optimal of dimension when both of the following hold:
- has dimension exactly ;
- for every linear subspace of dimension exactly .
Subspaces of other dimensions are not compared.
Eigenvector spans. For a set , let be the linear span (finite linear combinations, no closure) of all vectors with for some . This uses all eigenvectors of , not only the , and it trivially includes .
Note on indexing: the threshold eigenvalue is , which is the -th term of the sequence because indexing starts at .
Conclusions. The theorem asserts all four of the following.
-
Existence: there exists an optimal linear subspace of dimension .
-
Characterization: for every linear subspace of dimension exactly ,
-
Uniqueness under a spectral gap: if (strict inequality), then any two optimal linear subspaces of dimension are equal.
-
Value of the minimum: for every optimal linear subspace of dimension ,
The sum is taken in , so it may equal . Each term is the positive part of , meaning any negative contributes .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.