Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 1: classical min-entropy is guessing entropy

Open
QAlgorithms.Papers.Independent.Advance50.P12.minEntropy_guessing

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 XXX be a nonempty finite alphabet and let {px,ρBx}x\{p_x,\rho_B^x\}_x{px​,ρBx​}x​ be an ensemble with px≥0p_x\ge0px​≥0, ∑xpx=1\sum_xp_x=1∑x​px​=1, and each ρBx\rho_B^xρBx​ a density operator, even when px=0p_x=0px​=0. Form ρXB=∑xpx∣x⟩⟨x∣⊗ρBx\rho_{XB}=\sum_xp_x|x\rangle\langle x|\otimes\rho_B^xρXB​=∑x​px​∣x⟩⟨x∣⊗ρBx​. Then

Hmin⁡(X∣B)ρ=−log⁡2pguess(X∣B)ρ,pguess(X∣B)ρ=max⁡{Ex}∑xpxtr⁡(ExρBx).H_{\min}(X|B)_\rho=-\log_2 p_{\mathrm{guess}}(X|B)_\rho,\qquad p_{\mathrm{guess}}(X|B)_\rho=\max_{\{E_x\}}\sum_xp_x\operatorname{tr}(E_x\rho_B^x).Hmin​(X∣B)ρ​=−log2​pguess​(X∣B)ρ​,pguess​(X∣B)ρ​={Ex​}max​x∑​px​tr(Ex​ρBx​).

The maximum is attained over a single XXX-outcome POVM: Ex≥0E_x\ge0Ex​≥0 and ∑xEx=IB\sum_xE_x=I_B∑x​Ex​=IB​. The success criterion is the ensemble average. This identifies min-entropy with optimal decoding probability.

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 pp.8–9, Theorem 1: one POVM optimizes ensemble-average guessing
probability, allowing zero-probability labels and mixed conditional states. -/
theorem minEntropy_guessing [Nonempty X] [Nonempty B]
    (e : CQData X B) (he : e.Valid) :
    conditionalMinEntropy (cqDensity e) = -elog (mixedOptSuccess e.prob e.state) ∧
    ∃ m : X → Matrix B B ℂ, IsPOVM m ∧
      mixedOptSuccess e.prob e.state = ∑ x, e.prob x * effectProb (m x) (e.state x) := by sorry

end QAlgorithms.Papers.Independent.Advance50.P12

end
Source
The operational meaning of min- and max-entropy, arXiv:0807.1338v2, PDF p. 8, Theorem 1 (continued p.9)
Read-back

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

Let X,BX,BX,B be nonempty finite types with decidable equality. Let eee consist of numbers px≥0p_x\ge0px​≥0 with ∑xpx=1\sum_xp_x=1∑x​px​=1 and matrices ρx⪰0\rho_x\succeq0ρx​⪰0 with tr⁡ρx=1\operatorname{tr}\rho_x=1trρx​=1 for every x∈Xx\in Xx∈X, including labels with px=0p_x=0px​=0. Define the matrix RRR on X×BX\times BX×B by R(x,b),(y,c)=px(ρx)bcR_{(x,b),(y,c)}=p_x(\rho_x)_{bc}R(x,b),(y,c)​=px​(ρx​)bc​ when x=yx=yx=y, and 000 otherwise. Define

Hmin⁡(X∣B)R=sup⁡{λ∈R:∃σ⪰0, tr⁡σ=1, 2−λIX⊗σ−R⪰0},H_{\min}(X|B)_R =\sup\{\lambda\in\mathbb R:\exists \sigma\succeq0,\ \operatorname{tr}\sigma=1,\ 2^{-\lambda}I_X\otimes\sigma-R\succeq0\},Hmin​(X∣B)R​=sup{λ∈R:∃σ⪰0, trσ=1, 2−λIX​⊗σ−R⪰0},

with extended-real supremum, and define the real supremum

P=sup⁡Mx⪰0 (x∈X)∑xMx=IB∑xpx Re⁡tr⁡(Mxρx).P=\sup_{\substack{M_x\succeq0\ (x\in X)\\\sum_xM_x=I_B}} \sum_xp_x\,\operatorname{Re}\operatorname{tr}(M_x\rho_x).P=Mx​⪰0 (x∈X)∑x​Mx​=IB​​sup​x∑​px​Retr(Mx​ρx​).

Then Hmin⁡(X∣B)R=−elog⁡(P)H_{\min}(X|B)_R=-\operatorname{elog}(P)Hmin​(X∣B)R​=−elog(P), where elog⁡(u)=log⁡2u\operatorname{elog}(u)=\log_2uelog(u)=log2​u for u>0u>0u>0 and −∞-\infty−∞ otherwise. Moreover, there is a family Mx⪰0M_x\succeq0Mx​⪰0 with ∑xMx=IB\sum_xM_x=I_B∑x​Mx​=IB​ attaining this supremum:

P=∑xpx Re⁡tr⁡(Mxρx).P=\sum_xp_x\,\operatorname{Re}\operatorname{tr}(M_x\rho_x).P=x∑​px​Retr(Mx​ρx​).
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