Quantum states · PhysLib theorem
Every Finite-Dimensional Mixed State Has a Purification
PhysLib constructs a pure state on two copies of a finite basis whose right partial trace is the original mixed state.
What it says
What the theorem says
PhysLib diagonalizes the density matrix, weights its eigenvectors by square roots of nonnegative eigenvalues, builds a bipartite ket, and reconstructs the original matrix after the right partial trace.
Context
Why it matters
Purification is a basic structural fact behind entanglement and many channel and entropy arguments.
Inside the proof
Proof architecture
The construction uses the spectral basis of ρ, verifies normalization, and expands the right partial trace entry by entry until the spectral theorem recovers ρ.
Step 1
Weight the spectral basis
Each eigenvector component is multiplied by the square root of its nonnegative eigenvalue to form the bipartite purification ket.
|Ψρ⟩ = ∑ⱼ √λⱼ |vⱼ⟩⊗|j⟩
Show the Lean ingredients
def purifyeigenvectorUnitaryeigenvalues j).sqrtStep 2
Expand the partial trace
The proof unfolds the pure-state matrix and sums over the ancilla index for every output entry i,j.
TrR(|Ψρ⟩⟨Ψρ|)ᵢⱼ = ∑ₓ vᵢₓ λₓ v̄ⱼₓ
Show the Lean ingredients
traceRightMatrix.traceRightComplex.mul_conjStep 3
Reconstruct the density matrix
Nonnegative eigenvalues turn squared square roots back into λ, and the spectral theorem identifies the resulting sum with ρ.
∑ₓ vₓ λₓ vₓ† = ρ
Show the Lean ingredients
spectral_theoremReal.mul_self_sqrth_eigenvectorUnitaryAuthoritative formal type
Exact PhysLib statement
MState.purify_spec {d : Type*} [Fintype d] [DecidableEq d] (ρ : MState d) : (MState.pure ρ.purify).traceRight = ρThis is the theorem's exact Lean type. The diagrams and commentary are explanatory; the pinned statement and source are authoritative.
Recorded connections
How this result fits
A one-step view of the published results directly connected to this page.
3 direct connections
- Related resultEvery Finite-Dimensional Mixed State Has a Purificationis related toComplementary Subsystems of a Pure State Have Equal Entropy
- Related resultEvery Finite-Dimensional Mixed State Has a Purificationis related toPure-State Separability from the Reduced State
- Related resultEvery Finite-Dimensional Mixed State Has a Purificationis related toSpectral Decomposition of a Finite Quantum State
Only recorded public relationships are shown. A shared topic does not imply a dependency, and this is not a complete Lean proof-term dependency graph.
Open this result in the full theorem map3 direct connectionsProvenance and verification
Sources and technical checks
Show declaration provenance and Lean checks
MState.purify_specQuantumInfo.Finite.MState6bd0b4b99d3dsorryAx reportedThe declaration footprint describes source layout, not proof difficulty or the size of its dependencies. The pinned checks verify the cited Lean theorem; semantic review remains a separate PhysAtlas judgment.



