Lemma 2.16 (as proved): universal approximation by -FNOs into implies it into
OpenFourierNeuralOperator.psi_fno_universal_reduction_to_l2Let satisfy Assumption 2.4, let and . Assume in addition that for an integer . Suppose that for every continuous , compact and there is such that for every some -FNO satisfies . Then for every continuous , compact and there is such that for every some -FNO satisfies
Formalization Note The printed lemma reads "Assume Theorem 2.15 holds for ; then it holds for arbitrary ". Theorem 2.15 gives a single , but the proof (Appendix D.6) assumes and proves the statement for all , and it is stated in that form. The proof also uses with through Lemma D.1, which Assumption 2.4 does not supply. The elements of are taken continuous on , i.e. they are the continuous representatives.
import Mathlib import Definitions.Def_FourierNeuralOperator_Basic open MeasureTheory Filter Topology
namespace FourierNeuralOperator
theorem psi_fno_universal_reduction_to_l2 {d : ℕ} {ιa ιu : Type} [Fintype ιa] [Fintype ιu]
(σ : ℝ → ℝ) (hσ : IsActivation σ) (s s' : ℝ) (hs : (d : ℝ) / 2 < s) (hs' : 0 ≤ s')
(m : ℕ) (hm₁ : s' < m) (hm₂ : (d : ℝ) / 2 < m) (hσm : ContDiff ℝ m σ) :
UniversalApproxPsiFNO σ d ιa ιu s 0 → UniversalApproxPsiFNO σ d ιa ιu s s' := by sorry
end FourierNeuralOperatorRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. Fix:
- a natural number (possibly );
- finite index sets and (possibly empty);
- a function ;
- real numbers ;
- a natural number .
A "function on the torus with values in " is an arbitrary map . No measurability, periodicity or continuity is built in. Integrals are taken only over the box with Lebesgue measure, and denotes the -th component.
Hypotheses. The theorem assumes all of the following.
- is an activation:
- does not agree everywhere with any real polynomial function;
- is globally Lipschitz with some constant;
- is three times continuously differentiable.
- .
- .
- .
- . Together with 3 and 4 this forces .
- is times continuously differentiable.
No relation between and is assumed; may exceed .
Conclusion. Under these hypotheses:
That is, if the -FNO universal approximation property holds with output regularity , then it holds with output regularity . The property is unfolded below.
Fourier coefficients and Sobolev norms. For , write and . The Fourier coefficient is
When the integrand is not integrable, this integral takes the default value .
The "norm" is a value in :
Two conventions matter here:
- With the convention , for every weight equals , including at .
- For the weight at is .
The norm depends on only through its Fourier coefficients on .
"" means two things:
- each component is square-integrable on , which includes almost-everywhere strong measurability;
- .
Continuity and compactness. An operator (from -valued to -valued functions) is -continuous if both of the following hold:
- maps into ;
- for every and every there is such that for all , implies . Differences are taken pointwise.
A set is -compact if both of the following hold:
- ;
- every sequence in has a strictly increasing subsequence and a limit with .
The empty set is allowed.
-FNOs. A -FNO consists of:
- a lifting dimension , a depth , a mode bound , and a grid degree ;
- real matrices , and ;
- bias maps , each component square-integrable on ;
- arbitrary complex matrices for .
Interpolation operator. The construction uses the grid points
The discrete Fourier transform is
and the interpolation operator is
Layers and output. The layer acts by
The network output is
Pointwise values of the biases at grid points enter the output.
The universal approximation property . This means: for every -continuous operator , every -compact set all of whose members are continuous on the box , and every real , there is such that for every some -FNO with grid degree exactly satisfies
Several features of this property are worth noting:
- No continuity of is required.
- Since -FNOs must have , the case would demand a network with , which does not exist. Any witness must therefore be at least .
- For , both the hypothesis on and the error are measured in the quantity above.
Degenerate case . The box is a single point carrying measure . The only wavenumber is , and equals the value of at that point.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.