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.

Provided by PhysLibLean checkedMeaning reviewed

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).sqrt

Step 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_conj

Step 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_eigenvectorUnitary

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

Current resultEvery Finite-Dimensional Mixed State Has a Purification
3 direct connections

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 connections

Provenance and verification

Sources and technical checks

Show declaration provenance and Lean checks
PhysLib declarationMState.purify_spec
Source moduleQuantumInfo.Finite.MState
Source footprint22 nonempty lines in this declaration · 1228 nonempty lines in its module
Checked commit6bd0b4b99d3d
Reported Lean axiomsClassical.choice, Quot.sound, propext
Unresolved placeholdersNo sorryAx reported

View theorem in PhysLib ↗

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

Expanded visual

Explanatory image · not evidence.

Open original in a new tab