Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Duality of conditional Rényi entropies, including infinite orders

Open
QAlgorithms.Papers.Independent.Bridge50.P49.conditional_entropy_duality

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

prove2quantum

Let ρABC=∣ψ⟩⟨ψ∣\rho_{ABC}=|\psi\rangle\langle\psi|ρABC​=∣ψ⟩⟨ψ∣ be a normalized pure state on finite-dimensional registers A,B,CA,B,CA,B,C. For orders 1/2≤α,β≤∞1/2\leq\alpha,\beta\leq\infty1/2≤α,β≤∞ different from one, assume 1/α+1/β=21/\alpha+1/\beta=21/α+1/β=2, with 1/∞=01/\infty=01/∞=0. For a bipartite density ωAB\omega_{AB}ωAB​, define Hp(A∣B)ω=−inf⁡σBDp(ωAB∥IA⊗σB)H_p(A|B)_\omega=-\inf_{\sigma_B}D_p(\omega_{AB}\|I_A\otimes\sigma_B)Hp​(A∣B)ω​=−infσB​​Dp​(ωAB​∥IA​⊗σB​) over all normalized density matrices σB\sigma_BσB​. Finite-order divergence uses natural logarithms, support inverses, and +∞+\infty+∞ on support failure even below one; D∞(ω∥η)=inf⁡{t∈R:ω≤etη}D_\infty(\omega\|\eta)=\inf\{t\in\mathbb R:\omega\leq e^t\eta\}D∞​(ω∥η)=inf{t∈R:ω≤etη} is max-relative entropy. For the actual marginals of ρABC\rho_{ABC}ρABC​,

Hα(A∣B)ρ=−Hβ(A∣C)ρ.H_\alpha(A|B)_\rho=-H_\beta(A|C)_\rho.Hα​(A∣B)ρ​=−Hβ​(A∣C)ρ​.

This includes the endpoint pairs (1/2,∞)(1/2,\infty)(1/2,∞) and (∞,1/2)(\infty,1/2)(∞,1/2) and requires no full-rank assumption on the physical state or its marginals.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Bridge50_P49
Formal statement
noncomputable section

open scoped BigOperators Matrix ComplexConjugate ComplexOrder ENNReal

open Filter Topology

namespace QAlgorithms.Papers.Independent.Bridge50.P49

attribute [local instance] Classical.propDecidable Classical.decEq

open QAlgorithms

open QAlgorithms.Papers.Independent.Information100.P63 (Mat)

open QAlgorithms.Papers.Independent.Information100.P50 (schattenNorm)

open QAlgorithms.Papers.Independent.Information100.P58 (Distribution)

open QAlgorithms.Papers.Independent.Information100.P56 (entropy)

open QAlgorithms.Papers.Independent.Information100.P62 (tensorChannel)

open QAlgorithms.Papers.Independent.Dependency50.P35
  (spectralPower Dominates rawTrace leftMarginal rightMarginal marginalAB marginalAC)

/-- Beigi, arXiv:1306.5920v6, Theorem 9, PDF pp.10--11 (stated already pp.2--3).
Includes (1/2,infinity) and its reverse; a normalized vector constructs the pure state. -/
theorem conditional_entropy_duality {A B C : Type} [Fintype A] [Fintype B] [Fintype C]
    [DecidableEq A] [DecidableEq B] [DecidableEq C]
    (p q : ℝ≥0∞) (hp : (1 / 2 : ℝ≥0∞) ≤ p) (hq : (1 / 2 : ℝ≥0∞) ≤ q)
    (hpone : p ≠ 1) (hqone : q ≠ 1)
    (hpq : reciprocalOrder p + reciprocalOrder q = 2)
    (psi : EuclideanSpace ℂ (A × (B × C))) (hpsi : ‖psi‖ = 1) :
    beigiConditionalRenyiEntropy p (marginalAB (pureDensity psi)) =
      -beigiConditionalRenyiEntropy q (marginalAC (pureDensity psi)) := by sorry

end QAlgorithms.Papers.Independent.Bridge50.P49

end
Source
Sandwiched Rényi Divergence Satisfies Data Processing Inequality, arXiv:1306.5920v6, PDF p. 10, Theorem 9 (Duality)
Read-back

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

