Section 3, eq. (2) and Algorithm 1: the weak form decouples the forward operator from the networks
ProvedArxiv2405_10327.weak_form_decouples_forward_operatorLet , and . Let be the forward operator and the observed data. Let be invertible for every conditioning , and let every refinement network , , be invertible and differentiable. Fix latent draws and write for the weak objective of eq. (2) and for the inner-loop loss of Algorithm 1, line 29. Then:
- The forward operator enters only through the data-misfit terms: for all velocity models and weights ,
where does not involve . 2. For fixed , the gradient of in is . 3. For fixed , minimises if and only if it minimises . 4. For fixed and the other models, the gradient of in is , where is the gradient of line 25 of Algorithm 1:
This is the mathematical content of the paper's statement that the weak formulation decouples from the networks. The inner loop of WISER, which updates , needs no wave modelling, and enters only the outer gradient steps on the velocity models.
Formalization Note Gradients are Mathlib's gradient, which is at points of non-differentiability. Items 2 and 4 are therefore stated without differentiability hypotheses, and both sides vanish together where the functions are not differentiable. The paper's claim that the inner loop "needs no physics modelling" is formalised by items 1-3: the inner-loop loss is defined without and has the same minimisers and, up to the factor , the same gradient in as eq. (2). Algorithm 1 omits the factor in lines 25 and 29.
import Mathlib import Definitions.Def_Arxiv2405_10327_Basic open Filter Topology
namespace Arxiv2405_10327
theorem weak_form_decouples_forward_operator {d m p M : ℕ} {C : Type*}
(hM : 0 < M) (σ γ : ℝ) (hσ : 0 < σ) (hγ : 0 < γ)
(F : Vec d → Vec m) (yobs : Vec m)
(fInv : Vec d → C → Vec d) (ybar : C) (hfInv : ∀ c, Function.Bijective (fun u => fInv u c))
(h : Vec p → Vec d → Vec d) (hh : ∀ φ, Function.Bijective (h φ) ∧ Differentiable ℝ (h φ))
(z : Fin M → Vec d) :
(∀ (x : Fin M → Vec d) (φ : Vec p),
weakObjective σ γ F yobs fInv ybar h z x φ =
(1 / (M : ℝ)) * (∑ i, dataMisfit σ F yobs (x i))
+ (1 / (M : ℝ)) * innerLoss γ fInv ybar h z x φ) ∧
(∀ (x : Fin M → Vec d) (φ : Vec p),
gradient (fun φ' => weakObjective σ γ F yobs fInv ybar h z x φ') φ =
(1 / (M : ℝ)) • gradient (fun φ' => innerLoss γ fInv ybar h z x φ') φ) ∧
(∀ (x : Fin M → Vec d) (φ : Vec p),
(∀ φ', weakObjective σ γ F yobs fInv ybar h z x φ ≤ weakObjective σ γ F yobs fInv ybar h z x φ') ↔
(∀ φ', innerLoss γ fInv ybar h z x φ ≤ innerLoss γ fInv ybar h z x φ')) ∧
(∀ (x : Fin M → Vec d) (φ : Vec p) (i : Fin M),
gradient (fun v => weakObjective σ γ F yobs fInv ybar h z (Function.update x i v) φ) (x i) =
(1 / (M : ℝ)) • gradient (outerLoss σ γ F yobs fInv ybar (h φ) (z i)) (x i)) := by sorry
end Arxiv2405_10327Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. Fix natural numbers with (, , may be ). Let be an arbitrary set with no structure assumed. The objects are:
- Real numbers and .
- An arbitrary map , with no continuity or differentiability assumed, and a vector .
- A map and an element , such that for every the map is a bijection of . No regularity is assumed.
- A family of maps indexed by , such that each is a bijection and is (Fréchet) differentiable everywhere. Nothing is assumed about how depends on : no continuity or differentiability in .
- Fixed points .
All norms are Euclidean norms.
Definitions used. For , the data misfit is
The corrected model is . The latent term is
where is the derivative of at . By convention , so if the Jacobian determinant vanishes, the log term is . Bijectivity and differentiability of do not exclude a vanishing determinant.
For and , the following quantities are defined.
The weak objective:
The inner loss, which does not contain :
For each , the outer loss in :
Gradient convention. Throughout, "gradient" means the vector representing the Fréchet derivative via the Euclidean inner product. By convention, the gradient of a function at a point where it is not differentiable is the zero vector, so the gradient identities below also hold in that junk sense at non-differentiable points.
Assertion. Under these hypotheses, all four of the following hold.
- Decomposition. For all and ,
- Gradient in the weights. For all and , the gradient at of equals times the gradient at of :
-
Same global minimizers in the weights. For all and : is a global minimizer of over all of if and only if is a global minimizer of over all of . Here "global minimizer" means for every , and likewise for . Existence of a minimizer is not asserted.
-
Gradient in one velocity model. For all , and each index , replace the -th entry by a variable and leave the other entries fixed. The gradient in of at equals times the gradient of at :
Since is not assumed differentiable, both sides may be the junk value .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.