Theorem 1: universal approximation theorem for operators
ProvedDeepONetUniversal.universal_approximation_operatorLet be a continuous function that is not a polynomial, a Banach space, a nonempty compact set, compact, compact, and a (possibly nonlinear) continuous operator. Then for every there are positive integers , constants , and sensors (, , ) such that
for all and .
This is the universal approximation theorem for operators of Chen and Chen (1995) on which the DeepONet architecture is built: the sum is a stacked DeepONet with branch networks and one trunk network.
Formalization Note is a map on all of that is continuous on ; its values off play no role. The hypothesis is added: the conclusion asks for sensors in , which is impossible when is empty.
import Mathlib import Definitions.Def_DeepONetUniversal_Basic open MeasureTheory Filter Topology
namespace DeepONetUniversal
theorem universal_approximation_operator {X : Type*} [NormedAddCommGroup X] [NormedSpace ℝ X]
[CompleteSpace X] {d : ℕ} (σ : ℝ → ℝ) (hσc : Continuous σ) (hσp : ¬ IsPolynomialFun σ)
(K₁ : Set X) (hK₁ : IsCompact K₁) (hK₁ne : K₁.Nonempty)
(K₂ : Set (Fin d → ℝ)) (hK₂ : IsCompact K₂)
(V : Set C(K₁, ℝ)) (hV : IsCompact V) (G : C(K₁, ℝ) → C(K₂, ℝ)) (hG : ContinuousOn G V)
(ε : ℝ) (hε : 0 < ε) :
∃ n p m : ℕ, 0 < n ∧ 0 < p ∧ 0 < m ∧
∃ (c : Fin p → Fin n → ℝ) (ξ : Fin p → Fin n → Fin m → ℝ) (θ : Fin p → Fin n → ℝ)
(ζ : Fin p → ℝ) (w : Fin p → Fin d → ℝ) (x : Fin m → K₁),
∀ u ∈ V, ∀ y : K₂, |G u y - operatorNet σ c ξ θ w ζ (fun j => u (x j)) y| < ε := by sorry
end DeepONetUniversalRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Let be a real Banach space (a complete real normed vector space), and let be a natural number. Write for the space of real -tuples . The statement fixes the following data and hypotheses:
- Activation. is continuous and is not a polynomial function. That is, there is no real polynomial with for all .
- Input domain. is compact and nonempty.
- Output domain. is compact. It may be empty. When , is a single point.
- Input functions. is a compact subset of , the space of continuous real functions on . Because is compact, its topology is that of uniform convergence on . may be empty, in which case the conclusion holds vacuously.
- Operator. is an arbitrary map whose restriction to is continuous. On this is the uniform topology on . Nothing is assumed about outside .
- Tolerance. is a real number with .
Conclusion. There exist natural numbers , , together with:
- real coefficients , and , for , , ;
- real biases and weight vectors , for ;
- "sensor" points , not required to be distinct.
These are chosen so that for every and every ,
The inequality is strict. All of , the coefficients, and the sensor points depend only on the fixed data and . They are the same for all and all .
The network depends on only through its values at the sensor points. For each , the bracketed "branch" factor is a one-hidden-layer network with hidden units applied to these values. The second factor, the "trunk", is a single neuron . There is no sum or outer coefficient inside the trunk.
When , each trunk factor reduces to the constant . When is empty, the approximation condition is vacuous.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.