Sinclair matrix, Pauli decomposition, sample coherency matrix, entropy and alpha angle
DefinitionArxiv2602_07094_BasicObjects of Section 3.1 and Section 4 of Gabot, Frontera-Pons, Fix, Ren and Ovarlez (2026).
- Sinclair matrix (eq. 1). Each pixel carries a complex scattering matrix , with indexed by and by . It is reciprocal if (the monostatic configuration).
- Channel amplitudes. The amplitudes of are the four moduli . They are all that an amplitude-only model sees of (Section 4).
- Pauli decomposition (eq. 4). For reciprocal , the Pauli coefficients are , and , and the Pauli vector is .
- Sample coherency matrix (eq. 7). For Pauli vectors , , a Hermitian positive semidefinite matrix.
- - quantities. Let be the eigenvalues of a Hermitian matrix , with orthonormal eigenvectors , and let . The entropy is (a term with contributes ), and the mean alpha angle is , where is the first component of .
- Simple positive spectrum. has a simple positive spectrum if its nonzero eigenvalues, counted with multiplicity, are pairwise distinct. Then every with is unique up to a phase factor, so does not depend on the choice of eigenvectors.
Formalization Note The eigenvalues and orthonormal eigenvectors are those Mathlib attaches to a Hermitian matrix (IsHermitian.eigenvalues and the columns of eigenvectorUnitary). and are set to on non-Hermitian matrices, a case that never occurs for . The paper prints with no sign or base while stating . The definition uses the Cloude–Pottier entropy , which satisfies that range. The simple-positive-spectrum condition is not in the paper: it is the condition under which the paper's definition of is unambiguous.
import Mathlib
/-!
Gabot, Frontera-Pons, Fix, Ren and Ovarlez, *Exploring Polarimetric properties preservation for
PolSAR image reconstruction with Complex-valued Convolutional Neural Networks*, arXiv:2602.07094v1
(2026): the Sinclair matrix, reciprocity, the Pauli decomposition, the sample coherency matrix and
the entropy and mean alpha angle of the `H`-`α` decomposition (Section 3.1, eqs. (1)-(4) and (7),
PDF pp. 4-5), and the channel amplitudes seen by an amplitude-only model (Section 4, PDF p. 10).
-/
noncomputable section
namespace Arxiv2602_07094
/-- Eq. (1), Section 3.1, p. 4: the Sinclair (scattering) matrix of a pixel,
`S = [[S_hh, S_vh], [S_hv, S_vv]]`, with index `0` for `h` and `1` for `v`. So `S 0 0 = S_hh`,
`S 0 1 = S_vh`, `S 1 0 = S_hv`, `S 1 1 = S_vv`. -/
abbrev SinclairMatrix : Type := Matrix (Fin 2) (Fin 2) ℂ
/-- Section 3.1, p. 4: the reciprocity principle of the monostatic configuration, `S_hv = S_vh`. -/
def IsReciprocal (S : SinclairMatrix) : Prop := S 1 0 = S 0 1
/-- Section 4, p. 10: the channel amplitudes `|S_ij|`, which are all that an amplitude-only model
sees of a Sinclair matrix. -/
def channelAmplitudes (S : SinclairMatrix) : Matrix (Fin 2) (Fin 2) ℝ := fun i j => ‖S i j‖
/-- Eq. (4), Section 3.1, p. 4: the Pauli coefficient `α = (S_hh + S_vv)/√2`. -/
def pauliAlpha (S : SinclairMatrix) : ℂ := (S 0 0 + S 1 1) / (Real.sqrt 2 : ℂ)
/-- Eq. (4), Section 3.1, p. 4: the Pauli coefficient `β = (S_hh - S_vv)/√2`. -/
def pauliBeta (S : SinclairMatrix) : ℂ := (S 0 0 - S 1 1) / (Real.sqrt 2 : ℂ)
/-- Eq. (4), Section 3.1, p. 4: the Pauli coefficient `γ = √2 S_hv`. -/
def pauliGamma (S : SinclairMatrix) : ℂ := (Real.sqrt 2 : ℂ) * S 1 0
/-- Section 3.1, p. 4: the Pauli vector `k = (α, β, γ)ᵀ`. -/
def pauliVector (S : SinclairMatrix) : Fin 3 → ℂ := ![pauliAlpha S, pauliBeta S, pauliGamma S]
/-- Eq. (7), Section 3.1, p. 5: the sample coherency (covariance) matrix of `N` Pauli vectors,
`T̂ = (1/N) ∑ᵢ kᵢ kᵢᴴ`. -/
def sampleCoherency {N : ℕ} (k : Fin N → Fin 3 → ℂ) : Matrix (Fin 3) (Fin 3) ℂ :=
fun a b => (N : ℂ)⁻¹ * ∑ i, k i a * star (k i b)
/-- Section 3.1, p. 5: the pseudo-probabilities `p_i = λ_i / ∑_j λ_j` of a Hermitian `3 × 3`
matrix, `λ_i` its eigenvalues. -/
def pseudoProb {T : Matrix (Fin 3) (Fin 3) ℂ} (hT : T.IsHermitian) (i : Fin 3) : ℝ :=
hT.eigenvalues i / ∑ j, hT.eigenvalues j
open Classical in
/-- Section 3.1, p. 5: the entropy `H = -∑_i p_i log₃ p_i` of the coherency matrix (with
`0 log 0 = 0`). The paper prints `∑_i p_i log p_i` and states `0 ≤ H ≤ 1`; the sign and base used
here are those of the cited Cloude–Pottier entropy, which satisfies that range. The value `0` off
Hermitian matrices is never used: every sample coherency matrix is Hermitian. -/
def entropyH (T : Matrix (Fin 3) (Fin 3) ℂ) : ℝ :=
if hT : T.IsHermitian then -∑ i, pseudoProb hT i * Real.logb 3 (pseudoProb hT i) else 0
open Classical in
/-- Section 3.1, p. 5: the mean alpha angle `α = ∑_i p_i α_i`, `α_i = arccos |e_{i1}|`, where
`e_i` is a unit eigenvector of the coherency matrix for its `i`-th eigenvalue and `e_{i1}` its
first component. The eigenvectors are those of Mathlib's orthonormal eigenbasis (the columns of
`eigenvectorUnitary`); the value is independent of that choice when the positive eigenvalues are
distinct (`HasSimplePositiveSpectrum`). -/
def alphaAngle (T : Matrix (Fin 3) (Fin 3) ℂ) : ℝ :=
if hT : T.IsHermitian then
∑ i, pseudoProb hT i * Real.arccos ‖(hT.eigenvectorUnitary : Matrix (Fin 3) (Fin 3) ℂ) 0 i‖
else 0
open Classical in
/-- Section 3.1, p. 5 (condition implicit in the definition of the alpha angle): the nonzero
eigenvalues of `T`, i.e. the nonzero roots of its characteristic polynomial counted with
multiplicity, are pairwise distinct. Then each unit eigenvector `e_i` with `p_i > 0` is unique up
to a phase, so `|e_{i1}|` and the alpha angle do not depend on the choice of eigenvectors. -/
def HasSimplePositiveSpectrum (T : Matrix (Fin 3) (Fin 3) ℂ) : Prop :=
(T.charpoly.roots.filter (· ≠ 0)).Nodup
end Arxiv2602_07094
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
SinclairMatrix. A Sinclair matrix is an arbitrary matrix with complex entries , where . No constraint of any kind is imposed on the entries. The accompanying comment states that index stands for and for , with the convention
This labelling exists only in that comment. The object itself is just a complex matrix.
IsReciprocal. For a complex matrix , " is reciprocal" is the proposition
that is, the two off-diagonal entries are equal, so is symmetric. Nothing else is required.
channelAmplitudes. For a complex matrix , is the real matrix of entrywise complex moduli:
All phase information is discarded. Both off-diagonal moduli and are kept separately.
pauliAlpha, pauliBeta, pauliGamma. For a complex matrix , three complex numbers are defined. Here is the positive real square root, viewed as a complex number.
The coefficient uses only the lower-left entry . The upper-left-to-right entry does not enter any of the three coefficients. No reciprocity hypothesis is assumed, so for a non-reciprocal the value is simply ignored.
pauliVector. For a complex matrix , the Pauli vector is the vector in , with components indexed by :
sampleCoherency. Let be a natural number, given implicitly. Let be any vectors in ; they need not arise as Pauli vectors of Sinclair matrices. The sample coherency matrix is the complex matrix with entries
so . In the degenerate case , the convention applies and the sum is empty, so is the zero matrix.
pseudoProb. Let be a complex matrix, together with a proof that is Hermitian (). Let be the real eigenvalues of , counted with multiplicity and listed in the fixed order produced by the library's spectral-theorem construction. For , define
There are two edge cases:
- No positive-semidefiniteness is assumed. The eigenvalues may be negative, so a can be negative or exceed ; the still sum to whenever the trace is nonzero.
- If , the convention gives for every . This includes the zero matrix.
entropyH. For any complex matrix , the entropy is a real number defined in two cases.
If is Hermitian, with as above:
Here is the real logarithm with the total-function conventions and for . These conventions have three consequences:
- A term with contributes .
- A negative contributes .
- If the trace of is , then .
If is not Hermitian, by fiat.
No claim about the range of is part of the definition.
alphaAngle. For any complex matrix , the mean alpha angle is a real number defined in two cases.
If is Hermitian, let be the specific unitary matrix supplied by the library's spectral theorem. Its -th column is a unit eigenvector of for the eigenvalue , and the columns form an orthonormal basis of . With as above,
where is the first component of , and (in radians) of a number in lies in .
This is the value for that one particular, non-canonical choice of eigenbasis. The definition takes no hypothesis about distinct eigenvalues, so when eigenvalues coincide the value depends on the library's choice of eigenvectors. The definition does not refer to HasSimplePositiveSpectrum.
If is not Hermitian, by fiat.
HasSimplePositiveSpectrum. For any complex matrix , not assumed Hermitian, the proposition says the following. Take the multiset of complex roots of the characteristic polynomial , counted with multiplicity (three roots in total), and discard all roots equal to . The remaining roots are pairwise distinct, i.e. each occurs with multiplicity one.
Despite the name, the condition concerns nonzero roots, not positive ones. Negative or non-real nonzero eigenvalues are included and must also be simple. The eigenvalue , if present, may have any multiplicity. For example, the zero matrix and any matrix with a single nonzero simple eigenvalue satisfy it.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.