Theorem 2 (as proved): number of sensors for identifying nonlinear dynamic systems
ProvedDeepONetUniversal.number_of_sensorsLet , let be a compact subset of and let be the compact set of Lemma 7. Let be continuous and not a polynomial. Let map each to the solution of
in the integral form , and let be continuous on . Suppose that for some , satisfies and for all values of functions in , all values of functions in , and . Let and let bound the interpolation error, for all . If
then for every there are , , , , such that
The number of sensors needed for accuracy is thus governed by the interpolation error of the input space.
Formalization Note The paper prints ; the bias of hidden units lies in . The paper leaves unspecified; the hypothesis of Theorem 1 (continuous, not a polynomial) is used, which is what the universal approximation theorem invoked in the proof requires. "Lipschitz on " is read as Lipschitz on the values of these functions. The integrability of on is the implicit condition under which the integral equation is meaningful. is any bound on the interpolation error at this , which is the role of in eq. (4).
import Mathlib import Definitions.Def_DeepONetUniversal_Basic open MeasureTheory Filter Topology
namespace DeepONetUniversal
theorem number_of_sensors {a b : ℝ} (hab : a < b) {K : ℕ} (σ : ℝ → ℝ) (hσc : Continuous σ)
(hσp : ¬ IsPolynomialFun σ) (V : Set C(Set.Icc a b, ℝ)) (hV : IsCompact V)
(g : (Fin K → ℝ) → ℝ → ℝ → (Fin K → ℝ)) (s₀ : Fin K → ℝ)
(G : C(Set.Icc a b, ℝ) → C(Set.Icc a b, Fin K → ℝ))
(hG : SolvesODE a b g s₀ G (sensorHull a b V)) (hGc : ContinuousOn G (sensorHull a b V))
(c : ℝ) (hc : 0 < c)
(hL : IsLipschitzSU a b g c (valueSet (G '' sensorHull a b V)) (valueSet (sensorHull a b V)))
(m : ℕ) (hm : 0 < m) (κ : ℝ)
(hκ : ∀ u ∈ V, ∀ x ∈ Set.Icc a b, |evalAt u x - interp a b m (evalAt u) x| ≤ κ)
(ε : ℝ) (hε : c * (b - a) * κ * Real.exp (c * (b - a)) < ε) (d : Set.Icc a b) :
∃ (n : ℕ) (W₁ : Matrix (Fin n) (Fin (m + 1)) ℝ) (b₁ : Fin n → ℝ) (W₂ : Matrix (Fin K) (Fin n) ℝ)
(b₂ : Fin K → ℝ),
∀ u ∈ V, eucNorm (G u d - shallowNet σ W₁ b₁ W₂ b₂ (sensorValues a b m u)) < ε := by sorry
end DeepONetUniversalRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. Fix real numbers , a natural number (possibly ), and a function that is continuous and is not a polynomial function. "Not a polynomial function" means there is no real polynomial with for all . Let be a set of continuous real functions on that is compact in the topology of uniform convergence. may be empty.
Let:
- be an arbitrary function;
- ;
- be an arbitrary map.
Sensors and interpolants. For , the uniform sensors are for . For and , the interpolant is
where the segment index is
The floor is truncated at ; at this gives .
Let be the set of functions in that agree on with for some . Define
Hypotheses on and .
- solves the ODE on . For every :
- the map is integrable on ;
- for every ,
Outside , functions are read as ; only values on enter here.
-
is continuous on , with respect to the uniform topologies.
-
is Lipschitz in and in . There is a constant with the following property. Let and . Then for all :
- for all and ,
- for all and ,
Here is the Euclidean norm on . The sets and are taken separately; the conditions are imposed on all such combinations, not only on pairs arising from the same .
Remaining data.
- A natural number .
- A real number such that for all and . is any such bound, not necessarily the best one. If is empty, is unconstrained and may be negative.
- A real number with the strict inequality
- A single point .
Conclusion. There exist:
- a natural number (possibly );
- a matrix and a vector ;
- a matrix and a vector ;
such that for every ,
Here is applied componentwise. The vector holds the values of at the uniform sensors .
Quantifier order. The network is chosen after is fixed, so it may depend on the evaluation point . It may also depend on , , and all the other data. It is only required to be uniform over .
Degenerate cases.
- If is empty, the conclusion holds trivially.
- If , the Euclidean norm on is , so the conclusion reduces to . This follows from the hypothesis on whenever , which is forced when is nonempty.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.