Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Section 5, case b.1, eq. (24): subtracting the ideal depolarizer

Proved
Arxiv1605_04704.case_b1_eq24

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​. Assume r=4r=4r=4 and P3>0P_3>0P3​>0. Then the filtered matrix of eq. (24) satisfies

Mf=Mcov−(1−P3)MΔ0P3=P1MU0+(P2−P1)M2+(P3−P2)M3P3.M_f=\frac{M_{\mathrm{cov}}-(1-P_3)M_{\Delta0}}{P_3}=\frac{P_1M_{U0}+(P_2-P_1)M_2+(P_3-P_2)M_3}{P_3}.Mf​=P3​Mcov​−(1−P3​)MΔ0​​=P3​P1​MU0​+(P2​−P1​)M2​+(P3​−P2​)M3​​.

Formalization Note The hypothesis P3>0P_3>0P3​>0 is not written in the paper. It is needed for the division: with r=4r=4r=4, P3=0P_3=0P3​=0 exactly when all four λ^i\hat\lambda_iλ^i​ equal 1/41/41/4. The sentence that a significant coefficient 1−P3≫δ1-P_3\gg\delta1−P3​≫δ implies four non-negligible components is not quantified and is not formalized.

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_b1_eq24 (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)) :
    filt3 U lam = (1 / ipp3 (covLhat lam)) •
      (ipp1 (covLhat lam) • specComp U (covMueller U lam 0 0) 0 +
        (ipp2 (covLhat lam) - ipp1 (covLhat lam)) • depol2 U (covMueller U lam 0 0) +
        (ipp3 (covLhat lam) - ipp2 (covLhat lam)) • depol3 U (covMueller U lam 0 0)) := by sorry

end Arxiv1605_04704
Source
J. J. Gil, On optimal filtering of measured Mueller matrices, arXiv:1605.04704v3 (2016), claim c018; Section 5, case b.1 (q = 3, r = 4), eq. (24), right column of PDF p. 4
Read-back

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

Let Mexp=(mkl)k,l=03M_{\mathrm{exp}} = (m_{kl})_{k,l=0}^{3}Mexp​=(mkl​)k,l=03​ be any real 4×44\times 44×4 matrix, let UUU be any 4×44\times 44×4 complex unitary matrix with columns u0,…,u3u_0,\dots,u_3u0​,…,u3​, and let λ=(λ0,λ1,λ2,λ3)\lambda = (\lambda_0,\lambda_1,\lambda_2,\lambda_3)λ=(λ0​,λ1​,λ2​,λ3​) be any four real numbers.

The covariance map. For a real 4×44\times44×4 matrix M=(mkl)M=(m_{kl})M=(mkl​), the complex matrix H(M)H(M)H(M) is defined by

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​​​.

The inverse map. For a complex 4×44\times44×4 matrix KKK, M(K)\mathcal M(K)M(K) denotes a real 4×44\times44×4 matrix MMM with H(M)=KH(M)=KH(M)=K, if one exists. If several exist, it is some fixed chosen one. If none exists, M(K)\mathcal M(K)M(K) is an unspecified fixed real 4×44\times44×4 matrix (a junk value). The statement itself does not assert that any of the matrices below lies in the image of HHH.

Hypotheses.

  1. λ0≥λ1≥λ2≥λ3\lambda_0\ge\lambda_1\ge\lambda_2\ge\lambda_3λ0​≥λ1​≥λ2​≥λ3​.
  2. 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^\daggerH(Mexp​)=Udiag(λ0​,λ1​,λ2​,λ3​)U†.
  3. λ0>0\lambda_0>0λ0​>0.
  4. The matrix Hcov:=U diag(λ0+,…,λ3+) U†H_{\mathrm{cov}} := U\,\mathrm{diag}(\lambda^{+}_0,\dots,\lambda^{+}_3)\,U^\daggerHcov​:=Udiag(λ0+​,…,λ3+​)U†, where λi+=max⁡(λi,0)\lambda^{+}_i=\max(\lambda_i,0)λi+​=max(λi​,0), has rank 444. Since UUU is unitary, this amounts to every λi+\lambda^{+}_iλi+​ being nonzero, i.e. λ3>0\lambda_3>0λ3​>0. Then all λi>0\lambda_i>0λi​>0, λi+=λi\lambda_i^+=\lambda_iλi+​=λi​, and hypothesis 3 is implied.
  5. P3>0P_3>0P3​>0, with P3P_3P3​ defined below.

Derived quantities.

  • Normalized eigenvalues:
λ^i=λi+∑j=03λj+.\hat\lambda_i=\frac{\lambda^{+}_i}{\sum_{j=0}^{3}\lambda^{+}_j}.λ^i​=∑j=03​λj+​λi+​​.
  • Indices of purity:
P1=λ^0−λ^1,P2=λ^0+λ^1−2λ^2,P3=λ^0+λ^1+λ^2−3λ^3.P_1=\hat\lambda_0-\hat\lambda_1,\qquad P_2=\hat\lambda_0+\hat\lambda_1-2\hat\lambda_2,\qquad P_3=\hat\lambda_0+\hat\lambda_1+\hat\lambda_2-3\hat\lambda_3.P1​=λ^0​−λ^1​,P2​=λ^0​+λ^1​−2λ^2​,P3​=λ^0​+λ^1​+λ^2​−3λ^3​.
  • The filtered matrix Mcov=M(Hcov)M_{\mathrm{cov}}=\mathcal M(H_{\mathrm{cov}})Mcov​=M(Hcov​) and its corner entry c=(Mcov)00c=(M_{\mathrm{cov}})_{00}c=(Mcov​)00​.
  • Component matrices built from ccc:
MΔ0=c diag(1,0,0,0),MU0=M(c u0u0†),M_{\Delta0}=c\,\mathrm{diag}(1,0,0,0),\qquad M_{U_0}=\mathcal M\big(c\,u_0u_0^\dagger\big),MΔ0​=cdiag(1,0,0,0),MU0​​=M(cu0​u0†​), M2=M(c2 U diag(1,1,0,0) U†),M3=M(c3 U diag(1,1,1,0) U†).M_2=\mathcal M\big(\tfrac c2\,U\,\mathrm{diag}(1,1,0,0)\,U^\dagger\big),\qquad M_3=\mathcal M\big(\tfrac c3\,U\,\mathrm{diag}(1,1,1,0)\,U^\dagger\big).M2​=M(2c​Udiag(1,1,0,0)U†),M3​=M(3c​Udiag(1,1,1,0)U†).

Conclusion. Under these hypotheses, the following identity of real 4×44\times44×4 matrices holds:

1P3(Mcov−(1−P3) MΔ0)=1P3(P1 MU0+(P2−P1) M2+(P3−P2) M3).\frac{1}{P_3}\Big(M_{\mathrm{cov}}-(1-P_3)\,M_{\Delta0}\Big) =\frac{1}{P_3}\Big(P_1\,M_{U_0}+(P_2-P_1)\,M_2+(P_3-P_2)\,M_3\Big).P3​1​(Mcov​−(1−P3​)MΔ0​)=P3​1​(P1​MU0​​+(P2​−P1​)M2​+(P3​−P2​)M3​).

MexpM_{\mathrm{exp}}Mexp​ does not appear in the conclusion; it enters only through hypothesis 2. The quantity P3P_3P3​ is never zero here, because of hypothesis 5.

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