Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Sinclair matrix, Pauli decomposition, sample coherency matrix, entropy and alpha angle

Definition
Arxiv2602_07094_Basic

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

coherency-matrixh-alpha-decompositionpauli-decompositionpolsarradar-polarimetry

Objects of Section 3.1 and Section 4 of Gabot, Frontera-Pons, Fix, Ren and Ovarlez (2026).

  1. Sinclair matrix (eq. 1). Each pixel carries a complex 2×22\times22×2 scattering matrix S=(ShhSvhShvSvv)\mathbf S=\begin{pmatrix}S_{hh}&S_{vh}\\S_{hv}&S_{vv}\end{pmatrix}S=(Shh​Shv​​Svh​Svv​​), with hhh indexed by 000 and vvv by 111. It is reciprocal if Shv=SvhS_{hv}=S_{vh}Shv​=Svh​ (the monostatic configuration).
  2. Channel amplitudes. The amplitudes of S\mathbf SS are the four moduli ∣Sij∣|S_{ij}|∣Sij​∣. They are all that an amplitude-only model sees of S\mathbf SS (Section 4).
  3. Pauli decomposition (eq. 4). For reciprocal S\mathbf SS, the Pauli coefficients are α=(Shh+Svv)/2\alpha=(S_{hh}+S_{vv})/\sqrt2α=(Shh​+Svv​)/2​, β=(Shh−Svv)/2\beta=(S_{hh}-S_{vv})/\sqrt2β=(Shh​−Svv​)/2​ and γ=2 Shv\gamma=\sqrt2\,S_{hv}γ=2​Shv​, and the Pauli vector is k=(α,β,γ)T∈C3\mathbf k=(\alpha,\beta,\gamma)^T\in\mathbb C^3k=(α,β,γ)T∈C3.
  4. Sample coherency matrix (eq. 7). For NNN Pauli vectors k1,…,kN\mathbf k_1,\dots,\mathbf k_Nk1​,…,kN​, T^=1N∑i=1NkikiH\hat{\mathbf T}=\frac1N\sum_{i=1}^N\mathbf k_i\mathbf k_i^HT^=N1​∑i=1N​ki​kiH​, a Hermitian positive semidefinite 3×33\times33×3 matrix.
  5. HHH-α\alphaα quantities. Let λ1,λ2,λ3\lambda_1,\lambda_2,\lambda_3λ1​,λ2​,λ3​ be the eigenvalues of a Hermitian 3×33\times33×3 matrix T\mathbf TT, with orthonormal eigenvectors e1,e2,e3\mathbf e_1,\mathbf e_2,\mathbf e_3e1​,e2​,e3​, and let pi=λi/∑jλjp_i=\lambda_i/\sum_j\lambda_jpi​=λi​/∑j​λj​. The entropy is H=−∑ipilog⁡3piH=-\sum_ip_i\log_3p_iH=−∑i​pi​log3​pi​ (a term with pi=0p_i=0pi​=0 contributes 000), and the mean alpha angle is αˉ=∑ipiarccos⁡∣ei1∣\bar\alpha=\sum_ip_i\arccos|e_{i1}|αˉ=∑i​pi​arccos∣ei1​∣, where ei1e_{i1}ei1​ is the first component of ei\mathbf e_iei​.
  6. Simple positive spectrum. T\mathbf TT has a simple positive spectrum if its nonzero eigenvalues, counted with multiplicity, are pairwise distinct. Then every ei\mathbf e_iei​ with pi>0p_i>0pi​>0 is unique up to a phase factor, so αˉ\bar\alphaαˉ 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). HHH and αˉ\bar\alphaαˉ are set to 000 on non-Hermitian matrices, a case that never occurs for T^\hat{\mathbf T}T^. The paper prints H=∑ipilog⁡piH=\sum_ip_i\log p_iH=∑i​pi​logpi​ with no sign or base while stating 0≤H≤10\le H\le10≤H≤1. The definition uses the Cloude–Pottier entropy −∑ipilog⁡3pi-\sum_ip_i\log_3p_i−∑i​pi​log3​pi​, 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 αˉ\bar\alphaαˉ is unambiguous.

Definition code
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
Source
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), Section 3.1 (eqs. (1)-(4), (7), PDF pp. 4-5) and Section 4 (PDF p. 10)
Read-back

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

