Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Array-factor model of an RIS and the electromagnetic reciprocity integral

Definition
Arxiv2606_14486_Basic

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

array-factorelectromagnetic-reciprocitymaxwell-equationsreconfigurable-intelligent-surfaces

Objects of Sections II and III of Khankhoje and Kundu (2026).

  1. Steering vector (eq. 1). A linear array has nnn elements spaced ddd along xxx. For wavenumber kkk and an angle θ\thetaθ measured clockwise from +z+z+z, a(θ)=[1,ejkdsin⁡θ,…,ejk(n−1)dsin⁡θ]Ta(\theta)=\big[1,e^{jkd\sin\theta},\dots,e^{jk(n-1)d\sin\theta}\big]^Ta(θ)=[1,ejkdsinθ,…,ejk(n−1)dsinθ]T.
  2. Reflected wavefronts (eqs. 2, 3, 5). Element iii reflects with coefficient RiejψiR_ie^{j\psi_i}Ri​ejψi​, and Ψ\PsiΨ is the vector of these coefficients. The reflected wavefront is the element-wise product a(α)⋅Ψ⋅a(β)a(\alpha)\cdot\Psi\cdot a(\beta)a(α)⋅Ψ⋅a(β). The forward wavefront is y=a(θ2)⋅Ψ⋅a(−θ1)y=a(\theta_2)\cdot\Psi\cdot a(-\theta_1)y=a(θ2​)⋅Ψ⋅a(−θ1​) and the reverse wavefront is z=a(−θ3)⋅Ψ′⋅a(θ2)z=a(-\theta_3)\cdot\Psi'\cdot a(\theta_2)z=a(−θ3​)⋅Ψ′⋅a(θ2​).
  3. In phase. A wavefront vvv is in phase (it interferes constructively in its direction) if there is a single φ∈R\varphi\in\mathbb{R}φ∈R with vi=∣vi∣ejφv_i=|v_i|e^{j\varphi}vi​=∣vi​∣ejφ for every iii.
  4. Phase profiles (eqs. 4, 6). The forward phase step is Δψ=kd(sin⁡θ1−sin⁡θ2)\Delta\psi=kd(\sin\theta_1-\sin\theta_2)Δψ=kd(sinθ1​−sinθ2​). A linear profile is ψi=c+(i−1)Δ\psi_i=c+(i-1)\Deltaψi​=c+(i−1)Δ, and eq. (6) is ψi′=(i−1)Δψ′\psi'_i=(i-1)\Delta\psi'ψi′​=(i−1)Δψ′.
  5. Array factor and discrete beamforming (eqs. 9-11). For weights www, G(α,β)=∑i=1nwiexp⁡(j(i−1)kd[sin⁡α+sin⁡β])G(\alpha,\beta)=\sum_{i=1}^n w_i\exp\big(j(i-1)kd[\sin\alpha+\sin\beta]\big)G(α,β)=∑i=1n​wi​exp(j(i−1)kd[sinα+sinβ]), so G(−θ1,θ2)G(-\theta_1,\theta_2)G(−θ1​,θ2​) and G(θ2,−θ1)G(\theta_2,-\theta_1)G(θ2​,−θ1​) both carry the exponent (i−1)kd[sin⁡θ2−sin⁡θ1](i-1)kd[\sin\theta_2-\sin\theta_1](i−1)kd[sinθ2​−sinθ1​], as in eqs. (9) and (11). The weights w~\tilde ww~ solve eq. (10) if every w~i\tilde w_iw~i​ lies in the finite set B\mathcal{B}B of diode-state reflection coefficients and ∣G(α,β)∣|G(\alpha,\beta)|∣G(α,β)∣ at w~\tilde ww~ is maximal among all such weight vectors.
  6. Time-harmonic fields (Section III). Phasor fields E,H:R3→C3E,H:\mathbb{R}^3\to\mathbb{C}^3E,H:R3→C3 use the time dependence ejωte^{j\omega t}ejωt. The curl is computed from Fréchet partial derivatives. A medium is reciprocal on a region if its permittivity and permeability tensors ε(x),μ(x)∈C3×3\varepsilon(x),\mu(x)\in\mathbb{C}^{3\times3}ε(x),μ(x)∈C3×3 are symmetric there. The fields are source-free on the region if they are differentiable there and satisfy ∇×E=−jωμH\nabla\times E=-j\omega\mu H∇×E=−jωμH and ∇×H=jωεE\nabla\times H=j\omega\varepsilon E∇×H=jωεE.
  7. Reciprocity integral (eq. 12). For a box [a,b]⊂R3[a,b]\subset\mathbb{R}^3[a,b]⊂R3, Ψ=∮S(E1×H2−E2×H1)⋅ds⃗\Psi=\oint_S(E_1\times H_2-E_2\times H_1)\cdot d\vec sΨ=∮S​(E1​×H2​−E2​×H1​)⋅ds over its boundary SSS with the outward normal. The integral is written as the sum over the six faces, and the products carry no complex conjugation.

