Let Mexp be a real 4×4 matrix and H(Mexp)=Udiag(λexp,0,…,λexp,3)U† with U unitary and λexp,0≥⋯≥λexp,3, λexp,0>0. Let Hcov, Mcov, its normalized eigenvalues λ^i, its indices of purity Pi, its m00 and its components MUi,M2,M3,MΔ0 be those of the covariance filtering (eq. 23), and let r=rankHcov. Assume r=4 and P3>0, and let Mf=[Mcov−(1−P3)MΔ0]/P3 (eq. 24). Put
pi=1−4λ^3λ^i−λ^3(i=0,1,2).
Then
Mf=p0MU0+p1MU1+p2MU2,
where MUi are the spectral components of Mcov, and
The sum is convex (pi≥0, p0+p1+p2=1), and it is the spectral decomposition of Mf. That is, Mf has the same m00 as Mcov, and H(Mf)=m00Udiag(p0,p1,p2,0)U† with p0≥p1≥p2≥0.
This is eqs. (25)-(26), the filtered estimate of a sample hypothesized to have three components.
Formalization Note The hypothesis P3>0 is not written in the paper. It makes the division in (24) and (26) meaningful. "Spectral decomposition of Mf" is stated as: (U,(p0,p1,p2,0)) is ordered spectral data for Mf in the sense of eqs. (3)-(4).
Formalization Note The paper asks for λcov,0=λ0 (the largest eigenvalue is not replaced), otherwise the measurement is rejected. The statement assumes λexp,0>0, which also excludes Hcov=0, where the normalization λ^i=λcov,i/trHcov is undefined.
Preamble
import Mathlib
import Definitions.Def_Arxiv1605_04704_Basic
open Matrix
open scoped ComplexOrder
Formal statement
namespace Arxiv1605_04704
theorem case_b1_spectral_decomposition (Mexp : Matrix (Fin 4) (Fin 4) ℝ) (U : Matrix.unitaryGroup (Fin 4) ℂ) (lam : Fin 4 → ℝ)
(hdat : IsCovFilterData Mexp U lam) (hlam0 : 0 < lam 0)
(hr : (covH U lam).rank = 4) (hP3 : 0 < ipp3 (covLhat lam)) :
let l := covLhat lam
let c := covMueller U lam 0 0
let p : Fin 4 → ℝ := ![(l 0 - l 3) / (1 - 4 * l 3), (l 1 - l 3) / (1 - 4 * l 3),
(l 2 - l 3) / (1 - 4 * l 3), 0]
filt3 U lam = p 0 • specComp U c 0 + p 1 • specComp U c 1 + p 2 • specComp U c 2 ∧
p 0 = (1 / 3) * (1 + ipp2 l / (2 * ipp3 l) + 3 * ipp1 l / (2 * ipp3 l)) ∧
p 1 = (1 / 3) * (1 + ipp2 l / (2 * ipp3 l) - 3 * ipp1 l / (2 * ipp3 l)) ∧
p 2 = (1 / 3) * (1 - ipp2 l / ipp3 l) ∧
(∀ i, 0 ≤ p i) ∧ p 0 + p 1 + p 2 = 1 ∧
filt3 U lam 0 0 = c ∧ IsSpectralData (filt3 U lam) U p := by sorry
end Arxiv1605_04704
Source
J. J. Gil, On optimal filtering of measured Mueller matrices, arXiv:1605.04704v3 (2016), claim c019; Section 5, case b.1 (q = 3, r = 4), eqs. (24)-(26), right column of PDF p. 4
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Throughout, matrices are indexed by {0,1,2,3}, A† is the conjugate transpose, and for a real 4×4 matrix M=(mkl) the covariance matrixH(M) is the complex 4×4 matrix
For a complex 4×4 matrix K, M(K) denotes some real 4×4 matrix M with H(M)=K if one exists, chosen arbitrarily if there are several. If none exists, it is a fixed but unspecified real matrix, a junk value.
Data. Let:
Mexp be any real 4×4 matrix;
U be any 4×4 complex unitary matrix with columns u0,…,u3;
λ=(λ0,λ1,λ2,λ3) be any real 4-tuple.
Hypotheses.
λ0≥λ1≥λ2≥λ3.
H(Mexp)=Udiag(λ0,λ1,λ2,λ3)U†.
λ0>0.
The complex rank of Hcov is 4. Here λicov=max(λi,0) and
Hcov=Udiag(λ0cov,…,λ3cov)U†.
Since U is unitary, this amounts to λicov=0 for all i, i.e. λ3>0; this makes hypothesis 3 redundant.
5. P3>0, where the normalized eigenvalues are
Confirmed by the moderator at approval.