Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Section 5, case c.1, eq. (27): subtracting the ideal and 3D depolarizers

Proved
Arxiv1605_04704.case_c1_eq27

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>2r>2r>2 and P2>0P_2>0P2​>0. Then the filtered matrix of eq. (27) satisfies

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

Formalization Note The hypothesis P2>0P_2>0P2​>0 is not written in the paper. It is needed for the division: P2=0P_2=0P2​=0 exactly when λ^0=λ^1=λ^2\hat\lambda_0=\hat\lambda_1=\hat\lambda_2λ^0​=λ^1​=λ^2​, which is compatible with r>2r>2r>2.

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_c1_eq27 (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)) :
    filt2 U lam = (1 / ipp2 (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)) := by sorry

end Arxiv1605_04704
Source
J. J. Gil, On optimal filtering of measured Mueller matrices, arXiv:1605.04704v3 (2016), claim c010; Section 5, case c.1 (q = 2, r > 2), eq. (27), PDF p. 5
Read-back

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

Setting. The statement concerns three objects, all universally quantified:

  • an arbitrary real 4×44\times 44×4 matrix MexpM_{\mathrm{exp}}Mexp​;
  • an arbitrary 4×44\times 44×4 complex unitary matrix UUU, with columns u0,u1,u2,u3u_0,u_1,u_2,u_3u0​,u1​,u2​,u3​;
  • an arbitrary real 4-tuple λ=(λ0,λ1,λ2,λ3)\lambda = (\lambda_0,\lambda_1,\lambda_2,\lambda_3)λ=(λ0​,λ1​,λ2​,λ3​).

Indices run over 0,1,2,30,1,2,30,1,2,3.

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

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 M\mathcal MM. For a complex 4×44\times 44×4 matrix KKK, M(K)\mathcal M(K)M(K) is defined as follows:

  • if some real MMM satisfies H(M)=KH(M)=KH(M)=K, then M(K)\mathcal M(K)M(K) is some such MMM, chosen by choice;
  • otherwise M(K)\mathcal M(K)M(K) is a fixed but unspecified real 4×44\times 44×4 matrix.

Hypotheses.

  1. λ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. rank⁡Hcov>2\operatorname{rank} H_{\mathrm{cov}}>2rankHcov​>2, i.e. the rank is at least 3.
  3. P2>0P_2>0P2​>0.

The objects in hypotheses 3 and 4 are defined as follows:

  • Filtered eigenvalues and covariance. λi+=max⁡(λi,0)\lambda^{+}_i=\max(\lambda_i,0)λi+​=max(λi​,0), and
Hcov=U diag(λ0+,…,λ3+) U†.H_{\mathrm{cov}}=U\,\mathrm{diag}(\lambda^{+}_0,\dots,\lambda^{+}_3)\,U^\dagger .Hcov​=Udiag(λ0+​,…,λ3+​)U†.
  • Normalized eigenvalues. λ^i=λi+/∑jλj+\hat\lambda_i=\lambda^{+}_i\big/\sum_j\lambda^{+}_jλ^i​=λi+​/∑j​λj+​. By the usual convention, division by zero would give 000. However, hypothesis 2 makes the denominator positive.
  • Purity indices.
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​.

Derived matrices. Let Mcov=M(Hcov)M_{\mathrm{cov}}=\mathcal M(H_{\mathrm{cov}})Mcov​=M(Hcov​), and let c=(Mcov)00c=(M_{\mathrm{cov}})_{00}c=(Mcov​)00​ be its top-left entry. Define:

  • the ideal depolarizer MΔ0=c diag(1,0,0,0)M_{\Delta0}=c\,\mathrm{diag}(1,0,0,0)MΔ0​=cdiag(1,0,0,0);
  • M3=M(c3 U diag(1,1,1,0) U†)M_3=\mathcal M\big(\tfrac c3\,U\,\mathrm{diag}(1,1,1,0)\,U^\dagger\big)M3​=M(3c​Udiag(1,1,1,0)U†);
  • M2=M(c2 U diag(1,1,0,0) U†)M_2=\mathcal M\big(\tfrac c2\,U\,\mathrm{diag}(1,1,0,0)\,U^\dagger\big)M2​=M(2c​Udiag(1,1,0,0)U†);
  • MU0=M(c u0u0†)M_{U0}=\mathcal M\big(c\,u_0u_0^\dagger\big)MU0​=M(cu0​u0†​);
  • the filtered matrix
Mf=1P2(Mcov−(1−P3) MΔ0−(P3−P2) M3).M_f=\frac1{P_2}\Big(M_{\mathrm{cov}}-(1-P_3)\,M_{\Delta0}-(P_3-P_2)\,M_3\Big).Mf​=P2​1​(Mcov​−(1−P3​)MΔ0​−(P3​−P2​)M3​).

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

Mf=1P2(P1 MU0+(P2−P1) M2).M_f=\frac1{P_2}\Big(P_1\,M_{U0}+(P_2-P_1)\,M_2\Big).Mf​=P2​1​(P1​MU0​+(P2​−P1​)M2​).

Remarks on the hypotheses.

  • Since UUU is unitary, rank⁡Hcov\operatorname{rank}H_{\mathrm{cov}}rankHcov​ equals the number of positive λi\lambda_iλi​. With the ordering, hypothesis 3 says λ2>0\lambda_2>0λ2​>0, which already implies hypothesis 2.
  • λ3\lambda_3λ3​ is otherwise unconstrained: it may be positive (rank 4) or ≤0\le 0≤0 (rank 3).
  • Given the ordering, P2≥0P_2\ge 0P2​≥0 always holds. Hypothesis 4 excludes exactly the case λ0=λ1=λ2\lambda_0=\lambda_1=\lambda_2λ0​=λ1​=λ2​.
  • MexpM_{\mathrm{exp}}Mexp​ appears only in hypothesis 1. Its role is to require that U diag(λ) U†U\,\mathrm{diag}(\lambda)\,U^\daggerUdiag(λ)U† equals HHH of some real matrix. The conclusion depends only on UUU and λ\lambdaλ.
  • Every occurrence of M\mathcal MM refers to a chosen preimage under HHH when one exists, and to an unspecified matrix otherwise. This applies to McovM_{\mathrm{cov}}Mcov​, M3M_3M3​, M2M_2M2​ and MU0M_{U0}MU0​.
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