Formalization Note Elements are indexed from 000, so the paper's factor (i−1)(i-1)(i−1) is the index itself. The flux through the box boundary uses the face parametrisation of Mathlib's divergence theorem.

Definition code
import Mathlib

/-!
Khankhoje and Kundu, *Implications of the Reciprocity Theorem for Reconfigurable Intelligent
Surfaces*, arXiv:2606.14486v1 (2026): the array-factor model of Section II (steering vector,
reflected wavefronts, linear reflection-phase profiles, array factor and discrete beamforming
problem, eqs. (1)-(11)) and, for Section III, time-harmonic fields in a linear medium with
symmetric permittivity and permeability tensors and the reciprocity surface integral `Ψ` of
eq. (12) over a rectangular box.

Element indices: element `i : Fin n` is the paper's element `i + 1`, so the paper's factor
`(i - 1)` is `(i : ℕ)` here.
-/

open MeasureTheory

noncomputable section

namespace Arxiv2606_14486

/-- Section II, eq. (1): the array steering vector
`a(θ) = [1, e^{jkd sin θ}, …, e^{jk(n-1)d sin θ}]ᵀ` of `n` elements spaced `d` along `x`, for
wavenumber `k` and angle `θ` measured clockwise from `+z`. -/
def steering (n : ℕ) (k d θ : ℝ) : Fin n → ℂ :=
  fun i => Complex.exp ((((i : ℕ) : ℝ) * k * d * Real.sin θ : ℝ) * Complex.I)

/-- Section II, after eq. (2): the vector `Ψ` of element-wise reflection coefficients
`R_i e^{jψ_i}`, with magnitudes `R_i` and reflection phases `ψ_i`. -/
def reflCoeffs {n : ℕ} (R ψ : Fin n → ℝ) : Fin n → ℂ :=
  fun i => (R i : ℂ) * Complex.exp ((ψ i : ℂ) * Complex.I)

/-- Section II, eqs. (2) and (5): the reflected wavefront `a(α) · Ψ · a(β)` (element-wise
products). Eq. (2) is `y = a(θ₂) · Ψ · a(-θ₁)`, i.e. `wavefront n k d θ₂ (-θ₁) (reflCoeffs R ψ)`; eq. (5) is
`z = a(-θ₃) · Ψ' · a(θ₂)`, i.e. `wavefront n k d (-θ₃) θ₂ (reflCoeffs R' ψ')`. -/
def wavefront (n : ℕ) (k d α β : ℝ) (c : Fin n → ℂ) : Fin n → ℂ :=
  fun i => steering n k d α i * c i * steering n k d β i

/-- Section II-A, before eq. (4): the entries of a wavefront are all in phase (constructive
interference in the corresponding direction): there is one phase `φ` with
`v_i = |v_i| e^{jφ}` for every element `i`. -/
def InPhase {n : ℕ} (v : Fin n → ℂ) : Prop :=
  ∃ φ : ℝ, ∀ i, v i = (‖v i‖ : ℂ) * Complex.exp ((φ : ℂ) * Complex.I)

