Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 18: For beta0 in [beta1,1], TV/2<=(1-beta0)P_P(i>0)+(beta0-beta1)P_P(i>log(1/beta0)); the analogous Q-law bound (268) holds for beta0 in [beta2,1]

Open
QAlgorithms.Papers.Independent.Intakenext100.P28.tv_upper_thresholds

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

prove2quantum

Let P≪QP\ll QP≪Q with β1,β2<1\beta_1,\beta_2<1β1​,β2​<1 and put I=log⁡b(dP/dQ)I=\log_b(dP/dQ)I=logb​(dP/dQ). For every t∈[β1,1]t\in[\beta_1,1]t∈[β1​,1],

∣P−Q∣2≤(1−t)P[I>0]+(t−β1)P[I>log⁡b(1/t)].\frac{|P-Q|}{2}\le(1-t)P[I>0]+(t-\beta_1)P[I>\log_b(1/t)].2∣P−Q∣​≤(1−t)P[I>0]+(t−β1​)P[I>logb​(1/t)].

For every t∈[β2,1]t\in[\beta_2,1]t∈[β2​,1], the corresponding bound is (1−t)Q[I<0]+(t−β2)Q[I<log⁡bt](1-t)Q[I<0]+(t-\beta_2)Q[I<\log_b t](1−t)Q[I<0]+(t−β2​)Q[I<logb​t]. Both admit equality for suitable distinct binary laws, with thresholds t=β1t=\beta_1t=β1​ and t=β2t=\beta_2t=β2​, respectively. Extended logarithms handle t=0t=0t=0; all events retain strict inequalities.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intakenext100_P28
Formal statement
noncomputable section

open MeasureTheory Set Filter

open scoped ENNReal NNReal Topology BigOperators ProbabilityTheory

namespace QAlgorithms.Papers.Independent.Intakenext100.P28

universe u

attribute [local instance] Classical.propDecidable

/-- Theorem 18: For beta0 in [beta1,1], TV/2<=(1-beta0)P_P(i>0)+(beta0-beta1)P_P(i>log(1/beta0)); the analogous Q-law bound (268) holds for beta0 in [beta2,1]. Sason--Verdu, arXiv:1508.00335v7, PDF p.37.  -/
theorem tv_upper_thresholds
    (b : LogBase) {A : Type u} [MeasurableSpace A] (P Q : Measure A)
    [IsProbabilityMeasure P] [IsProbabilityMeasure Q] (hPQ : P ≪ Q)
    (hb1 : inverseUpperDensity P Q < 1) (hb2 : inverseUpperDensity Q P < 1) :
    (∀ t : ℝ, inverseUpperDensity P Q ≤ t → t ≤ 1 →
      fullVariation P Q / 2 ≤ ENNReal.ofReal (1 - t) * P {x | 0 < relativeInfo b P Q x} +
        ENNReal.ofReal (t - inverseUpperDensity P Q) * P {x | elogB b ((ENNReal.ofReal t)⁻¹) < relativeInfo b P Q x}) ∧
    (∀ t : ℝ, inverseUpperDensity Q P ≤ t → t ≤ 1 →
      fullVariation P Q / 2 ≤ ENNReal.ofReal (1 - t) * Q {x | relativeInfo b P Q x < 0} +
        ENNReal.ofReal (t - inverseUpperDensity Q P) * Q {x | relativeInfo b P Q x < elogB b (ENNReal.ofReal t)}) ∧
    (∃ P0 Q0 : Measure Bool, IsProbabilityMeasure P0 ∧ IsProbabilityMeasure Q0 ∧
      P0 ≪ Q0 ∧ P0 ≠ Q0 ∧ inverseUpperDensity P0 Q0 < 1 ∧ inverseUpperDensity Q0 P0 < 1 ∧
      fullVariation P0 Q0 / 2 = ENNReal.ofReal (1 - inverseUpperDensity P0 Q0) * P0 {x | 0 < relativeInfo b P0 Q0 x} ∧
      fullVariation P0 Q0 / 2 = ENNReal.ofReal (1 - inverseUpperDensity Q0 P0) * Q0 {x | relativeInfo b P0 Q0 x < 0}) := by sorry

end QAlgorithms.Papers.Independent.Intakenext100.P28

end
Source
fff-divergence Inequalities, arXiv:1508.00335v7, PDF p. 37, Theorem 18
Read-back

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

