Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Section 5, case b.2: for r = 3 the filtered matrix is M_cov

Proved
Arxiv1605_04704.case_b2_rank_three

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

hermitian-matricesmueller-matricesnoise-filteringpolarimetryspectral-decomposition

Let Mexp⁡M_{\exp}Mexp​ be a real 4×44\times44×4 matrix and H(Mexp⁡)=Udiag⁡(λexp⁡,0,…,λexp⁡,3)U†H(M_{\exp})=U\operatorname{diag}(\lambda_{\exp,0},\dots,\lambda_{\exp,3})U^\daggerH(Mexp​)=Udiag(λexp,0​,…,λexp,3​)U† with UUU unitary and λexp⁡,0≥⋯≥λexp⁡,3\lambda_{\exp,0}\ge\dots\ge\lambda_{\exp,3}λexp,0​≥⋯≥λexp,3​, λexp⁡,0>0\lambda_{\exp,0}>0λexp,0​>0. Let HcovH_{\mathrm{cov}}Hcov​, McovM_{\mathrm{cov}}Mcov​, its normalized eigenvalues λ^i\hat\lambda_iλ^i​, its indices of purity PiP_iPi​, its m00m_{00}m00​ and its components MUi,M2,M3,MΔ0M_{Ui},M_2,M_3,M_{\Delta0}MUi​,M2​,M3​,MΔ0​ be those of the covariance filtering (eq. 23), and let r=rank⁡Hcovr=\operatorname{rank}H_{\mathrm{cov}}r=rankHcov​. If r=3r=3r=3, the filtered matrix of eq. (24) is McovM_{\mathrm{cov}}Mcov​ itself:

Mcov−(1−P3)MΔ0P3=Mcov.\frac{M_{\mathrm{cov}}-(1-P_3)M_{\Delta0}}{P_3}=M_{\mathrm{cov}}.P3​Mcov​−(1−P3​)MΔ0​​=Mcov​.

Formalization Note The paper's case b.2 ("if r=3r=3r=3, then simply Mf=McovM_f=M_{\mathrm{cov}}Mf​=Mcov​") is a prescription. It is formalized as the statement that the formula of case b.1 returns McovM_{\mathrm{cov}}Mcov​ when r=3r=3r=3, so the two cases are consistent.

Formalization Note The paper asks for λcov,0=λ0\lambda_{\mathrm{cov},0}=\lambda_0λcov,0​=λ0​ (the largest eigenvalue is not replaced), otherwise the measurement is rejected. The statement assumes λexp⁡,0>0\lambda_{\exp,0}>0λexp,0​>0, which also excludes Hcov=0H_{\mathrm{cov}}=0Hcov​=0, where the normalization λ^i=λcov,i/tr⁡Hcov\hat\lambda_i=\lambda_{\mathrm{cov},i}/\operatorname{tr}H_{\mathrm{cov}}λ^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×44\times 44×4 matrix MexpM_{\mathrm{exp}}Mexp​, every 4×44\times 44×4 complex unitary matrix UUU, and every real 4-tuple λ=(λ0,λ1,λ2,λ3)\lambda = (\lambda_0,\lambda_1,\lambda_2,\lambda_3)λ=(λ0​,λ1​,λ2​,λ3​), if the three hypotheses below hold, then the noise-filtered matrix MfM_fMf​ equals the covariance-filtered Mueller matrix McovM_{\mathrm{cov}}Mcov​. Both are real 4×44\times 44×4 matrices, and the equality holds entry by entry.

The covariance matrix. For a real 4×44\times 44×4 matrix M=(mkl)k,l=03M = (m_{kl})_{k,l=0}^{3}M=(mkl​)k,l=03​, the complex 4×44\times 44×4 matrix H(M)H(M)H(M) is defined explicitly as

