Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Time-reversal mirror, transport equation and explicit moment coefficients (Garnier–Sølna)

Definition
Arxiv2201_05558_Basic

by Xeroth · Nov 25, 2026 · Mathlib 0df444a (Lean v4.33.1)

asymptotic-expansionparaxial-wavesrandom-mediariccati-equationtime-reversal

Objects of Sections 3.1, 5.4, 5.6 and 5.7 of Garnier and Sølna (2022). Throughout, R2\mathbb{R}^2R2 is the transverse plane with Euclidean norm ∣⋅∣|\cdot|∣⋅∣, inner product x⋅ζx\cdot\zetax⋅ζ and Lebesgue measure.

  1. Time-reversal mirror (Section 3.1). For a field G:R2→CG:\mathbb{R}^2\to\mathbb{C}G:R2→C on the mirror plane (a Green's function x′↦G(ω,L,⋅,x′)x'\mapsto\mathcal G(\omega,L,\cdot,x')x′↦G(ω,L,⋅,x′)), a Gaussian element of radius ρ0\rho_0ρ0​ centred at xmx_mxm​ gives (2πρ02)−1∫G(xm+x′)e−∣x′∣2/(2ρ02)dx′(2\pi\rho_0^2)^{-1}\int G(x_m+x')e^{-|x'|^2/(2\rho_0^2)}dx'(2πρ02​)−1∫G(xm​+x′)e−∣x′∣2/(2ρ02​)dx′ (eqs. (3.1), (3.3)). The time-reversed field of a Gaussian mirror of radius RmR_mRm​ is u^tr=∫u^em(xm)e−∣xm∣2/Rm2u^rec(xm)‾dxm\hat u_{\rm tr}=\int \hat u_{\rm em}(x_m)e^{-|x_m|^2/R_m^2}\overline{\hat u_{\rm rec}(x_m)}dx_mu^tr​=∫u^em​(xm​)e−∣xm​∣2/Rm2​u^rec​(xm​)​dxm​ (eq. (3.2)), and K0=co2(r02−ρ02)/(16πωω~ρ02r02)K_0=c_o^2(r_0^2-\rho_0^2)/(16\pi\omega\tilde\omega\rho_0^2r_0^2)K0​=co2​(r02​−ρ02​)/(16πωω~ρ02​r02​) (eq. (3.5)).
  2. Transport equation (Section 5.4). C^(k)=∫C(x)e−ik⋅xdx\hat C(k)=\int C(x)e^{-ik\cdot x}dxC^(k)=∫C(x)e−ik⋅xdx is the Fourier transform of the covariance function CCC, and K(z)=(2π)4exp⁡(−ω02C(0)z/(4co2))K(z)=(2\pi)^4\exp(-\omega_0^2C(0)z/(4c_o^2))K(z)=(2π)4exp(−ω02​C(0)z/(4co2​)) (eq. (5.13)). The right-hand side of (5.14) is
icoΩω02∣ξ∣2A+ω024(2π)2co2∫C^(k)[A(ξ−k)eicozω0k⋅ζ−A(ξ)]dk+ω024(2π)2co2K(z)C^(ξ)eicozω0ξ⋅ζ.\frac{ic_o\Omega}{\omega_0^2}|\xi|^2A+\frac{\omega_0^2}{4(2\pi)^2c_o^2}\int\hat C(k)\big[A(\xi-k)e^{\frac{ic_oz}{\omega_0}k\cdot\zeta}-A(\xi)\big]dk+\frac{\omega_0^2}{4(2\pi)^2c_o^2}K(z)\hat C(\xi)e^{\frac{ic_oz}{\omega_0}\xi\cdot\zeta}.ω02​ico​Ω​∣ξ∣2A+4(2π)2co2​ω02​​∫C^(k)[A(ξ−k)eω0​ico​z​k⋅ζ−A(ξ)]dk+4(2π)2co2​ω02​​K(z)C^(ξ)eω0​ico​z​ξ⋅ζ.

The function of eq. (5.27) is A(z,ξ,ζ,0)=K(z)(2π)2∫[exp⁡(ω024co2∫0zC(x+coζω0z′)dz′)−1]e−iξ⋅xdxA(z,\xi,\zeta,0)=\frac{K(z)}{(2\pi)^2}\int\big[\exp\big(\frac{\omega_0^2}{4c_o^2}\int_0^zC(x+\frac{c_o\zeta}{\omega_0}z')dz'\big)-1\big]e^{-i\xi\cdot x}dxA(z,ξ,ζ,0)=(2π)2K(z)​∫[exp(4co2​ω02​​∫0z​C(x+ω0​co​ζ​z′)dz′)−1]e−iξ⋅xdx. 3. The functions Ψ\PsiΨ (eqs. (5.43)-(5.46), (5.57)-(5.60)). With w=e−iπ/4w=e^{-i\pi/4}w=e−iπ/4 and a parameter T∈CT\in\mathbb{C}T∈C (T=0T=0T=0 in Proposition 5.4, T=T0T=T_0T=T0​ in Proposition 5.7):

Ψa(s)=ln⁡[cosh⁡(ws)+Tsinh⁡(ws)],Ψb(s)=T+tanh⁡(ws)ws [1+Ttanh⁡(ws)],\Psi_a(s)=\ln[\cosh(ws)+T\sinh(ws)],\qquad \Psi_b(s)=\frac{T+\tanh(ws)}{ws\,[1+T\tanh(ws)]},Ψa​(s)=ln[cosh(ws)+Tsinh(ws)],Ψb​(s)=ws[1+Ttanh(ws)]T+tanh(ws)​, Ψc(s)=2i N(s)s2,Ψd(s)=1−3is3∫0sN(s′)2ds′,N(s)=wsT+tanh⁡(ws)1+Ttanh⁡(ws)−1+[cosh⁡(ws)+Tsinh⁡(ws)]−1.\Psi_c(s)=\frac{2i\,N(s)}{s^2},\qquad \Psi_d(s)=1-\frac{3i}{s^3}\int_0^sN(s')^2ds',\qquad N(s)=ws\frac{T+\tanh(ws)}{1+T\tanh(ws)}-1+[\cosh(ws)+T\sinh(ws)]^{-1}.Ψc​(s)=s22iN(s)​,Ψd​(s)=1−s33i​∫0s​N(s′)2ds′,N(s)=ws1+Ttanh(ws)T+tanh(ws)​−1+[cosh(ws)+Tsinh(ws)]−1.

Here T0=2e−iπ/4co3Ω/D/(ω02ρ02)T_0=2e^{-i\pi/4}\sqrt{c_o^3\Omega/D}/(\omega_0^2\rho_0^2)T0​=2e−iπ/4co3​Ω/D​/(ω02​ρ02​) (eq. (5.61)). 4. Coefficients (eqs. (5.39)-(5.42)). For Ω≥0\Omega\ge0Ω≥0 and s=DΩ/(4co) zs=\sqrt{D\Omega/(4c_o)}\,zs=DΩ/(4co​)​z: aΩ(z)=Ψa(s)a_\Omega(z)=\Psi_a(s)aΩ​(z)=Ψa​(s), bΩ(z)=ω02Dz16co2Ψb(s)b_\Omega(z)=\frac{\omega_0^2Dz}{16c_o^2}\Psi_b(s)bΩ​(z)=16co2​ω02​Dz​Ψb​(s), cΩ(z)=ω0Dz216coΨc(s)c_\Omega(z)=\frac{\omega_0Dz^2}{16c_o}\Psi_c(s)cΩ​(z)=16co​ω0​Dz2​Ψc​(s) and dΩ(z)=Dz348Ψd(s)d_\Omega(z)=\frac{Dz^3}{48}\Psi_d(s)dΩ​(z)=48Dz3​Ψd​(s). For Ω<0\Omega<0Ω<0, (a,b,c,d)Ω=(a,b,c,d)−Ω‾(a,b,c,d)_\Omega=\overline{(a,b,c,d)_{-\Omega}}(a,b,c,d)Ω​=(a,b,c,d)−Ω​​, as in the proof of Proposition 5.4. The function A^s(z,x,ζ,Ω)=(2π)2exp⁡[−aΩ(z)−bΩ(z)∣x∣2−cΩ(z)x⋅ζ−dΩ(z)∣ζ∣2]\hat A_s(z,x,\zeta,\Omega)=(2\pi)^2\exp[-a_\Omega(z)-b_\Omega(z)|x|^2-c_\Omega(z)x\cdot\zeta-d_\Omega(z)|\zeta|^2]A^s​(z,x,ζ,Ω)=(2π)2exp[−aΩ​(z)−bΩ​(z)∣x∣2−cΩ​(z)x⋅ζ−dΩ​(z)∣ζ∣2] is eq. (5.38). 5. Equations of the proofs. The reduced moment equation of the proof of Proposition 5.4 is

∂zA^=−icoΩω02ΔxA^−ω02D16co2[∣x∣2+z2co2ω02∣ζ∣2+2zcoω0ζ⋅x]A^\partial_z\hat A=-\frac{ic_o\Omega}{\omega_0^2}\Delta_x\hat A-\frac{\omega_0^2D}{16c_o^2}\Big[|x|^2+\frac{z^2c_o^2}{\omega_0^2}|\zeta|^2+\frac{2zc_o}{\omega_0}\zeta\cdot x\Big]\hat A∂z​A^=−ω02​ico​Ω​Δx​A^−16co2​ω02​D​[∣x∣2+ω02​z2co2​​∣ζ∣2+ω0​2zco​​ζ⋅x]A^

on z>0z>0z>0, with initial value A^(z,x)→A^0(x)\hat A(z,x)\to\hat A_0(x)A^(z,x)→A^0​(x) as z→0+z\to0^+z→0+. The coefficient system (5.47)-(5.50) on z>0z>0z>0 is

a′=−i4coΩω02b,b′=ω02D16co2+i4coΩω02b2,c′=ω0Dz8co+i4coΩω02bc,d′=Dz216+icoΩω02c2.a'=-i\tfrac{4c_o\Omega}{\omega_0^2}b,\quad b'=\tfrac{\omega_0^2D}{16c_o^2}+i\tfrac{4c_o\Omega}{\omega_0^2}b^2,\quad c'=\tfrac{\omega_0Dz}{8c_o}+i\tfrac{4c_o\Omega}{\omega_0^2}bc,\quad d'=\tfrac{Dz^2}{16}+i\tfrac{c_o\Omega}{\omega_0^2}c^2.a′=−iω02​4co​Ω​b,b′=16co2​ω02​D​+iω02​4co​Ω​b2,c′=8co​ω0​Dz​+iω02​4co​Ω​bc,d′=16Dz2​+iω02​co​Ω​c2.

Formalization Note The paper does not specify the branch of ln⁡\lnln in Ψa\Psi_aΨa​. Here Ψa\Psi_aΨa​ is the determination continuous in s≥0s\ge0s≥0 with Ψa(0)=0\Psi_a(0)=0Ψa​(0)=0, written as ∫0sw sinh⁡(wt)+Tcosh⁡(wt)cosh⁡(wt)+Tsinh⁡(wt) dt\int_0^s w\,\frac{\sinh(wt)+T\cosh(wt)}{\cosh(wt)+T\sinh(wt)}\,dt∫0s​wcosh(wt)+Tsinh(wt)sinh(wt)+Tcosh(wt)​dt. This is the coefficient aΩa_\OmegaaΩ​ that solves (5.47) with aΩ(0)=0a_\Omega(0)=0aΩ​(0)=0. The principal logarithm would jump at s=2 πs=\sqrt2\,\pis=2​π, where cosh⁡(ws)=−cosh⁡π<0\cosh(ws)=-\cosh\pi<0cosh(ws)=−coshπ<0. The formulas for Ψb,c,d\Psi_{b,c,d}Ψb,c,d​ are undefined at s=0s=0s=0; Lean assigns them junk values there, which no statement uses.

Definition code
import Mathlib

/-!
J. Garnier and K. Sølna, *Speckle Memory Effect in the Frequency Domain and Stability in
Time-Reversal Experiments*, arXiv:2201.05558v1 (2022): the time-reversal mirror of Section 3.1,
the transport equation (5.13)-(5.14) of Section 5.4 and its zero-offset solution (5.27), the
explicit coefficient functions of Propositions 5.4 and 5.7 (Sections 5.6 and 5.7), and the
reduced moment equation and coefficient ODE system (5.47)-(5.50) used in their proofs.
-/

open MeasureTheory Filter Topology

noncomputable section

namespace Arxiv2201_05558

/-- The transverse plane `ℝ²` of the paper (Section 2), with its Euclidean norm, inner product
and Lebesgue measure. -/
abbrev Plane := EuclideanSpace ℝ (Fin 2)

/-! ### Section 3.1: the time-harmonic time-reversal mirror -/

/-- Eqs. (3.1) and (3.3): the field `G` (a Green's function `x' ↦ 𝒢(ω, L, ·, x')` on the mirror
plane) smoothed by a Gaussian mirror element of radius `ρ₀` centred at `x_m`:
`(2πρ₀²)⁻¹ ∫ G(x_m + x') exp(-|x'|²/(2ρ₀²)) dx'`. -/
def elemField (ρ0 : ℝ) (G : Plane → ℂ) (xm : Plane) : ℂ :=
  (1 / (2 * Real.pi * ρ0 ^ 2) : ℂ) *
    ∫ x', G (xm + x') * (Real.exp (-‖x'‖ ^ 2 / (2 * ρ0 ^ 2)) : ℂ)

/-- Eq. (3.2): the time-reversed field `û_tr = ∫ û_em(x_m) exp(-|x_m|²/R_m²) conj(û_rec(x_m)) dx_m`
for a Gaussian mirror of radius `R_m`, where `û_em` is the element field (3.3) of the emitting
Green's function `G1` and `û_rec` the element field (3.1) of the recording Green's function `G2`. -/
def trField (Rm ρ0 : ℝ) (G1 G2 : Plane → ℂ) : ℂ :=
  ∫ xm, elemField ρ0 G1 xm * (Real.exp (-‖xm‖ ^ 2 / Rm ^ 2) : ℂ) *
    starRingEnd ℂ (elemField ρ0 G2 xm)

/-- Eq. (3.5): the constant `K₀ = c_o²(r₀² - ρ₀²) / (16 π ω ω̃ ρ₀² r₀²)`. -/
def K0 (c0 ω ωt r0 ρ0 : ℝ) : ℝ :=
  c0 ^ 2 * (r0 ^ 2 - ρ0 ^ 2) / (16 * Real.pi * ω * ωt * ρ0 ^ 2 * r0 ^ 2)

/-! ### Section 5.4: the transport equation -/

/-- The Fourier transform `Ĉ(k) = ∫ C(x) e^{-i k·x} dx` of the covariance function `C` of (2.8)
(Section 5.4; `C` is even, so the sign convention of the exponent does not matter). -/
def covFT (C : Plane → ℝ) (k : Plane) : ℂ :=
  ∫ x, (C x : ℂ) * Complex.exp (-(Complex.I * (inner ℝ k x : ℝ)))

/-- Eq. (5.13): `K(z) = (2π)⁴ exp(-ω₀² C(0) z / (4 c_o²))`. -/
def Kcoh (ω0 c0 : ℝ) (C : Plane → ℝ) (z : ℝ) : ℝ :=
  (2 * Real.pi) ^ 4 * Real.exp (-(ω0 ^ 2 / (4 * c0 ^ 2)) * C 0 * z)

/-- Eq. (5.14): the right-hand side of the transport equation for `A(z, ξ, ζ, Ω)` (with `ζ` and
`Ω` frozen):
`(i c_o Ω/ω₀²)|ξ|² A + ω₀²/(4(2π)²c_o²) ∫ Ĉ(k)[A(ξ-k) e^{i c_o z k·ζ/ω₀} - A(ξ)] dk
 + ω₀²/(4(2π)²c_o²) K(z) Ĉ(ξ) e^{i c_o z ξ·ζ/ω₀}`. -/
def transportRHS (ω0 c0 : ℝ) (C : Plane → ℝ) (Ω : ℝ) (ζ : Plane) (A : ℝ → Plane → ℂ)
    (z : ℝ) (ξ : Plane) : ℂ :=
  Complex.I * (c0 * Ω / ω0 ^ 2 * ‖ξ‖ ^ 2 : ℝ) * A z ξ +
    (ω0 ^ 2 / (4 * (2 * Real.pi) ^ 2 * c0 ^ 2) : ℝ) *
      ∫ k, covFT C k * (A z (ξ - k) *
        Complex.exp (Complex.I * (c0 * z / ω0 * inner ℝ k ζ : ℝ)) - A z ξ) +
    (ω0 ^ 2 / (4 * (2 * Real.pi) ^ 2 * c0 ^ 2) : ℝ) * (Kcoh ω0 c0 C z : ℂ) * covFT C ξ *
      Complex.exp (Complex.I * (c0 * z / ω0 * inner ℝ ξ ζ : ℝ))

/-- Eq. (5.27): the explicit function
`A(z, ξ, ζ, 0) = K(z)/(2π)² ∫ [exp(ω₀²/(4c_o²) ∫₀^z C(x + c_o ζ z'/ω₀) dz') - 1] e^{-i ξ·x} dx`. -/
def transportZero (ω0 c0 : ℝ) (C : Plane → ℝ) (ζ : Plane) (z : ℝ) (ξ : Plane) : ℂ :=
  (Kcoh ω0 c0 C z / (2 * Real.pi) ^ 2 : ℝ) *
    ∫ x, ((Real.exp (ω0 ^ 2 / (4 * c0 ^ 2) *
        ∫ z' in (0 : ℝ)..z, C (x + (c0 * z' / ω0) • ζ)) - 1 : ℝ) : ℂ) *
      Complex.exp (-(Complex.I * (inner ℝ ξ x : ℝ)))

/-! ### Sections 5.6-5.7: the functions `Ψ_{a,b,c,d}` -/

/-- The complex number `e^{-iπ/4}`, which appears in (5.43)-(5.46) and (5.57)-(5.61). -/
def eMinusQuarter : ℂ := Complex.exp (-(((Real.pi / 4 : ℝ) : ℂ) * Complex.I))

/-- Eq. (5.57) (eq. (5.43) when `T = 0`): `Ψ_a(s) = ln[cosh(e^{-iπ/4}s) + T sinh(e^{-iπ/4}s)]`,
the logarithm being the determination continuous in `s ≥ 0` with `Ψ_a(0) = 0` (the paper's
`a_Ω` solves (5.47) with `a_Ω(0) = 0`), written as the integral of its `s`-derivative. -/
def psiA (T : ℂ) (s : ℝ) : ℂ :=
  ∫ t in (0 : ℝ)..s, eMinusQuarter *
    ((Complex.sinh (eMinusQuarter * t) + T * Complex.cosh (eMinusQuarter * t)) /
      (Complex.cosh (eMinusQuarter * t) + T * Complex.sinh (eMinusQuarter * t)))

/-- Eq. (5.58) (eq. (5.44) when `T = 0`):
`Ψ_b(s) = (T + tanh(e^{-iπ/4}s)) / (e^{-iπ/4}s [1 + T tanh(e^{-iπ/4}s)])`. -/
def psiB (T : ℂ) (s : ℝ) : ℂ :=
  (T + Complex.tanh (eMinusQuarter * s)) /
    (eMinusQuarter * s * (1 + T * Complex.tanh (eMinusQuarter * s)))

/-- The numerator of (5.59) (of (5.45) when `T = 0`), also the integrand base of (5.60):
`e^{-iπ/4}s (T + tanh(e^{-iπ/4}s))/(1 + T tanh(e^{-iπ/4}s)) - 1
 + [cosh(e^{-iπ/4}s) + T sinh(e^{-iπ/4}s)]⁻¹`. -/
def psiNum (T : ℂ) (s : ℝ) : ℂ :=
  eMinusQuarter * s * ((T + Complex.tanh (eMinusQuarter * s)) /
      (1 + T * Complex.tanh (eMinusQuarter * s))) - 1 +
    (Complex.cosh (eMinusQuarter * s) + T * Complex.sinh (eMinusQuarter * s))⁻¹

/-- Eq. (5.59) (eq. (5.45) when `T = 0`): `Ψ_c(s) = 2i · psiNum(s) / s²`. -/
def psiC (T : ℂ) (s : ℝ) : ℂ :=
  2 * Complex.I * psiNum T s / (s : ℂ) ^ 2

/-- Eq. (5.60) (eq. (5.46) when `T = 0`): `Ψ_d(s) = 1 - (3i/s³) ∫₀^s psiNum(s')² ds'`. -/
def psiD (T : ℂ) (s : ℝ) : ℂ :=
  1 - 3 * Complex.I / (s : ℂ) ^ 3 * ∫ t in (0 : ℝ)..s, psiNum T t ^ 2

/-- Eq. (5.61): `T₀ = 2 e^{-iπ/4} √(c_o³ Ω / D) / (ω₀² ρ₀²)` (for `Ω ≥ 0`). -/
def T0 (ω0 c0 D ρ0 Ω : ℝ) : ℂ :=
  2 * eMinusQuarter / (ω0 ^ 2 * ρ0 ^ 2 : ℝ) * (Real.sqrt (c0 ^ 3 * Ω / D) : ℂ)

/-- The argument `s = √(DΩ/(4c_o)) z` of the `Ψ`-functions in (5.39)-(5.42) (for `Ω ≥ 0`). -/
def sArg (c0 D Ω z : ℝ) : ℝ := Real.sqrt (D * Ω / (4 * c0)) * z

/-! ### The coefficients `a_Ω, b_Ω, c_Ω, d_Ω` -/

/-- Eqs. (5.39)-(5.42) for `Ω ≥ 0`: the coefficient `a_Ω(z) = Ψ_a(s)`, the `Ψ`-functions having
parameter `T` (`T = 0` in Proposition 5.4, `T = T₀` in Proposition 5.7). -/
def aPos (c0 D : ℝ) (T : ℂ) (Ω z : ℝ) : ℂ := psiA T (sArg c0 D Ω z)

/-- Eq. (5.40) for `Ω ≥ 0`: `b_Ω(z) = (ω₀² D z / (16 c_o²)) Ψ_b(s)`. -/
def bPos (ω0 c0 D : ℝ) (T : ℂ) (Ω z : ℝ) : ℂ :=
  (ω0 ^ 2 * D * z / (16 * c0 ^ 2) : ℝ) * psiB T (sArg c0 D Ω z)

/-- Eq. (5.41) for `Ω ≥ 0`: `c_Ω(z) = (ω₀ D z² / (16 c_o)) Ψ_c(s)`. -/
def cPos (ω0 c0 D : ℝ) (T : ℂ) (Ω z : ℝ) : ℂ :=
  (ω0 * D * z ^ 2 / (16 * c0) : ℝ) * psiC T (sArg c0 D Ω z)

/-- Eq. (5.42) for `Ω ≥ 0`: `d_Ω(z) = (D z³ / 48) Ψ_d(s)`. -/
def dPos (c0 D : ℝ) (T : ℂ) (Ω z : ℝ) : ℂ :=
  (D * z ^ 3 / 48 : ℝ) * psiD T (sArg c0 D Ω z)

/-- `a_Ω(z)` for every real `Ω`: (5.39) for `Ω ≥ 0`, and `a_Ω = conj(a_{-Ω})` for `Ω < 0` (proof of
Proposition 5.4, p. 21). `T Ω` is the parameter of the `Ψ`-functions at offset `Ω ≥ 0`. -/
def aOm (c0 D : ℝ) (T : ℝ → ℂ) (Ω z : ℝ) : ℂ :=
  if 0 ≤ Ω then aPos c0 D (T Ω) Ω z else starRingEnd ℂ (aPos c0 D (T (-Ω)) (-Ω) z)

/-- `b_Ω(z)` for every real `Ω`: (5.40) for `Ω ≥ 0`, `b_Ω = conj(b_{-Ω})` for `Ω < 0`. -/
def bOm (ω0 c0 D : ℝ) (T : ℝ → ℂ) (Ω z : ℝ) : ℂ :=
  if 0 ≤ Ω then bPos ω0 c0 D (T Ω) Ω z else starRingEnd ℂ (bPos ω0 c0 D (T (-Ω)) (-Ω) z)

/-- `c_Ω(z)` for every real `Ω`: (5.41) for `Ω ≥ 0`, `c_Ω = conj(c_{-Ω})` for `Ω < 0`. -/
def cOm (ω0 c0 D : ℝ) (T : ℝ → ℂ) (Ω z : ℝ) : ℂ :=
  if 0 ≤ Ω then cPos ω0 c0 D (T Ω) Ω z else starRingEnd ℂ (cPos ω0 c0 D (T (-Ω)) (-Ω) z)

/-- `d_Ω(z)` for every real `Ω`: (5.42) for `Ω ≥ 0`, `d_Ω = conj(d_{-Ω})` for `Ω < 0`. -/
def dOm (c0 D : ℝ) (T : ℝ → ℂ) (Ω z : ℝ) : ℂ :=
  if 0 ≤ Ω then dPos c0 D (T Ω) Ω z else starRingEnd ℂ (dPos c0 D (T (-Ω)) (-Ω) z)

/-- Eq. (5.38): the complex Gaussian
`(2π)² exp[-a - b|x|² - c x·ζ - d|ζ|²]`. -/
def gaussForm (a b c d : ℂ) (x ζ : Plane) : ℂ :=
  (2 * Real.pi : ℂ) ^ 2 *
    Complex.exp (-a - b * (‖x‖ ^ 2 : ℝ) - c * (inner ℝ x ζ : ℝ) - d * (‖ζ‖ ^ 2 : ℝ))

/-- Eq. (5.38) with the coefficients (5.39)-(5.42): the function
`Â_s(z, x, ζ, Ω) = (2π)² exp[-a_Ω(z) - b_Ω(z)|x|² - c_Ω(z) x·ζ - d_Ω(z)|ζ|²]`, the `Ψ`-functions
having parameter `T Ω`. -/
def hatAs (ω0 c0 D : ℝ) (T : ℝ → ℂ) (Ω : ℝ) (ζ : Plane) (z : ℝ) (x : Plane) : ℂ :=
  gaussForm (aOm c0 D T Ω z) (bOm ω0 c0 D T Ω z) (cOm ω0 c0 D T Ω z) (dOm c0 D T Ω z) x ζ

/-! ### The equations used in the proofs of Propositions 5.4 and 5.7 -/

/-- Proof of Proposition 5.4 (p. 21): the right-hand side of the equation for `Â_s`,
`-(i c_o Ω/ω₀²) Δ_x  - (ω₀² D/(16 c_o²)) [|x|² + z² c_o² |ζ|²/ω₀² + 2 z c_o ζ·x/ω₀] Â`. -/
def momentRHS (ω0 c0 D Ω : ℝ) (ζ : Plane) (F : ℝ → Plane → ℂ) (z : ℝ) (x : Plane) : ℂ :=
  -(Complex.I * (c0 * Ω / ω0 ^ 2 : ℝ)) * Laplacian.laplacian (F z) x -
    (ω0 ^ 2 * D / (16 * c0 ^ 2) *
      (‖x‖ ^ 2 + z ^ 2 * c0 ^ 2 / ω0 ^ 2 * ‖ζ‖ ^ 2 + 2 * z * c0 / ω0 * inner ℝ ζ x) : ℝ) * F z x

/-- Proof of Proposition 5.4 (p. 21): `F` solves the equation for `Â_s` on `z > 0`, with
`F(z, x) → F₀(x)` as `z → 0⁺` for every `x` (the initial condition). -/
def SolvesMomentEq (ω0 c0 D Ω : ℝ) (ζ : Plane) (F : ℝ → Plane → ℂ) (F0 : Plane → ℂ) : Prop :=
  (∀ x, Tendsto (fun z => F z x) (𝓝[>] 0) (𝓝 (F0 x))) ∧
    ∀ z : ℝ, 0 < z → ∀ x, HasDerivAt (fun z' => F z' x) (momentRHS ω0 c0 D Ω ζ F z x) z

/-- Eqs. (5.47)-(5.50): on `z > 0`,
`a' = -i(4c_oΩ/ω₀²) b`, `b' = ω₀²D/(16c_o²) + i(4c_oΩ/ω₀²) b²`,
`c' = ω₀Dz/(8c_o) + i(4c_oΩ/ω₀²) b c`, `d' = Dz²/16 + i(c_oΩ/ω₀²) c²`. -/
def SolvesCoefODE (ω0 c0 D Ω : ℝ) (a b c d : ℝ → ℂ) : Prop :=
  ∀ z : ℝ, 0 < z →
    HasDerivAt a (-(Complex.I * (4 * c0 * Ω / ω0 ^ 2 : ℝ)) * b z) z ∧
    HasDerivAt b ((ω0 ^ 2 * D / (16 * c0 ^ 2) : ℝ) +
      Complex.I * (4 * c0 * Ω / ω0 ^ 2 : ℝ) * b z ^ 2) z ∧
    HasDerivAt c ((ω0 * D * z / (8 * c0) : ℝ) +
      Complex.I * (4 * c0 * Ω / ω0 ^ 2 : ℝ) * b z * c z) z ∧
    HasDerivAt d ((D * z ^ 2 / 16 : ℝ) + Complex.I * (c0 * Ω / ω0 ^ 2 : ℝ) * c z ^ 2) z

end Arxiv2201_05558
Source
Garnier and Sølna, Speckle Memory Effect in the Frequency Domain and Stability in Time-Reversal Experiments, arXiv:2201.05558v1 (2022), Section 3.1 (eqs. (3.1)-(3.5)), Section 5.4 (eqs. (5.13)-(5.14)), Section 5.6 (eqs. (5.27), (5.38)-(5.50), proof of Proposition 5.4), Section 5.7 (eqs. (5.57)-(5.61))
Read-back

What the Lean code literally says, in plain math · claude-opus-5-5

Setting (Plane\mathrm{Plane}Plane). Throughout, the plane is R2\mathbb{R}^2R2 with its Euclidean norm ∣x∣|x|∣x∣, its inner product x⋅yx\cdot yx⋅y, and Lebesgue measure dxdxdx. The following conventions apply to every definition below:

  • An integral over R2\mathbb{R}^2R2 is a Lebesgue integral of a complex-valued function. If the integrand is not integrable, the integral is 000.
  • An integral ∫0s\int_0^s∫0s​ is oriented, so ∫0s=−∫s0\int_0^s = -\int_s^0∫0s​=−∫s0​ when s<0s<0s<0. It also equals 000 when its integrand is not integrable on the interval.
  • Division by zero, and the inverse of zero, return 000.
  • The real square root of a negative number is 000.
  • No positivity, integrability, evenness or smoothness assumptions are made on any parameter or function unless stated.

elemField\mathrm{elemField}elemField. Inputs: a real number ρ0\rho_0ρ0​, a function G:R2→CG:\mathbb{R}^2\to\mathbb{C}G:R2→C, and a point xm∈R2x_m\in\mathbb{R}^2xm​∈R2. The value is

elemFieldρ0(G)(xm)=12πρ02∫R2G(xm+x′) exp⁡ ⁣(−∣x′∣22ρ02) dx′.\mathrm{elemField}_{\rho_0}(G)(x_m)=\frac{1}{2\pi\rho_0^2}\int_{\mathbb{R}^2} G(x_m+x')\,\exp\!\Big(-\frac{|x'|^2}{2\rho_0^2}\Big)\,dx'.elemFieldρ0​​(G)(xm​)=2πρ02​1​∫R2​G(xm​+x′)exp(−2ρ02​∣x′∣2​)dx′.
  • The sign of ρ0\rho_0ρ0​ is irrelevant, since only ρ02\rho_0^2ρ02​ enters.
  • If ρ0=0\rho_0=0ρ0​=0, the prefactor is 1/0=01/0=01/0=0, so the value is 000 for every GGG.
  • If G(xm+⋅)G(x_m+\cdot)G(xm​+⋅) times the Gaussian is not integrable, the value is 000.

trField\mathrm{trField}trField. Inputs: real numbers Rm,ρ0R_m,\rho_0Rm​,ρ0​ and two functions G1,G2:R2→CG_1,G_2:\mathbb{R}^2\to\mathbb{C}G1​,G2​:R2→C. Write Ej(xm)=elemFieldρ0(Gj)(xm)E_j(x_m)=\mathrm{elemField}_{\rho_0}(G_j)(x_m)Ej​(xm​)=elemFieldρ0​​(Gj​)(xm​) as defined above. The value is

trField=∫R2E1(xm) exp⁡ ⁣(−∣xm∣2Rm2) E2(xm)‾ dxm.\mathrm{trField}=\int_{\mathbb{R}^2} E_1(x_m)\,\exp\!\Big(-\frac{|x_m|^2}{R_m^2}\Big)\,\overline{E_2(x_m)}\,dx_m.trField=∫R2​E1​(xm​)exp(−Rm2​∣xm​∣2​)E2​(xm​)​dxm​.
  • If Rm=0R_m=0Rm​=0, the weight is exp⁡(0)=1\exp(0)=1exp(0)=1 everywhere.
  • If the integrand is not integrable, the value is 000.

K0K_0K0​. For real numbers c0,ω,ω~,r0,ρ0c_0,\omega,\tilde\omega,r_0,\rho_0c0​,ω,ω~,r0​,ρ0​:

K0=c02 (r02−ρ02)16π ω ω~ ρ02 r02.K_0=\frac{c_0^2\,(r_0^2-\rho_0^2)}{16\pi\,\omega\,\tilde\omega\,\rho_0^2\,r_0^2}.K0​=16πωω~ρ02​r02​c02​(r02​−ρ02​)​.

This is a real number. It equals 000 whenever any of ω,ω~,ρ0,r0\omega,\tilde\omega,\rho_0,r_0ω,ω~,ρ0​,r0​ is 000.

covFT\mathrm{covFT}covFT. For a real-valued function C:R2→RC:\mathbb{R}^2\to\mathbb{R}C:R2→R and k∈R2k\in\mathbb{R}^2k∈R2:

C^(k)=∫R2C(x) e−i k⋅x dx∈C.\hat C(k)=\int_{\mathbb{R}^2} C(x)\,e^{-i\,k\cdot x}\,dx\in\mathbb{C}.C^(k)=∫R2​C(x)e−ik⋅xdx∈C.
  • CCC is not assumed to be even, integrable, or a covariance.
  • If CCC is not integrable, then C^(k)=0\hat C(k)=0C^(k)=0 for all kkk.

KKK (Kcoh). For real numbers ω0,c0,z\omega_0,c_0,zω0​,c0​,z and C:R2→RC:\mathbb{R}^2\to\mathbb{R}C:R2→R:

K(z)=(2π)4exp⁡ ⁣(−ω024c02 C(0) z).K(z)=(2\pi)^4\exp\!\Big(-\frac{\omega_0^2}{4c_0^2}\,C(0)\,z\Big).K(z)=(2π)4exp(−4c02​ω02​​C(0)z).

This is a real number defined for every real zzz, including z<0z<0z<0. If c0=0c_0=0c0​=0, the coefficient ω02/(4c02)\omega_0^2/(4c_0^2)ω02​/(4c02​) is 000 and K(z)=(2π)4K(z)=(2\pi)^4K(z)=(2π)4.

transportRHS\mathrm{transportRHS}transportRHS. Inputs:

  • real numbers ω0,c0,Ω,z\omega_0,c_0,\Omega,zω0​,c0​,Ω,z;
  • C:R2→RC:\mathbb{R}^2\to\mathbb{R}C:R2→R;
  • ζ,ξ∈R2\zeta,\xi\in\mathbb{R}^2ζ,ξ∈R2;
  • a function A:R×R2→CA:\mathbb{R}\times\mathbb{R}^2\to\mathbb{C}A:R×R2→C.

Write κ=ω024(2π)2c02\kappa=\dfrac{\omega_0^2}{4(2\pi)^2c_0^2}κ=4(2π)2c02​ω02​​, and use C^\hat CC^ and KKK as defined above. The value is

i c0Ωω02∣ξ∣2 A(z,ξ)+κ∫R2C^(k)[A(z,ξ−k) eic0zω0k⋅ζ−A(z,ξ)]dk+κ K(z) C^(ξ) eic0zω0ξ⋅ζ.i\,\frac{c_0\Omega}{\omega_0^2}|\xi|^2\,A(z,\xi) +\kappa\int_{\mathbb{R}^2}\hat C(k)\Big[A(z,\xi-k)\,e^{i\frac{c_0 z}{\omega_0}k\cdot\zeta}-A(z,\xi)\Big]dk +\kappa\,K(z)\,\hat C(\xi)\,e^{i\frac{c_0 z}{\omega_0}\xi\cdot\zeta}.iω02​c0​Ω​∣ξ∣2A(z,ξ)+κ∫R2​C^(k)[A(z,ξ−k)eiω0​c0​z​k⋅ζ−A(z,ξ)]dk+κK(z)C^(ξ)eiω0​c0​z​ξ⋅ζ.
  • The middle integral is taken of the whole bracketed expression times C^(k)\hat C(k)C^(k). If that combined integrand is not integrable, the middle term is 000.
  • If ω0=0\omega_0=0ω0​=0, then c0Ω/ω02=0c_0\Omega/\omega_0^2=0c0​Ω/ω02​=0, c0z/ω0=0c_0z/\omega_0=0c0​z/ω0​=0, and κ=0\kappa=0κ=0.
  • If c0=0c_0=0c0​=0, then κ=0\kappa=0κ=0.

transportZero\mathrm{transportZero}transportZero. Inputs: real numbers ω0,c0,z\omega_0,c_0,zω0​,c0​,z, C:R2→RC:\mathbb{R}^2\to\mathbb{R}C:R2→R, and ζ,ξ∈R2\zeta,\xi\in\mathbb{R}^2ζ,ξ∈R2. The value is

K(z)(2π)2∫R2[exp⁡ ⁣(ω024c02∫0zC(x+c0z′ω0ζ) dz′)−1]e−i ξ⋅x dx,\frac{K(z)}{(2\pi)^2}\int_{\mathbb{R}^2}\Big[\exp\!\Big(\frac{\omega_0^2}{4c_0^2}\int_0^z C\big(x+\tfrac{c_0 z'}{\omega_0}\zeta\big)\,dz'\Big)-1\Big]e^{-i\,\xi\cdot x}\,dx,(2π)2K(z)​∫R2​[exp(4c02​ω02​​∫0z​C(x+ω0​c0​z′​ζ)dz′)−1]e−iξ⋅xdx,

where KKK is as above.

  • The inner integral is oriented, so for z<0z<0z<0 it is −∫z0-\int_z^0−∫z0​. It is 000 if z′↦C(x+c0z′ω0ζ)z'\mapsto C(x+\tfrac{c_0z'}{\omega_0}\zeta)z′↦C(x+ω0​c0​z′​ζ) is not integrable on the interval.
  • The outer integral is 000 if its integrand is not integrable.
  • If ω0=0\omega_0=0ω0​=0, the shift c0z′/ω0c_0z'/\omega_0c0​z′/ω0​ is 000.

ε\varepsilonε (eMinusQuarter). This is the constant ε=e−iπ/4=1−i2\varepsilon=e^{-i\pi/4}=\tfrac{1-i}{\sqrt2}ε=e−iπ/4=2​1−i​.

Ψa\Psi_aΨa​ (psiA). For a complex parameter TTT and a real sss, with ε=e−iπ/4\varepsilon=e^{-i\pi/4}ε=e−iπ/4:

Ψa(T,s)=∫0sε sinh⁡(εt)+Tcosh⁡(εt)cosh⁡(εt)+Tsinh⁡(εt) dt.\Psi_a(T,s)=\int_0^s \varepsilon\,\frac{\sinh(\varepsilon t)+T\cosh(\varepsilon t)}{\cosh(\varepsilon t)+T\sinh(\varepsilon t)}\,dt.Ψa​(T,s)=∫0s​εcosh(εt)+Tsinh(εt)sinh(εt)+Tcosh(εt)​dt.
  • The definition is this integral itself. No logarithm appears in it.
  • sss may be negative, in which case the integral is oriented.
  • At any ttt where the denominator vanishes, the integrand is taken to be 000.
  • If the integrand is not integrable on the interval, Ψa(T,s)=0\Psi_a(T,s)=0Ψa​(T,s)=0.
  • Ψa(T,0)=0\Psi_a(T,0)=0Ψa​(T,0)=0.

Ψb\Psi_bΨb​ (psiB). For T∈CT\in\mathbb{C}T∈C, s∈Rs\in\mathbb{R}s∈R, with ε=e−iπ/4\varepsilon=e^{-i\pi/4}ε=e−iπ/4:

Ψb(T,s)=T+tanh⁡(εs)εs (1+Ttanh⁡(εs)).\Psi_b(T,s)=\frac{T+\tanh(\varepsilon s)}{\varepsilon s\,\big(1+T\tanh(\varepsilon s)\big)}.Ψb​(T,s)=εs(1+Ttanh(εs))T+tanh(εs)​.
  • At s=0s=0s=0 the denominator is 000, so Ψb(T,0)=0\Psi_b(T,0)=0Ψb​(T,0)=0. This is the value, not a limit.
  • The value is also 000 whenever 1+Ttanh⁡(εs)=01+T\tanh(\varepsilon s)=01+Ttanh(εs)=0.

NNN (psiNum). For T∈CT\in\mathbb{C}T∈C, s∈Rs\in\mathbb{R}s∈R, with ε=e−iπ/4\varepsilon=e^{-i\pi/4}ε=e−iπ/4:

N(T,s)=εs T+tanh⁡(εs)1+Ttanh⁡(εs)−1+(cosh⁡(εs)+Tsinh⁡(εs))−1.N(T,s)=\varepsilon s\,\frac{T+\tanh(\varepsilon s)}{1+T\tanh(\varepsilon s)}-1+\big(\cosh(\varepsilon s)+T\sinh(\varepsilon s)\big)^{-1}.N(T,s)=εs1+Ttanh(εs)T+tanh(εs)​−1+(cosh(εs)+Tsinh(εs))−1.
  • The fraction is 000 when 1+Ttanh⁡(εs)=01+T\tanh(\varepsilon s)=01+Ttanh(εs)=0.
  • The last term is 000 when cosh⁡(εs)+Tsinh⁡(εs)=0\cosh(\varepsilon s)+T\sinh(\varepsilon s)=0cosh(εs)+Tsinh(εs)=0.

Ψc\Psi_cΨc​ (psiC). For T∈CT\in\mathbb{C}T∈C, s∈Rs\in\mathbb{R}s∈R, with NNN as above:

Ψc(T,s)=2i N(T,s)s2.\Psi_c(T,s)=\frac{2i\,N(T,s)}{s^2}.Ψc​(T,s)=s22iN(T,s)​.

At s=0s=0s=0 the value is 000, not a limit.

Ψd\Psi_dΨd​ (psiD). For T∈CT\in\mathbb{C}T∈C, s∈Rs\in\mathbb{R}s∈R, with NNN as above:

Ψd(T,s)=1−3is3∫0sN(T,t)2 dt.\Psi_d(T,s)=1-\frac{3i}{s^3}\int_0^s N(T,t)^2\,dt.Ψd​(T,s)=1−s33i​∫0s​N(T,t)2dt.
  • The integral is oriented, and equals 000 if not integrable.
  • At s=0s=0s=0 the factor 3i/s33i/s^33i/s3 is 000, so Ψd(T,0)=1\Psi_d(T,0)=1Ψd​(T,0)=1.

T0T_0T0​. For real numbers ω0,c0,D,ρ0,Ω\omega_0,c_0,D,\rho_0,\Omegaω0​,c0​,D,ρ0​,Ω, with ε=e−iπ/4\varepsilon=e^{-i\pi/4}ε=e−iπ/4:

T0=2εω02ρ02c03ΩD∈C.T_0=\frac{2\varepsilon}{\omega_0^2\rho_0^2}\sqrt{\frac{c_0^3\Omega}{D}}\in\mathbb{C}.T0​=ω02​ρ02​2ε​Dc03​Ω​​∈C.

The square root is the real one. It equals 000 whenever c03Ω/D<0c_0^3\Omega/D<0c03​Ω/D<0 or D=0D=0D=0. The prefactor is 000 whenever ω0ρ0=0\omega_0\rho_0=0ω0​ρ0​=0. No sign condition on Ω\OmegaΩ is imposed.

sss (sArg). For real numbers c0,D,Ω,zc_0,D,\Omega,zc0​,D,Ω,z:

s=DΩ4c0  z.s=\sqrt{\frac{D\Omega}{4c_0}}\;z.s=4c0​DΩ​​z.

The real square root is 000 when DΩ/(4c0)<0D\Omega/(4c_0)<0DΩ/(4c0​)<0 or c0=0c_0=0c0​=0. In that case s=0s=0s=0 for all zzz. The sign of sss follows the sign of zzz.

a+,b+,c+,d+a^+,b^+,c^+,d^+a+,b+,c+,d+ (aPos, bPos, cPos, dPos). Inputs: real numbers ω0,c0,D,Ω,z\omega_0,c_0,D,\Omega,zω0​,c0​,D,Ω,z and a complex TTT. Let s=DΩ/(4c0) zs=\sqrt{D\Omega/(4c_0)}\,zs=DΩ/(4c0​)​z as above. Then

a+=Ψa(T,s),b+=ω02Dz16c02Ψb(T,s),c+=ω0Dz216c0Ψc(T,s),d+=Dz348Ψd(T,s).a^+=\Psi_a(T,s),\qquad b^+=\frac{\omega_0^2Dz}{16c_0^2}\Psi_b(T,s),\qquad c^+=\frac{\omega_0Dz^2}{16c_0}\Psi_c(T,s),\qquad d^+=\frac{Dz^3}{48}\Psi_d(T,s).a+=Ψa​(T,s),b+=16c02​ω02​Dz​Ψb​(T,s),c+=16c0​ω0​Dz2​Ψc​(T,s),d+=48Dz3​Ψd​(T,s).

Here Ψa,Ψb,Ψc,Ψd\Psi_a,\Psi_b,\Psi_c,\Psi_dΨa​,Ψb​,Ψc​,Ψd​ are the functions defined above, including their conventions at s=0s=0s=0 and at vanishing denominators. No restriction Ω≥0\Omega\ge0Ω≥0 or z≥0z\ge0z≥0 is imposed in these formulas.

aΩ,bΩ,cΩ,dΩa_\Omega,b_\Omega,c_\Omega,d_\OmegaaΩ​,bΩ​,cΩ​,dΩ​ (aOm, bOm, cOm, dOm). Inputs: real numbers ω0,c0,D,Ω,z\omega_0,c_0,D,\Omega,zω0​,c0​,D,Ω,z and an arbitrary function T:R→CT:\mathbb{R}\to\mathbb{C}T:R→C. Each coefficient is defined by cases, using a+,…,d+a^+,\dots,d^+a+,…,d+ from above:

aΩ(z)={a+(T(Ω),Ω,z)Ω≥0,a+(T(−Ω),−Ω,z)‾Ω<0,a_\Omega(z)=\begin{cases}a^+\big(T(\Omega),\Omega,z\big)&\Omega\ge0,\\[2pt] \overline{a^+\big(T(-\Omega),-\Omega,z\big)}&\Omega<0,\end{cases}aΩ​(z)={a+(T(Ω),Ω,z)a+(T(−Ω),−Ω,z)​​Ω≥0,Ω<0,​

and identically for b,c,db,c,db,c,d, each using its own formula b+,c+,d+b^+,c^+,d^+b+,c+,d+ and the parameters ω0,c0,D\omega_0,c_0,Dω0​,c0​,D as needed. The function TTT is unconstrained; it need not equal 000 or T0T_0T0​.

gaussForm\mathrm{gaussForm}gaussForm. For complex numbers a,b,c,da,b,c,da,b,c,d and points x,ζ∈R2x,\zeta\in\mathbb{R}^2x,ζ∈R2:

gaussForm(a,b,c,d)(x,ζ)=(2π)2exp⁡ ⁣(−a−b∣x∣2−c x⋅ζ−d∣ζ∣2).\mathrm{gaussForm}(a,b,c,d)(x,\zeta)=(2\pi)^2\exp\!\big(-a-b|x|^2-c\,x\cdot\zeta-d|\zeta|^2\big).gaussForm(a,b,c,d)(x,ζ)=(2π)2exp(−a−b∣x∣2−cx⋅ζ−d∣ζ∣2).

A^s\hat A_sA^s​ (hatAs). Inputs: real numbers ω0,c0,D,Ω,z\omega_0,c_0,D,\Omega,zω0​,c0​,D,Ω,z, a function T:R→CT:\mathbb{R}\to\mathbb{C}T:R→C, and points ζ,x∈R2\zeta,x\in\mathbb{R}^2ζ,x∈R2. With aΩ,bΩ,cΩ,dΩa_\Omega,b_\Omega,c_\Omega,d_\OmegaaΩ​,bΩ​,cΩ​,dΩ​ as above (built from that TTT):

A^s(z,x)=(2π)2exp⁡ ⁣(−aΩ(z)−bΩ(z)∣x∣2−cΩ(z) x⋅ζ−dΩ(z)∣ζ∣2),\hat A_s(z,x)=(2\pi)^2\exp\!\big(-a_\Omega(z)-b_\Omega(z)|x|^2-c_\Omega(z)\,x\cdot\zeta-d_\Omega(z)|\zeta|^2\big),A^s​(z,x)=(2π)2exp(−aΩ​(z)−bΩ​(z)∣x∣2−cΩ​(z)x⋅ζ−dΩ​(z)∣ζ∣2),

for every real zzz, including z≤0z\le0z≤0.

momentRHS\mathrm{momentRHS}momentRHS. Inputs: real numbers ω0,c0,D,Ω,z\omega_0,c_0,D,\Omega,zω0​,c0​,D,Ω,z, a point ζ∈R2\zeta\in\mathbb{R}^2ζ∈R2, a function F:R×R2→CF:\mathbb{R}\times\mathbb{R}^2\to\mathbb{C}F:R×R2→C, and x∈R2x\in\mathbb{R}^2x∈R2. The value is

−i c0Ωω02 ΔxF(z,⋅)(x)−ω02D16c02(∣x∣2+z2c02ω02∣ζ∣2+2zc0ω0 ζ⋅x)F(z,x).-i\,\frac{c_0\Omega}{\omega_0^2}\,\Delta_x F(z,\cdot)(x)-\frac{\omega_0^2D}{16c_0^2}\Big(|x|^2+\frac{z^2c_0^2}{\omega_0^2}|\zeta|^2+\frac{2zc_0}{\omega_0}\,\zeta\cdot x\Big)F(z,x).−iω02​c0​Ω​Δx​F(z,⋅)(x)−16c02​ω02​D​(∣x∣2+ω02​z2c02​​∣ζ∣2+ω0​2zc0​​ζ⋅x)F(z,x).
  • Δx\Delta_xΔx​ is the Laplacian in xxx, the sum of the two pure second partial derivatives.
  • It is computed with the convention that derivatives which do not exist are taken to be 000. No twice-differentiability of FFF is assumed.
  • Coefficients with ω0=0\omega_0=0ω0​=0 or c0=0c_0=0c0​=0 in a denominator become 000.

SolvesMomentEq\mathrm{SolvesMomentEq}SolvesMomentEq. Inputs: real numbers ω0,c0,D,Ω\omega_0,c_0,D,\Omegaω0​,c0​,D,Ω, a point ζ∈R2\zeta\in\mathbb{R}^2ζ∈R2, and functions F:R×R2→CF:\mathbb{R}\times\mathbb{R}^2\to\mathbb{C}F:R×R2→C and F0:R2→CF_0:\mathbb{R}^2\to\mathbb{C}F0​:R2→C. This is the proposition that both of the following hold:

  1. Initial condition. For every x∈R2x\in\mathbb{R}^2x∈R2, F(z,x)→F0(x)F(z,x)\to F_0(x)F(z,x)→F0​(x) as z→0z\to0z→0 with z>0z>0z>0. This is pointwise in xxx, with no uniformity.
  2. Equation. For every z>0z>0z>0 and every xxx, the map z′↦F(z′,x)z'\mapsto F(z',x)z′↦F(z′,x) is differentiable at zzz, and
∂zF(z,x)=momentRHS(F)(z,x)\partial_zF(z,x)=\mathrm{momentRHS}(F)(z,x)∂z​F(z,x)=momentRHS(F)(z,x)

with momentRHS\mathrm{momentRHS}momentRHS as defined above, including its zero-convention for the Laplacian.

Values of FFF for z≤0z\le0z≤0 are otherwise unconstrained.

SolvesCoefODE\mathrm{SolvesCoefODE}SolvesCoefODE. Inputs: real numbers ω0,c0,D,Ω\omega_0,c_0,D,\Omegaω0​,c0​,D,Ω and four functions a,b,c,d:R→Ca,b,c,d:\mathbb{R}\to\mathbb{C}a,b,c,d:R→C. This is the proposition that for every z>0z>0z>0 all four functions are differentiable at zzz with

a′(z)=−i 4c0Ωω02 b(z),b′(z)=ω02D16c02+i 4c0Ωω02 b(z)2,c′(z)=ω0Dz8c0+i 4c0Ωω02 b(z) c(z),d′(z)=Dz216+i c0Ωω02 c(z)2.\begin{aligned} a'(z)&=-i\,\frac{4c_0\Omega}{\omega_0^2}\,b(z),\\ b'(z)&=\frac{\omega_0^2D}{16c_0^2}+i\,\frac{4c_0\Omega}{\omega_0^2}\,b(z)^2,\\ c'(z)&=\frac{\omega_0Dz}{8c_0}+i\,\frac{4c_0\Omega}{\omega_0^2}\,b(z)\,c(z),\\ d'(z)&=\frac{Dz^2}{16}+i\,\frac{c_0\Omega}{\omega_0^2}\,c(z)^2. \end{aligned}a′(z)b′(z)c′(z)d′(z)​=−iω02​4c0​Ω​b(z),=16c02​ω02​D​+iω02​4c0​Ω​b(z)2,=8c0​ω0​Dz​+iω02​4c0​Ω​b(z)c(z),=16Dz2​+iω02​c0​Ω​c(z)2.​
  • No initial or boundary conditions are imposed.
  • No condition is imposed for z≤0z\le0z≤0.
  • Coefficients with a zero denominator become 000.
Human review
  • Endorsed by Shuze Chen · Nov 25, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Xeroth · Nov 25, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me