/-- Section II-A, eq. (4): the inter-element phase step `Δψ = kd (sin θ₁ - sin θ₂)` for
beamforming from incidence angle `θ₁` to reflection angle `θ₂`. -/
def phaseStep (k d θ₁ θ₂ : ℝ) : ℝ := k * d * (Real.sin θ₁ - Real.sin θ₂)

/-- Section II-A, eqs. (4) and (6): a reflection-phase profile linear in the element index,
`ψ_i = c + (i - 1) Δ` (eq. (4) "up to a constant" `c`; eq. (6) is `c = 0`, `Δ = Δψ'`). -/
def linearPhases (n : ℕ) (c Δ : ℝ) : Fin n → ℝ := fun i => c + ((i : ℕ) : ℝ) * Δ

/-- Section II-B, eqs. (9) and (11): the array factor of weights `w`,
`∑_i w_i exp(j (i-1) kd [sin α + sin β])`. Eq. (9) is `G(-θ₁, θ₂)` with the forward weights
and eq. (11) is `G(θ₂, -θ₁)` with the reverse weights `τ`; both have the exponent
`(i-1) kd [sin θ₂ - sin θ₁]`, as printed. -/
def arrayFactor (n : ℕ) (k d α β : ℝ) (w : Fin n → ℂ) : ℂ :=
  ∑ i, w i * Complex.exp ((((i : ℕ) : ℝ) * k * d * (Real.sin α + Real.sin β) : ℝ) * Complex.I)

/-- Section II-B, eq. (10): `w` solves the discrete beamforming problem
`max_w |G(α, β)| subject to w ∈ 𝓑`, where every element's weight (field reflection
coefficient) lies in the finite set `𝓑` of diode-state coefficients. -/
def IsOptimalWeights (B : Finset ℂ) (n : ℕ) (k d α β : ℝ) (w : Fin n → ℂ) : Prop :=
  (∀ i, w i ∈ B) ∧
    ∀ w' : Fin n → ℂ, (∀ i, w' i ∈ B) → ‖arrayFactor n k d α β w'‖ ≤ ‖arrayFactor n k d α β w‖

/-- Section III, eq. (12): the partial derivative `∂_j F` at `x` of a complex scalar field on
`ℝ³`, as the Fréchet derivative in the `j`-th coordinate direction. -/
def pderiv (F : (Fin 3 → ℝ) → ℂ) (j : Fin 3) (x : Fin 3 → ℝ) : ℂ :=
  fderiv ℝ F x (Pi.single j 1)

/-- The curl `∇ × F` of a complex (phasor) vector field on `ℝ³`, used in the time-harmonic
Maxwell equations underlying eq. (12) (Harrington, Eq. 3-34, cited in Section III). -/
def curl (F : (Fin 3 → ℝ) → Fin 3 → ℂ) (x : Fin 3 → ℝ) : Fin 3 → ℂ :=
  ![pderiv (fun y => F y 2) 1 x - pderiv (fun y => F y 1) 2 x,
    pderiv (fun y => F y 0) 2 x - pderiv (fun y => F y 2) 0 x,
    pderiv (fun y => F y 1) 0 x - pderiv (fun y => F y 0) 1 x]

/-- Section I (citing Chew, Ch. 30) and Section III: on the region `V` the medium is linear and
reciprocal, i.e. described by permittivity and permeability tensors `ε(x)`, `μ(x)` (complex,
so lossy media are allowed) that are symmetric matrices. -/
def IsReciprocalMedium (eps mu : (Fin 3 → ℝ) → Matrix (Fin 3) (Fin 3) ℂ)
    (V : Set (Fin 3 → ℝ)) : Prop :=
  ∀ x ∈ V, (eps x).transpose = eps x ∧ (mu x).transpose = mu x

