Theorem 3.12: optimal affine subspaces and the projection error
ProvedDeepONetError.optimal_affine_subspaceLet be a separable real Hilbert space, and . Let be the covariance operator, with eigenvalues repeated according to multiplicity, and let be an affine subspace whose direction has dimension . Then:
- There is a unique with .
- For this ,
- Let be the eigenspaces of for its distinct eigenvalues, with chosen as in Theorem 3.10. Then minimizes among affine subspaces of dimension if and only if
- In that case .
This extends Theorem 3.10 to affine subspaces: the optimal affine space passes through the mean and is spanned by the top eigenvectors of the centered covariance.
Formalization Note The paper writes on the left of (3.17); the proof shows it is . Eigenvalues come from a spectral decomposition indexed from , as in Theorem 3.10.
import Mathlib import Definitions.Def_DeepONetError_Basic open MeasureTheory
namespace DeepONetError
theorem optimal_affine_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 (covOp nu) lam phi)
(p : ℕ) (hp : 1 ≤ p) (V0 : AffineSubspace ℝ H) (hV0 : Module.finrank ℝ V0.direction = p) :
(∃! v0 : H, v0 ∈ V0 ∧ ∀ w ∈ V0, ‖mean nu - v0‖ ≤ ‖mean nu - w‖) ∧
∀ v0 ∈ V0, (∀ w ∈ V0, ‖mean nu - v0‖ ≤ ‖mean nu - w‖) →
projErr nu (V0 : Set H) = ‖mean nu - v0‖ₑ ^ 2 +
(∫⁻ v, Metric.infEDist (v - mean nu) (V0.direction : Set H) ^ 2 ∂nu) ∧
(IsOptimalAffine nu p V0 ↔
v0 = mean nu ∧ eigSpan (covOp nu) (Set.Ioi (lam (p - 1))) ≤ V0.direction ∧
V0.direction ≤ eigSpan (covOp nu) (Set.Ici (lam (p - 1)))) ∧
(IsOptimalAffine nu p V0 → projErr nu (V0 : 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 inner product space that is complete (a real Hilbert space) and separable, equipped with its Borel -algebra. Let be a measure on that lies in : is a probability measure and
(a lower Lebesgue integral of a -valued function).
Mean and covariance. Write for the mean, a Bochner integral. By convention it is if is not Bochner integrable. Let be the covariance map, defined as the Bochner integral
which by the same convention is wherever the integrand is not integrable.
Spectral hypothesis. We are given a real sequence and a sequence in , both indexed by all natural numbers . They are assumed to satisfy three conditions:
- the are orthonormal;
- is non-increasing;
- for every the series is unconditionally summable in with sum .
The are not assumed nonnegative. Because an orthonormal family indexed by is required, this hypothesis cannot be satisfied when is finite-dimensional, and the theorem is then vacuous.
The subspace. Fix an integer and an affine subspace whose direction (linear) subspace has dimension exactly . Here "dimension" is the finite rank, which is assigned the value for infinite-dimensional spaces, so forces to be genuinely -dimensional. It also forces , since the empty affine subspace has direction .
Auxiliary notions used in the conclusion.
- Projection error. For a set ,
- Optimal affine subspace. is optimal for if two conditions hold. First, . Second, for every affine subspace with , with dimension again meaning finite rank.
- Eigenvector span. For , let be the linear span (no closure taken) of the set
This set includes , and it consists of all eigenvectors of with eigenvalue in , not only the .
Conclusion. Two things hold.
(1) Unique nearest point. There exists a unique such that for all .
(2) Properties of the nearest point. Let be any point with for all . Then all three of the following hold.
- (a) Error decomposition. In ,
- (b) Characterization of optimality. is an optimal affine subspace for if and only if both of the following hold:
- ;
- with the -th term of the sequence (counting from ),
- (c) Optimal error. If is an optimal affine subspace for , then
The sum is taken in , so it always exists and may equal . Negative 's contribute .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.