Lemma 2.8: an FNO approximates the inverse discrete Fourier transform
ProvedFourierNeuralOperator.fno_approximates_inverse_dftLet satisfy Assumption 2.4, and let and . For every there is an FNO such that for every real trigonometric polynomial with ,
where is the constant function collecting the real and imaginary parts of the Fourier coefficients of .
Formalization Note is taken as a function that equals a trigonometric polynomial of degree at every point.
import Mathlib import Definitions.Def_FourierNeuralOperator_Basic open MeasureTheory Filter Topology
namespace FourierNeuralOperator
theorem fno_approximates_inverse_dft {d : ℕ} (σ : ℝ → ℝ) (hσ : IsActivation σ)
(B : ℝ) (hB : 0 < B) (N : ℕ) (ε : ℝ) (hε : 0 < ε) :
∃ Nn : FNO d (Fin 2 × freqBox d N) (Fin 1),
∀ v : TorusFun d (Fin 1), IsTrigPoly N v → l2Norm v ≤ ENNReal.ofReal B →
l2Norm (v - Nn.eval σ (fun _ p =>
if p.1 = 0 then (fourierCoeff v p.2.1 0).re else (fourierCoeff v p.2.1 0).im))
≤ ENNReal.ofReal ε := by sorry
end FourierNeuralOperatorRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
For every dimension , every activation function , every real , every and every real , the statement asserts the following. The activation must satisfy three conditions:
- is not equal everywhere on to any real polynomial;
- is globally Lipschitz with some constant;
- is .
Under these conditions, there exists a single Fourier neural operator . Its input functions take values in , and its output functions are real-valued. Here
is the box of integer wavenumbers.
What is approximated. The same works for every function satisfying two conditions.
First, is a trigonometric polynomial of degree at most . That is, there are complex coefficients such that
where . The coefficients are not required to be related to the Fourier coefficients of .
Second, satisfies the norm bound , where
is taken with respect to Lebesgue measure on the box . This norm is valued in .
For every such , the theorem asserts
The input . The input is the function that is constant in . Its components are
where
So the network receives only the real and imaginary parts of these finitely many Fourier coefficients, presented as a spatially constant input.
The neural operator. consists of the following data, all chosen depending only on and not on :
- a lifting dimension , a depth and a mode cutoff , all natural numbers;
- a real lifting matrix ;
- a real projection matrix ;
- real weight matrices ;
- bias functions , each component square-integrable on ;
- complex Fourier-multiplier matrices for every .
Here .
How is evaluated. It computes , where and, for in order,
The hat denotes the componentwise Fourier coefficient defined above, also computed on . Only multipliers with enter.
What is not constrained. No bound is placed on the size of , or , or on the magnitude of the parameters. No continuity of is asserted. The cases and are permitted, in which case .
Degenerate cases. When , the admissible are the real constants, and the input has the two components and . When , the domain is a single point, the box is that point with unit mass, and .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.