For every real base b>1b>1b>1, every measurable space AAA in the specified universe, and probability measures P,QP,QP,Q on AAA with P≪QP\ll QP≪Q, define UR,S=ess sup⁡SdRdSU_{R,S}=\operatorname*{ess\,sup}_S\frac{dR}{dS}UR,S​=esssupS​dSdR​ when R≪SR\ll SR≪S, and UR,S=∞U_{R,S}=\inftyUR,S​=∞ otherwise, and let βR,S=(UR,S−1)R\beta_{R,S}=(U_{R,S}^{-1})_{\mathbb R}βR,S​=(UR,S−1​)R​, with real conversion of infinity equal to zero. For any pair R,SR,SR,S, write

V(R,S)=∫A∣(dRd(R+S)(x))R−(dSd(R+S)(x))R∣ d(R+S)(x),IR,S(x)=log⁡(dRdS(x))ln⁡b,V(R,S)=\int_A\left| \left(\frac{dR}{d(R+S)}(x)\right)_{\mathbb R} -\left(\frac{dS}{d(R+S)}(x)\right)_{\mathbb R} \right|\,d(R+S)(x), \quad I_{R,S}(x)=\frac{\log(\frac{dR}{dS}(x))}{\ln b},V(R,S)=∫A​​(d(R+S)dR​(x))R​−(d(R+S)dS​(x))R​​d(R+S)(x),IR,S​(x)=lnblog(dSdR​(x))​,

and Lb(s)=log⁡s/ln⁡bL_b(s)=\log s/\ln bLb​(s)=logs/lnb, using the extended logarithm. Suppose βP,Q<1\beta_{P,Q}<1βP,Q​<1 and βQ,P<1\beta_{Q,P}<1βQ,P​<1. Then, for every real ttt with βP,Q≤t≤1\beta_{P,Q}\le t\le1βP,Q​≤t≤1,

V(P,Q)2≤(1−t)P{IP,Q>0}+(t−βP,Q)P{IP,Q>Lb(t−1)},\frac{V(P,Q)}2 \le (1-t)P\{I_{P,Q}>0\} +(t-\beta_{P,Q})P\{I_{P,Q}>L_b(t^{-1})\},2V(P,Q)​≤(1−t)P{IP,Q​>0}+(t−βP,Q​)P{IP,Q​>Lb​(t−1)},

and, for every real ttt with βQ,P≤t≤1\beta_{Q,P}\le t\le1βQ,P​≤t≤1,

V(P,Q)2≤(1−t)Q{IP,Q<0}+(t−βQ,P)Q{IP,Q<Lb(t)}.\frac{V(P,Q)}2 \le (1-t)Q\{I_{P,Q}<0\} +(t-\beta_{Q,P})Q\{I_{P,Q}<L_b(t)\}.2V(P,Q)​≤(1−t)Q{IP,Q​<0}+(t−βQ,P​)Q{IP,Q​<Lb​(t)}.

These are nonnegative extended-real inequalities; each real coefficient is converted by z↦max⁡{z,0}z\mapsto\max\{z,0\}z↦max{z,0}. In the first threshold, ttt is first converted to a nonnegative extended real and then inverted, so t=0t=0t=0, when allowed, gives t−1=∞t^{-1}=\inftyt−1=∞; the second threshold gives Lb(0)=−∞L_b(0)=-\inftyLb​(0)=−∞. In addition, there exist probability measures P0,Q0P_0,Q_0P0​,Q0​ on the two-point space {false,true}\{\mathrm{false},\mathrm{true}\}{false,true}, with P0≪Q0P_0\ll Q_0P0​≪Q0​, P0≠Q0P_0\ne Q_0P0​=Q0​, βP0,Q0<1\beta_{P_0,Q_0}<1βP0​,Q0​​<1, and βQ0,P0<1\beta_{Q_0,P_0}<1βQ0​,P0​​<1, for which both equalities hold:

V(P0,Q0)2=(1−βP0,Q0)P0{IP0,Q0>0},V(P0,Q0)2=(1−βQ0,P0)Q0{IP0,Q0<0}.\frac{V(P_0,Q_0)}2 =(1-\beta_{P_0,Q_0})P_0\{I_{P_0,Q_0}>0\}, \qquad \frac{V(P_0,Q_0)}2 =(1-\beta_{Q_0,P_0})Q_0\{I_{P_0,Q_0}<0\}.2V(P0​,Q0​)​=(1−βP0​,Q0​​)P0​{IP0​,Q0​​>0},2V(P0​,Q0​)​=(1−βQ0​,P0​​)Q0​{IP0​,Q0​​<0}.

Neither the hypotheses for the original pair nor the existential conditions explicitly require Q≪PQ\ll PQ≪P or Q0≪P0Q_0\ll P_0Q0​≪P0​, and the inverse-density parameters are allowed to be zero.

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

    Confirmed by the moderator at approval.

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