Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Windows, Sommerfeld densities, Helmholtz Green's function and layer potentials of the hybrid representation

Definition
Arxiv1507_03491_Basic

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

helmholtz-equationintegral-equationslayer-potentialssommerfeld-integralwindow-functions

Objects of Sections 1–3 and 5 of Lai, Greengard and O'Neil (2015). Points of the plane are x=(x,y)\mathbf x=(x,y)x=(x,y); the interface Γ\GammaΓ is the line y=0y=0y=0 with unit normal n=(0,1)\mathbf n=(0,1)n=(0,1), and Γ0=(−M0,M0)\Gamma_0=(-M_0,M_0)Γ0​=(−M0​,M0​) is the window segment. The Helmholtz parameter satisfies Re⁡k>0\operatorname{Re}k>0Rek>0, Im⁡k≥0\operatorname{Im}k\ge0Imk≥0.

  1. Windows (eqs. 2.8–2.11). Ψ(x)=e−1/(1−x2)\Psi(x)=e^{-1/(1-x^2)}Ψ(x)=e−1/(1−x2) for ∣x∣<1|x|<1∣x∣<1 and 000 otherwise; A=∫01ΨA=\int_0^1\PsiA=∫01​Ψ; Φ(x)=A−1∫0xΨ\Phi(x)=A^{-1}\int_0^x\PsiΦ(x)=A−1∫0x​Ψ; the bump window is WM0(x)=12(Φ(x+M0/2)−Φ(x−M0/2))W_{M_0}(x)=\tfrac12\big(\Phi(x+M_0/2)-\Phi(x-M_0/2)\big)WM0​​(x)=21​(Φ(x+M0​/2)−Φ(x−M0​/2)). With erf⁡(x)=2π∫0xe−t2dt\operatorname{erf}(x)=\frac{2}{\sqrt\pi}\int_0^xe^{-t^2}dterf(x)=π​2​∫0x​e−t2dt, the window used in practice is W~M0(x)=12(erf⁡(x+M0/2)−erf⁡(x−M0/2))\tilde W_{M_0}(x)=\tfrac12\big(\operatorname{erf}(x+M_0/2)-\operatorname{erf}(x-M_0/2)\big)W~M0​​(x)=21​(erf(x+M0​/2)−erf(x−M0​/2)).
  2. Fourier transform and decay. f^(λ)=∫Rf(x)e−iλx dx\hat f(\lambda)=\int_{\mathbb R}f(x)e^{-i\lambda x}\,dxf^​(λ)=∫R​f(x)e−iλxdx. A function FFF decays superalgebraically if for every n∈Nn\in\mathbb Nn∈N there are C,RC,RC,R with ∣λ∣n∣F(λ)∣≤C|\lambda|^n|F(\lambda)|\le C∣λ∣n∣F(λ)∣≤C for ∣λ∣≥R|\lambda|\ge R∣λ∣≥R; a family FhF_hFh​, h∈sh\in sh∈s, does so independently of hhh if C,RC,RC,R can be chosen the same for all h∈sh\in sh∈s.
  3. Square root and source spectrum (eq. 2.3). λ2−k2:=−i (k2−λ2)1/2\sqrt{\lambda^2-k^2}:=-i\,(k^2-\lambda^2)^{1/2}λ2−k2​:=−i(k2−λ2)1/2 (principal power): it is positive for real ∣λ∣>k|\lambda|>k∣λ∣>k, equals −ik2−λ2-i\sqrt{k^2-\lambda^2}−ik2−λ2​ for real ∣λ∣<k|\lambda|<k∣λ∣<k, and has nonnegative real part. The spectrum of a source at (x0,y0)(x_0,y_0)(x0​,y0​) is Fx0,y0(λ)=e−λ2−k2 y0e−iλx0/λ2−k2F_{x_0,y_0}(\lambda)=e^{-\sqrt{\lambda^2-k^2}\,y_0}e^{-i\lambda x_0}/\sqrt{\lambda^2-k^2}Fx0​,y0​​(λ)=e−λ2−k2​y0​e−iλx0​/λ2−k2​.
  4. Dirichlet Sommerfeld density (eq. 2.13). ξ^W(λ)=−2 [(1−W)^∗Fx0,y0](λ)=−2(Fx0,y0(λ)−12π∫RW^(λ−μ)Fx0,y0(μ) dμ)\hat\xi_W(\lambda)=-2\,\big[\widehat{(1-W)}*F_{x_0,y_0}\big](\lambda)=-2\Big(F_{x_0,y_0}(\lambda)-\frac1{2\pi}\int_{\mathbb R}\hat W(\lambda-\mu)F_{x_0,y_0}(\mu)\,d\mu\Big)ξ^​W​(λ)=−2[(1−W)​∗Fx0​,y0​​](λ)=−2(Fx0​,y0​​(λ)−2π1​∫R​W^(λ−μ)Fx0​,y0​​(μ)dμ) with W=WM0W=W_{M_0}W=WM0​​.
  5. Green's function (eq. 2.1). J0(z)=∑m≥0(−1)m(z/2)2m/(m!)2J_0(z)=\sum_{m\ge0}(-1)^m(z/2)^{2m}/(m!)^2J0​(z)=∑m≥0​(−1)m(z/2)2m/(m!)2, Y0(z)=2π(log⁡z2+γ)J0(z)+2π∑m≥1(−1)m+1Hm(z/2)2m/(m!)2Y_0(z)=\frac2\pi\big(\log\frac z2+\gamma\big)J_0(z)+\frac2\pi\sum_{m\ge1}(-1)^{m+1}H_m(z/2)^{2m}/(m!)^2Y0​(z)=π2​(log2z​+γ)J0​(z)+π2​∑m≥1​(−1)m+1Hm​(z/2)2m/(m!)2 (principal logarithm, harmonic numbers HmH_mHm​, Euler's constant γ\gammaγ), H0(1)=J0+iY0H_0^{(1)}=J_0+iY_0H0(1)​=J0​+iY0​ and Gk(x,x′)=i4H0(1)(k∣x−x′∣)G_k(\mathbf x,\mathbf x')=\frac i4H_0^{(1)}(k|\mathbf x-\mathbf x'|)Gk​(x,x′)=4i​H0(1)​(k∣x−x′∣).
  6. Potentials and fields. The double-layer kernel is ∂Gk(x,x′)/∂n′\partial G_k(\mathbf x,\mathbf x')/\partial n'∂Gk​(x,x′)/∂n′ at x′=(x′,0)\mathbf x'=(x',0)x′=(x′,0), the derivative in y′y'y′. The Dirichlet scattered field (eq. 2.4) is us(x)=−Gk(x,x0R)u^s(\mathbf x)=-G_k(\mathbf x,\mathbf x_0^R)us(x)=−Gk​(x,x0R​) with x0R=(x0,−y0)\mathbf x_0^R=(x_0,-y_0)x0R​=(x0​,−y0​). The single-layer potential (eq. 3.7) is SΓ0[σ](x)=∫−M0M0Gk(x,(x′,0))σ(x′) dx′S_{\Gamma_0}[\sigma](\mathbf x)=\int_{-M_0}^{M_0}G_k(\mathbf x,(x',0))\sigma(x')\,dx'SΓ0​​[σ](x)=∫−M0​M0​​Gk​(x,(x′,0))σ(x′)dx′. For a source at (0,h)(0,h)(0,h), the impedance data (eq. 3.4) is g=−∂Gk/∂n−ikα Gkg=-\partial G_k/\partial n-ik\alpha\,G_kg=−∂Gk​/∂n−ikαGk​ on Γ\GammaΓ.

Formalization Note Mathlib has no Bessel or Hankel functions, so H0(1)H_0^{(1)}H0(1)​ is defined by its power series (DLMF 10.2.2, 10.8.2). The distribution 1−W^\widehat{1-W}1−W​ in (2.13) is read as 2πδ−W^2\pi\delta-\hat W2πδ−W^, and the convolution as (a∗b)(λ)=12π∫a(λ−μ)b(μ) dμ(a*b)(\lambda)=\frac1{2\pi}\int a(\lambda-\mu)b(\mu)\,d\mu(a∗b)(λ)=2π1​∫a(λ−μ)b(μ)dμ, the normalization for which fg^=f^∗g^\widehat{fg}=\hat f*\hat gfg​=f^​∗g^​. All integrals are Lebesgue integrals; each one used in a statement converges absolutely.

Definition code
import Mathlib

/-!
Lai, Greengard and O'Neil, *A new hybrid integral representation for frequency domain scattering
in layered media*, arXiv:1507.03491v2 (2015): the window functions, Fourier transform, free-space
Helmholtz Green's function, Sommerfeld spectral density, layer potentials on the window segment
`Γ₀ = (-M₀, M₀)` and the decay notion of Sections 2, 3 and 5.

Points of the plane are written by their coordinates `(x, y)`; the interface `Γ` is the line
`y = 0` with unit normal `n = (0, 1)` (Section 1).
-/

noncomputable section

namespace Arxiv1507_03491

/-- Section 2, display before eq. (2.9): the standard bump function
`Ψ(x) = exp(-1 / (1 - x²))` for `|x| < 1` and `Ψ(x) = 0` otherwise. -/
def bumpPsi (x : ℝ) : ℝ :=
  if |x| < 1 then Real.exp (-1 / (1 - x ^ 2)) else 0

/-- Section 2, before eq. (2.9): the normalising constant `A = ∫₀¹ Ψ(t) dt`. -/
def bumpA : ℝ := ∫ t in (0 : ℝ)..1, bumpPsi t

/-- Section 2, before eq. (2.9): `Φ(x) = (1/A) ∫₀ˣ Ψ(t) dt`. -/
def bumpPhi (x : ℝ) : ℝ := (1 / bumpA) * ∫ t in (0 : ℝ)..x, bumpPsi t

/-- Eq. (2.9): the window function `W_{M₀}(x) = (Φ(x + M₀/2) - Φ(x - M₀/2)) / 2`. -/
def window (M0 x : ℝ) : ℝ := (1 / 2) * (bumpPhi (x + M0 / 2) - bumpPhi (x - M0 / 2))

/-- Eq. (2.11) (Remark 2): the error function `erf(x) = (2/√π) ∫₀ˣ e^{-t²} dt`. -/
def erf (x : ℝ) : ℝ := 2 / Real.sqrt Real.pi * ∫ t in (0 : ℝ)..x, Real.exp (-t ^ 2)

/-- Eq. (2.10) (Remark 2): the window used in practice,
`W̃_{M₀}(x) = (erf(x + M₀/2) - erf(x - M₀/2)) / 2`. -/
def erfWindow (M0 x : ℝ) : ℝ := (1 / 2) * (erf (x + M0 / 2) - erf (x - M0 / 2))

/-- Section 2, display after eq. (2.13): the Fourier transform
`f̂(λ) = ∫_{-∞}^{∞} f(x) e^{-iλx} dx` (a Lebesgue integral). -/
def fourierT (f : ℝ → ℂ) (lam : ℝ) : ℂ :=
  ∫ x : ℝ, f x * Complex.exp (-(Complex.I * (lam : ℂ) * (x : ℂ)))

/-- Lemma 2.1, Theorems 2.2, 6.1, 6.2: `F` decays superalgebraically, i.e. faster than every
inverse power of `|λ|` as `|λ| → ∞`: for every `n` there are `C, R` with `|λ|ⁿ ‖F(λ)‖ ≤ C`
whenever `|λ| ≥ R`. -/
def SuperalgDecay (F : ℝ → ℂ) : Prop :=
  ∀ n : ℕ, ∃ C R : ℝ, ∀ lam : ℝ, R ≤ |lam| → |lam| ^ n * ‖F lam‖ ≤ C

/-- Theorems 2.2, 6.1, 6.2: the family `F h` decays superalgebraically independently of the
parameter `h ∈ s`: the constants `C, R` are the same for every `h ∈ s`. -/
def SuperalgDecayUniform (F : ℝ → ℝ → ℂ) (s : Set ℝ) : Prop :=
  ∀ n : ℕ, ∃ C R : ℝ, ∀ h ∈ s, ∀ lam : ℝ, R ≤ |lam| → |lam| ^ n * ‖F h lam‖ ≤ C

/-- Eq. (2.3): the branch of `√(λ² - k²)` in the Sommerfeld integral, for `Re k > 0`,
`Im k ≥ 0` and real `λ`: `√(λ² - k²) = -i (k² - λ²)^{1/2}` with the principal power. It is
positive for real `|λ| > k`, equals `-i√(k² - λ²)` for real `|λ| < k`, and has nonnegative real
part. -/
def sqrtLK (k : ℂ) (lam : ℝ) : ℂ :=
  -Complex.I * (k ^ 2 - (lam : ℂ) ^ 2) ^ (1 / 2 : ℂ)

/-- Section 2, text before Figure 2 and eq. (2.13): the spectral function
`e^{-√(λ²-k²) y₀} e^{-iλx₀} / √(λ²-k²)` of a source at `(x₀, y₀)`. -/
def sourceSpectrum (k : ℂ) (x0 y0 lam : ℝ) : ℂ :=
  Complex.exp (-(sqrtLK k lam) * (y0 : ℂ)) / sqrtLK k lam *
    Complex.exp (-(Complex.I * (lam : ℂ) * (x0 : ℂ)))

/-- Eq. (2.13): the Sommerfeld density of the Dirichlet problem,
`ξ̂_W(λ) = -2 [(1 - W)^ ∗ F](λ)` with `F = sourceSpectrum`, where `(1 - W)^ = 2πδ - Ŵ` and the
convolution is `(a ∗ b)(λ) = (1/2π) ∫ a(λ - μ) b(μ) dμ`; thus
`ξ̂_W(λ) = -2 (F(λ) - (1/2π) ∫ Ŵ(λ - μ) F(μ) dμ)`, with `W = W_{M₀}` of eq. (2.9). -/
def dirSommerfeldDensity (M0 : ℝ) (k : ℂ) (x0 y0 lam : ℝ) : ℂ :=
  -2 * (sourceSpectrum k x0 y0 lam -
    (1 / (2 * (Real.pi : ℂ))) *
      ∫ mu : ℝ, fourierT (fun x => (window M0 x : ℂ)) (lam - mu) * sourceSpectrum k x0 y0 mu)

/-- Eq. (2.1): the Bessel function `J₀(z) = ∑_{m ≥ 0} (-1)^m (z/2)^{2m} / (m!)²`
(DLMF 10.2.2). -/
def besselJ0 (z : ℂ) : ℂ :=
  ∑' m : ℕ, (-1 : ℂ) ^ m * (z / 2) ^ (2 * m) / ((m.factorial : ℂ) ^ 2)

/-- Eq. (2.1): the Bessel function of the second kind
`Y₀(z) = (2/π)(log(z/2) + γ) J₀(z) + (2/π) ∑_{m ≥ 1} (-1)^{m+1} H_m (z/2)^{2m} / (m!)²`,
with `H_m` the harmonic numbers, `γ` Euler's constant and the principal logarithm
(DLMF 10.8.2). -/
def besselY0 (z : ℂ) : ℂ :=
  (2 / (Real.pi : ℂ)) * ((Complex.log (z / 2) + (Real.eulerMascheroniConstant : ℂ)) * besselJ0 z) +
    (2 / (Real.pi : ℂ)) *
      ∑' m : ℕ, (-1 : ℂ) ^ (m + 1) * (harmonic m : ℂ) * (z / 2) ^ (2 * m) / ((m.factorial : ℂ) ^ 2)

/-- Eq. (2.1): the Hankel function of the first kind and order zero, `H₀^{(1)} = J₀ + i Y₀`. -/
def hankel0 (z : ℂ) : ℂ := besselJ0 z + Complex.I * besselY0 z

/-- Eq. (2.1): the free-space Green's function `G_k(x, x') = (i/4) H₀^{(1)}(k |x - x'|)` for
`x = (x, y)` and `x' = (x', y')`. -/
def greenK (k : ℂ) (x y x' y' : ℝ) : ℂ :=
  Complex.I / 4 * hankel0 (k * (Real.sqrt ((x - x') ^ 2 + (y - y') ^ 2) : ℂ))

/-- Eqs. (2.6) and (2.12): the double-layer kernel `∂G_k(x, x')/∂n'` at a point `x' = (x', 0)`
of `Γ`, the derivative taken in the second variable along `n' = (0, 1)`. -/
def dlKernel (k : ℂ) (x y x' : ℝ) : ℂ :=
  deriv (fun t : ℝ => greenK k x y x' t) 0

/-- Eq. (2.4): the scattered field of the sound-soft (Dirichlet) half-space for a source at
`x₀ = (x₀, y₀)`, `y₀ > 0`: `u^s(x) = -(i/4) H₀^{(1)}(k |x - x₀^R|)` with `x₀^R = (x₀, -y₀)`. -/
def dirScattered (k : ℂ) (x0 y0 x y : ℝ) : ℂ := -greenK k x y x0 (-y0)

/-- Eq. (3.7): the single-layer potential on `Γ₀ = (-M₀, M₀)`,
`S_{Γ₀}[σ](x) = ∫_{-M₀}^{M₀} G_k(x, (x', 0)) σ(x') dx'`, at the point `x = (x, y)`. -/
def singleLayer (k : ℂ) (M0 : ℝ) (sigma : ℝ → ℂ) (x y : ℝ) : ℂ :=
  ∫ x' in Set.Ioo (-M0) M0, greenK k x y x' 0 * sigma x'

/-- Eq. (3.4): the right-hand side `g = -∂G_k/∂n - ikα G_k` on `Γ` of the impedance problem
(3.3) for a source at `(0, h)`, evaluated at `(x, 0)`; `∂/∂n` is `∂/∂y` in the target
variable. -/
def impedanceRHS (k alpha : ℂ) (h x : ℝ) : ℂ :=
  -deriv (fun t : ℝ => greenK k x t 0 h) 0 - Complex.I * k * alpha * greenK k x 0 0 h

end Arxiv1507_03491
Source
Lai, Greengard and O'Neil, A new hybrid integral representation for frequency domain scattering in layered media, arXiv:1507.03491v2 (2015), Section 1; Section 2, eqs. (2.1)-(2.13); Section 3, eqs. (3.3)-(3.7); Section 5
Read-back

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

Preliminary conventions. Points of the plane are given by real coordinates. Several definitions rely on these conventions:

  • Division by zero returns 000.
  • An integral of a non-integrable function is assigned the value 000.
  • An infinite sum of a non-summable series is assigned the value 000.
  • The derivative of a function at a point where it is not differentiable is assigned the value 000.
  • log⁡\loglog is the principal complex logarithm (imaginary part in (−π,π](-\pi,\pi](−π,π]), with log⁡0=0\log 0 = 0log0=0.
  • zw=ewlog⁡zz^{w} = e^{w\log z}zw=ewlogz for z≠0z\neq 0z=0, and 0w=00^{w}=00w=0 for w≠0w\neq 0w=0.

bumpPsi (Ψ\PsiΨ). For a real number xxx,

Ψ(x)={e−1/(1−x2),∣x∣<1,0,∣x∣≥1.\Psi(x)=\begin{cases} e^{-1/(1-x^2)}, & |x|<1,\\ 0, & |x|\ge 1.\end{cases}Ψ(x)={e−1/(1−x2),0,​∣x∣<1,∣x∣≥1.​

bumpA (AAA). The real number

A=∫01Ψ(t) dt.A=\int_0^1 \Psi(t)\,dt.A=∫01​Ψ(t)dt.

bumpPhi (Φ\PhiΦ). For real xxx,

Φ(x)=1A∫0xΨ(t) dt,\Phi(x)=\frac{1}{A}\int_0^x \Psi(t)\,dt,Φ(x)=A1​∫0x​Ψ(t)dt,

where the integral is oriented, so for x<0x<0x<0 it equals −∫x0Ψ-\int_x^0\Psi−∫x0​Ψ. If AAA were 000, the factor 1/A1/A1/A would be 000. Because Ψ\PsiΨ is even and vanishes outside (−1,1)(-1,1)(−1,1):

  • Φ(x)=1\Phi(x)=1Φ(x)=1 for x≥1x\ge 1x≥1;
  • Φ(x)=−1\Phi(x)=-1Φ(x)=−1 for x≤−1x\le -1x≤−1;
  • Φ(0)=0\Phi(0)=0Φ(0)=0.

window (WM0W_{M_0}WM0​​). For real parameters M0M_0M0​ (any sign, including 000) and xxx,

WM0(x)=12(Φ(x+M0/2)−Φ(x−M0/2)).W_{M_0}(x)=\tfrac12\bigl(\Phi(x+M_0/2)-\Phi(x-M_0/2)\bigr).WM0​​(x)=21​(Φ(x+M0​/2)−Φ(x−M0​/2)).

erf. For real xxx,

erf⁡(x)=2π∫0xe−t2 dt,\operatorname{erf}(x)=\frac{2}{\sqrt\pi}\int_0^x e^{-t^2}\,dt,erf(x)=π​2​∫0x​e−t2dt,

with an oriented integral.

erfWindow (W~M0\widetilde W_{M_0}WM0​​). For real M0M_0M0​ and xxx,

W~M0(x)=12(erf⁡(x+M0/2)−erf⁡(x−M0/2)).\widetilde W_{M_0}(x)=\tfrac12\bigl(\operatorname{erf}(x+M_0/2)-\operatorname{erf}(x-M_0/2)\bigr).WM0​​(x)=21​(erf(x+M0​/2)−erf(x−M0​/2)).

fourierT (f^\hat ff^​). For any function f:R→Cf:\mathbb R\to\mathbb Cf:R→C (no integrability assumed) and real λ\lambdaλ,

f^(λ)=∫Rf(x) e−iλx dx,\hat f(\lambda)=\int_{\mathbb R} f(x)\,e^{-i\lambda x}\,dx,f^​(λ)=∫R​f(x)e−iλxdx,

a Lebesgue integral over the whole line. If x↦f(x)e−iλxx\mapsto f(x)e^{-i\lambda x}x↦f(x)e−iλx is not Lebesgue integrable, then f^(λ)=0\hat f(\lambda)=0f^​(λ)=0.

SuperalgDecay. A function F:R→CF:\mathbb R\to\mathbb CF:R→C has this property when the following holds. For every natural number nnn (including n=0n=0n=0) there exist real numbers CCC and RRR such that

∣λ∣n ∣F(λ)∣≤Cfor every real λ with ∣λ∣≥R.|\lambda|^n\,|F(\lambda)|\le C\quad\text{for every real }\lambda\text{ with } |\lambda|\ge R.∣λ∣n∣F(λ)∣≤Cfor every real λ with ∣λ∣≥R.

Both CCC and RRR may depend on nnn. RRR is not required to be positive; if R≤0R\le 0R≤0, the bound must hold for all real λ\lambdaλ.

SuperalgDecayUniform. A two-parameter function F:R×R→CF:\mathbb R\times\mathbb R\to\mathbb CF:R×R→C, written Fh(λ)F_h(\lambda)Fh​(λ), has this property on a set s⊆Rs\subseteq\mathbb Rs⊆R when the following holds. For every natural nnn there exist real CCC and RRR, depending only on nnn, such that

∣λ∣n ∣Fh(λ)∣≤Cfor all h∈s and all real λ with ∣λ∣≥R.|\lambda|^n\,|F_h(\lambda)|\le C\quad\text{for all } h\in s \text{ and all real }\lambda\text{ with }|\lambda|\ge R.∣λ∣n∣Fh​(λ)∣≤Cfor all h∈s and all real λ with ∣λ∣≥R.

If sss is empty, the property holds vacuously.

sqrtLK (sk(λ)s_k(\lambda)sk​(λ)). For any complex kkk and real λ\lambdaλ,

sk(λ)=−i (k2−λ2)1/2,s_k(\lambda)=-i\,(k^2-\lambda^2)^{1/2},sk​(λ)=−i(k2−λ2)1/2,

where (⋅)1/2(\cdot)^{1/2}(⋅)1/2 is the principal complex power z1/2=e12log⁡zz^{1/2}=e^{\frac12\log z}z1/2=e21​logz. In particular, sk(λ)=0s_k(\lambda)=0sk​(λ)=0 when λ2=k2\lambda^2=k^2λ2=k2. The definition places no restriction on kkk: no condition on Re⁡k\operatorname{Re}kRek or Im⁡k\operatorname{Im}kImk is imposed.

sourceSpectrum (Fk,x0,y0F_{k,x_0,y_0}Fk,x0​,y0​​). For complex kkk and real x0,y0,λx_0, y_0, \lambdax0​,y0​,λ,

Fk,x0,y0(λ)=e−sk(λ) y0sk(λ)  e−iλx0.F_{k,x_0,y_0}(\lambda)=\frac{e^{-s_k(\lambda)\,y_0}}{s_k(\lambda)}\;e^{-i\lambda x_0}.Fk,x0​,y0​​(λ)=sk​(λ)e−sk​(λ)y0​​e−iλx0​.

At any λ\lambdaλ with sk(λ)=0s_k(\lambda)=0sk​(λ)=0 the quotient is 000, so Fk,x0,y0(λ)=0F_{k,x_0,y_0}(\lambda)=0Fk,x0​,y0​​(λ)=0. No sign condition on y0y_0y0​ is imposed.

dirSommerfeldDensity (ξ^\hat\xiξ^​). For real M0M_0M0​, complex kkk, and real x0,y0,λx_0, y_0, \lambdax0​,y0​,λ,

ξ^(λ)=−2(Fk,x0,y0(λ)−12π∫RWM0^(λ−μ) Fk,x0,y0(μ) dμ).\hat\xi(\lambda)=-2\left(F_{k,x_0,y_0}(\lambda)-\frac{1}{2\pi}\int_{\mathbb R}\widehat{W_{M_0}}(\lambda-\mu)\,F_{k,x_0,y_0}(\mu)\,d\mu\right).ξ^​(λ)=−2(Fk,x0​,y0​​(λ)−2π1​∫R​WM0​​​(λ−μ)Fk,x0​,y0​​(μ)dμ).

Here WM0^\widehat{W_{M_0}}WM0​​​ is the Fourier transform (as in fourierT) of the window WM0W_{M_0}WM0​​, viewed as a complex-valued function. The μ\muμ-integral is a Lebesgue integral over R\mathbb RR; if its integrand is not integrable, it is taken to be 000.

besselJ0 (J0J_0J0​). For complex zzz,

J0(z)=∑m=0∞(−1)m(z/2)2m(m!)2,J_0(z)=\sum_{m=0}^{\infty}\frac{(-1)^m (z/2)^{2m}}{(m!)^2},J0​(z)=m=0∑∞​(m!)2(−1)m(z/2)2m​,

where the m=0m=0m=0 term equals 111, including at z=0z=0z=0. If the series were not summable, the value would be 000.

besselY0 (Y0Y_0Y0​). For complex zzz,

Y0(z)=2π(log⁡(z/2)+γ)J0(z)+2π∑m=0∞(−1)m+1Hm (z/2)2m(m!)2.Y_0(z)=\frac{2}{\pi}\bigl(\log(z/2)+\gamma\bigr)J_0(z)+\frac{2}{\pi}\sum_{m=0}^{\infty}\frac{(-1)^{m+1}H_m\,(z/2)^{2m}}{(m!)^2}.Y0​(z)=π2​(log(z/2)+γ)J0​(z)+π2​m=0∑∞​(m!)2(−1)m+1Hm​(z/2)2m​.

The symbols are:

  • γ\gammaγ is the Euler–Mascheroni constant;
  • Hm=∑i=1m1/iH_m=\sum_{i=1}^m 1/iHm​=∑i=1m​1/i is the mmm-th harmonic number, with H0=0H_0=0H0​=0, so the m=0m=0m=0 term vanishes;
  • log⁡\loglog is the principal logarithm.

At z=0z=0z=0 the convention log⁡0=0\log 0=0log0=0 gives Y0(0)=2γ/πY_0(0)=2\gamma/\piY0​(0)=2γ/π.

hankel0 (H0(1)H_0^{(1)}H0(1)​). For complex zzz,

H0(1)(z)=J0(z)+i Y0(z).H_0^{(1)}(z)=J_0(z)+i\,Y_0(z).H0(1)​(z)=J0​(z)+iY0​(z).

greenK (GkG_kGk​). For complex kkk and points (x,y)(x,y)(x,y), (x′,y′)(x',y')(x′,y′) of the plane,

Gk((x,y),(x′,y′))=i4 H0(1) ⁣(k(x−x′)2+(y−y′)2).G_k\bigl((x,y),(x',y')\bigr)=\frac{i}{4}\,H_0^{(1)}\!\left(k\sqrt{(x-x')^2+(y-y')^2}\right).Gk​((x,y),(x′,y′))=4i​H0(1)​(k(x−x′)2+(y−y′)2​).

At coincident points the argument is 000, giving the value i4(1+2iγπ)\frac{i}{4}\bigl(1+\frac{2i\gamma}{\pi}\bigr)4i​(1+π2iγ​).

dlKernel. For complex kkk, a point (x,y)(x,y)(x,y), and real x′x'x′, the value is

ddt∣t=0 Gk((x,y),(x′,t)).\frac{d}{dt}\Big|_{t=0}\,G_k\bigl((x,y),(x',t)\bigr).dtd​​t=0​Gk​((x,y),(x′,t)).

This is the ordinary derivative, with respect to the real variable ttt, of the second point's vertical coordinate, evaluated at t=0t=0t=0. If the function is not differentiable at t=0t=0t=0, the value is 000.

dirScattered (usu^sus). For complex kkk and real x0,y0,x,yx_0, y_0, x, yx0​,y0​,x,y,

us(x,y)=− Gk((x,y),(x0,−y0)).u^s(x,y)=-\,G_k\bigl((x,y),(x_0,-y_0)\bigr).us(x,y)=−Gk​((x,y),(x0​,−y0​)).

No condition such as y0>0y_0>0y0​>0 is imposed.

singleLayer (SSS). For complex kkk, real M0M_0M0​, any function σ:R→C\sigma:\mathbb R\to\mathbb Cσ:R→C, and a point (x,y)(x,y)(x,y),

S[σ](x,y)=∫(−M0, M0)Gk((x,y),(x′,0)) σ(x′) dx′.S[\sigma](x,y)=\int_{(-M_0,\,M_0)}G_k\bigl((x,y),(x',0)\bigr)\,\sigma(x')\,dx'.S[σ](x,y)=∫(−M0​,M0​)​Gk​((x,y),(x′,0))σ(x′)dx′.

This is a Lebesgue integral over the open interval. Two degenerate cases apply:

  • If M0≤0M_0\le 0M0​≤0, the interval is empty and the value is 000.
  • If the integrand is not integrable, the value is 000.

impedanceRHS (ggg). For complex kkk and α\alphaα, and real hhh and xxx,

g(x)=−ddt∣t=0 Gk((x,t),(0,h))  −  i k α Gk((x,0),(0,h)).g(x)=-\frac{d}{dt}\Big|_{t=0}\,G_k\bigl((x,t),(0,h)\bigr)\;-\;i\,k\,\alpha\,G_k\bigl((x,0),(0,h)\bigr).g(x)=−dtd​​t=0​Gk​((x,t),(0,h))−ikαGk​((x,0),(0,h)).

The derivative is taken in the vertical coordinate of the first (target) point, with the value 000 if that function is not differentiable at t=0t=0t=0. No conditions on kkk, α\alphaα, or hhh are imposed.

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