Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Exact CHSH saddle point and all three strengths

Open
QAlgorithms.Papers.Independent.Intakethird100.P80.chsh_strength

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

prove2quantum

For the fixed CHSH experiment, outcomes are T,FT,FT,F and the three settings 11,12,2111,12,2111,12,21 favor equal outcomes, while 222222 favors unequal outcomes. Each favored outcome has probability h=(2+2)/8h=(2+\sqrt2)/8h=(2+2​)/8 and each other outcome has probability ℓ=(2−2)/8\ell=(2-\sqrt2)/8ℓ=(2−2​)/8. Let π~\widetilde\piπ put probability 1/81/81/8 on each assignment FFFF,TTTT,FFFT,TTTF,FFTF,TTFT,TFFT,FTTFFFFF,TTTT,FFFT,TTTF,FFTF,TTFT,TFFT,FTTFFFFF,TTTT,FFFT,TTTF,FFTF,TTFT,TFFT,FTTF in coordinate order (x1,x2,y1,y2)(x_1,x_2,y_1,y_2)(x1​,x2​,y1​,y2​), and zero on all others. Let σ~\widetilde\sigmaσ be uniform on the four settings.

The pair (σ~,π~)(\widetilde\sigma,\widetilde\pi)(σ,π) is a saddle point in both the correlated and product games. The local strategy is an equalizer, and

SCHSHUNI=SCHSHUC=SCHSHCOR=D2(Qσ~∥Pσ~;π~)=2hlog⁡2h3/8+2ℓlog⁡2ℓ1/8.S^{\rm UNI}_{\rm CHSH}=S^{\rm UC}_{\rm CHSH}=S^{\rm COR}_{\rm CHSH}=D_2(Q_{\widetilde\sigma}\|P_{\widetilde\sigma;\widetilde\pi})=2h\log_2\frac{h}{3/8}+2\ell\log_2\frac{\ell}{1/8}.SCHSHUNI​=SCHSHUC​=SCHSHCOR​=D2​(Qσ​∥Pσ;π​)=2hlog2​3/8h​+2ℓlog2​1/8ℓ​.

This evaluates the strength of this specified experiment, without optimizing quantum states or measurement directions.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intakethird100_P80
Formal statement
noncomputable section

namespace QAlgorithms.Papers.Independent.Intakethird100.P80

open scoped BigOperators ENNReal Topology Classical

open MeasureTheory Filter

/-- PDF pp.6,9,14–15,18,21: the specified CHSH saddle and all three EXACT strengths.
The decimal 0.0462738469 is not asserted as an exact value. -/
theorem chsh_strength :
    chshLocal ∈ stdSimplex ℝ (Potential BellScenario) ∧
    Saddle chshTable (stdSimplex ℝ (Settings BellScenario)) (uniformSettings BellScenario) chshLocal ∧
    Saddle chshTable (productSettings BellScenario) (uniformSettings BellScenario) chshLocal ∧
    (∀ s : Sigma BellScenario, statisticalPayoff chshTable s.1 chshLocal =
      statisticalPayoff chshTable (uniformSettings BellScenario) chshLocal) ∧
    uniformStrength chshTable = uncorrelatedStrength chshTable ∧
    uncorrelatedStrength chshTable = correlatedStrength chshTable ∧
    correlatedStrength chshTable = statisticalPayoff chshTable (uniformSettings BellScenario) chshLocal ∧
    correlatedStrength chshTable = ENNReal.ofReal (
      2 * (1 / 4 + Real.sqrt 2 / 8) * Real.logb 2 ((1 / 4 + Real.sqrt 2 / 8) / (3 / 8)) +
      2 * (1 / 4 - Real.sqrt 2 / 8) * Real.logb 2 ((1 / 4 - Real.sqrt 2 / 8) / (1 / 8))) := by sorry

end QAlgorithms.Papers.Independent.Intakethird100.P80

end
Source
The statistical strength of nonlocality proofs, arXiv:quant-ph/0307125v2, PDF p. 6, Example 4 and Appendix III-C: exact CHSH saddle point and all three strengths
Read-back

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

Consider two parties, each with settings and outcomes in {0,1}\{0,1\}{0,1}. Write a=(a0,a1)a=(a_0,a_1)a=(a0​,a1​) for a setting pair, x=(x0,x1)x=(x_0,x_1)x=(x0​,x1​) for an outcome pair, and v=(v00,v01,v10,v11)v=(v_{00},v_{01},v_{10},v_{11})v=(v00​,v01​,v10​,v11​) for an assignment of an outcome to each party’s every setting. Let ΔA\Delta_AΔA​ and ΔV\Delta_VΔV​ be the probability simplices on setting pairs and such assignments, respectively, and let U⊆ΔA\mathcal U\subseteq\Delta_AU⊆ΔA​ consist of distributions s(a)=s0(a0)s1(a1)s(a)=s_0(a_0)s_1(a_1)s(a)=s0​(a0​)s1​(a1​) for some probability vectors s0,s1s_0,s_1s0​,s1​. Define u(a)=1/4u(a)=1/4u(a)=1/4, and define p∗(v)=1/8p_*(v)=1/8p∗​(v)=1/8 on the eight assignments