H(M)=14(m00+m01+m10+m11(m02+m12)+i(m03+m13)(m20+m21)−i(m30+m31)(m22+m33)+i(m23−m32)(m02+m12)−i(m03+m13)m00−m01+m10−m11(m22−m33)−i(m23+m32)(m20−m21)−i(m30−m31)(m20+m21)+i(m30+m31)(m22−m33)+i(m23+m32)m00+m01−m10−m11(m02−m12)+i(m03−m13)(m22+m33)−i(m23−m32)(m20−m21)+i(m30−m31)(m02−m12)−i(m03−m13)m00−m01−m10+m11).H(M) = \tfrac14\begin{pmatrix} m_{00}+m_{01}+m_{10}+m_{11} & (m_{02}+m_{12}) + i(m_{03}+m_{13}) & (m_{20}+m_{21}) - i(m_{30}+m_{31}) & (m_{22}+m_{33}) + i(m_{23}-m_{32})\\ (m_{02}+m_{12}) - i(m_{03}+m_{13}) & m_{00}-m_{01}+m_{10}-m_{11} & (m_{22}-m_{33}) - i(m_{23}+m_{32}) & (m_{20}-m_{21}) - i(m_{30}-m_{31})\\ (m_{20}+m_{21}) + i(m_{30}+m_{31}) & (m_{22}-m_{33}) + i(m_{23}+m_{32}) & m_{00}+m_{01}-m_{10}-m_{11} & (m_{02}-m_{12}) + i(m_{03}-m_{13})\\ (m_{22}+m_{33}) - i(m_{23}-m_{32}) & (m_{20}-m_{21}) + i(m_{30}-m_{31}) & (m_{02}-m_{12}) - i(m_{03}-m_{13}) & m_{00}-m_{01}-m_{10}+m_{11} \end{pmatrix}.H(M)=41​​m00​+m01​+m10​+m11​(m02​+m12​)−i(m03​+m13​)(m20​+m21​)+i(m30​+m31​)(m22​+m33​)−i(m23​−m32​)​(m02​+m12​)+i(m03​+m13​)m00​−m01​+m10​−m11​(m22​−m33​)+i(m23​+m32​)(m20​−m21​)+i(m30​−m31​)​(m20​+m21​)−i(m30​+m31​)(m22​−m33​)−i(m23​+m32​)m00​+m01​−m10​−m11​(m02​−m12​)−i(m03​−m13​)​(m22​+m33​)+i(m23​−m32​)(m20​−m21​)−i(m30​−m31​)(m02​−m12​)+i(m03​−m13​)m00​−m01​−m10​+m11​​​.

Hypotheses.

  1. The 4-tuple is non-increasing, λ0≥λ1≥λ2≥λ3\lambda_0 \ge \lambda_1 \ge \lambda_2 \ge \lambda_3λ0​≥λ1​≥λ2​≥λ3​, and
H(Mexp)=U diag(λ0,λ1,λ2,λ3) U†.H(M_{\mathrm{exp}}) = U\,\mathrm{diag}(\lambda_0,\lambda_1,\lambda_2,\lambda_3)\,U^\dagger.H(Mexp​)=Udiag(λ0​,λ1​,λ2​,λ3​)U†.
  1. λ0>0\lambda_0 > 0λ0​>0.
  2. The (complex) rank of HcovH_{\mathrm{cov}}Hcov​, defined below, is exactly 333.

MexpM_{\mathrm{exp}}Mexp​ enters the statement only through hypothesis 1. Nothing else in the statement mentions it.

Constructions.

  • Clipped eigenvalues. λi+=max⁡(λi,0)\lambda^{+}_i = \max(\lambda_i, 0)λi+​=max(λi​,0).
  • Filtered covariance matrix.
