Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Sec. VI: expansion of ∇[G2−G1]\nabla[G_2-G_1]∇[G2​−G1​] as ∣r−r′∣→0|r-r'|\to0∣r−r′∣→0 (as proved: coefficient (k22−k12)/(8π)(k_2^2-k_1^2)/(8\pi)(k22​−k12​)/(8π))

Open
Arxiv2210_02565.grad_green_difference_expansion

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

electromagnetic-scatteringgreen-functionsintegral-equationslayered-mediamaxwell-equations

Let k1,k2∈Ck_1,k_2\in\mathbb Ck1​,k2​∈C and Gj(r,r′)=eikj∣r−r′∣/(4π∣r−r′∣)G_j(\mathbf r,\mathbf r')=e^{ik_j|\mathbf r-\mathbf r'|}/(4\pi|\mathbf r-\mathbf r'|)Gj​(r,r′)=eikj​∣r−r′∣/(4π∣r−r′∣) (eq. 9), and let ∇\nabla∇ act on r\mathbf rr. Then, as r→r′\mathbf r\to\mathbf r'r→r′ with r≠r′\mathbf r\ne\mathbf r'r=r′,

∇[G2(r,r′)−G1(r,r′)]=−k22−k128π r−r′∣r−r′∣+o(1).\nabla\big[G_2(\mathbf r,\mathbf r')-G_1(\mathbf r,\mathbf r')\big]=-\frac{k_2^2-k_1^2}{8\pi}\,\frac{\mathbf r-\mathbf r'}{|\mathbf r-\mathbf r'|}+o(1).∇[G2​(r,r′)−G1​(r,r′)]=−8πk22​−k12​​∣r−r′∣r−r′​+o(1).

In particular, for every R>0R>0R>0 there is a constant CCC such that ∣∇[G2(r,r′)−G1(r,r′)]∣≤C\big|\nabla[G_2(\mathbf r,\mathbf r')-G_1(\mathbf r,\mathbf r')]\big|\le C​∇[G2​(r,r′)−G1​(r,r′)]​≤C whenever 0<∣r−r′∣≤R0<|\mathbf r-\mathbf r'|\le R0<∣r−r′∣≤R. So the kernel of the integrals Im,n(3)I^{(3)}_{m,n}Im,n(3)​ in the off-diagonal blocks of the MoM matrix stays bounded.

Formalization Note The paper prints the coefficient as (k22−k12)/2(k_2^2-k_1^2)/2(k22​−k12​)/2. With GjG_jGj​ as defined in eq. (9), the expansion G2−G1=i(k2−k1)4π−(k22−k12)8π∣r−r′∣+O(∣r−r′∣2)G_2-G_1=\frac{i(k_2-k_1)}{4\pi}-\frac{(k_2^2-k_1^2)}{8\pi}|\mathbf r-\mathbf r'|+O(|\mathbf r-\mathbf r'|^2)G2​−G1​=4πi(k2​−k1​)​−8π(k22​−k12​)​∣r−r′∣+O(∣r−r′∣2) gives the coefficient (k22−k12)/(8π)(k_2^2-k_1^2)/(8\pi)(k22​−k12​)/(8π), which is stated here. The printed value would hold for GGG without the factor 1/(4π)1/(4\pi)1/(4π). The boundedness conclusion is unaffected. The boundedness is stated for the factor ∇[G2−G1]\nabla[G_2-G_1]∇[G2​−G1​], uniformly in r′\mathbf r'r′ for ∣r−r′∣|\mathbf r-\mathbf r'|∣r−r′∣ bounded, as needed on the bounded surface ΓA\Gamma_AΓA​.

Preamble
import Mathlib
import Definitions.Def_Arxiv2210_02565_Basic

open Filter Topology
Formal statement
namespace Arxiv2210_02565

theorem grad_green_difference_expansion (k1 k2 : ℂ) :
    (∀ r' : Space,
      Tendsto (fun r : Space => grad (fun x => greenFn k2 x r' - greenFn k1 x r') r +
          ((k2 ^ 2 - k1 ^ 2) / (8 * Real.pi)) • toC (‖r - r'‖⁻¹ • (r - r')))
        (𝓝[≠] r') (𝓝 0)) ∧
    ∀ R : ℝ, 0 < R → ∃ C : ℝ, ∀ x y : Space, 0 < ‖x - y‖ → ‖x - y‖ ≤ R →
      ‖grad (fun q => greenFn k2 q y - greenFn k1 q y) x‖ ≤ C := by sorry

end Arxiv2210_02565
Source
Arrieta and Pérez-Arancibia, Windowed Green Function MoM for Second-Kind Surface Integral Equation Formulations of Layered Media Electromagnetic Scattering Problems, arXiv:2210.02565v1 (2022), claim c007; Section VI (MoM discretization), display after the integrals I^(1)-I^(3), with eq. (9), PDF p. 5
Read-back

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

For arbitrary complex numbers k1,k2∈Ck_1, k_2 \in \mathbb{C}k1​,k2​∈C, with no restriction on their real or imaginary parts and allowing k1=k2k_1 = k_2k1​=k2​, the statement asserts the conjunction of two properties. Both concern the gradient of the difference of two Helmholtz-type kernels.

Notation. Points r,r′,x,yr, r', x, yr,r′,x,y range over R3\mathbb{R}^3R3 with the Euclidean norm ∣⋅∣|\cdot|∣⋅∣. For k∈Ck \in \mathbb{C}k∈C the kernel is

Gk(r,r′)=e ik∣r−r′∣4π∣r−r′∣(r≠r′),G_k(r, r') = \frac{e^{\,i k |r - r'|}}{4\pi |r - r'|} \qquad (r \neq r'),Gk​(r,r′)=4π∣r−r′∣eik∣r−r′∣​(r=r′),

