Theorem 2.14: -FNOs approximate FNOs of finite width
OpenFourierNeuralOperator.psi_fno_approximates_fnoLet be globally Lipschitz, let and . Let be an FNO of finite width. Then for all there are and a -FNO (with the same activation) such that
Formalization Note A -FNO evaluates its input on the grid, so each () is taken to be its continuous representative: the supremum runs over continuous on .
import Mathlib import Definitions.Def_FourierNeuralOperator_Basic open MeasureTheory Filter Topology
namespace FourierNeuralOperator
theorem psi_fno_approximates_fno {d : ℕ} {ιa ιu : Type} [Fintype ιa] [Fintype ιu]
(σ : ℝ → ℝ) (m : ℕ) (hσm : ContDiff ℝ m σ) (hσL : ∃ L : NNReal, LipschitzWith L σ)
(s : ℝ) (hs : (d : ℝ) / 2 < s) (hm : s < m) (Nhat : FNO d ιa ιu)
(ε B : ℝ) (hε : 0 < ε) (hB : 0 < B) :
∃ Np : PsiFNO d ιa ιu, ∀ a : TorusFun d ιa, MemSobolev s a → ContinuousOn a (torusBox d) →
sobolevNorm s a ≤ ENNReal.ofReal B →
l2Norm (Nhat.eval σ a - Np.eval σ a) ≤ ENNReal.ofReal ε := by sorry
end FourierNeuralOperatorRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. Fix a dimension and two finite index sets (input channels) and (output channels). Either may be empty, and is allowed. A "function on the torus with values in " is any map . The torus is identified with the closed box
and all integrals below are Lebesgue integrals over this box. Values of outside the box never enter the norms, but they are still part of the function.
Fourier coefficients. For and a channel :
If the integrand is not integrable, the integral is taken to be .
Norms. Let . Both norms below are extended reals in .
- The norm is
- means two things: every component is square-integrable on the box, and .
- The norm is
Fourier neural operators (FNOs). An FNO consists of the following data:
- a lifting dimension , a depth and a mode cutoff , all natural numbers;
- real matrices , and ;
- bias functions , each component square-integrable on the box;
- complex matrices for every ;
- here .
Given an activation , the -th layer acts by
The operator defined by the FNO is
-FNOs. A -FNO is an FNO together with a grid degree . It defines the operator
where is pseudo-spectral interpolation:
Hypotheses. Let and , and assume:
- is times continuously differentiable;
- is globally Lipschitz with some constant ;
- satisfies , which forces ;
- is an arbitrary FNO;
- and are real numbers.
is not assumed to be non-polynomial.
Conclusion. There exists a -FNO with the following property. For every such that
- ,
- is continuous on the closed box , and
- ,
we have
where both operators use the same activation .
What is not constrained.
- The -FNO depends on , but the same one works for all such .
- It is not required to share any parameters with : its , , , matrices, biases and grid degree are all unrestricted.
- No bound on its size is asserted.
Degenerate cases. If is empty, the norm of the difference is and the claim holds trivially.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.