Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Sec. II.E: commuting Kraus matrices reduce Bob's term to tr(Eμ ⋅)\mathrm{tr}(E_\mu\,\cdot)tr(Eμ​⋅)

Proved
PeresTerno.commuting_kraus_sum_eq_trace_povm

by Lucas · Oct 5, 2026 · Mathlib 0df444a (Lean v4.33.1)

quantum-information

Let {Am}m∈I\{A_m\}_{m\in I}{Am​}m∈I​ and {Bn}n∈J\{B_n\}_{n\in J}{Bn​}n∈J​ be finite families of complex d×dd\times dd×d matrices with AmBn=BnAmA_m B_n = B_n A_mAm​Bn​=Bn​Am​ for all m,nm,nm,n, and let ρ\rhoρ be any d×dd\times dd×d matrix. Then

tr⁡(∑m∈I∑n∈JBnAm ρ Am†Bn†)=tr⁡(E∑n∈JBn ρ Bn†),E=∑m∈IAm†Am.\operatorname{tr}\Big(\sum_{m\in I}\sum_{n\in J} B_n A_m\,\rho\,A_m^\dagger B_n^\dagger\Big) = \operatorname{tr}\Big(E \sum_{n\in J} B_n\,\rho\,B_n^\dagger\Big),\qquad E = \sum_{m\in I}A_m^\dagger A_m .tr(m∈I∑​n∈J∑​Bn​Am​ρAm†​Bn†​)=tr(En∈J∑​Bn​ρBn†​),E=m∈I∑​Am†​Am​.

This is the step in the source's derivation of Eq. (11): using Eq. (9) to exchange AμmA_{\mu m}Aμm​ and BνnB_{\nu n}Bνn​ (and their adjoints) and moving AμmA_{\mu m}Aμm​ cyclically, one obtains "expressions like Eq. (8)".

Preamble
import Mathlib
import Definitions.Def_PeresTerno_kraus_basics

open Matrix
open scoped ComplexOrder
Formal statement
namespace PeresTerno

theorem commuting_kraus_sum_eq_trace_povm {d ι κ : Type*} [Fintype d] [Fintype ι] [Fintype κ]
    (A : ι → Matrix d d ℂ) (B : κ → Matrix d d ℂ)
    (hAB : ∀ m n, Commute (A m) (B n)) (ρ : Matrix d d ℂ) :
    trace (∑ m, ∑ n, B n * A m * ρ * (A m)ᴴ * (B n)ᴴ)
      = trace (povmElement A * ∑ n, B n * ρ * (B n)ᴴ) := by
  sorry

end PeresTerno
Source
A. Peres and D. R. Terno, Quantum information and relativity theory, Rev. Mod. Phys. 76, 93-123 (2004), https://doi.org/10.1103/RevModPhys.76.93, pp. 100-101, Sec. II.E, step from Eq. (10) to Eq. (11)
Read-back

What the Lean code literally says, in plain math · Aristotle (Harmonic) - NON-BLIND: same agent that drafted the statements

Non-blind read-back - not independent testimony. This read-back was written by the same agent (Aristotle, by Harmonic) that drafted the Lean statement below, with full knowledge of the source paper and of the intended meaning, at the explicit request of the proposal owner. It was not produced by a blind, independent auditor and must not be mistaken for independent testimony. Reviewers should compare the Lean code against the source themselves.

For finite index types ddd, III, JJJ, every pair of families A:I→Cd×dA : I\to\mathbb C^{d\times d}A:I→Cd×d, B:J→Cd×dB : J\to\mathbb C^{d\times d}B:J→Cd×d such that AmBn=BnAmA_m B_n = B_n A_mAm​Bn​=Bn​Am​ for all m∈Im\in Im∈I, n∈Jn\in Jn∈J, and every complex d×dd\times dd×d matrix ρ\rhoρ (no positivity or trace condition):

tr⁡(∑m∈I∑n∈JBnAmρAm†Bn†)=tr⁡((∑m∈IAm†Am)(∑n∈JBnρBn†)).\operatorname{tr}\Big(\sum_{m\in I}\sum_{n\in J} B_n A_m\rho A_m^\dagger B_n^\dagger\Big) = \operatorname{tr}\Big(\Big(\sum_{m\in I}A_m^\dagger A_m\Big)\Big(\sum_{n\in J} B_n\rho B_n^\dagger\Big)\Big).tr(m∈I∑​n∈J∑​Bn​Am​ρAm†​Bn†​)=tr((m∈I∑​Am†​Am​)(n∈J∑​Bn​ρBn†​)).

Only commutation of each AmA_mAm​ with each BnB_nBn​ is assumed (not with the adjoints, and no completeness).

Human review
  • Endorsed by Shuze Chen · Oct 5, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Lucas · Oct 5, 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