Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 1: Normalized testing-divergence properties

Open
QAlgorithms.Papers.Independent.Bridge50.P50.lemma_1

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

prove2quantum

Let S\mathcal SS be the density operators on a nonzero, finite-dimensional complex Hilbert space of dimension ddd. Logarithms are in bits, DDD is support-aware Umegaki relative entropy, and VVV is relative entropy variance in bits squared. For 0<ε<10<\varepsilon<10<ε<1, let P,QP,QP,Q be probability measures on discrete subsets S,T⊆SS,T\subseteq\mathcal SS,T⊆S, with barycenters ρ,σ\rho,\sigmaρ,σ. Define Dhε(ρ∥σ)=−log⁡2[β1−ε(ρ∥σ)/(1−ε)]D_h^\varepsilon(\rho\|\sigma)=-\log_2[\beta_{1-\varepsilon}(\rho\|\sigma)/(1-\varepsilon)]Dhε​(ρ∥σ)=−log2​[β1−ε​(ρ∥σ)/(1−ε)], where β\betaβ minimizes tr⁡(Aσ)\operatorname{tr}(A\sigma)tr(Aσ) over effects 0≤A≤I0\le A\le I0≤A≤I satisfying tr⁡(Aρ)≥1−ε\operatorname{tr}(A\rho)\ge1-\varepsilontr(Aρ)≥1−ε. Then

Dhε(ρ∥σ)≥0,Dhε(ρ∥σ)=0  ⟺  ρ=σ,D_h^\varepsilon(\rho\|\sigma)\ge0,\quad D_h^\varepsilon(\rho\|\sigma)=0\iff\rho=\sigma,Dhε​(ρ∥σ)≥0,Dhε​(ρ∥σ)=0⟺ρ=σ, Dhε(M(ρ)∥M(σ))≤Dhε(ρ∥σ)≤inf⁡ω∈T(Dhε(ρ∥ω)+log⁡21Q(ω)),Dhε(ρ∥σ)≤sup⁡τ∈SDhε(τ∥σ).D_h^\varepsilon(\mathcal M(\rho)\|\mathcal M(\sigma))\le D_h^\varepsilon(\rho\|\sigma) \le\inf_{\omega\in T}\left(D_h^\varepsilon(\rho\|\omega)+\log_2\frac1{Q(\omega)}\right), \qquad D_h^\varepsilon(\rho\|\sigma)\le\sup_{\tau\in S}D_h^\varepsilon(\tau\|\sigma).Dhε​(M(ρ)∥M(σ))≤Dhε​(ρ∥σ)≤ω∈Tinf​(Dhε​(ρ∥ω)+log2​Q(ω)1​),Dhε​(ρ∥σ)≤τ∈Ssup​Dhε​(τ∥σ).

The first comparison holds for every finite-dimensional CPTP map M\mathcal MM. A zero QQQ atom contributes +∞+\infty+∞; the extended infimum and supremum express the source's minimum and maximum without requiring attainment on infinite discrete sets.

These properties support one-shot bounds by manipulating physical comparison states.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Bridge50_P50
Formal statement
noncomputable section

open scoped Topology BigOperators ComplexConjugate ComplexOrder ENNReal Matrix.Norms.L2Operator

open MeasureTheory Filter Set

namespace QAlgorithms.Papers.Independent.Bridge50.P50

attribute [local instance] Classical.propDecidable Classical.decEq

-- Exact accepted primitives; these names do not create local declarations.

open QAlgorithms.Papers.Independent.Information100.P63 (Mat logTwo testingBeta normalCDF normalQuantile)

open QAlgorithms.Papers.Independent.Information100.P08 (Ensemble ensembleAverage)

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

open QAlgorithms.Papers.Independent.Dependency50.P35 (Dominates)

open QAlgorithms.Papers.Independent.Dependency50.P36 (pairInformationVariance)

open QAlgorithms (vnEntropy traceDistance minEigenvalue)

attribute [local instance] QAlgorithms.Papers.Independent.Bridge50.P50.matrixBorelMeasurable

attribute [local instance] QAlgorithms.Papers.Independent.Bridge50.P50.matrixBorelSpace

/-- Lemma 1, PDF pp.5–6: all four properties of the normalized testing divergence.
Discrete sets may be infinite; zero Q atoms contribute infinity in the infimum. -/
theorem lemma_1 {I J : Type*} [Fintype I] [DecidableEq I] [Nonempty I]
    [Fintype J] [DecidableEq J] [Nonempty J]
    (e : ℝ) (he : 0 < e ∧ e < 1) (S T : Set (Mat I))
    [DiscreteTopology S] [DiscreteTopology T]
    (hS : ∀ rho ∈ S, QAlgorithms.IsDensityMatrix rho)
    (hT : ∀ sigma ∈ T, QAlgorithms.IsDensityMatrix sigma)
    (P Q : ProbabilityMeasure (Mat I)) (hP : P ∈ measuresOn S) (hQ : Q ∈ measuresOn T) :
    (0 ≤ normalizedTestingDivergence e (stateBarycenter P) (stateBarycenter Q) ∧
      (normalizedTestingDivergence e (stateBarycenter P) (stateBarycenter Q) = 0 ↔ stateBarycenter P = stateBarycenter Q)) ∧
    (∀ M : QAlgorithms.Superop I J, QAlgorithms.IsChannel M →
      normalizedTestingDivergence e (M (stateBarycenter P)) (M (stateBarycenter Q)) ≤
        normalizedTestingDivergence e (stateBarycenter P) (stateBarycenter Q)) ∧
    (normalizedTestingDivergence e (stateBarycenter P) (stateBarycenter Q) ≤
      ⨅ omega : T, normalizedTestingDivergence e (stateBarycenter P) omega.val +
        (if (Q : Measure (Mat I)) {omega.val} = 0 then ⊤ else
          ENNReal.ofReal (logTwo (1 / ((Q : Measure (Mat I)) {omega.val}).toReal)))) ∧
    (normalizedTestingDivergence e (stateBarycenter P) (stateBarycenter Q) ≤
      ⨆ tau : S, normalizedTestingDivergence e tau.val (stateBarycenter Q)) := by sorry