SinclairMatrix. A Sinclair matrix is an arbitrary 2×22\times 22×2 matrix SSS with complex entries SijS_{ij}Sij​, where i,j∈{0,1}i, j \in \{0, 1\}i,j∈{0,1}. No constraint of any kind is imposed on the entries. The accompanying comment states that index 000 stands for hhh and 111 for vvv, with the convention

S=(S00S01S10S11)=(ShhSvhShvSvv).S = \begin{pmatrix} S_{00} & S_{01} \\ S_{10} & S_{11} \end{pmatrix} = \begin{pmatrix} S_{hh} & S_{vh} \\ S_{hv} & S_{vv} \end{pmatrix}.S=(S00​S10​​S01​S11​​)=(Shh​Shv​​Svh​Svv​​).

This labelling exists only in that comment. The object itself is just a 2×22\times 22×2 complex matrix.

IsReciprocal. For a 2×22\times 22×2 complex matrix SSS, "SSS is reciprocal" is the proposition

S10=S01,S_{10} = S_{01},S10​=S01​,

that is, the two off-diagonal entries are equal, so SSS is symmetric. Nothing else is required.

channelAmplitudes. For a 2×22\times 22×2 complex matrix SSS, Amp(S)\mathrm{Amp}(S)Amp(S) is the 2×22\times 22×2 real matrix of entrywise complex moduli:

Amp(S)ij=∣Sij∣,i,j∈{0,1}.\mathrm{Amp}(S)_{ij} = |S_{ij}|, \qquad i, j \in \{0, 1\}.Amp(S)ij​=∣Sij​∣,i,j∈{0,1}.

All phase information is discarded. Both off-diagonal moduli ∣S01∣|S_{01}|∣S01​∣ and ∣S10∣|S_{10}|∣S10​∣ are kept separately.

pauliAlpha, pauliBeta, pauliGamma. For a 2×22\times 22×2 complex matrix SSS, three complex numbers are defined. Here 2\sqrt{2}2​ is the positive real square root, viewed as a complex number.

α(S)=S00+S112,β(S)=S00−S112,γ(S)=2 S10.\alpha(S) = \frac{S_{00} + S_{11}}{\sqrt 2}, \qquad \beta(S) = \frac{S_{00} - S_{11}}{\sqrt 2}, \qquad \gamma(S) = \sqrt 2\, S_{10}.α(S)=2​S00​+S11​​,β(S)=2​S00​−S11​​,γ(S)=2​S10​.

The coefficient γ\gammaγ uses only the lower-left entry S10S_{10}S10​. The upper-left-to-right entry S01S_{01}S01​ does not enter any of the three coefficients. No reciprocity hypothesis is assumed, so for a non-reciprocal SSS the value S01S_{01}S01​ is simply ignored.

pauliVector. For a 2×22\times 22×2 complex matrix SSS, the Pauli vector is the vector in C3\mathbb{C}^3C3, with components indexed by 0,1,20, 1, 20,1,2:

k(S)=(α(S), β(S), γ(S))T=(S00+S112, S00−S112, 2 S10)T.k(S) = \bigl(\alpha(S),\ \beta(S),\ \gamma(S)\bigr)^{\mathsf T} = \Bigl(\tfrac{S_{00}+S_{11}}{\sqrt2},\ \tfrac{S_{00}-S_{11}}{\sqrt2},\ \sqrt2\,S_{10}\Bigr)^{\mathsf T}.k(S)=(α(S), β(S), γ(S))T=(2​S00​+S11​​, 2​S00​−S11​​, 2​S10​)T.

sampleCoherency. Let N≥0N \ge 0N≥0 be a natural number, given implicitly. Let k0,…,kN−1k_0, \dots, k_{N-1}k0​,…,kN−1​ be any NNN vectors in C3\mathbb{C}^3C3; they need not arise as Pauli vectors of Sinclair matrices. The sample coherency matrix is the 3×33\times 33×3 complex matrix with entries

T^ab=N−1∑i=0N−1ki(a) ki(b)‾,a,b∈{0,1,2},\hat T_{ab} = N^{-1} \sum_{i=0}^{N-1} k_i(a)\, \overline{k_i(b)}, \qquad a, b \in \{0, 1, 2\},T^ab​=N−1i=0∑N−1​ki​(a)ki​(b)​,a,b∈{0,1,2},

so T^=N−1∑ikikiH\hat T = N^{-1} \sum_i k_i k_i^{\mathsf H}T^=N−1∑i​ki​kiH​. In the degenerate case N=0N = 0N=0, the convention 0−1=00^{-1} = 00−1=0 applies and the sum is empty, so T^\hat TT^ is the zero matrix.

