Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 3: Triangular discrimination satisfies Delta log e<=c1 D; Delta log e<=D+c2 TV log e; Delta log e<=(Dforward+Dreverse)/2

Open
QAlgorithms.Papers.Independent.Intakenext100.P28.triangular_bounds

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

prove2quantum

Let Δ\DeltaΔ be triangular discrimination and ℓ=log⁡be\ell=\log_b eℓ=logb​e. Uniformly over probability pairs P≪QP\ll QP≪Q,

Δ(P∥Q)ℓ≤c1D(P∥Q),Δ(P∥Q)ℓ≤D(P∥Q)+c2∣P−Q∣ℓ.\Delta(P\|Q)\ell\le c_1D(P\|Q),\qquad \Delta(P\|Q)\ell\le D(P\|Q)+c_2|P-Q|\ell.Δ(P∥Q)ℓ≤c1​D(P∥Q),Δ(P∥Q)ℓ≤D(P∥Q)+c2​∣P−Q∣ℓ.

Here c1=sup⁡t>0,t≠1[(t−1)2ℓ/((t+1)r(t))]c_1=\sup_{t>0,t\ne1}[(t-1)^2\ell/((t+1)r(t))]c1​=supt>0,t=1​[(t−1)2ℓ/((t+1)r(t))] and c2c_2c2​ is the least nonnegative ccc for which (t−1)2ℓ/(t+1)≤r(t)+2c(1−t)ℓ(t-1)^2\ell/(t+1)\le r(t)+2c(1-t)\ell(t−1)2ℓ/(t+1)≤r(t)+2c(1−t)ℓ for every 0<t<10<t<10<t<1, with r(t)=tlog⁡bt+(1−t)ℓr(t)=t\log_b t+(1-t)\ellr(t)=tlogb​t+(1−t)ℓ. Both constants are best possible. For mutually absolutely continuous pairs, Δℓ≤[D(P∥Q)+D(Q∥P)]/2\Delta\ell\le[D(P\|Q)+D(Q\|P)]/2Δℓ≤[D(P∥Q)+D(Q∥P)]/2 with best coefficient 1/21/21/2. Rounded decimals in the paper are not used as exact constants.

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 3: Triangular discrimination satisfies Delta log e<=c1 D; Delta log e<=D+c2 TV log e; Delta log e<=(Dforward+Dreverse)/2. Sason--Verdu, arXiv:1508.00335v7, PDF p.18.  -/
theorem triangular_bounds
    (b : LogBase) :
    Sharp (fun P Q => triangular P Q * ENNReal.ofReal (logBaseE b)) (kl b)
      acPairs (triangularC1 b) ∧
    IsLeast {c | ∀ (A : Type u) [MeasurableSpace A] (P Q : Measure A)
      [IsProbabilityMeasure P] [IsProbabilityMeasure Q], P ≪ Q →
        triangular P Q * ENNReal.ofReal (logBaseE b) ≤ kl b P Q + c * fullVariation P Q * ENNReal.ofReal (logBaseE b)}
      (triangularC2 b) ∧
    Sharp (fun P Q => triangular P Q * ENNReal.ofReal (logBaseE b))
      (symmetricKL b) mutualPairs (1 / 2) := by sorry

end QAlgorithms.Papers.Independent.Intakenext100.P28

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

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

For every real logarithm base b>1b>1b>1, put ℓ=1/ln⁡b\ell=1/\ln bℓ=1/lnb, log⁡bt=ln⁡t/ln⁡b\log_b t=\ln t/\ln blogb​t=lnt/lnb, rb(t)=tlog⁡bt+(1−t)ℓr_b(t)=t\log_b t+(1-t)\ellrb​(t)=tlogb​t+(1−t)ℓ, and q(t)=(t−1)2/(t+1)q(t)=(t-1)^2/(t+1)q(t)=(t−1)2/(t+1). For measures P,QP,QP,Q, let ρP,Q\rho_{P,Q}ρP,Q​ be the real-valued version of dP/dQdP/dQdP/dQ, with an infinite density converted to 000, and let s(P,Q)s(P,Q)s(P,Q) be the total mass of the part of PPP singular with respect to QQQ. Define

