Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Testing bounds from sandwiched Renyi divergence

Open
QAlgorithms.Papers.Independent.Bridge50.P43.testing_vs_sandwiched

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

prove2quantum

All registers are nonzero finite-dimensional complex Hilbert spaces. States are positive operators of trace one, channels are completely positive and trace preserving, and logarithms are base two. Extended entropies retain +∞+\infty+∞.

Let ρ,σ\rho,\sigmaρ,σ be states with supp⁡ρ⊆supp⁡σ\operatorname{supp}\rho\subseteq\operatorname{supp}\sigmasuppρ⊆suppσ, and let α>1\alpha>1α>1. Write s(p)=−log⁡2ps(p)=-\log_2ps(p)=−log2​p, with s(0)=+∞s(0)=+\inftys(0)=+∞. For every effect 0≤Q≤I0\le Q\le I0≤Q≤I and every 0<ε<10<\varepsilon<10<ε<1,

s(Tr⁡Qσ)≤D~α(ρ∥σ)+αα−1s(Tr⁡Qρ),DHε(ρ∥σ)≤D~α(ρ∥σ)+αα−1log⁡211−ε.s(\operatorname{Tr}Q\sigma)\le\widetilde D_\alpha(\rho\|\sigma)+\frac{\alpha}{\alpha-1}s(\operatorname{Tr}Q\rho),\qquad D_H^\varepsilon(\rho\|\sigma)\le\widetilde D_\alpha(\rho\|\sigma)+\frac{\alpha}{\alpha-1}\log_2\frac1{1-\varepsilon}.s(TrQσ)≤Dα​(ρ∥σ)+α−1α​s(TrQρ),DHε​(ρ∥σ)≤Dα​(ρ∥σ)+α−1α​log2​1−ε1​.

Here DHεD_H^\varepsilonDHε​ is minus the logarithm of the infimum of type-II acceptance over effects with null acceptance at least 1−ε1-\varepsilon1−ε. At Q=0Q=0Q=0 the first inequality reads +∞≤+∞+\infty\le+\infty+∞≤+∞. These bounds relate testing constraints to Renyi information.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Bridge50_P43
Formal statement
noncomputable section

open scoped Matrix ComplexConjugate ComplexOrder Topology

open Filter

namespace QAlgorithms.Papers.Independent.Bridge50.P43

attribute [local instance] Classical.propDecidable

attribute [local instance] Classical.decEq

open QAlgorithms.Papers.Independent.Dependency50.P09 (Divergence relativeD petzD sandwichedD)

open QAlgorithms.Papers.Independent.Information100.P71
  (SupportIncluded supportPower AdaptiveTest adaptiveInput adaptiveAccept adaptiveBeta channelPower)

open QAlgorithms.Papers.Independent.Information100.P58 (testingD)
-- Exactly the trace-preparation map of PDF pp.5--6, on every operator.

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

/-- Lemma 5, arXiv:1408.3373v3, PDF pp.11--12, (3.7)--(3.8).
At zero acceptance, both sides are positive infinity; addition of nonnegative
extended surprisals avoids the indeterminate subtraction of infinite logarithms. -/
theorem testing_vs_sandwiched
    {I : Type} [Fintype I] [DecidableEq I] [Nonempty I]
    (rho sigma : NormalizedDensity I) (hsupport : SupportIncluded rho.1 sigma.1)
    (alpha : ℝ) (ha : 1 < alpha) :
    (∀ Q : Matrix I I ℂ, IsEffect Q →
      surprisal (effectProb Q sigma.1) ≤ sandwichedWithUmegaki alpha rho.1 sigma.1 +
        (((alpha/(alpha-1) : ℝ) : EReal) * surprisal (effectProb Q rho.1))) ∧
    (∀ epsilon : ℝ, 0 < epsilon → epsilon < 1 →
      testingD epsilon rho.1 sigma.1 ≤ sandwichedWithUmegaki alpha rho.1 sigma.1 +
        (((alpha/(alpha-1) : ℝ) : EReal) * surprisal (1-epsilon))) := by sorry