pseudoProb. Let TTT be a 3×33\times 33×3 complex matrix, together with a proof that TTT is Hermitian (TH=TT^{\mathsf H} = TTH=T). Let λ0,λ1,λ2\lambda_0, \lambda_1, \lambda_2λ0​,λ1​,λ2​ be the real eigenvalues of TTT, counted with multiplicity and listed in the fixed order produced by the library's spectral-theorem construction. For i∈{0,1,2}i \in \{0, 1, 2\}i∈{0,1,2}, define

pi=λiλ0+λ1+λ2.p_i = \frac{\lambda_i}{\lambda_0 + \lambda_1 + \lambda_2}.pi​=λ0​+λ1​+λ2​λi​​.

There are two edge cases:

  • No positive-semidefiniteness is assumed. The eigenvalues may be negative, so a pip_ipi​ can be negative or exceed 111; the pip_ipi​ still sum to 111 whenever the trace is nonzero.
  • If λ0+λ1+λ2=0\lambda_0 + \lambda_1 + \lambda_2 = 0λ0​+λ1​+λ2​=0, the convention x/0=0x/0 = 0x/0=0 gives pi=0p_i = 0pi​=0 for every iii. This includes the zero matrix.

entropyH. For any 3×33\times 33×3 complex matrix TTT, the entropy H(T)H(T)H(T) is a real number defined in two cases.

If TTT is Hermitian, with pip_ipi​ as above:

H(T)=−∑i=02pilog⁡3pi,log⁡3x=log⁡xlog⁡3.H(T) = -\sum_{i=0}^{2} p_i \log_3 p_i, \qquad \log_3 x = \frac{\log x}{\log 3}.H(T)=−i=0∑2​pi​log3​pi​,log3​x=log3logx​.

Here log⁡\loglog is the real logarithm with the total-function conventions log⁡0=0\log 0 = 0log0=0 and log⁡x=log⁡∣x∣\log x = \log|x|logx=log∣x∣ for x<0x < 0x<0. These conventions have three consequences:

  • A term with pi=0p_i = 0pi​=0 contributes 000.
  • A negative pip_ipi​ contributes −pilog⁡3∣pi∣-p_i \log_3 |p_i|−pi​log3​∣pi​∣.
  • If the trace of TTT is 000, then H(T)=0H(T) = 0H(T)=0.

If TTT is not Hermitian, H(T)=0H(T) = 0H(T)=0 by fiat.

No claim about the range of HHH is part of the definition.

alphaAngle. For any 3×33\times 33×3 complex matrix TTT, the mean alpha angle αˉ(T)\bar\alpha(T)αˉ(T) is a real number defined in two cases.

If TTT is Hermitian, let UUU be the specific unitary matrix supplied by the library's spectral theorem. Its iii-th column eie_iei​ is a unit eigenvector of TTT for the eigenvalue λi\lambda_iλi​, and the columns form an orthonormal basis of C3\mathbb{C}^3C3. With pip_ipi​ as above,

αˉ(T)=∑i=02piarccos⁡∣U0i∣=∑i=02piarccos⁡∣(ei)0∣,\bar\alpha(T) = \sum_{i=0}^{2} p_i \arccos\bigl|U_{0i}\bigr| = \sum_{i=0}^{2} p_i \arccos\bigl|(e_i)_0\bigr|,αˉ(T)=i=0∑2​pi​arccos​U0i​​=i=0∑2​pi​arccos​(ei​)0​​,

where (ei)0(e_i)_0(ei​)0​ is the first component of eie_iei​, and arccos⁡\arccosarccos (in radians) of a number in [0,1][0,1][0,1] lies in [0,π/2][0, \pi/2][0,π/2].

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 TTT is not Hermitian, αˉ(T)=0\bar\alpha(T) = 0αˉ(T)=0 by fiat.

HasSimplePositiveSpectrum. For any 3×33\times 33×3 complex matrix TTT, not assumed Hermitian, the proposition says the following. Take the multiset of complex roots of the characteristic polynomial det⁡(XI−T)\det(X I - T)det(XI−T), counted with multiplicity (three roots in total), and discard all roots equal to 000. 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 000, if present, may have any multiplicity. For example, the zero matrix and any matrix with a single nonzero simple eigenvalue satisfy it.

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