(0,0,0,0), (1,1,1,1), (0,0,0,1), (1,1,1,0), (0,0,1,0), (1,1,0,1), (1,0,0,1), (0,1,1,0),(0,0,0,0),\ (1,1,1,1),\ (0,0,0,1),\ (1,1,1,0),\ (0,0,1,0),\ (1,1,0,1),\ (1,0,0,1),\ (0,1,1,0),(0,0,0,0), (1,1,1,1), (0,0,0,1), (1,1,1,0), (0,0,1,0), (1,1,0,1), (1,0,0,1), (0,1,1,0),

with p∗(v)=0p_*(v)=0p∗​(v)=0 otherwise. Put η=1/4+2/8\eta=1/4+\sqrt2/8η=1/4+2​/8 and ζ=1/4−2/8\zeta=1/4-\sqrt2/8ζ=1/4−2​/8, and define Q(a,x)=ηQ(a,x)=\etaQ(a,x)=η if (x0≠x1)  ⟺  (a0=a1=1)(x_0\ne x_1)\iff(a_0=a_1=1)(x0​=x1​)⟺(a0​=a1​=1), and Q(a,x)=ζQ(a,x)=\zetaQ(a,x)=ζ otherwise. For an assignment distribution ppp, let Lp(a,x)=∑v: v0a0=x0, v1a1=x1p(v)L_p(a,x)=\sum_{v:\,v_{0a_0}=x_0,\ v_{1a_1}=x_1}p(v)Lp​(a,x)=∑v:v0a0​​=x0​, v1a1​​=x1​​p(v). For s∈ΔAs\in\Delta_As∈ΔA​ and p∈ΔVp\in\Delta_Vp∈ΔV​, define K(s,p)K(s,p)K(s,p) by setting q(a,x)=s(a)Q(a,x)q(a,x)=s(a)Q(a,x)q(a,x)=s(a)Q(a,x) and r(a,x)=s(a)Lp(a,x)r(a,x)=s(a)L_p(a,x)r(a,x)=s(a)Lp​(a,x): its value is +∞+\infty+∞ if some (a,x)(a,x)(a,x) satisfies q(a,x)>0q(a,x)>0q(a,x)>0 and r(a,x)=0r(a,x)=0r(a,x)=0, and otherwise it is

K(s,p)=max⁡ ⁣{0, ∑a,x{0,q(a,x)=0,q(a,x)log⁡2 ⁣(q(a,x)/r(a,x)),q(a,x)≠0},K(s,p)=\max\!\left\{0,\ \sum_{a,x} \begin{cases} 0,&q(a,x)=0,\\ q(a,x)\log_2\!\bigl(q(a,x)/r(a,x)\bigr),&q(a,x)\ne0 \end{cases}\right\},K(s,p)=max{0, a,x∑​{0,q(a,x)log2​(q(a,x)/r(a,x)),​q(a,x)=0,q(a,x)=0​},

viewed in [0,+∞][0,+\infty][0,+∞]. Define F=inf⁡p∈ΔVK(u,p)F=\inf_{p\in\Delta_V}K(u,p)F=infp∈ΔV​​K(u,p), U=sup⁡s∈Uinf⁡p∈ΔVK(s,p)U=\sup_{s\in\mathcal U}\inf_{p\in\Delta_V}K(s,p)U=sups∈U​infp∈ΔV​​K(s,p), and C=sup⁡s∈ΔAinf⁡p∈ΔVK(s,p)C=\sup_{s\in\Delta_A}\inf_{p\in\Delta_V}K(s,p)C=sups∈ΔA​​infp∈ΔV​​K(s,p). The declaration asserts that p∗∈ΔVp_*\in\Delta_Vp∗​∈ΔV​; for each of the two choices A=ΔA\mathcal A=\Delta_AA=ΔA​ and A=U\mathcal A=\mathcal UA=U, one has u∈Au\in\mathcal Au∈A, p∗∈ΔVp_*\in\Delta_Vp∗​∈ΔV​, K(t,p∗)≤K(u,p∗)K(t,p_*)\le K(u,p_*)K(t,p∗​)≤K(u,p∗​) for every t∈At\in\mathcal At∈A, and K(u,p∗)≤K(u,p)K(u,p_*)\le K(u,p)K(u,p∗​)≤K(u,p) for every p∈ΔVp\in\Delta_Vp∈ΔV​; moreover, K(s,p∗)=K(u,p∗)K(s,p_*)=K(u,p_*)K(s,p∗​)=K(u,p∗​) for every s∈ΔAs\in\Delta_As∈ΔA​, and

F=U,U=C,C=K(u,p∗),C=max⁡ ⁣{0, 2ηlog⁡2 ⁣η3/8+2ζlog⁡2 ⁣ζ1/8}.F=U,\qquad U=C,\qquad C=K(u,p_*),\qquad C=\max\!\left\{0,\, 2\eta\log_2\!\frac{\eta}{3/8} +2\zeta\log_2\!\frac{\zeta}{1/8}\right\}.F=U,U=C,C=K(u,p∗​),C=max{0,2ηlog2​3/8η​+2ζlog2​1/8ζ​}.
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