Hcov=U diag(λ0+,λ1+,λ2+,λ3+) U†.H_{\mathrm{cov}} = U\,\mathrm{diag}(\lambda^+_0,\lambda^+_1,\lambda^+_2,\lambda^+_3)\,U^\dagger.Hcov​=Udiag(λ0+​,λ1+​,λ2+​,λ3+​)U†.
  • Inverse map M(H)\mathcal M(H)M(H). For a complex 4×44\times44×4 matrix HHH, M(H)\mathcal M(H)M(H) is the following real 4×44\times44×4 matrix:
    • if some real matrix MMM satisfies H(M)=HH(M) = HH(M)=H, it is such an MMM (chosen by a fixed choice function; it is unique if HHH is injective);
    • otherwise it is some fixed but unspecified real matrix.
  • Covariance-filtered Mueller matrix. Mcov=M(Hcov)M_{\mathrm{cov}} = \mathcal M(H_{\mathrm{cov}})Mcov​=M(Hcov​). Write c=(Mcov)00c = (M_{\mathrm{cov}})_{00}c=(Mcov​)00​ for its top-left entry.
  • Normalized eigenvalues.
λ^i=λi+λ0++λ1++λ2++λ3+.\hat\lambda_i = \frac{\lambda^+_i}{\lambda^+_0+\lambda^+_1+\lambda^+_2+\lambda^+_3}.λ^i​=λ0+​+λ1+​+λ2+​+λ3+​λi+​​.

Division by zero would be read as 000, but here the denominator is at least λ0>0\lambda_0 > 0λ0​>0.

  • Third purity index.
P3=λ^0+λ^1+λ^2−3λ^3.P_3 = \hat\lambda_0+\hat\lambda_1+\hat\lambda_2 - 3\hat\lambda_3.P3​=λ^0​+λ^1​+λ^2​−3λ^3​.
  • Ideal depolarizer. MΔ0=c diag(1,0,0,0)M_{\Delta 0} = c\,\mathrm{diag}(1,0,0,0)MΔ0​=cdiag(1,0,0,0), built with ccc taken from McovM_{\mathrm{cov}}Mcov​.
  • Noise-filtered matrix.
Mf=1P3(Mcov−(1−P3) MΔ0).M_f = \frac{1}{P_3}\Big(M_{\mathrm{cov}} - (1-P_3)\,M_{\Delta 0}\Big).Mf​=P3​1​(Mcov​−(1−P3​)MΔ0​).

The convention 1/0=01/0 = 01/0=0 would apply if P3=0P_3 = 0P3​=0.

Conclusion.

Mf=Mcov.M_f = M_{\mathrm{cov}}.Mf​=Mcov​.

Effect of the hypotheses (edge cases).

  • What the rank condition forces. UUU is unitary, so the rank of HcovH_{\mathrm{cov}}Hcov​ equals the number of nonzero λi+\lambda^+_iλi+​. Together with the ordering and λ0>0\lambda_0>0λ0​>0, hypothesis 3 is equivalent to λ2>0≥λ3\lambda_2 > 0 \ge \lambda_3λ2​>0≥λ3​, that is, λ3+=0\lambda^+_3 = 0λ3+​=0 while λ0+,λ1+,λ2+>0\lambda^+_0,\lambda^+_1,\lambda^+_2 > 0λ0+​,λ1+​,λ2+​>0.
  • Consequence for P3P_3P3​. It follows that λ^3=0\hat\lambda_3 = 0λ^3​=0 and λ^0+λ^1+λ^2=1\hat\lambda_0+\hat\lambda_1+\hat\lambda_2 = 1λ^0​+λ^1​+λ^2​=1. So under the hypotheses P3=1P_3 = 1P3​=1, and the defining expression for MfM_fMf​ reduces literally to Mcov−0⋅MΔ0M_{\mathrm{cov}} - 0\cdot M_{\Delta0}Mcov​−0⋅MΔ0​.
  • What the statement does not assert. It makes no claim about whether H(Mcov)=HcovH(M_{\mathrm{cov}}) = H_{\mathrm{cov}}H(Mcov​)=Hcov​ actually holds. It also places no condition on MexpM_{\mathrm{exp}}Mexp​ beyond hypothesis 1. For example, it imposes nothing on (Mexp)00(M_{\mathrm{exp}})_{00}(Mexp​)00​, and no physical-realizability condition.
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