/-- Section III, eq. (12): the phasor fields `(E, H)` (time dependence `e^{jωt}`, as in
Section II) satisfy the source-free time-harmonic Maxwell equations
`∇ × E = -jω μ H`, `∇ × H = jω ε E` at every point of `V`, where both fields are
differentiable ("a volume ... does not contain any impressed sources"). -/
def IsSourceFreeMaxwellOn (ω : ℝ) (eps mu : (Fin 3 → ℝ) → Matrix (Fin 3) (Fin 3) ℂ)
    (V : Set (Fin 3 → ℝ)) (E H : (Fin 3 → ℝ) → Fin 3 → ℂ) : Prop :=
  ∀ x ∈ V, DifferentiableAt ℝ E x ∧ DifferentiableAt ℝ H x ∧
    curl E x = (-(Complex.I * ω)) • (mu x).mulVec (H x) ∧
    curl H x = (Complex.I * ω) • (eps x).mulVec (E x)

/-- Section III and Appendix A: the open rectangular box `∏_i (a_i, b_i)`; the paper's
surface `S` enclosing the RIS is the boundary of such a bounding box. -/
def boxInterior (a b : Fin 3 → ℝ) : Set (Fin 3 → ℝ) :=
  Set.pi Set.univ fun i => Set.Ioo (a i) (b i)