For every three finite types A,B,CA,B,CA,B,C with decidable equality, let p,qp,qp,q be extended nonnegative real numbers satisfying p,q≥12p,q\ge\frac12p,q≥21​, p≠1p\ne1p=1, q≠1q\ne1q=1, and r(p)+r(q)=2r(p)+r(q)=2r(p)+r(q)=2, where r(u)=(u−1).toRealr(u)=(u^{-1}).\mathrm{toReal}r(u)=(u−1).toReal, so r(u)=1/ur(u)=1/ur(u)=1/u for finite positive uuu and r(+∞)=0r(+\infty)=0r(+∞)=0. Let ψ∈CA×(B×C)\psi\in\mathbb C^{A\times(B\times C)}ψ∈CA×(B×C) have Euclidean norm 111, and put

R(a,(b,c)),(a′,(b′,c′))=ψ(a,(b,c)) ψ(a′,(b′,c′))‾,(RAB)(a,b),(a′,b′)=∑cR(a,(b,c)),(a′,(b′,c)),(RAC)(a,c),(a′,c′)=∑bR(a,(b,c)),(a′,(b,c′)).R_{(a,(b,c)),(a',(b',c'))} =\psi(a,(b,c))\,\overline{\psi(a',(b',c'))}, \quad (R_{AB})_{(a,b),(a',b')}=\sum_cR_{(a,(b,c)),(a',(b',c))}, \quad (R_{AC})_{(a,c),(a',c')}=\sum_bR_{(a,(b,c)),(a',(b,c'))}.R(a,(b,c)),(a′,(b′,c′))​=ψ(a,(b,c))ψ(a′,(b′,c′))​,(RAB​)(a,b),(a′,b′)​=c∑​R(a,(b,c)),(a′,(b′,c))​,(RAC​)(a,c),(a′,c′)​=b∑​R(a,(b,c)),(a′,(b,c′))​.

For any matrix ω\omegaω on L×KL\times KL×K, define

Hu(L∣K)ω=−inf⁡τ⪰0tr⁡τ=1Du(ω∥1L⊗τ),H_u(L\mid K)_\omega =-\inf_{\substack{\tau\succeq0\\\operatorname{tr}\tau=1}} \mathcal D_u(\omega\Vert 1_L\otimes\tau),Hu​(L∣K)ω​=−τ⪰0trτ=1​inf​Du​(ω∥1L​⊗τ),

with the infimum in the extended reals. Here, for finite uuu, Du(X∥Y)\mathcal D_u(X\Vert Y)Du​(X∥Y) is +∞+\infty+∞ unless ker⁡Y⊆ker⁡X\ker Y\subseteq\ker XkerY⊆kerX; when that inclusion holds it is

1u−1 ℓ ⁣(Re⁡tr⁡Pu ⁣(P(1−u)/(2u)(Y) X P(1−u)/(2u)(Y))),\frac{1}{u-1}\, \ell\!\left(\operatorname{Re}\operatorname{tr} P_u\!\left(P_{(1-u)/(2u)}(Y)\,X\,P_{(1-u)/(2u)}(Y)\right)\right),u−11​ℓ(RetrPu​(P(1−u)/(2u)​(Y)XP(1−u)/(2u)​(Y))),

where ℓ(v)=ln⁡v\ell(v)=\ln vℓ(v)=lnv for v>0v>0v>0 and −∞-\infty−∞ otherwise, and PsP_sPs​ is continuous functional calculus with value 111 as a matrix when s=0s=0s=0, and scalar function 000 at zero and xsx^sxs elsewhere when s≠0s\ne0s=0. For u=+∞u=+\inftyu=+∞, instead set

D∞(X∥Y)=inf⁡{t∈R:etY−X⪰0},\mathcal D_\infty(X\Vert Y) =\inf\{t\in\mathbb R:e^tY-X\succeq0\},D∞​(X∥Y)=inf{t∈R:etY−X⪰0},

viewing the real candidates inside the extended reals. Then Hp(A∣B)RAB=−Hq(A∣C)RACH_p(A\mid B)_{R_{AB}}=-H_q(A\mid C)_{R_{AC}}Hp​(A∣B)RAB​​=−Hq​(A∣C)RAC​​. The endpoint pairs (p,q)=(12,+∞)(p,q)=(\frac12,+\infty)(p,q)=(21​,+∞) and (+∞,12)(+\infty,\frac12)(+∞,21​) are included. Empty register types are formally permitted, but then no norm-111 vector ψ\psiψ exists.

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