Eq. (8) (as proved): the derivative of the Lagrangian in the sound speed is
ProvedArxiv2507_15035.lagrangian_deriv_sound_speedLet . 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 , and let be locally integrable with integrable. Then, for every real test function , the function is differentiable at with
Thus, at fixed , the partial derivative of the Lagrangian with respect to is .
Formalization Note The paper's eq. (8) prints . Eq. (4) puts a minus sign before the pairing and defines the pairing as a real part. Differentiating it gives . The statement is that derivative ("as proved"). The partial derivative is written as a directional derivative along compactly supported smooth perturbations of .
import Mathlib import Definitions.Def_Arxiv2507_15035_Basic open MeasureTheory
namespace Arxiv2507_15035
theorem lagrangian_deriv_sound_speed {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) (lam : Pt n → ℂ) (hlam : LocallyIntegrable lam)
(hint : Integrable (fun x => (starRingEnd ℂ) (lam x) * (helmholtzOp ω c u x + s x)))
(h : Pt n → ℝ) (hh : IsTestFn h) :
HasDerivAt (fun t : ℝ => lagrangianTerm ω (fun x => c x + t * h x) s xf y u lam)
(∫ x, 2 * ω ^ 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
Setting. Fix natural numbers (the dimension) and (the number of transducers), and work in with Euclidean structure and Lebesgue measure; all integrals below are over all of . The data are:
-
Frequency. A real number with .
-
Sound speed. A function , a set and a real number , satisfying all of the following:
- is (Borel) measurable;
- there is with for every ;
- is bounded;
- ;
- for every .
No continuity or smoothness of is assumed. The set and the constant appear only in this hypothesis, which can be satisfied, for example by with .
-
Source. An arbitrary function , with no regularity or integrability assumed on its own.
-
Measurements. Points and complex numbers .
-
Field. A function that is twice continuously differentiable as a map between real vector spaces.
-
Multiplier. A locally integrable function .
-
Integrability hypothesis. The function is Lebesgue integrable on . Here, for any real-valued ,
where is the Laplacian (the sum of the pure second partial derivatives along an orthonormal basis, applied to the complex-valued ).
- Perturbation direction. A real-valued function that is and has compact support.
The Lagrangian term. For a real-valued speed , define
Two conventions apply to this formula:
- The integral is a Bochner integral, and it is defined to be whenever the integrand is not integrable.
- The quotient is defined to be at any point where .
When the sum is empty and equals . The first summand does not depend on .
Claim. Consider the real function of one real variable
This function is differentiable at , and its derivative there equals
Points to note about the claim:
- This integral is also a Bochner integral, with the convention that it is if the integrand is not integrable. Integrability of this integrand is not among the hypotheses.
- The claim is about the two-sided derivative at only. For , the integrand inside need not be integrable, and may vanish somewhere. In those cases the zero conventions above determine the value of .
- In the degenerate case , the space is a single point carrying unit mass. All integrals then reduce to evaluation at that point, and the Laplacian there is .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.