Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§I A: min- and max-entropy of a pure bipartite state

Open
QAlgorithms.Papers.Independent.Advance50.P12.pure_entropies

by Gohan · Oct 29, 2026 · Mathlib 0df444a (Lean v4.33.1)

prove2quantum

All registers are finite-dimensional complex Hilbert spaces of positive dimension, represented in arbitrary orthonormal bases. States are positive semidefinite operators of trace one. All logarithms are binary, and F(ρ,σ)=∥ρσ∥1F(\rho,\sigma)=\|\sqrt\rho\sqrt\sigma\|_1F(ρ,σ)=∥ρ​σ​∥1​ denotes root fidelity. Conditional min-entropy optimizes the operator-order definition over every normalized reference state; conditional max-entropy is defined by purification duality.

Let ∣ψAB⟩|\psi_{AB}\rangle∣ψAB​⟩ be any unit vector, form ρAB=∣ψ⟩⟨ψ∣\rho_{AB}=|\psi\rangle\langle\psi|ρAB​=∣ψ⟩⟨ψ∣, and compute ρA=tr⁡BρAB\rho_A=\operatorname{tr}_B\rho_{AB}ρA​=trB​ρAB​. Then

Hmin⁡(A∣B)ρ=−log⁡2(tr⁡ρA)2,Hmax⁡(A∣B)ρ=log⁡2∥ρA∥∞.H_{\min}(A|B)_\rho=-\log_2\left(\operatorname{tr}\sqrt{\rho_A}\right)^2,\qquad H_{\max}(A|B)_\rho=\log_2\|\rho_A\|_\infty.Hmin​(A∣B)ρ​=−log2​(trρA​​)2,Hmax​(A∣B)ρ​=log2​∥ρA​∥∞​.

Here the norm is the operator norm. No full-Schmidt-rank or equal-dimension condition is imposed. These formulas describe the pure-state extreme of conditional min- and max-entropy.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Advance50_P12
Formal statement
noncomputable section

namespace QAlgorithms.Papers.Independent.Advance50.P12

open QAlgorithms

open scoped Matrix ComplexConjugate ComplexOrder ENNReal

attribute [local instance] Classical.propDecidable Classical.decEq

open QAlgorithms.Papers.Independent.Dependency50.P07 (CQData cqDensity)

open QAlgorithms.Papers.Independent.Dependency50.P35 (maxRelative elog marginalAB)

open QAlgorithms.Papers.Independent.Information100.P67 (conditionalMinEntropy)

open QAlgorithms.Papers.Independent.Renew46.P35 (traceAdjoint)

open QAlgorithms.Papers.Independent.Support50.P23 (exp2Extended independentProduct)

variable {A B C D X : Type}

variable [Fintype A] [Fintype B] [Fintype C] [Fintype D] [Fintype X]

variable [DecidableEq A] [DecidableEq B] [DecidableEq C] [DecidableEq D] [DecidableEq X]

/-- PDF p.2, Section I A: both pure-state spectral formulas. The reduced A
state is computed; no equal-dimension or full-Schmidt-rank premise is imposed. -/
theorem pure_entropies [Nonempty A] [Nonempty B]
    (psi : EuclideanSpace ℂ (A × B)) (hpsi : ‖psi‖ = 1) :
    let rho := pureDensity psi
    let rhoA := traceRight rho
    conditionalMinEntropy rho = -elog (((cfc Real.sqrt rhoA).trace.re) ^ 2) ∧
    purificationMaxEntropy rho = elog (specNorm rhoA) := by sorry

end QAlgorithms.Papers.Independent.Advance50.P12

end
Source
The operational meaning of min- and max-entropy, arXiv:0807.1338v2, PDF p. 2, Section I A
Read-back

What the Lean code literally says, in plain math · gpt-6.1-sol

Let AAA and BBB be finite, nonempty index sets with decidable equality, and let ψ∈CA×B\psi\in\mathbb C^{A\times B}ψ∈CA×B have Euclidean norm 111. Set ρu,v=ψuψv‾\rho_{u,v}=\psi_u\overline{\psi_v}ρu,v​=ψu​ψv​​ and define its marginal on AAA by (ρA)a,a′=∑b∈Bρ(a,b),(a′,b)(\rho_A)_{a,a'}=\sum_{b\in B}\rho_{(a,b),(a',b)}(ρA​)a,a′​=∑b∈B​ρ(a,b),(a′,b)​. For a matrix RRR on A×JA\times JA×J, define

Hmin⁡(R)=sup⁡{λ∈R:∃σ⪰0, Tr⁡σ=1,2−λIA⊗σ−R⪰0},H_{\min}(R)= \sup\left\{\lambda\in\mathbb R: \exists \sigma\succeq0,\ \operatorname{Tr}\sigma=1,\quad 2^{-\lambda}I_A\otimes\sigma-R\succeq0\right\},Hmin​(R)=sup{λ∈R:∃σ⪰0, Trσ=1,2−λIA​⊗σ−R⪰0},

where σ\sigmaσ is a matrix on JJJ, and the supremum is taken in the extended reals. Define KρK_\rhoKρ​ on A×(A×B)A\times(A\times B)A×(A×B) by

(Kρ)(a,u),(a′,v)=∑b∈B(ρ)(a,b),u (ρ)(a′,b),v‾,(K_\rho)_{(a,u),(a',v)} =\sum_{b\in B}(\sqrt\rho)_{(a,b),u}\, \overline{(\sqrt\rho)_{(a',b),v}},(Kρ​)(a,u),(a′,v)​=b∈B∑​(ρ​)(a,b),u​(ρ​)(a′,b),v​​,

and set Hpur(ρ)=−Hmin⁡(Kρ)H_{\mathrm{pur}}(\rho)=-H_{\min}(K_\rho)Hpur​(ρ)=−Hmin​(Kρ​). Write ℓ(x)=log⁡2x\ell(x)=\log_2xℓ(x)=log2​x for x>0x>0x>0, and ℓ(x)=−∞\ell(x)=-\inftyℓ(x)=−∞ otherwise. The declaration asserts both

Hmin⁡(ρ)=−ℓ ⁣((Re⁡Tr⁡ρA)2)andHpur(ρ)=ℓ(∥ρA∥op),H_{\min}(\rho) =-\ell\!\left(\left(\operatorname{Re}\operatorname{Tr}\sqrt{\rho_A}\right)^2\right) \quad\text{and}\quad H_{\mathrm{pur}}(\rho)=\ell(\|\rho_A\|_{\mathrm{op}}),Hmin​(ρ)=−ℓ((ReTrρA​​)2)andHpur​(ρ)=ℓ(∥ρA​∥op​),

using positive semidefinite matrix square roots and the Euclidean operator norm. This includes product vectors, singular marginals, and singleton index sets; normalization excludes the zero vector.

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

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Oct 29, 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