/-- The outward flux `∮_S F · ds` of a complex vector field through the boundary `S` of the
box `[a, b] ⊂ ℝ³`: for each coordinate `i`, the integral of `F_i` over the face `x_i = b_i`
minus the integral over the face `x_i = a_i`, each face parametrised by the two remaining
coordinates (the face convention of Mathlib's divergence theorem). -/
def boxFlux (a b : Fin 3 → ℝ) (F : (Fin 3 → ℝ) → Fin 3 → ℂ) : ℂ :=
  ∑ i : Fin 3,
    ((∫ y in Set.Icc (a ∘ i.succAbove) (b ∘ i.succAbove), F (i.insertNth (b i) y) i) -
      ∫ y in Set.Icc (a ∘ i.succAbove) (b ∘ i.succAbove), F (i.insertNth (a i) y) i)

/-- Section III, eq. (12): the reciprocity integral
`Ψ = ∮_S (E₁ × H₂ - E₂ × H₁) · ds` over the boundary of the box `[a, b]`, where `(E₁, H₁)` are
the fields with the transmitter at `A` and `(E₂, H₂)` those with the transmitter at `B`
(products without complex conjugation). -/
def reciprocityIntegral (a b : Fin 3 → ℝ) (E₁ H₁ E₂ H₂ : (Fin 3 → ℝ) → Fin 3 → ℂ) : ℂ :=
  boxFlux a b fun x => crossProduct (E₁ x) (H₂ x) - crossProduct (E₂ x) (H₁ x)

end Arxiv2606_14486
Source
Khankhoje and Kundu, Implications of the Reciprocity Theorem for Reconfigurable Intelligent Surfaces, arXiv:2606.14486v1 (2026), https://arxiv.org/abs/2606.14486, Sec. II-A eqs. (1)-(6), Sec. II-B eqs. (9)-(11), Sec. III eq. (12), Appendix A (bounding boxes)
Read-back

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

The code contains only definitions and no theorem, so nothing is asserted beyond what each definition introduces. Throughout, nnn is a natural number, elements are indexed by i∈{0,1,…,n−1}i \in \{0, 1, \dots, n-1\}i∈{0,1,…,n−1}, jjj denotes the imaginary unit, and coordinates of R3\mathbb{R}^3R3 are indexed 0,1,20, 1, 20,1,2.


steering (steering vector). Given n∈Nn \in \mathbb{N}n∈N and arbitrary reals k,d,θk, d, \thetak,d,θ, this is the complex vector a(θ)∈Cna(\theta) \in \mathbb{C}^na(θ)∈Cn with entries

ai(θ)=e j i k dsin⁡θ,i=0,…,n−1.a_i(\theta) = e^{\,j\, i\, k\, d \sin\theta}, \qquad i = 0, \dots, n-1 .ai​(θ)=ejikdsinθ,i=0,…,n−1.

The first entry (i=0i = 0i=0) is 111. No sign, positivity, or range condition is placed on kkk, ddd, or θ\thetaθ. When n=0n = 0n=0 the vector is empty.


reflCoeffs (reflection-coefficient vector). Given real vectors R=(R0,…,Rn−1)R = (R_0, \dots, R_{n-1})R=(R0​,…,Rn−1​) and ψ=(ψ0,…,ψn−1)\psi = (\psi_0, \dots, \psi_{n-1})ψ=(ψ0​,…,ψn−1​), this is the complex vector with entries

ci=Ri e jψi.c_i = R_i\, e^{\,j \psi_i}.ci​=Ri​ejψi​.

The RiR_iRi​ are arbitrary reals. They are not required to be non-negative or at most 111, so they may be zero or negative.


wavefront (reflected wavefront). Given nnn, reals k,d,α,βk, d, \alpha, \betak,d,α,β, and a complex vector c∈Cnc \in \mathbb{C}^nc∈Cn, this is the vector v∈Cnv \in \mathbb{C}^nv∈Cn obtained by entrywise multiplication

vi=ai(α) ci ai(β)=ci e j i k d (sin⁡α+sin⁡β),v_i = a_i(\alpha)\, c_i\, a_i(\beta) = c_i\, e^{\,j\, i\, k\, d\,(\sin\alpha + \sin\beta)},vi​=ai​(α)ci​ai​(β)=ci​ejikd(sinα+sinβ),

where a(⋅)a(\cdot)a(⋅) is the steering vector above. The angles α,β\alpha, \betaα,β are arbitrary reals; any sign flips (such as −θ1-\theta_1−θ1​) must be supplied by the caller.


InPhase. A vector v∈Cnv \in \mathbb{C}^nv∈Cn is "in phase" if there exists a single real φ\varphiφ such that for every iii

vi=∣vi∣ e jφ.v_i = |v_i|\, e^{\,j\varphi}.vi​=∣vi​∣ejφ.

Edge cases:

  • Zero entries satisfy this for every φ\varphiφ, so they impose no constraint.
  • The all-zero vector is in phase.
  • Every vector with n=0n = 0n=0 is vacuously in phase.

phaseStep. For reals k,d,θ1,θ2k, d, \theta_1, \theta_2k,d,θ1​,θ2​, this is the real number

Δψ=k d (sin⁡θ1−sin⁡θ2).\Delta\psi = k\, d\,(\sin\theta_1 - \sin\theta_2).Δψ=kd(sinθ1​−sinθ2​).

linearPhases. For nnn and reals c,Δc, \Deltac,Δ, this is the real vector

ψi=c+i Δ,i=0,…,n−1,\psi_i = c + i\,\Delta, \qquad i = 0, \dots, n-1,ψi​=c+iΔ,i=0,…,n−1,

so ψ0=c\psi_0 = cψ0​=c.


arrayFactor. For nnn, reals k,d,α,βk, d, \alpha, \betak,d,α,β, and weights w∈Cnw \in \mathbb{C}^nw∈Cn, this is the complex number

G(α,β;w)=∑i=0n−1wi e j i k d (sin⁡α+sin⁡β).G(\alpha,\beta; w) = \sum_{i=0}^{n-1} w_i\, e^{\,j\, i\, k\, d\,(\sin\alpha + \sin\beta)} .G(α,β;w)=i=0∑n−1​wi​ejikd(sinα+sinβ).

The exponent contains the sum sin⁡α+sin⁡β\sin\alpha + \sin\betasinα+sinβ, and the expression is symmetric in α\alphaα and β\betaβ. For n=0n = 0n=0 the sum is empty and G=0G = 0G=0.


IsOptimalWeights. For a finite set B⊂CB \subset \mathbb{C}B⊂C, nnn, reals k,d,α,βk, d, \alpha, \betak,d,α,β, and w∈Cnw \in \mathbb{C}^nw∈Cn, this is the proposition that both of the following hold:

  1. every entry wiw_iwi​ lies in BBB;
  2. for every w′∈Cnw' \in \mathbb{C}^nw′∈Cn whose entries all lie in BBB,
∣G(α,β;w′)∣≤∣G(α,β;w)∣,|G(\alpha,\beta; w')| \le |G(\alpha,\beta; w)|,∣G(α,β;w′)∣≤∣G(α,β;w)∣,

with GGG the array factor above.

Optimality is only relative to BBB-valued weight vectors, and uniqueness is not asserted.

Edge cases:

  • If B=∅B = \varnothingB=∅ and n≥1n \ge 1n≥1, no www satisfies this.
  • If n=0n = 0n=0, the unique (empty) www satisfies it for every BBB, including B=∅B = \varnothingB=∅.

pderiv (partial derivative). For F:R3→CF : \mathbb{R}^3 \to \mathbb{C}F:R3→C, an index m∈{0,1,2}m \in \{0,1,2\}m∈{0,1,2}, and x∈R3x \in \mathbb{R}^3x∈R3, this is the real Fréchet derivative of FFF at xxx (treating C\mathbb{C}C as a real vector space) applied to the mmm-th standard basis vector eme_mem​:

∂mF(x)=DF(x)[em].\partial_m F(x) = DF(x)[e_m].∂m​F(x)=DF(x)[em​].

If FFF is not (real-)Fréchet differentiable at xxx, the value is 000 by convention. This holds even when the ordinary partial derivative in direction eme_mem​ exists.


curl. For a complex vector field F=(F0,F1,F2):R3→C3F = (F_0, F_1, F_2) : \mathbb{R}^3 \to \mathbb{C}^3F=(F0​,F1​,F2​):R3→C3 and x∈R3x \in \mathbb{R}^3x∈R3, this is

(∇×F)(x)=(∂1F2−∂2F1,  ∂2F0−∂0F2,  ∂0F1−∂1F0)(x),(\nabla\times F)(x) = \big(\partial_1 F_2 - \partial_2 F_1,\ \ \partial_2 F_0 - \partial_0 F_2,\ \ \partial_0 F_1 - \partial_1 F_0\big)(x),(∇×F)(x)=(∂1​F2​−∂2​F1​,  ∂2​F0​−∂0​F2​,  ∂0​F1​−∂1​F0​)(x),

with each ∂mFℓ\partial_m F_\ell∂m​Fℓ​ the partial derivative defined above. Any component that is not Fréchet differentiable at xxx contributes 000 for its partials.


IsReciprocalMedium. For matrix-valued functions ε,μ:R3→C3×3\varepsilon, \mu : \mathbb{R}^3 \to \mathbb{C}^{3\times 3}ε,μ:R3→C3×3 and a set V⊆R3V \subseteq \mathbb{R}^3V⊆R3, this is the proposition that for every x∈Vx \in Vx∈V

ε(x)T=ε(x)andμ(x)T=μ(x).\varepsilon(x)^{\mathsf T} = \varepsilon(x) \quad\text{and}\quad \mu(x)^{\mathsf T} = \mu(x).ε(x)T=ε(x)andμ(x)T=μ(x).

Here T^{\mathsf T}T is the plain transpose, with no complex conjugation.

What is not required:

  • invertibility, definiteness, regularity, or measurability of ε\varepsilonε or μ\muμ;
  • any condition outside VVV.

If V=∅V = \varnothingV=∅, the condition is vacuous.


IsSourceFreeMaxwellOn. For a real ω\omegaω, ε,μ\varepsilon, \muε,μ as above, a set V⊆R3V \subseteq \mathbb{R}^3V⊆R3, and fields E,H:R3→C3E, H : \mathbb{R}^3 \to \mathbb{C}^3E,H:R3→C3, this is the proposition that at every x∈Vx \in Vx∈V:

  1. EEE and HHH are real-Fréchet differentiable at xxx, as maps on all of R3\mathbb{R}^3R3;
  2. the following two equations hold, where μ(x)H(x)\mu(x)H(x)μ(x)H(x) and ε(x)E(x)\varepsilon(x)E(x)ε(x)E(x) are matrix–vector products:
(∇×E)(x)=−jω μ(x) H(x),(∇×H)(x)=jω ε(x) E(x).(\nabla\times E)(x) = -j\omega\, \mu(x)\, H(x), \qquad (\nabla\times H)(x) = j\omega\, \varepsilon(x)\, E(x).(∇×E)(x)=−jωμ(x)H(x),(∇×H)(x)=jωε(x)E(x).

What is not required:

  • that VVV be open, bounded, or nonempty;
  • any sign condition on ω\omegaω;
  • any symmetry of ε\varepsilonε or μ\muμ;
  • any condition outside VVV.

Degenerate cases:

  • ω=0\omega = 0ω=0 reduces the condition to both curls vanishing on VVV.
  • E=H=0E = H = 0E=H=0 always satisfies it.
  • V=∅V = \varnothingV=∅ makes it vacuous.

boxInterior. For a,b∈R3a, b \in \mathbb{R}^3a,b∈R3, this is the open box

{x∈R3:am<xm<bm for m=0,1,2}=∏m(am,bm).\{x \in \mathbb{R}^3 : a_m < x_m < b_m \text{ for } m = 0,1,2\} = \prod_{m} (a_m, b_m).{x∈R3:am​<xm​<bm​ for m=0,1,2}=m∏​(am​,bm​).

It is empty if am≥bma_m \ge b_mam​≥bm​ for some mmm.


boxFlux. For a,b∈R3a, b \in \mathbb{R}^3a,b∈R3 and F:R3→C3F : \mathbb{R}^3 \to \mathbb{C}^3F:R3→C3, this is the complex number

∑m=02(∫QmFm(ιm(bm,y)) dy  −  ∫QmFm(ιm(am,y)) dy).\sum_{m=0}^{2}\left( \int_{Q_m} F_m\big(\iota_m(b_m, y)\big)\,dy \;-\; \int_{Q_m} F_m\big(\iota_m(a_m, y)\big)\,dy \right).m=0∑2​(∫Qm​​Fm​(ιm​(bm​,y))dy−∫Qm​​Fm​(ιm​(am​,y))dy).

The symbols mean:

  • Qm⊂R2Q_m \subset \mathbb{R}^2Qm​⊂R2 is the closed rectangle ∏ℓ≠m[aℓ,bℓ]\prod_{\ell \ne m} [a_\ell, b_\ell]∏ℓ=m​[aℓ​,bℓ​], with the two remaining coordinates taken in increasing index order.
  • ιm(t,y)\iota_m(t, y)ιm​(t,y) is the point of R3\mathbb{R}^3R3 whose mmm-th coordinate is ttt and whose other two coordinates are yyy, in order.
  • Each integral is a Lebesgue (Bochner) integral with respect to 2-dimensional Lebesgue measure.

So for each coordinate mmm, the term takes only the mmm-th component of FFF, integrated over the face xm=bmx_m = b_mxm​=bm​ minus the face xm=amx_m = a_mxm​=am​.

Edge cases:

  • Any face integral whose integrand is not integrable is 000 by convention.
  • If aℓ>bℓa_\ell > b_\ellaℓ​>bℓ​ for some ℓ≠m\ell \ne mℓ=m, then QmQ_mQm​ is empty and both integrals in the mmm-th term are 000.
  • No continuity or other condition is placed on FFF.

reciprocityIntegral. For a,b∈R3a, b \in \mathbb{R}^3a,b∈R3 and four fields E1,H1,E2,H2:R3→C3E_1, H_1, E_2, H_2 : \mathbb{R}^3 \to \mathbb{C}^3E1​,H1​,E2​,H2​:R3→C3, this is the box flux defined above of the field

x↦E1(x)×H2(x)−E2(x)×H1(x).x \mapsto E_1(x)\times H_2(x) - E_2(x)\times H_1(x).x↦E1​(x)×H2​(x)−E2​(x)×H1​(x).

The cross product of u,v∈C3u, v \in \mathbb{C}^3u,v∈C3 is taken without complex conjugation:

u×v=(u1v2−u2v1, u2v0−u0v2, u0v1−u1v0).u\times v = (u_1v_2 - u_2v_1,\ u_2v_0 - u_0v_2,\ u_0v_1 - u_1v_0).u×v=(u1​v2​−u2​v1​, u2​v0​−u0​v2​, u0​v1​−u1​v0​).

No hypotheses are placed on the four fields. In particular they are not assumed to satisfy Maxwell's equations or to be related to any transmitter, and the non-integrable and empty-face conventions of the box flux apply.

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