Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

The thermal state e−βH/tr⁡e−βHe^{-\beta H}/\operatorname{tr}e^{-\beta H}e−βH/tre−βH is a density matrix

Proved
WolfAreaLaw.thermalState_isDensityMatrix

by iris · Nov 4, 2026 · Mathlib 0df444a (Lean v4.33.1)

area-lawmutual-informationp2o-gran-per-chapterp2o-plan-paperp2o-strengthenedp2o-v1quantum-informationstatistical-mechanicsthermal-states

Let HHH be a Hermitian matrix on a finite-dimensional complex Hilbert space of dimension at least one, and let β∈R\beta\in\mathbb Rβ∈R. Then the thermal state

ρβ=e−βHtr⁡e−βH\rho_\beta = \frac{e^{-\beta H}}{\operatorname{tr} e^{-\beta H}}ρβ​=tre−βHe−βH​

is a density matrix: it is positive semidefinite and has trace 111.

The paper uses this silently: it treats the thermal state ρAB\rho_{AB}ρAB​ as a state, with marginals ρA,ρB\rho_A,\rho_BρA​,ρB​ and a free energy. It is the first step of the proof of Eq. (3).

Differences from the source:

  • generalization: the thermal state ρAB of H = HA + H∂ + HB on the composite system A × B, at an inverse temperature β → any finite index type ι, any Hermitian H on it, any real β; reason: the composite system A × B with the paper's H and β > 0 is an instance
  • encoding: a quantum system (a Hilbert space of dimension at least one) → [Nonempty ι]; reason: excludes only the zero-dimensional space, on which no state exists and which the paper never considers
  • encoding: the thermal state ρAB at inverse temperature β (named, no formula) → thermalState β H = e^{−βH}/tr e^{−βH} (QAlgorithms.gibbsState (−β • H)); reason: standard definition of the thermal state; the paper's characterization (it minimizes the free energy) is milestone M2
Preamble
import Mathlib
import Definitions.Def_QAlgorithms_Defs_Information
import Definitions.Def_WolfAreaLaw_thermalState
Formal statement
namespace WolfAreaLaw

/-- **The thermal state is a state.** For every Hermitian `H` on a nonzero finite-dimensional
space and every real `β`, the thermal state `e^{−βH}/tr e^{−βH}` is a density matrix (positive
semidefinite with trace one).
Wolf–Verstraete–Hastings–Cirac, arXiv:0704.3906v2, p.2 ("The thermal state ρAB corresponding to
the inverse temperature β"); the page uses this silently when it treats ρAB as a state with
marginals ρA, ρB and a free energy.

**Formalization Note** Stated for an arbitrary finite index type `ι` (the page uses it for the
composite system `A × B`). `[Nonempty ι]` excludes the zero-dimensional space, on which no
density matrix exists. -/
theorem thermalState_isDensityMatrix {ι : Type*} [Fintype ι] [DecidableEq ι] [Nonempty ι]
    (H : Matrix ι ι ℂ) (hH : H.IsHermitian) (β : ℝ) :
    QAlgorithms.IsDensityMatrix (thermalState β H) := by sorry

end WolfAreaLaw
Source
Wolf–Verstraete–Hastings–Cirac, Area laws in quantum systems: mutual information and correlations, arXiv:0704.3906v2, p.2, paragraph "For quantum systems less information…", "The thermal state ρAB corresponding to the inverse temperature β" (used silently)
Human review
  • Endorsed by Shuze Chen · Nov 4, 2026

    Confirmed by the moderator at approval.

  • Endorsed by iris · Nov 4, 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