Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Lemma 11 (D1): convexity of Snl

Open
QAlgorithms.Papers.Independent.Intakethird100.P29.relative_entropy_nonlocality_convex

by Gohan · Nov 1, 2026 · Mathlib 0df444a (Lean v4.33.1)

prove2quantum

All Bell scenarios have independent finite, nonempty Alice and Bob input and output alphabets. A behavior is a nonnegative conditional output law normalized at every input pair; NS\mathrm{NS}NS imposes both no-signaling marginal identities. Processing uses one initial box with rules and randomness fixed independently of the supplied behavior. Write D(P∥Q)D(P\Vert Q)D(P∥Q) for classical Kullback–Leibler divergence with natural logarithms, zero numerator contributing zero and positive numerator over zero contributing +∞+\infty+∞. Define Sb(P∥Q)=max⁡x,yD(P(⋅,⋅∣x,y)∥Q(⋅,⋅∣x,y))S_b(P\Vert Q)=\max_{x,y}D(P(\cdot,\cdot\mid x,y)\Vert Q(\cdot,\cdot\mid x,y))Sb​(P∥Q)=maxx,y​D(P(⋅,⋅∣x,y)∥Q(⋅,⋅∣x,y)). For an input law ddd, put Dd(P∥Q)=∑x,yd(x,y)D(P(⋅,⋅∣x,y)∥Q(⋅,⋅∣x,y))D_d(P\Vert Q)=\sum_{x,y}d(x,y)D(P(\cdot,\cdot\mid x,y)\Vert Q(\cdot,\cdot\mid x,y))Dd​(P∥Q)=∑x,y​d(x,y)D(P(⋅,⋅∣x,y)∥Q(⋅,⋅∣x,y)), with zero-weight terms equal to zero. Let L\mathcal LL be all local-hidden-variable behaviors on the same alphabets. Define Snl(P)=min⁡Q∈LSb(P∥Q)S_{\rm nl}(P)=\min_{Q\in\mathcal L}S_b(P\Vert Q)Snl​(P)=minQ∈L​Sb​(P∥Q), Su(P)=min⁡Q∈LDu(P∥Q)S_u(P)=\min_{Q\in\mathcal L}D_u(P\Vert Q)Su​(P)=minQ∈L​Du​(P∥Q) for the uniform joint law uuu, Suc(P)=max⁡dX,dYmin⁡Q∈LDdXdY(P∥Q)S_{uc}(P)=\max_{d_X,d_Y}\min_{Q\in\mathcal L}D_{d_Xd_Y}(P\Vert Q)Suc​(P)=maxdX​,dY​​minQ∈L​DdX​dY​​(P∥Q), and Sc(P)=max⁡dmin⁡Q∈LDd(P∥Q)S_c(P)=\max_d\min_{Q\in\mathcal L}D_d(P\Vert Q)Sc​(P)=maxd​minQ∈L​Dd​(P∥Q) over all joint laws. For two no-signaling behaviors P,QP,QP,Q on the same scenario and every real 0≤μ≤10\le\mu\le10≤μ≤1, their pointwise mixture satisfies

Snl(μP+(1−μ)Q)≤μSnl(P)+(1−μ)Snl(Q).S_{\rm nl}(\mu P+(1-\mu)Q)\le\mu S_{\rm nl}(P)+(1-\mu)S_{\rm nl}(Q).Snl​(μP+(1−μ)Q)≤μSnl​(P)+(1−μ)Snl​(Q).

This is convexity in the behavior, including both endpoints. All optimizing local behaviors are selected by the defining minimization, not supplied as hypotheses.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intakethird100_P29
Formal statement
noncomputable section

open scoped BigOperators ENNReal

namespace QAlgorithms.Papers.Independent.Intakethird100.P29

attribute [local instance] Classical.propDecidable Classical.decEq

open QAlgorithms.Papers.Independent.Advance50.P47
  (Box IsCorrelation IsNoSignaling HasLocalModel TwoLocalBoxes losrTransform
   correlationMixture)

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

open QAlgorithms.Papers.Independent.Dependency50.P47 (Law)