end QAlgorithms.Papers.Independent.Bridge50.P50

end
Source
Second-Order Asymptotics for the Classical Capacity of Image-Additive Quantum Channels, arXiv:1308.6503v3, PDF p. 5, Lemma 1
Read-back

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

Let I,JI,JI,J be finite nonempty types with decidable equality, let 0<e<10<e<10<e<1, and let S,TS,TS,T be subsets of complex I×II\times II×I matrices, each with discrete subtype topology, all of whose elements are positive semidefinite of trace 111. Let P,QP,QP,Q be Borel probability measures on the matrix space with P(S)=Q(T)=1P(S)=Q(T)=1P(S)=Q(T)=1, and write Pˉ=∫ρ dP(ρ)\bar P=\int\rho\,dP(\rho)Pˉ=∫ρdP(ρ), Qˉ=∫σ dQ(σ)\bar Q=\int\sigma\,dQ(\sigma)Qˉ​=∫σdQ(σ). For matrices R,ZR,ZR,Z, define

be(R,Z)=inf⁡0≤F≤11−e≤Re⁡tr⁡(FR)Re⁡tr⁡(FZ),De(R,Z)={+∞,be(R,Z)=0,max⁡{0,−log⁡2(be(R,Z)/(1−e))},be(R,Z)≠0,b_e(R,Z)=\inf_{\substack{0\le F\le1\\ 1-e\le\operatorname{Re}\operatorname{tr}(FR)}} \operatorname{Re}\operatorname{tr}(FZ),\qquad D_e(R,Z)= \begin{cases} +\infty,&b_e(R,Z)=0,\\ \max\{0,-\log_2(b_e(R,Z)/(1-e))\},&b_e(R,Z)\ne0, \end{cases}be​(R,Z)=0≤F≤11−e≤Retr(FR)​inf​Retr(FZ),De​(R,Z)={+∞,max{0,−log2​(be​(R,Z)/(1−e))},​be​(R,Z)=0,be​(R,Z)=0,​

where 0≤F≤10\le F\le10≤F≤1 means that FFF and 1−F1-F1−F are positive semidefinite, and log⁡2x=ln⁡x/ln⁡2\log_2 x=\ln x/\ln2log2​x=lnx/ln2. Then De(Pˉ,Qˉ)≥0D_e(\bar P,\bar Q)\ge0De​(Pˉ,Qˉ​)≥0, it equals 000 if and only if Pˉ=Qˉ\bar P=\bar QPˉ=Qˉ​, and every channel MMM from III to JJJ satisfies

De(MPˉ,MQˉ)≤De(Pˉ,Qˉ).D_e(M\bar P,M\bar Q)\le D_e(\bar P,\bar Q).De​(MPˉ,MQˉ​)≤De​(Pˉ,Qˉ​).

Here a channel means a map M(X)=∑j=0m−1KjXKj†M(X)=\sum_{j=0}^{m-1}K_jXK_j^\daggerM(X)=∑j=0m−1​Kj​XKj†​ for some natural mmm, with ∑jKj†Kj=1\sum_jK_j^\dagger K_j=1∑j​Kj†​Kj​=1. Also,

De(Pˉ,Qˉ)≤inf⁡ω∈T(De(Pˉ,ω)+cQ(ω)),De(Pˉ,Qˉ)≤sup⁡τ∈SDe(τ,Qˉ),D_e(\bar P,\bar Q)\le \inf_{\omega\in T}\bigl(D_e(\bar P,\omega)+c_Q(\omega)\bigr), \qquad D_e(\bar P,\bar Q)\le\sup_{\tau\in S}D_e(\tau,\bar Q),De​(Pˉ,Qˉ​)≤ω∈Tinf​(De​(Pˉ,ω)+cQ​(ω)),De​(Pˉ,Qˉ​)≤τ∈Ssup​De​(τ,Qˉ​),

where cQ(ω)=+∞c_Q(\omega)=+\inftycQ​(ω)=+∞ if Q({ω})=0Q(\{\omega\})=0Q({ω})=0, and otherwise cQ(ω)=max⁡{0,log⁡2(1/Q({ω})real)}c_Q(\omega)=\max\{0,\log_2(1/Q(\{\omega\})^{\mathrm{real}})\}cQ​(ω)=max{0,log2​(1/Q({ω})real)}. The divergences, additions, infimum and supremum in these two bounds are in the extended nonnegative reals; +∞+\infty+∞ converts to real 000, and the real infimum defining beb_ebe​ is 000 for an empty or unbounded-below value set.

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