Theorem 5: universal approximation theorem for operators (TW activation)
ProvedDeepONetUniversal.universal_approximation_operator_twLet be a Tauber–Wiener function, 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 .
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_tw {X : Type*} [NormedAddCommGroup X] [NormedSpace ℝ X]
[CompleteSpace X] {d : ℕ} (σ : ℝ → ℝ) (hσ : IsTauberWiener σ)
(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, with the space of real -tuples. When , is a single point. The hypotheses are:
- is an arbitrary function that is Tauber–Wiener in the following sense. For all reals , every function continuous on , and every , there exist (possibly ) and reals () such that
No continuity, measurability or boundedness of is assumed beyond this. The condition is vacuous for intervals with .
- is compact and nonempty.
- is compact. It may be empty.
- is a compact subset of . This space is given its standard topology, the compact-open topology, which here coincides with the topology of uniform convergence on .
- is an arbitrary map that is continuous on . This is continuity of the restriction for the subspace topology; is unconstrained off . The target space carries the same kind of topology.
- is a real number.
The theorem asserts that there exist natural numbers , , together with the following parameters:
- real coefficients , , and , for , , ;
- vectors , for ;
- sensor points . These are chosen freely in , need not be distinct, and are not required to have any particular arrangement.
These satisfy, for every and every ,
Here is the ordinary dot product. The same function is used in both the inner ("branch") sums and the outer ("trunk") factors. The bracketed term is the -th branch network evaluated at the sensor values , and is the -th trunk unit.
All of , the coefficients, and the sensor points may depend on , , , , and . They are fixed before and are chosen, so a single network works uniformly over all of , with strict inequality .
Some edge cases are allowed by the hypotheses:
- If is empty or is empty, the conclusion holds trivially. The only remaining requirement is that some point of exists to serve as a sensor, and the nonemptiness hypothesis guarantees this.
- If , each trunk factor reduces to the constant .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.