Eqs. (6)-(8) (as proved): the KKT multiplier is twice the adjoint field and the gradient is
ProvedArxiv2507_15035.adjoint_state_gradientLet . Let be a sound speed: measurable, with , and equal to outside a bounded region of interest. Let be the transducer locations and the measurements. Let be the Lagrangian term of eq. (4) with source . Let solve the forward equation (6), almost everywhere. Let solve the adjoint equation (7) as printed, in the sense of distributions:
Then, with the multiplier :
- is stationary at : for every complex test function ;
- is stationary at : for every complex test function ;
- for every real test function ,
So a forward solve and an adjoint solve give the gradient of the Lagrangian with respect to the sound speed, with density . This is the adjoint-state computation that the paper's neural surrogates accelerate.
Formalization Note The paper's eq. (8) prints the gradient as , with the field of eq. (7). The derivation from eqs. (4), (5) and (7) gives . The printed formula differs by a factor and omits the real part. The statement is the formula the derivation establishes ("as proved"). Stationarity and partial derivatives are written as directional derivatives along smooth compactly supported directions.
import Mathlib import Definitions.Def_Arxiv2507_15035_Basic open MeasureTheory
namespace Arxiv2507_15035
theorem adjoint_state_gradient {n M : ℕ} (ω : ℝ) (hω : 0 < ω)
(c : Pt n → ℝ) (ROI : Set (Pt n)) (c0 : ℝ) (hc : IsSoundSpeed c ROI c0)
(s : Pt n → ℂ) (xf : Fin M → Pt n) (y : Fin M → ℂ)
(u : Pt n → ℂ) (hu : ContDiff ℝ 2 u) (hfwd : ∀ᵐ x, helmholtzOp ω c u x = -s x)
(lam : Pt n → ℂ) (hadj : IsWeakPointSourceSol ω c lam xf (fun i => u (xf i) - y i)) :
(∀ φ : Pt n → ℂ, IsTestFn φ →
HasDerivAt (fun t : ℝ => lagrangianTerm ω c s xf y u (fun x => 2 * lam x + t • φ x)) 0 0) ∧
(∀ φ : Pt n → ℂ, IsTestFn φ →
HasDerivAt (fun t : ℝ =>
lagrangianTerm ω c s xf y (fun x => u x + t • φ x) (fun x => 2 * lam x)) 0 0) ∧
(∀ h : Pt n → ℝ, IsTestFn h →
HasDerivAt (fun t : ℝ =>
lagrangianTerm ω (fun x => c x + t * h x) s xf y u (fun x => 2 * lam x))
(∫ x, 4 * ω ^ 2 * ((starRingEnd ℂ) (lam x) * u x).re / c x ^ 3 * h x) 0) := by sorry
end Arxiv2507_15035Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Fix natural numbers (the dimension) and (the number of measurement points). Both may be . Lebesgue measure on is written . For the space is a single point of measure .
Data and hypotheses. The statement takes the following data, with these assumptions:
-
Frequency. A real number with .
-
Sound speed. A function , a set and a real number . Together they satisfy all of the following:
- is measurable.
- There is with for every .
- is a bounded set.
- .
- for every .
No continuity, differentiability or upper bound is assumed for . The objects and appear nowhere else.
-
Source and measurements. A complex function (no assumptions). Points and complex numbers (no assumptions).
-
Forward field. A function that is as a map of real variables. It satisfies
Here, for any and any ,
with the Laplacian (sum of pure second partial derivatives).
- Adjoint field. A function that is locally integrable. For every test function it satisfies
- A test function is a compactly supported function. It is complex-valued here and real-valued in the third conclusion.
- There is no complex conjugate on in this identity.
The Lagrangian. For a sound speed and fields , define
The frequency , source , points and data are fixed throughout. The following conventions apply:
- All integrals here are Bochner integrals. They take the value whenever the integrand is not integrable.
- A division by in evaluates to .
- If is not twice differentiable at a point, the Laplacian there takes a default value rather than being undefined.
- For the misfit sum is , and the right-hand side of the adjoint identity is .
Conclusions. All three of the following hold. Each derivative is the ordinary derivative of a real-valued function of a real variable , taken at .
- Variation in the multiplier. For every complex test function ,
- Variation in the field. For every complex test function ,
- Variation in the sound speed. For every real-valued test function ,
In each case the assertion is that the derivative exists and equals the stated value. In every conclusion the multiplier slot of is filled by , not by .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.