Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Unnumbered result (23), (E1): Snl equals Sc

Open
QAlgorithms.Papers.Independent.Intakethird100.P29.nonlocality_equals_correlated_strength

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 every no-signaling behavior PPP,

Snl(P)=Sc(P).S_{\rm nl}(P)=S_c(P).Snl​(P)=Sc​(P).

All four strengths are finite. The local minimum defining SnlS_{\rm nl}Snl​, every fixed-input-law local minimum, the uniform-input local minimum, and the outer maxima defining SucS_{uc}Suc​ and ScS_cSc​ are attained. The identity uses all joint input laws and extends to local boxes, where both sides vanish. This is the equality credited to van Dam, Grunwald and Gill [24] and explicitly reproved in Appendix E.

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.8, (23), and p.13, Appendix E, (E1), credited there to [24].
The source's minima/maxima are explicitly attained and finite. The identity uses
all joint input laws; product-law maximum and local minimum are never swapped.
The same formulas include the zero local case. -/
theorem nonlocality_equals_correlated_strength {s : BellScenario} (p : Behavior s)
    (hp : IsNS p) : OptimaAttained p ∧ snl p = correlatedInputStrength p := by sorry

end QAlgorithms.Papers.Independent.Intakethird100.P29

end
Source
Nonlocality free wirings and the distinguishability between Bell boxes, arXiv:1611.06932v2, PDF p. 8, Equation (23); Appendix E (E1)
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 ppp be nonnegative and normalized over answers at every question pair, with Bob’s marginal independent of Alice’s question and Alice’s marginal independent of Bob’s question. Let Ls\mathcal L_sLs​ be the set of nonnegative normalized arrays ℓ(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), with an arbitrary hidden-variable set, a discrete probability mass function π\piπ, and normalized nonnegative response distributions. Define D(r∥v)=+∞D(r\|v)=+\inftyD(r∥v)=+∞ if some coordinate has ri>0r_i>0ri​>0 and vi=0v_i=0vi​=0, and otherwise D(r∥v)=max⁡{0,∑irilog⁡(ri/vi)}D(r\|v)=\max\{0,\sum_i r_i\log(r_i/v_i)\}D(r∥v)=max{0,∑i​ri​log(ri​/vi​)}, using natural logarithms and total real division and logarithm at zero. Write

B(p,ℓ)=sup⁡x,yD(pxy∥ℓxy),Wd(p,ℓ)=∑x,yd(x,y)D(pxy∥ℓxy),Ld(p)=inf⁡ℓ∈LsWd(p,ℓ),B(p,\ell)=\sup_{x,y}D(p_{xy}\|\ell_{xy}),\qquad W_d(p,\ell)=\sum_{x,y}d(x,y)D(p_{xy}\|\ell_{xy}),\qquad L_d(p)=\inf_{\ell\in\mathcal L_s}W_d(p,\ell),B(p,ℓ)=x,ysup​D(pxy​∥ℓxy​),Wd​(p,ℓ)=x,y∑​d(x,y)D(pxy​∥ℓxy​),Ld​(p)=ℓ∈Ls​inf​Wd​(p,ℓ),

where pxy(a,b)=p(x,y,a,b)p_{xy}(a,b)=p(x,y,a,b)pxy​(a,b)=p(x,y,a,b) and zero weights multiply infinite divergences to zero. Put N(p)=inf⁡ℓ∈LsB(p,ℓ)N(p)=\inf_{\ell\in\mathcal L_s}B(p,\ell)N(p)=infℓ∈Ls​​B(p,ℓ), let u(x,y)=1/(∣X∣∣Y∣)u(x,y)=1/(|X||Y|)u(x,y)=1/(∣X∣∣Y∣), put U(p)=Lu(p)U(p)=L_u(p)U(p)=Lu​(p), put P(p)=sup⁡dX,dYLdXdY(p)P(p)=\sup_{d_X,d_Y}L_{d_Xd_Y}(p)P(p)=supdX​,dY​​LdX​dY​​(p), with the supremum over all nonnegative normalized distributions on XXX and YYY, and put C(p)=sup⁡dLd(p)C(p)=\sup_dL_d(p)C(p)=supd​Ld​(p), with the supremum over all nonnegative normalized joint distributions on X×YX\times YX×Y. The declaration asserts that N(p),U(p),P(p),C(p)N(p),U(p),P(p),C(p)N(p),U(p),P(p),C(p) are all different from +∞+\infty+∞; some ℓ∈Ls\ell\in\mathcal L_sℓ∈Ls​ satisfies B(p,ℓ)=N(p)B(p,\ell)=N(p)B(p,ℓ)=N(p); for every joint input distribution ddd, some ℓ∈Ls\ell\in\mathcal L_sℓ∈Ls​ satisfies Wd(p,ℓ)=Ld(p)W_d(p,\ell)=L_d(p)Wd​(p,ℓ)=Ld​(p); some ℓ∈Ls\ell\in\mathcal L_sℓ∈Ls​ satisfies Wu(p,ℓ)=U(p)W_u(p,\ell)=U(p)Wu​(p,ℓ)=U(p); some pair of input distributions dX,dYd_X,d_YdX​,dY​ satisfies LdXdY(p)=P(p)L_{d_Xd_Y}(p)=P(p)LdX​dY​​(p)=P(p); some joint input distribution ddd satisfies Ld(p)=C(p)L_d(p)=C(p)Ld​(p)=C(p); and N(p)=C(p)N(p)=C(p)N(p)=C(p).

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