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. If r=3, the filtered matrix of eq. (24) is Mcov itself:
P3Mcov−(1−P3)MΔ0=Mcov.
Formalization Note The paper's case b.2 ("if r=3, then simply Mf=Mcov") is a prescription. It is formalized as the statement that the formula of case b.1 returns Mcov when r=3, so the two cases are consistent.
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_b2_rank_three (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 = 3) :
filt3 U lam = covMueller U lam := by sorry
end Arxiv1605_04704
Source
J. J. Gil, On optimal filtering of measured Mueller matrices, arXiv:1605.04704v3 (2016), claim c009; Section 5, case b.2 (q = 3, r = 3), PDF p. 5
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
For every real 4×4 matrix Mexp, every 4×4 complex unitary matrix U, and every real 4-tuple λ=(λ0,λ1,λ2,λ3), if the three hypotheses below hold, then the noise-filtered matrix Mf equals the covariance-filtered Mueller matrix Mcov. Both are real 4×4 matrices, and the equality holds entry by entry.
The covariance matrix. For a real 4×4 matrix M=(mkl)k,l=03, the complex 4×4 matrix H(M) is defined explicitly as
The 4-tuple is non-increasing, λ0≥λ1≥λ2≥λ3, and
H(Mexp)=Udiag(λ0,λ1,λ2,λ3)U†.
λ0>0.
The (complex) rank of Hcov, defined below, is exactly 3.
Mexp enters the statement only through hypothesis 1. Nothing else in the statement mentions it.
Constructions.
Clipped eigenvalues.λi+=max(λi,0).
Filtered covariance matrix.
Hcov=Udiag(λ0+,λ1+,λ2+,λ3+)U†.
Inverse map M(H). For a complex 4×4 matrix H, M(H) is the following real 4×4 matrix:
if some real matrix M satisfies H(M)=H, it is such an M (chosen by a fixed choice function; it is unique if H is injective);
otherwise it is some fixed but unspecified real matrix.
Covariance-filtered Mueller matrix.Mcov=M(Hcov). Write c=(Mcov)00 for its top-left entry.
Normalized eigenvalues.
λ^i=λ0++λ1++λ2++λ3+λi+.
Division by zero would be read as 0, but here the denominator is at least λ0>0.
Third purity index.
P3=λ^0+λ^1+λ^2−3λ^3.
Ideal depolarizer.MΔ0=cdiag(1,0,0,0), built with c taken from Mcov.
Noise-filtered matrix.
Mf=P31(Mcov−(1−P3)MΔ0).
The convention 1/0=0 would apply if P3=0.
Conclusion.
Mf=Mcov.
Effect of the hypotheses (edge cases).
What the rank condition forces.U is unitary, so the rank of Hcov equals the number of nonzero λi+. Together with the ordering and λ0>0, hypothesis 3 is equivalent to λ2>0≥λ3, that is, λ3+=0 while λ0+,λ1+,λ2+>0.
Consequence for P3. It follows that λ^3=0 and λ^0+λ^1+λ^2=1. So under the hypotheses P3=1, and the defining expression for Mf reduces literally to Mcov−0⋅MΔ0.
What the statement does not assert. It makes no claim about whether H(Mcov)=Hcov actually holds. It also places no condition on Mexp beyond hypothesis 1. For example, it imposes nothing on (Mexp)00, and no physical-realizability condition.
Confirmed by the moderator at approval.