end QAlgorithms.Papers.Independent.Bridge50.P43

end
Source
Strong converse exponents for a quantum channel discrimination problem and quantum-feedback-assisted communication, arXiv:1408.3373v3, PDF p. 11, Lemma 5, (3.7)–(3.8)
Read-back

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

Let III be a finite nonempty index type with decidable equality, and let ρ,σ\rho,\sigmaρ,σ be complex matrices indexed by III that are positive semidefinite and have trace 111. Assume ker⁡σ⊆ker⁡ρ\ker\sigma\subseteq\ker\rhokerσ⊆kerρ, and let α>1\alpha>1α>1 be real. Write pQ(τ)=Re⁡Tr⁡(Qτ)p_Q(\tau)=\operatorname{Re}\operatorname{Tr}(Q\tau)pQ​(τ)=ReTr(Qτ) and s(p)=+∞s(p)=+\inftys(p)=+∞ if p=0p=0p=0, and s(p)=−log⁡2ps(p)=-\log_2ps(p)=−log2​p otherwise. For a positive semidefinite matrix XXX, write X[t]X^{[t]}X[t] for spectral functional calculus with the scalar function that is 000 at 000 and xtx^txt at nonzero xxx; in particular, X[0]X^{[0]}X[0] is its support projection. Set S=σ[(1−α)/(2α)]S=\sigma^{[(1-\alpha)/(2\alpha)]}S=σ[(1−α)/(2α)] and q=Re⁡Tr⁡((SρS)[α])q=\operatorname{Re}\operatorname{Tr}((S\rho S)^{[\alpha]})q=ReTr((SρS)[α]). The divergence appearing here is Dα(ρ,σ)=log⁡2(q)/(α−1)D_\alpha(\rho,\sigma)=\log_2(q)/(\alpha-1)Dα​(ρ,σ)=log2​(q)/(α−1) when the support inclusion holds and q>0q>0q>0, and +∞+\infty+∞ otherwise. An effect is a matrix QQQ for which both QQQ and 1−Q1-Q1−Q are positive semidefinite. Define

βϵ(ρ,σ)=inf⁡{pT(σ):T is an effect, 1−ϵ≤pT(ρ)},Dtestϵ(ρ,σ)={+∞,βϵ(ρ,σ)=0,−log⁡2βϵ(ρ,σ),otherwise.\beta_\epsilon(\rho,\sigma)=\inf\{p_T(\sigma):T\text{ is an effect},\ 1-\epsilon\le p_T(\rho)\}, \qquad D_{\rm test}^{\epsilon}(\rho,\sigma)= \begin{cases} +\infty,&\beta_\epsilon(\rho,\sigma)=0,\\ -\log_2\beta_\epsilon(\rho,\sigma),&\text{otherwise}. \end{cases}βϵ​(ρ,σ)=inf{pT​(σ):T is an effect, 1−ϵ≤pT​(ρ)},Dtestϵ​(ρ,σ)={+∞,−log2​βϵ​(ρ,σ),​βϵ​(ρ,σ)=0,otherwise.​

Then every effect QQQ satisfies

s(pQ(σ))≤Dα(ρ,σ)+αα−1s(pQ(ρ)),s(p_Q(\sigma))\le D_\alpha(\rho,\sigma)+\frac{\alpha}{\alpha-1}s(p_Q(\rho)),s(pQ​(σ))≤Dα​(ρ,σ)+α−1α​s(pQ​(ρ)),

and every real 0<ϵ<10<\epsilon<10<ϵ<1 satisfies

Dtestϵ(ρ,σ)≤Dα(ρ,σ)+αα−1s(1−ϵ).D_{\rm test}^{\epsilon}(\rho,\sigma) \le D_\alpha(\rho,\sigma)+\frac{\alpha}{\alpha-1}s(1-\epsilon).Dtestϵ​(ρ,σ)≤Dα​(ρ,σ)+α−1α​s(1−ϵ).

These are inequalities in the extended real numbers; effects with zero acceptance probability are included, using the stated s(0)=+∞s(0)=+\inftys(0)=+∞ convention.

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