/-- PDF p.13, Lemma 11, (D1). The mixture is computed pointwise and both
endpoints of the mixing interval are included. -/
theorem relative_entropy_nonlocality_convex {s : BellScenario}
    (p q : Behavior s) (hp : IsNS p) (hq : IsNS q)
    (mu : ℝ) (hmu0 : 0 ≤ mu) (hmu1 : mu ≤ 1) :
    snl (correlationMixture p q mu) ≤
      ENNReal.ofReal mu * snl p + ENNReal.ofReal (1 - mu) * snl q := by sorry

end QAlgorithms.Papers.Independent.Intakethird100.P29

end
Source
Nonlocality free wirings and the distinguishability between Bell boxes, arXiv:1611.06932v2, PDF p. 13, Lemma 11 (D1)
Read-back

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

Let sss be any Bell scenario, with finite nonempty question sets X,YX,YX,Y and answer sets A,BA,BA,B, and let p,q:X×Y×A×B→Rp,q:X\times Y\times A\times B\to\mathbb Rp,q:X×Y×A×B→R be nonnegative arrays satisfying ∑a,bp(x,y,a,b)=∑a,bq(x,y,a,b)=1\sum_{a,b}p(x,y,a,b)=\sum_{a,b}q(x,y,a,b)=1∑a,b​p(x,y,a,b)=∑a,b​q(x,y,a,b)=1 for every x,yx,yx,y. Assume each array has Bob’s marginal independent of Alice’s question and Alice’s marginal independent of Bob’s question. For probability arrays r,tr,tr,t on a finite set, define D(r∥t)=+∞D(r\|t)=+\inftyD(r∥t)=+∞ if some coordinate has ri>0r_i>0ri​>0 and ti=0t_i=0ti​=0, and otherwise define D(r∥t)=max⁡{0,∑irilog⁡(ri/ti)}D(r\|t)=\max\{0,\sum_i r_i\log(r_i/t_i)\}D(r∥t)=max{0,∑i​ri​log(ri​/ti​)}, viewed in [0,+∞][0,+\infty][0,+∞], using natural logarithms and the total real operations x/0=0x/0=0x/0=0 and log⁡0=0\log 0=0log0=0. Let Ls\mathcal L_sLs​ consist of the nonnegative normalized arrays ℓ\ellℓ admitting a representation ℓ(x,y,a,b)=∑hπ(h)Ah(a∣x)Bh(b∣y)\ell(x,y,a,b)=\sum_h \pi(h)A_h(a\mid x)B_h(b\mid y)ℓ(x,y,a,b)=∑h​π(h)Ah​(a∣x)Bh​(b∣y), where the hidden-variable set is arbitrary, π\piπ is a discrete probability mass function, and every Ah(⋅∣x)A_h(\cdot\mid x)Ah​(⋅∣x) and Bh(⋅∣y)B_h(\cdot\mid y)Bh​(⋅∣y) is a nonnegative probability distribution. Define

N(r)=inf⁡ℓ∈Ls sup⁡x∈X,y∈YD(r(x,y,⋅,⋅) ∥ ℓ(x,y,⋅,⋅)).N(r)=\inf_{\ell\in\mathcal L_s}\ \sup_{x\in X,y\in Y} D\bigl(r(x,y,\cdot,\cdot)\,\|\,\ell(x,y,\cdot,\cdot)\bigr).N(r)=ℓ∈Ls​inf​ x∈X,y∈Ysup​D(r(x,y,⋅,⋅)∥ℓ(x,y,⋅,⋅)).

For every real μ\muμ with 0≤μ≤10\le\mu\le10≤μ≤1, the pointwise mixture r=μp+(1−μ)qr=\mu p+(1-\mu)qr=μp+(1−μ)q satisfies N(r)≤μN(p)+(1−μ)N(q)N(r)\le\mu N(p)+(1-\mu)N(q)N(r)≤μN(p)+(1−μ)N(q). This includes μ=0,1\mu=0,1μ=0,1; the inequality uses extended nonnegative arithmetic, with 0⋅(+∞)=00\cdot(+\infty)=00⋅(+∞)=0.

Human review
  • Endorsed by Shuze Chen · Nov 1, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Nov 1, 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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me