Elastic Green's tensor, resonant point scatterers and quasi-modes
DefinitionArxiv1803_10134_BasicObjects of Section III A and Section III D of Skipetrov and Beltukov (2018).
- Medium. A homogeneous isotropic elastic medium fills . Its mass density is , and compressive and shear waves travel with speeds and . At frequency the wave numbers are .
- Green's tensor (eq. 8). With , , and ,
- Polarizability (eq. 10). For a scatterer with resonance frequency and width and a real prefactor , . The paper's prefactor is , and with .
- Foldy–Lax equations (eq. 9). Scatterers sit at positions . Displacements in an incident field satisfy . Vectors are indexed by pairs (scatterer , direction ).
- Green's matrix (eq. 12). is the matrix with blocks .
- Biorthogonal eigensystem (eqs. 13–15). complex numbers , column vectors and row vectors with , , .
- Quasi-modes (eq. 17). and .
- Near-field tensor (eq. 21). .
Formalization Note The medium is described by . Every positive pair arises from Lamé parameters with and . This also admits non-physical media (e.g. ), where the statements remain true. The printed prefactor "" is read with the bracket in the denominator, the only reading compatible with the second line of eq. (12). The pairing is the row-times-column product, without complex conjugation. At the formulas divide by zero; they are only used at nonzero separations, or under limits that exclude .
import Mathlib
/-!
Skipetrov and Beltukov, *Anderson transition for elastic waves in three dimensions*,
arXiv:1803.10134v3 (2018), Section III A: the elastic Green's tensor of a homogeneous isotropic
medium (eq. (8)), the polarizability of a resonant point scatterer (eq. (10)), the vector
Foldy-Lax equations (eq. (9)), the Green's matrix (eq. (12)), its biorthogonal eigensystem
(eqs. (13)-(15)), the quasi-mode frequencies and decay rates (eq. (17)), and the near-field
Green's tensor of Section III D (eq. (21)).
The medium enters only through its mass density `ρ0` and the speeds `cp`, `cs` of compressive and
shear waves, `cp = ((λ0 + 2 μ0) / ρ0)^{1/2}`, `cs = (μ0 / ρ0)^{1/2}`.
-/
open Complex
noncomputable section
namespace Arxiv1803_10134
/-- Physical space `ℝ³`, in which positions `r` and separations `Δr = r - r'` live
(Section III A). -/
abbrev Space := EuclideanSpace ℝ (Fin 3)
/-- The `3N` Cartesian displacement components `u_m^α` of `N` scatterers, indexed by the scatterer
`m` and the direction `α ∈ {x, y, z}`; the vector `|u⟩` of Section III A, before eq. (11). -/
abbrev Idx (N : ℕ) := Fin N × Fin 3
/-- The dyadic `v ⊗ v` of a vector of `ℝ³`, as a complex `3 × 3` matrix (Section III A, after
eq. (8)). -/
def outerC (v : Space) : Matrix (Fin 3) (Fin 3) ℂ :=
Matrix.vecMulVec (fun a => (v a : ℂ)) (fun a => (v a : ℂ))
/-- The auxiliary tensor function defined after eq. (8):
`F(v) = [1 - 3 (v ⊗ v) / v²] (1 + 3i/v - 3/v²)`, with `v = ‖v‖`. -/
def auxF (v : Space) : Matrix (Fin 3) (Fin 3) ℂ :=
(1 + 3 * I / (‖v‖ : ℂ) - 3 / (‖v‖ : ℂ) ^ 2) •
(1 - ((3 : ℂ) / (‖v‖ : ℂ) ^ 2) • outerC v)
/-- The compressive-wave term of eqs. (8) and (12) at separation `Δr`:
`e^{i k_p Δr} / (k_p Δr) [1 - F(k_p Δr)]`, with `k_p = ω / c_p`. -/
def compressivePart (cp om : ℝ) (x : Space) : Matrix (Fin 3) (Fin 3) ℂ :=
(cexp (I * ((om / cp * ‖x‖ : ℝ) : ℂ)) / ((om / cp * ‖x‖ : ℝ) : ℂ)) •
(1 - auxF ((om / cp) • x))
/-- The shear-wave term of eqs. (8) and (12) at separation `Δr`:
`e^{i k_s Δr} / (k_s Δr) [1 + F(k_s Δr) / 2]`, with `k_s = ω / c_s`. -/
def shearPart (cs om : ℝ) (x : Space) : Matrix (Fin 3) (Fin 3) ℂ :=
(cexp (I * ((om / cs * ‖x‖ : ℝ) : ℂ)) / ((om / cs * ‖x‖ : ℝ) : ℂ)) •
(1 + (1 / 2 : ℂ) • auxF ((om / cs) • x))
/-- Eq. (8): the elastic Green's tensor of a homogeneous isotropic medium of mass density `ρ0`
with compressive and shear wave speeds `cp`, `cs`, at frequency `ω`:
`𝒢(r, r', ω) = ω / (12 π ρ0 c_p³) {compressive part + 2 (c_p/c_s)³ shear part}` at `Δr = r - r'`. -/
def greenTensor (rho0 cp cs om : ℝ) (r r' : Space) : Matrix (Fin 3) (Fin 3) ℂ :=
((om / (12 * Real.pi * rho0 * cp ^ 3) : ℝ) : ℂ) •
(compressivePart cp om (r - r') + ((2 * (cp / cs) ^ 3 : ℝ) : ℂ) • shearPart cs om (r - r'))
/-- The prefactor `B` of eq. (10), read with the bracket in the denominator (as eq. (12)
requires): `B = 12 π ρ0 c_p³ / (ω [1 + 2 (c_p/c_s)³])`. -/
def prefactorB (rho0 cp cs om : ℝ) : ℝ :=
12 * Real.pi * rho0 * cp ^ 3 / (om * (1 + 2 * (cp / cs) ^ 3))
/-- Eq. (10): the polarizability of an isotropic resonant scatterer with prefactor `B`, resonance
frequency `ω0` and resonance width `Γ0`: `α0(ω) = B (-Γ0/2) / (ω - ω0 + i Γ0/2)`. -/
def polarizability (B om0 gam0 om : ℝ) : ℂ :=
(B : ℂ) * ((-gam0 / 2 : ℝ) : ℂ) / (((om - om0 : ℝ) : ℂ) + I * ((gam0 / 2 : ℝ) : ℂ))
/-- Eq. (9), the vector Foldy-Lax equations: the displacements `u` of scatterers at positions `r`
in the incident field `v` satisfy
`u_m^α = v_m^α + α0(ω) ∑_{n ≠ m, β} 𝒢^{αβ}(r_m, r_n, ω) u_n^β`, with `α0` of eq. (10) and the
prefactor `B` of eq. (10). -/
def IsFoldyLaxSolution {N : ℕ} (rho0 cp cs om0 gam0 om : ℝ) (r : Fin N → Space) (u v : Idx N → ℂ) :
Prop :=
∀ (m : Fin N) (a : Fin 3),
u (m, a) = v (m, a) + polarizability (prefactorB rho0 cp cs om) om0 gam0 om *
∑ n ∈ Finset.univ.filter (fun n => n ≠ m), ∑ b : Fin 3,
greenTensor rho0 cp cs om (r m) (r n) a b * u (n, b)
/-- Eq. (12), first line: the `3N × 3N` Green's matrix with `3 × 3` blocks
`G_mn(ω) = i δ_mn 1 + (1 - δ_mn) B 𝒢(r_m, r_n, ω)`. -/
def greenMatrix {N : ℕ} (rho0 cp cs om : ℝ) (r : Fin N → Space) : Matrix (Idx N) (Idx N) ℂ :=
Matrix.of fun p q =>
if p.1 = q.1 then (if p.2 = q.2 then I else 0)
else (prefactorB rho0 cp cs om : ℂ) * greenTensor rho0 cp cs om (r p.1) (r q.1) p.2 q.2
/-- Eqs. (13)-(15): `lam n`, `R n` and `L n` (`n` ranging over `3N` indices) are eigenvalues, right
eigenvectors and left (row) eigenvectors of `G`, with `⟨L_m | R_n⟩ = δ_mn`. The pairing `⟨L|R⟩`
is the product of a row vector and a column vector, without complex conjugation. -/
def IsBiorthogonalEigensystem {ι : Type*} [Fintype ι] [DecidableEq ι] (G : Matrix ι ι ℂ)
(lam : ι → ℂ) (R L : ι → ι → ℂ) : Prop :=
(∀ n, G.mulVec (R n) = lam n • R n) ∧ (∀ n, Matrix.vecMul (L n) G = lam n • L n) ∧
(∀ m n, L m ⬝ᵥ R n = if m = n then 1 else 0)
/-- Eq. (17): the frequency `ω_n = ω0 - (Γ0/2) Re Λ_n` of the quasi-mode with eigenvalue `Λ_n`. -/
def qmFreq (om0 gam0 : ℝ) (lam : ℂ) : ℝ := om0 - gam0 / 2 * lam.re
/-- Eq. (17): the decay rate `Γ_n = Γ0 Im Λ_n` of the quasi-mode with eigenvalue `Λ_n`. -/
def qmWidth (gam0 : ℝ) (lam : ℂ) : ℝ := gam0 * lam.im
/-- Eq. (21), Section III D: the near-field form of the elastic Green's tensor,
`1 / (8 π ρ0 c_s² Δr) {[1 + (c_s/c_p)²] 1 + [1 - (c_s/c_p)²] Δr ⊗ Δr / Δr²}` at `Δr = r - r'`. -/
def nearFieldTensor (rho0 cp cs : ℝ) (r r' : Space) : Matrix (Fin 3) (Fin 3) ℂ :=
((1 / (8 * Real.pi * rho0 * cs ^ 2 * ‖r - r'‖) : ℝ) : ℂ) •
(((1 + (cs / cp) ^ 2 : ℝ) : ℂ) • (1 : Matrix (Fin 3) (Fin 3) ℂ) +
(((1 - (cs / cp) ^ 2) / ‖r - r'‖ ^ 2 : ℝ) : ℂ) • outerC (r - r'))
end Arxiv1803_10134
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Physical space. carries the Euclidean norm , with coordinates indexed by .
Index set. For a natural number , the index set is the set of pairs with and . It has elements and is empty when . A function on this set is written with components .
Dyadic. For , denotes the complex matrix with entries
Auxiliary tensor . For , is the complex matrix
where is the identity matrix. Division by zero is defined to return . So at the scalar factor equals , the matrix factor equals , and .
Compressive part. Take real numbers , and a vector . Set
which is a real number that may be negative. Define
Edge cases:
- If , then is taken to be .
- If (that is, , or ), the scalar factor is , so .
- The argument of is the vector . Its norm is , which equals rather than . The two differ in sign when .
Shear part. Analogously, with ,
This has the same conventions as the compressive part. In particular whenever .
Green's tensor. Take real numbers and points . Then is the complex matrix
Edge cases:
- No sign or nonvanishing conditions are imposed on any parameter.
- The prefactor is if or .
- The coefficient is if .
- At both parts vanish, so .
Prefactor . For real ,
This is a real number. It equals when the denominator vanishes, which happens when or when . It also equals when the numerator vanishes. If , then is taken as , so .
Polarizability. For real ,
The denominator vanishes exactly when and , and then .
Foldy–Lax solution. The parameters are:
- a natural number ;
- real numbers ;
- positions ;
- two complex vectors on the index set.
The predicate " is a Foldy–Lax solution for incident field " holds if and only if, for every and every ,
Here:
- is the polarizability built from , and .
- is the prefactor computed from .
- is the Green's tensor with .
Edge cases and absent conditions:
- No positivity assumptions are made on the parameters.
- The positions need not be distinct. Two coincident scatterers contribute a zero tensor to each other.
- For the condition holds vacuously.
Green's matrix. With the same and positions , is the complex matrix indexed by pairs with entries
This means the diagonal blocks are , and the off-diagonal blocks are times the Green's tensor. An off-diagonal block is zero if .
Biorthogonal eigensystem. The data are:
- an arbitrary finite index set with decidable equality, which may be empty;
- a complex matrix indexed by ;
- numbers ;
- vectors , one for each .
The predicate holds if and only if all three of the following hold:
- for every (column eigenvectors).
- for every (row eigenvectors).
- For all , , a bilinear pairing with no complex conjugation.
Consequences and absent conditions:
- Condition 3 forces every and to be nonzero.
- Condition 3 also forces the to be linearly independent, so there are of them. The predicate can therefore be satisfied only if is diagonalizable.
- The eigenvalues are not required to be distinct.
- For empty the predicate holds trivially.
Quasi-mode frequency and width. For real and complex ,
Both are real numbers.
Near-field tensor. For real and points , write . The near-field tensor is the complex matrix
Edge cases:
- If , then is taken as .
- The prefactor is when , or . In particular the tensor is the zero matrix at .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.