and Gk(r′,r′)=0G_k(r', r') = 0Gk​(r′,r′)=0 (the value produced by division by zero).

For a fixed source point r′r'r′, write

Fr′(x)=Gk2(x,r′)−Gk1(x,r′),F_{r'}(x) = G_{k_2}(x, r') - G_{k_1}(x, r'),Fr′​(x)=Gk2​​(x,r′)−Gk1​​(x,r′),

viewed as a complex-valued function on all of R3\mathbb{R}^3R3.

Its gradient at rrr is the complex vector

∇Fr′(r)=(∂1Fr′(r), ∂2Fr′(r), ∂3Fr′(r))∈C3,\nabla F_{r'}(r) = \big(\partial_1 F_{r'}(r),\ \partial_2 F_{r'}(r),\ \partial_3 F_{r'}(r)\big) \in \mathbb{C}^3,∇Fr′​(r)=(∂1​Fr′​(r), ∂2​Fr′​(r), ∂3​Fr′​(r))∈C3,

where ∂iFr′(r)\partial_i F_{r'}(r)∂i​Fr′​(r) is the (real) Fréchet derivative of Fr′F_{r'}Fr′​ at rrr applied to the iii-th standard basis vector. If Fr′F_{r'}Fr′​ is not differentiable at rrr, this derivative is defined to be 000. Only points r≠r′r \neq r'r=r′ occur below, and derivatives there depend only on Fr′F_{r'}Fr′​ near rrr, so the junk value at r′r'r′ never enters.

Real vectors are regarded as complex vectors componentwise. On C3\mathbb{C}^3C3 the norm is the maximum modulus of the three components:

∥v∥=max⁡i∣vi∣.\|v\| = \max_i |v_i|.∥v∥=imax​∣vi​∣.

(1) Local expansion near the singularity. For every r′∈R3r' \in \mathbb{R}^3r′∈R3,

∇Fr′(r)  +  k22−k128π r−r′∣r−r′∣  ⟶  0∈C3as r→r′, r≠r′.\nabla F_{r'}(r) \;+\; \frac{k_2^2 - k_1^2}{8\pi}\,\frac{r - r'}{|r - r'|} \;\longrightarrow\; 0 \in \mathbb{C}^3 \qquad \text{as } r \to r',\ r \neq r'.∇Fr′​(r)+8πk22​−k12​​∣r−r′∣r−r′​⟶0∈C3as r→r′, r=r′.

In other words, ∇Fr′(r)=−k22−k128π r−r′∣r−r′∣+o(1)\nabla F_{r'}(r) = -\dfrac{k_2^2 - k_1^2}{8\pi}\,\dfrac{r - r'}{|r - r'|} + o(1)∇Fr′​(r)=−8πk22​−k12​​∣r−r′∣r−r′​+o(1) along the punctured neighbourhood of r′r'r′. The limit is taken separately for each r′r'r′; no uniformity in r′r'r′ is asserted.

(2) Uniform boundedness on bounded separations. For every real R>0R > 0R>0 there exists a real constant CCC, which may depend on RRR, k1k_1k1​ and k2k_2k2​ but not on the points, such that for all x,y∈R3x, y \in \mathbb{R}^3x,y∈R3 with

0<∣x−y∣≤R,0 < |x - y| \le R,0<∣x−y∣≤R,

one has

∥∇Fy(x)∥=max⁡i∣∂i(Gk2(⋅,y)−Gk1(⋅,y))(x)∣  ≤  C.\big\|\nabla F_{y}(x)\big\| = \max_{i} \big|\partial_i \big(G_{k_2}(\cdot, y) - G_{k_1}(\cdot, y)\big)(x)\big| \;\le\; C.​∇Fy​(x)​=imax​​∂i​(Gk2​​(⋅,y)−Gk1​​(⋅,y))(x)​≤C.

Degenerate cases. When k1=k2k_1 = k_2k1​=k2​, the function Fr′F_{r'}Fr′​ is identically zero. In that case the correction term vanishes and both parts hold trivially. When k2=±k1k_2 = \pm k_1k2​=±k1​, the correction term in (1) is zero.

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