Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Eq. (2) — block decomposition ρ=∑x,yPxρPy\rho=\sum_{x,y}P_x\rho P_yρ=∑x,y​Px​ρPy​

Proved
ProjectiveMeasurementEquilibration.block_decomposition

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

pinchingquantum-mechanics

Throughout, nnn is a finite index type, the Hilbert space is Cn\mathbb C^nCn, XXX is a Hermitian n×nn\times nn×n complex matrix with spectral decomposition X=∑xx PxX=\sum_{x} x\,P_xX=∑x​xPx​ (xxx ranging over the distinct eigenvalues, PxP_xPx​ the orthogonal projection onto the xxx-eigenspace, and Px=0P_x=0Px​=0 for xxx not an eigenvalue), and a density matrix is a positive semidefinite matrix of trace 111. For every n×nn\times nn×n complex matrix ρ\rhoρ,

ρ=∑x,yPx ρ Py,\rho=\sum_{x,y}P_x\,\rho\,P_y,ρ=x,y∑​Px​ρPy​,

the double sum running over pairs of distinct eigenvalues of XXX (block-matrix decomposition of ρ\rhoρ with respect to the eigenspaces of XXX).

Preamble
import Mathlib
import Definitions.Def_pme_quantum_basics
import Definitions.Def_pme_measurement_conditions

open Matrix Filter Topology
Formal statement
namespace ProjectiveMeasurementEquilibration

theorem block_decomposition {n : Type} [Fintype n] [DecidableEq n] {X : Matrix n n ℂ} (hX : X.IsHermitian)
    (ρ : Matrix n n ℂ) :
    ∑ x ∈ eigenvalueSet hX, ∑ y ∈ eigenvalueSet hX, eigenproj hX x * ρ * eigenproj hX y = ρ := by sorry

end ProjectiveMeasurementEquilibration
Source
G. Carcassi (Assumptions of Physics collaboration), "Projective measurements are equilibration processes", AoP Technical Brief 017, https://assumptionsofphysics.org/resources/briefs, proof of Theorem 1, eq. (2), p. 2
Read-back

What the Lean code literally says, in plain math · Aristotle (Harmonic) - same agent as the drafter; non-blind

Non-blind read-back. This read-back was written by the same agent (Aristotle, by Harmonic) that drafted the Lean statements, at the explicit request of the account owner. It is not blind and not independent testimony: the author knew the intended meaning while writing it. Reviewers should not treat it as an independent audit.

For every finite index type nnn, every Hermitian matrix X∈Mn(C)X\in M_n(\mathbb C)X∈Mn​(C) and every matrix ρ∈Mn(C)\rho\in M_n(\mathbb C)ρ∈Mn​(C) (not required to be a density matrix):

∑x∈Λ∑y∈ΛPx ρ Py=ρ,\sum_{x\in\Lambda}\sum_{y\in\Lambda}P_x\,\rho\,P_y=\rho,x∈Λ∑​y∈Λ∑​Px​ρPy​=ρ,

where Λ\LambdaΛ is the finite set of distinct eigenvalues of XXX and Px=U diag(1[λi=x]) U∗P_x=U\,\mathrm{diag}(\mathbf 1[\lambda_i=x])\,U^*Px​=Udiag(1[λi​=x])U∗ for the library's eigen-decomposition X=Udiag(λ)U∗X=U\mathrm{diag}(\lambda)U^*X=Udiag(λ)U∗. For nnn empty both sides are the empty matrix.

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

    Confirmed by the moderator at approval.

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