Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Eq. (2) (as derived): the residual field equation

Proved
Arxiv2602_11197.residual_field_equation

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

absorbing-boundary-conditionboundary-value-problemhelmholtz-equationwave-scattering

Let Ω=(0,L1)×(0,L2)\Omega=(0,L_1)\times(0,L_2)Ω=(0,L1​)×(0,L2​) with L1,L2>0L_1,L_2>0L1​,L2​>0, and let ω>0\omega>0ω>0. Let vvv and vbgv_{\mathrm{bg}}vbg​ be wavespeeds that are positive on Ω‾\overline\OmegaΩ, and let sss be a source. Suppose ppp solves the Helmholtz problem (1) with wavespeed vvv and source sss, and pbgp_{\mathrm{bg}}pbg​ solves (1) with wavespeed vbgv_{\mathrm{bg}}vbg​ and the same source sss. Put δp=p−pbg\delta p=p-p_{\mathrm{bg}}δp=p−pbg​ and δm=v−2−vbg−2\delta m=v^{-2}-v_{\mathrm{bg}}^{-2}δm=v−2−vbg−2​. Then the following hold.

  1. δp\delta pδp satisfies
{[Δ+ω2vbg2]δp=−ω2 δm (δp+pbg)in Ω,∂νδp−iωv δp=iω(1v−1vbg)pbgon ΓABC,δp=0on ΓFree.\begin{cases}\big[\Delta+\frac{\omega^2}{v_{\mathrm{bg}}^2}\big]\delta p=-\omega^2\,\delta m\,(\delta p+p_{\mathrm{bg}}) & \text{in }\Omega,\\[2pt] \partial_\nu\delta p-\frac{i\omega}{v}\,\delta p=i\omega\big(\frac1v-\frac1{v_{\mathrm{bg}}}\big)p_{\mathrm{bg}} & \text{on }\Gamma_{\mathrm{ABC}},\\[2pt] \delta p=0 & \text{on }\Gamma_{\mathrm{Free}}.\end{cases}⎩⎨⎧​[Δ+vbg2​ω2​]δp=−ω2δm(δp+pbg​)∂ν​δp−viω​δp=iω(v1​−vbg​1​)pbg​δp=0​in Ω,on ΓABC​,on ΓFree​.​
  1. δp\delta pδp satisfies eq. (2) as printed, with the homogeneous condition ∂νδp−iωvδp=0\partial_\nu\delta p-\frac{i\omega}{v}\delta p=0∂ν​δp−viω​δp=0 on ΓABC\Gamma_{\mathrm{ABC}}ΓABC​, if and only if v(x)=vbg(x)v(x)=v_{\mathrm{bg}}(x)v(x)=vbg​(x) or pbg(x)=0p_{\mathrm{bg}}(x)=0pbg​(x)=0 at every point xxx of ΓABC\Gamma_{\mathrm{ABC}}ΓABC​.

This is the equation the paper derives for the residual field. Its right-hand side is the contrast source, which involves both the background field and the residual field itself.

Formalization Note The paper prints eq. (2) with the homogeneous absorbing condition. Subtracting the two copies of eq. (1), whose absorbing conditions have coefficients 1/v1/v1/v and 1/vbg1/v_{\mathrm{bg}}1/vbg​, gives the inhomogeneous condition of part 1 instead. Part 2 records exactly when the printed condition holds; the title says "(as derived)" for this reason.

The background vbgv_{\mathrm{bg}}vbg​ is any positive wavespeed. The paper's vbgv_{\mathrm{bg}}vbg​, obtained by a mollifying convolution of vvv, is a special case, and the derivation does not use the mollification.

The interior equation is understood at almost every point of Ω\OmegaΩ, as in the definitions.

Preamble
import Mathlib
import Definitions.Def_Arxiv2602_11197_Basic

open MeasureTheory
Formal statement
namespace Arxiv2602_11197

theorem residual_field_equation (L₁ L₂ ω : ℝ) (hL₁ : 0 < L₁) (hL₂ : 0 < L₂) (hω : 0 < ω)
    (v vbg : Plane → ℝ) (hv : ∀ x ∈ closedDomain L₁ L₂, 0 < v x)
    (hvbg : ∀ x ∈ closedDomain L₁ L₂, 0 < vbg x)
    (s p pbg : Plane → ℂ) (hp : IsHelmholtzSolution L₁ L₂ ω v s p)
    (hpbg : IsHelmholtzSolution L₁ L₂ ω vbg s pbg) :
    IsResidualSolutionDerived L₁ L₂ ω v vbg pbg (p - pbg) ∧
      (IsResidualSolution L₁ L₂ ω v vbg pbg (p - pbg) ↔
        ∀ x ∈ absorbingBoundary L₁ L₂, v x = vbg x ∨ pbg x = 0) := by sorry

end Arxiv2602_11197
Source
Balaji, Teolis, Mis, Lara Benitez, Wang and de Hoop, Hybrid operator learning of wave scattering maps in high-contrast media, arXiv:2602.11197v1 (2026), claim c003; Section 3.2 'Scattering decomposition', eq. (2), from eq. (1) of Section 3, PDF pp. 3-4
Read-back

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

Fix real numbers L1,L2,ωL_1, L_2, \omegaL1​,L2​,ω with

L1>0,L2>0,ω>0.L_1 > 0, \qquad L_2 > 0, \qquad \omega > 0.L1​>0,L2​>0,ω>0.

Points of the plane R2\mathbb{R}^2R2 (with its Euclidean structure) are written x=(x1,x2)x = (x_1, x_2)x=(x1​,x2​). The first coordinate is horizontal and the second is depth. The following sets are used:

  • the open rectangle Ω=(0,L1)×(0,L2)\Omega = (0, L_1) \times (0, L_2)Ω=(0,L1​)×(0,L2​);
  • the closed rectangle Ω‾=[0,L1]×[0,L2]\overline{\Omega} = [0, L_1] \times [0, L_2]Ω=[0,L1​]×[0,L2​];
  • the free boundary ΓFree={x:0≤x1≤L1, x2=0}\Gamma_{\mathrm{Free}} = \{x : 0 \le x_1 \le L_1,\ x_2 = 0\}ΓFree​={x:0≤x1​≤L1​, x2​=0}, which is the top edge including both of its endpoints;
  • the absorbing boundary ΓABC\Gamma_{\mathrm{ABC}}ΓABC​, which is the union of three edges, each without its endpoints:
    • the left edge {x1=0, 0<x2<L2}\{x_1 = 0,\ 0 < x_2 < L_2\}{x1​=0, 0<x2​<L2​};
    • the right edge {x1=L1, 0<x2<L2}\{x_1 = L_1,\ 0 < x_2 < L_2\}{x1​=L1​, 0<x2​<L2​};
    • the bottom edge {0<x1<L1, x2=L2}\{0 < x_1 < L_1,\ x_2 = L_2\}{0<x1​<L1​, x2​=L2​}.

The outward normal ν(x)\nu(x)ν(x) is defined at every point xxx of the plane by:

  • ν(x)=(−1,0)\nu(x) = (-1, 0)ν(x)=(−1,0) if x1=0x_1 = 0x1​=0;
  • otherwise ν(x)=(1,0)\nu(x) = (1, 0)ν(x)=(1,0) if x1=L1x_1 = L_1x1​=L1​;
  • otherwise ν(x)=(0,1)\nu(x) = (0, 1)ν(x)=(0,1).

For a function u:R2→Cu : \mathbb{R}^2 \to \mathbb{C}u:R2→C, the normal derivative ∂νu(x)\partial_\nu u(x)∂ν​u(x) is the real Fréchet derivative of uuu at xxx, taken within the closed rectangle Ω‾\overline{\Omega}Ω, applied to the vector ν(x)\nu(x)ν(x).

For a real function ccc, the Helmholtz operator is

Hcu(x)=Δu(x)+ω2c(x)2 u(x),H_c u(x) = \Delta u(x) + \frac{\omega^2}{c(x)^2}\, u(x),Hc​u(x)=Δu(x)+c(x)2ω2​u(x),

where Δ\DeltaΔ is the Laplacian, i.e. the sum of the two pure second partial derivatives. The coefficient ω2/c(x)2\omega^2 / c(x)^2ω2/c(x)2 is computed as a real number.

A function q:R2→Cq : \mathbb{R}^2 \to \mathbb{C}q:R2→C is said to solve the Helmholtz problem with wavespeed ccc and source sss if all three of the following hold:

  1. For Lebesgue-almost every x∈Ωx \in \Omegax∈Ω, qqq is twice continuously differentiable on a neighbourhood of xxx and
Hcq(x)=−s(x).H_c q(x) = -s(x).Hc​q(x)=−s(x).
  1. For every x∈ΓABCx \in \Gamma_{\mathrm{ABC}}x∈ΓABC​, qqq is differentiable at xxx within Ω‾\overline{\Omega}Ω and
∂νq(x)−iωc(x) q(x)=0.\partial_\nu q(x) - \frac{i\omega}{c(x)}\, q(x) = 0.∂ν​q(x)−c(x)iω​q(x)=0.
  1. q(x)=0q(x) = 0q(x)=0 for every x∈ΓFreex \in \Gamma_{\mathrm{Free}}x∈ΓFree​.

The interior condition is only required almost everywhere. On a Lebesgue-null subset of Ω\OmegaΩ, qqq need be neither C2C^2C2 nor satisfy the equation.

The theorem. Let v,vbg:R2→Rv, v_{\mathrm{bg}} : \mathbb{R}^2 \to \mathbb{R}v,vbg​:R2→R be arbitrary real functions that are strictly positive at every point of Ω‾\overline{\Omega}Ω. Outside Ω‾\overline{\Omega}Ω they are unconstrained. Let s,p,pbg:R2→Cs, p, p_{\mathrm{bg}} : \mathbb{R}^2 \to \mathbb{C}s,p,pbg​:R2→C be arbitrary functions such that:

  • ppp solves the Helmholtz problem with wavespeed vvv and source sss;
  • pbgp_{\mathrm{bg}}pbg​ solves the Helmholtz problem with wavespeed vbgv_{\mathrm{bg}}vbg​ and the same source sss.

No regularity, measurability or boundedness is assumed of sss, and no uniqueness or existence of solutions is asserted. Set

δp=p−pbg,δm(x)=1v(x)2−1vbg(x)2.\delta p = p - p_{\mathrm{bg}}, \qquad \delta m(x) = \frac{1}{v(x)^2} - \frac{1}{v_{\mathrm{bg}}(x)^2}.δp=p−pbg​,δm(x)=v(x)21​−vbg​(x)21​.

The theorem then asserts both (A) and (B).

(A) δp\delta pδp satisfies all of the following:

  • For almost every x∈Ωx \in \Omegax∈Ω, δp\delta pδp is C2C^2C2 near xxx and
Δδp(x)+ω2vbg(x)2 δp(x)=−ω2 δm(x) (δp(x)+pbg(x)).\Delta \delta p(x) + \frac{\omega^2}{v_{\mathrm{bg}}(x)^2}\, \delta p(x) = -\omega^2\, \delta m(x)\, \big(\delta p(x) + p_{\mathrm{bg}}(x)\big).Δδp(x)+vbg​(x)2ω2​δp(x)=−ω2δm(x)(δp(x)+pbg​(x)).
  • For every x∈ΓABCx \in \Gamma_{\mathrm{ABC}}x∈ΓABC​, δp\delta pδp is differentiable at xxx within Ω‾\overline{\Omega}Ω and
∂νδp(x)−iωv(x) δp(x)=iω(1v(x)−1vbg(x))pbg(x).\partial_\nu \delta p(x) - \frac{i\omega}{v(x)}\, \delta p(x) = i\omega \left(\frac{1}{v(x)} - \frac{1}{v_{\mathrm{bg}}(x)}\right) p_{\mathrm{bg}}(x).∂ν​δp(x)−v(x)iω​δp(x)=iω(v(x)1​−vbg​(x)1​)pbg​(x).
  • δp=0\delta p = 0δp=0 on ΓFree\Gamma_{\mathrm{Free}}ΓFree​.

(B) Consider the same three conditions with the right-hand side of the absorbing-boundary equation replaced by 000, namely

∂νδp(x)−iωv(x) δp(x)=0on ΓABC,\partial_\nu \delta p(x) - \frac{i\omega}{v(x)}\, \delta p(x) = 0 \quad \text{on } \Gamma_{\mathrm{ABC}},∂ν​δp(x)−v(x)iω​δp(x)=0on ΓABC​,

with the interior equation and the free-surface condition exactly as in (A). The theorem asserts that δp\delta pδp satisfies these modified conditions if and only if, for every x∈ΓABCx \in \Gamma_{\mathrm{ABC}}x∈ΓABC​,

v(x)=vbg(x)orpbg(x)=0.v(x) = v_{\mathrm{bg}}(x) \quad \text{or} \quad p_{\mathrm{bg}}(x) = 0.v(x)=vbg​(x)orpbg​(x)=0.

The point sets on which this disjunction is tested are only the open left, right and bottom edges. No condition is imposed at the four corners or on the top edge.

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