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>2 and P2>0, and let Mf=[Mcov−(1−P3)MΔ0−(P3−P2)M3]/P2 (eq. 27). Put
The sum is convex, and it is the spectral decomposition of Mf. That is, Mf has the same m00 as Mcov, and H(Mf)=m00Udiag(p0,p1,0,0)U† with p0≥p1≥0.
This is eqs. (28)-(29).
Formalization Note The hypothesis P2>0 is not written in the paper. "Spectral decomposition of Mf" is stated as: (U,(p0,p1,0,0)) is ordered spectral data for Mf.
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_c1_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 : 2 < (covH U lam).rank) (hP2 : 0 < ipp2 (covLhat lam)) :
let l := covLhat lam
let c := covMueller U lam 0 0
let p : Fin 4 → ℝ := ![(l 0 - l 2) / (l 0 + l 1 - 2 * l 2), (l 1 - l 2) / (l 0 + l 1 - 2 * l 2),
0, 0]
filt2 U lam = p 0 • specComp U c 0 + p 1 • specComp U c 1 ∧
p 0 = (1 / 2) * (1 + ipp1 l / ipp2 l) ∧ p 1 = (1 / 2) * (1 - ipp1 l / ipp2 l) ∧
(∀ i, 0 ≤ p i) ∧ p 0 + p 1 = 1 ∧
filt2 U lam 0 0 = c ∧ IsSpectralData (filt2 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 c011; Section 5, case c.1 (q = 2, r > 2), eqs. (27)-(29), PDF p. 5
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. Let Mexp be an arbitrary real 4×4 matrix, with rows and columns indexed 0,1,2,3. No hypothesis says it is a physical Mueller matrix. Let U be an arbitrary 4×4 complex unitary matrix with columns u0,u1,u2,u3. Let λ=(λ0,λ1,λ2,λ3) be an arbitrary real 4-tuple.
Covariance matrix. For a real 4×4 matrix M=(mkl), its covariance matrix is the complex 4×4 matrix
The map M. For a complex 4×4 matrix K, M(K) denotes a chosen real 4×4 matrix M with H(M)=K, provided such an M exists. If no such M exists, M(K) is some unspecified real matrix.
Here 1/P2 would be 0 if P2=0, but that case is excluded below.
Hypotheses.
λ0≥λ1≥λ2≥λ3 and H(Mexp)=Udiag(λ0,…,λ3)U†.
λ0>0.
The complex rank of Hcov is strictly greater than 2. Since U is unitary, this rank is the number of nonzero λicov. So this hypothesis amounts to λ2>0. The value λ3 may be negative, positive or zero.
P2=l^0+l^1−2l^2>0. Given the ordering, this excludes l^0=l^1=l^2.
Confirmed by the moderator at approval.