Lemma 2.7: an FNO approximates the Fourier coefficients ,
ProvedFourierNeuralOperator.fno_approximates_fourier_coefficientsLet satisfy Assumption 2.4, and let and . For every there is an FNO , , whose output functions are constant in for every input , such that for every real with and every with ,
Formalization Note The output is constant at every point, so the bounds are written pointwise for every . The components are indexed by .
import Mathlib import Definitions.Def_FourierNeuralOperator_Basic open MeasureTheory Filter Topology
namespace FourierNeuralOperator
theorem fno_approximates_fourier_coefficients {d : ℕ} (σ : ℝ → ℝ) (hσ : IsActivation σ)
(B : ℝ) (hB : 0 < B) (N : ℕ) (ε : ℝ) (hε : 0 < ε) :
∃ Nn : FNO d (Fin 1) (Fin 2 × freqBox d N),
(∀ v : TorusFun d (Fin 1), MemL2 v → ∀ x y, Nn.eval σ v x = Nn.eval σ v y) ∧
∀ v : TorusFun d (Fin 1), MemL2 v → l2Norm v ≤ ENNReal.ofReal B →
∀ (k : freqBox d N) (x : Fin d → ℝ),
|(fourierCoeff v k.1 0).re - Nn.eval σ v x (0, k)| ≤ ε ∧
|(fourierCoeff v k.1 0).im - Nn.eval σ v x (1, k)| ≤ ε := by sorry
end FourierNeuralOperatorRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Let , let , and let , , be given with
The function is assumed to be an admissible activation, which means all three of the following hold:
- is not a polynomial: no real polynomial has for all .
- is globally Lipschitz with some constant .
- is on .
Setting. A "scalar function on the torus" here is simply any function . No periodicity is imposed. Only the values of on the box enter the integrals below.
- membership. means is almost-everywhere strongly measurable and square-integrable with respect to Lebesgue measure restricted to .
- norm. This is the extended-real number
- Fourier coefficients. For ,
The integral is the Lebesgue/Bochner integral, which is assigned the value if the integrand is not integrable. For it is integrable, because has finite measure.
- Frequency set. is a finite set with elements.
Fourier neural operators. A Fourier neural operator (FNO) from scalar functions to functions with values in consists of the following data. Nothing about its size is constrained.
- A lifting dimension , a depth (possibly ), and a mode cutoff .
- A lifting matrix and a projection matrix .
- For each layer :
- a matrix ;
- a bias function , each of whose components is in on , and which is otherwise arbitrary;
- complex matrices , one for each .
Its output on an input is computed in three stages:
- Lift: .
- For each layer, set
Here the Fourier coefficients of the intermediate functions are computed as above, over , with the convention that a non-integrable integrand gives . 3. Project: , defined for every .
Claim. There exists such an FNO (depending on ) with both of the following properties.
- Constant output on inputs. For every with , no norm bound required, the output is constant on all of , not merely on :
- Uniform approximation of Fourier coefficients. Take any with , any and any . Then
The bound is uniform over all such , all and all . The output coordinate approximates the real part and the imaginary part.
What is not claimed.
- Nothing is asserted about inputs .
- No continuity of in any norm is asserted.
- No bound on , or is asserted.
Degenerate cases.
- . is a single point, is that point, has exactly one element, and equals the value of at the point.
- . Only is involved, and is the mean of over in the sense .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.