Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§7.3: Shannon entropy of diagonal Kraus weights equals exchange entropy

Open
QAlgorithms.Papers.Independent.Advance50.P29.krausWeightEntropy

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

prove2quantum

Let QQQ and Q′Q^{\prime}Q′ be finite complex Hilbert spaces of positive dimensions MMM and DDD. A density operator is positive semidefinite with trace one. All logarithms and entropies are in bits. Write π=IQ/M\pi=I_Q/Mπ=IQ​/M. For a state ρ\rhoρ, put I(ρ,N)=S(N(ρ))−Se(ρ,N)I(\rho,\mathcal N)=S(\mathcal N(\rho))-S_e(\rho,\mathcal N)I(ρ,N)=S(N(ρ))−Se​(ρ,N), where SSS is von Neumann entropy and SeS_eSe​ is the entropy of the reference/output state after applying N\mathcal NN to a purification of ρ\rhoρ. Let (Ai)i∈L(A_i)_{i\in L}(Ai​)i∈L​ be a fixed minimal orthogonal Kraus family of a CPTP map N\mathcal NN, and put Pi=M−1tr⁡(Ai†Ai)P_i=M^{-1}\operatorname{tr}(A_i^\dagger A_i)Pi​=M−1tr(Ai†​Ai​). Then

Pi≥0,∑iPi=1,H(P)=Se(π,N).P_i\ge0,\qquad\sum_iP_i=1,\qquad H(P)=S_e(\pi,\mathcal N).Pi​≥0,i∑​Pi​=1,H(P)=Se​(π,N).

The single fixed probability vector converts typical words into typical Kraus operators.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Advance50_P29
Formal statement
noncomputable section

namespace QAlgorithms.Papers.Independent.Advance50.P29

open QAlgorithms MeasureTheory Filter

open QAlgorithms.Papers.Independent.Information100.P22
  (densityPurification coherentInformation singleUseInformation mixed)

open QAlgorithms.Papers.Independent.Information100.P27 (shannon)

open QAlgorithms.Papers.Independent.Dependency50.P48 (wordProbability)

open QAlgorithms.Papers.Independent.Bridge50.P43 (tensorDensity)

open scoped Matrix ComplexConjugate ComplexOrder Topology

attribute [local instance] Classical.propDecidable

variable {I J E L : Type} [Fintype I] [DecidableEq I]

variable [Fintype J] [DecidableEq J] [Fintype E] [DecidableEq E]

variable [Fintype L] [DecidableEq L]

/-- PDF p.16, §7.3: the same minimal orthogonal list defines a probability vector whose
Shannon entropy equals exchange entropy, with no input-dependent representation choice. -/
theorem krausWeightEntropy [Nonempty I] [Nonempty J] [Nonempty L]
    (A : L → Matrix J I ℂ) (hA : IsKrausFamily A) (hm : MinimalKraus A)
    (ho : ∀ i j, i ≠ j → ((A i)ᴴ * A j).trace = 0) :
    (∀ i, 0 ≤ krausWeight A i) ∧ (∑ i, krausWeight A i) = 1 ∧
    shannon (krausWeight A) = exchangeEntropy (krausApply A) (mixed I) := by sorry

end QAlgorithms.Papers.Independent.Advance50.P29

end
Source
A random-coding based proof for the quantum coding theorem, arXiv:0712.2558v1, PDF p. 16, §7.3: Shannon entropy of diagonal Kraus weights equals exchange entropy
Read-back

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

Let I,J,LI,J,LI,J,L be nonempty finite index types with decidable equality, and let Al:CI→CJA_l:\mathbb C^I\to\mathbb C^JAl​:CI→CJ, l∈Ll\in Ll∈L, satisfy ∑lAl†Al=II\sum_lA_l^\dagger A_l=I_I∑l​Al†​Al​=II​. Suppose that, for every r∈Nr\in\mathbb Nr∈N and every family B0,…,Br−1B_0,\ldots,B_{r-1}B0​,…,Br−1​, equality ∑lAlXAl†=∑j<rBjXBj†\sum_lA_lXA_l^\dagger=\sum_{j<r}B_jXB_j^\dagger∑l​Al​XAl†​=∑j<r​Bj​XBj†​ for every matrix XXX implies ∣L∣≤r|L|\le r∣L∣≤r. Suppose also that tr⁡(Al†Am)=0\operatorname{tr}(A_l^\dagger A_m)=0tr(Al†​Am​)=0 whenever l≠ml\ne ml=m. Define

N(X)=∑lAlXAl†,pl=Re⁡tr⁡(Al†Al)∣I∣,ρ=II/∣I∣.N(X)=\sum_lA_lXA_l^\dagger,\qquad p_l=\frac{\operatorname{Re}\operatorname{tr}(A_l^\dagger A_l)}{|I|}, \qquad \rho=I_I/|I|.N(X)=l∑​Al​XAl†​,pl​=∣I∣Retr(Al†​Al​)​,ρ=II​/∣I∣.

Then every plp_lpl​ is nonnegative, ∑lpl=1\sum_lp_l=1∑l​pl​=1, and

−∑lpllog⁡2pl=S ⁣((id⁡I⊗N)(∣Ωρ⟩⟨Ωρ∣)),Ωρ(a,b)=(ρ)b,a.-\sum_lp_l\log_2p_l = S\!\left((\operatorname{id}_I\otimes N)(|\Omega_\rho\rangle\langle\Omega_\rho|)\right), \qquad \Omega_\rho(a,b)=(\sqrt{\rho})_{b,a}.−l∑​pl​log2​pl​=S((idI​⊗N)(∣Ωρ​⟩⟨Ωρ​∣)),Ωρ​(a,b)=(ρ​)b,a​.

The tensor extension applies NNN to the second register. Here S(X)=−Re⁡tr⁡(f(X))S(X)=-\operatorname{Re}\operatorname{tr}(f(X))S(X)=−Retr(f(X)) for f(x)=xlog⁡2xf(x)=x\log_2xf(x)=xlog2​x, applied by continuous functional calculus with f(0)=0f(0)=0f(0)=0, and zero terms in the scalar entropy sum are also assigned value 000.

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

    Confirmed by the moderator at approval.

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