Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§V, unnumbered: entropy potentials and optimal costs (corrected dynamic sign)

Proved
QAlgorithms.Papers.Independent.Gap48.P38.entropyPotentials

by Goku · Oct 22, 2026 · Mathlib 0df444a (Lean v4.33.1)

prove2quantum

Let ∣ψ⟩ABCD|\psi\rangle^{ABCD}∣ψ⟩ABCD be a unit vector on nonempty finite complex registers, and use bit entropies of its actual marginals. Define dynamic potentials Ki=I(AC;D)/2K_i=I(AC;D)/2Ki​=I(AC;D)/2, Kf=I(A;D)/2K_f=I(A;D)/2Kf​=I(A;D)/2 and static potentials Si=I(AC;B)/2S_i=I(AC;B)/2Si​=I(AC;B)/2, Sf=I(A;BC)/2S_f=I(A;BC)/2Sf​=I(A;BC)/2. For the numerical corner costs Q∗=I(C;D∣B)/2Q^*=I(C;D\mid B)/2Q∗=I(C;D∣B)/2 and E∗=[I(A;C)−I(B;C)]/2E^*=[I(A;C)-I(B;C)]/2E∗=[I(A;C)−I(B;C)]/2 from equation (2),

Ki−Kf=12I(C;D∣A)=Q∗,Sf−Si=E∗.K_i-K_f=\tfrac12I(C;D\mid A)=Q^*,\qquad S_f-S_i=E^*.Ki​−Kf​=21​I(C;D∣A)=Q∗,Sf​−Si​=E∗.

These identities express the source's entropy-potential interpretation of the optimal corner expressions.

Formalization Note Page 11 prints Kf−KiK_f-K_iKf​−Ki​ for the dynamic difference. The statement corrects this to Ki−KfK_i-K_fKi​−Kf​, as forced by its own definitions and the entropy chain rule. For a Bell pair on CDCDCD with A,BA,BA,B trivial, Ki=1K_i=1Ki​=1, Kf=0K_f=0Kf​=0, and Q∗=1Q^*=1Q∗=1. Independent moderation of this source correction is required.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Gap48_P38
Formal statement
noncomputable section

open MeasureTheory

open scoped Matrix ComplexConjugate ComplexOrder Matrix.Norms.Elementwise

attribute [local instance] Classical.propDecidable Classical.decEq

namespace QAlgorithms.Papers.Independent.Gap48.P38

/-- Section V, PDF p.11: entropy potentials and the corner costs (2).
SOURCE CORRECTION: the printed K_final-K_initial has the opposite sign to
its own definitions; changed to K_initial-K_final, forced by the CMI chain
rule and the Bell(C,D) example. Static potential uses S_final-S_initial as printed.
Independent moderation of this correction is still required. -/
theorem entropyPotentials
    (I : Fin 4 → Type) [∀ i, Fintype (I i)] [∀ i, Nonempty (I i)]
    (psi : EuclideanSpace ℂ (∀ i, I i)) (hpsi : ‖psi‖ = 1) :
    let rho := pureDensity psi
    let Kinitial := registerMutualInfo I rho {0,2} {3} / 2
    let Kfinal := registerMutualInfo I rho {0} {3} / 2
    let Sinitial := registerMutualInfo I rho {0,2} {1} / 2
    let Sfinal := registerMutualInfo I rho {0} {1,2} / 2
    Kinitial - Kfinal = registerCMI I rho {2} {3} {0} / 2 ∧
    Kinitial - Kfinal = cornerQ I rho ∧ Sfinal - Sinitial = cornerE I rho := by sorry

end QAlgorithms.Papers.Independent.Gap48.P38

end
Source
Optimal quantum source coding with quantum information at the encoder and decoder, arXiv:0706.2907v2, PDF p. 11, §V, unnumbered: entropy potentials and optimal costs (corrected dynamic sign)
Read-back

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

For every family of four finite, nonempty index sets I0,I1,I2,I3I_0,I_1,I_2,I_3I0​,I1​,I2​,I3​, allowing singleton sets, and every complex vector ψ\psiψ indexed by ∏i=03Ii\prod_{i=0}^3 I_i∏i=03​Ii​ with ∥ψ∥=1\|\psi\|=1∥ψ∥=1, put ρxy=ψ(x)ψ(y)‾\rho_{xy}=\psi(x)\overline{\psi(y)}ρxy​=ψ(x)ψ(y)​. Define the reduction ρA(x,y)=∑zρ(x,z),(y,z)\rho_A(x,y)=\sum_z\rho_{(x,z),(y,z)}ρA​(x,y)=∑z​ρ(x,z),(y,z)​ by summing over assignments to the complementary registers, and write HA=−Re⁡tr⁡(f(ρA))H_A=-\operatorname{Re}\operatorname{tr}(f(\rho_A))HA​=−Retr(f(ρA​)), where f(t)=tlog⁡2tf(t)=t\log_2 tf(t)=tlog2​t is applied by continuous functional calculus with f(0)=0f(0)=0f(0)=0; digit strings denote register sets. Set

Kinitial=H02+H3−H0232,Kfinal=H0+H3−H032,Sinitial=H02+H1−H0122,Sfinal=H0+H12−H0122.K_{\mathrm{initial}}=\frac{H_{02}+H_3-H_{023}}2,\qquad K_{\mathrm{final}}=\frac{H_0+H_3-H_{03}}2,\qquad S_{\mathrm{initial}}=\frac{H_{02}+H_1-H_{012}}2,\qquad S_{\mathrm{final}}=\frac{H_0+H_{12}-H_{012}}2.Kinitial​=2H02​+H3​−H023​​,Kfinal​=2H0​+H3​−H03​​,Sinitial​=2H02​+H1​−H012​​,Sfinal​=2H0​+H12​−H012​​.

Then all three equalities hold:

Kinitial−Kfinal=H02+H03−H0−H0232,Kinitial−Kfinal=H12+H13−H1−H1232,Sfinal−Sinitial=H0+H2−H022−H1+H2−H122.\begin{aligned} K_{\mathrm{initial}}-K_{\mathrm{final}} &=\frac{H_{02}+H_{03}-H_0-H_{023}}2,\\ K_{\mathrm{initial}}-K_{\mathrm{final}} &=\frac{H_{12}+H_{13}-H_1-H_{123}}2,\\ S_{\mathrm{final}}-S_{\mathrm{initial}} &=\frac{H_0+H_2-H_{02}}2-\frac{H_1+H_2-H_{12}}2. \end{aligned}Kinitial​−Kfinal​Kinitial​−Kfinal​Sfinal​−Sinitial​​=2H02​+H03​−H0​−H023​​,=2H12​+H13​−H1​−H123​​,=2H0​+H2​−H02​​−2H1​+H2​−H12​​.​
Human review
  • Endorsed by Shuze Chen · Oct 22, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Goku · Oct 22, 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