T(P,Q)=∫q(ρP,Q) dQ+s(P,Q),V(P,Q)=∫∣ρP,P+Q−ρQ,P+Q∣ d(P+Q),T(P,Q)=\int q(\rho_{P,Q})\,dQ+s(P,Q),\qquad V(P,Q)=\int\left|\rho_{P,P+Q}-\rho_{Q,P+Q}\right|\,d(P+Q),T(P,Q)=∫q(ρP,Q​)dQ+s(P,Q),V(P,Q)=∫∣ρP,P+Q​−ρQ,P+Q​∣d(P+Q),

where these are nonnegative extended integrals, and let Kb(P,Q)=ℓDKL(P∥Q)K_b(P,Q)=\ell D_{\mathrm{KL}}(P\|Q)Kb​(P,Q)=ℓDKL​(P∥Q), where DKLD_{\mathrm{KL}}DKL​ uses natural logarithms. Write [x]+=max⁡(x,0)[x]_+=\max(x,0)[x]+​=max(x,0), viewed as a nonnegative extended real. The declaration asserts all three of the following least-constant statements:

C1=sup⁡t>0t≠1[q(t)ℓrb(t)]+,C2=inf⁡{c∈[0,∞]: ∀ 0<t<1, [q(t)ℓ]+≤[rb(t)]++[2(1−t)ℓ]+c}.\begin{aligned} C_1&=\sup_{\substack{t>0\\t\ne1}} \left[\frac{q(t)\ell}{r_b(t)}\right]_+,\\ C_2&=\inf\left\{c\in[0,\infty]: \ \forall\,0<t<1,\ [q(t)\ell]_+\le [r_b(t)]_+ +[2(1-t)\ell]_+c\right\}. \end{aligned}C1​C2​​=t>0t=1​sup​[rb​(t)q(t)ℓ​]+​,=inf{c∈[0,∞]: ∀0<t<1, [q(t)ℓ]+​≤[rb​(t)]+​+[2(1−t)ℓ]+​c}.​

First, C1C_1C1​ is the smallest c∈[0,∞]c\in[0,\infty]c∈[0,∞] such that ℓT(P,Q)≤cKb(P,Q)\ell T(P,Q)\le cK_b(P,Q)ℓT(P,Q)≤cKb​(P,Q) for every measurable space AAA in the specified universe and every pair of probability measures P,QP,QP,Q on AAA with P≪QP\ll QP≪Q. Second, C2C_2C2​ is the smallest c∈[0,∞]c\in[0,\infty]c∈[0,∞] such that ℓT(P,Q)≤Kb(P,Q)+cℓV(P,Q)\ell T(P,Q)\le K_b(P,Q)+c\ell V(P,Q)ℓT(P,Q)≤Kb​(P,Q)+cℓV(P,Q) for every such space and pair with P≪QP\ll QP≪Q. Third, 1/21/21/2 is the smallest c∈[0,∞]c\in[0,\infty]c∈[0,∞] such that ℓT(P,Q)≤c(Kb(P,Q)+Kb(Q,P))\ell T(P,Q)\le c\bigl(K_b(P,Q)+K_b(Q,P)\bigr)ℓT(P,Q)≤c(Kb​(P,Q)+Kb​(Q,P)) for every such probability pair satisfying both P≪QP\ll QP≪Q and Q≪PQ\ll PQ≪P. These universal statements include P=QP=QP=Q; an empty underlying space admits no probability pair. Constants and divergence values may be infinite, and all products use nonnegative extended-real arithmetic, including 0⋅∞=00\cdot\infty=00⋅∞=0.

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