Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Exact single-resource reduction for rational bipartite systems

Open
QAlgorithms.Papers.Independent.Intakethird100.P78.rational_target_exact_permutation_reduction

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

prove2quantum

Let P(a,b∣x,y)P(a,b\mid x,y)P(a,b∣x,y) be a normalized nonnegative bipartite no-signaling law on finite nonempty alphabets X,Y,A,BX,Y,A,BX,Y,A,B, and assume every entry is rational. There exist a common denominator d≥2d\ge2d≥2, permutations fxyf^{xy}fxy of [d][d][d], and input-local relabelings rAx:[d]→Ar_A^x:[d]\to ArAx​:[d]→A and rBy:[d]→Br_B^y:[d]\to BrBy​:[d]→B for which

P(a,b∣x,y)=1d∣{u∈[d]:rAx(u)=a, rBy(fxy(u))=b}∣for all x,y,a,b.P(a,b\mid x,y)=\frac1d\bigl|\{u\in[d]:r_A^x(u)=a,\ r_B^y(f^{xy}(u))=b\}\bigr| \quad\text{for all }x,y,a,b.P(a,b∣x,y)=d1​​{u∈[d]:rAx​(u)=a, rBy​(fxy(u))=b}​for all x,y,a,b.

Thus a single permutation resource in D\mathcal DD simulates PPP exactly. Padding a common denominator to at least two includes deterministic targets.

The source sentence prints R\mathcal RR; the construction supplies D\mathcal DD, which is the corrected class used here. Independent moderation of this source correction is pending.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intakethird100_P78
Formal statement
noncomputable section

open scoped BigOperators

namespace QAlgorithms.Papers.Independent.Intakethird100.P78

attribute [local instance] Classical.propDecidable Classical.decEq

/-- PDF p.8, exact rational case of Lemma 5: one D resource and input-local
relabelings reproduce a rational target exactly. Printed R is changed to D:
the constructed D(P) has arbitrary denominator-sized outputs, not binary
outputs. A denominator of one is padded to at least two. Independent
source-correction moderation is pending. -/
theorem rational_target_exact_permutation_reduction
    {X Y A B : Type} [Fintype X] [Fintype Y] [Fintype A] [Fintype B]
    [Nonempty X] [Nonempty Y] [Nonempty A] [Nonempty B]
    (P : BipartiteSystem X Y A B) (hrational : IsRational P.prob) :
    ∃ (d : ℕ) (F : X → Y → Equiv.Perm (Fin d))
      (alice : X → Fin d → A) (bob : Y → Fin d → B),
      1 < d ∧ HasCommonProbabilityDenominator P.prob d ∧
        relabeledKernel F alice bob = P.prob := by sorry

end QAlgorithms.Papers.Independent.Intakethird100.P78

end
Source
Bipartite Units of Non-Locality, arXiv:0808.0651v4, PDF p. 8, Unnumbered exact rational case in the proof of Lemma 5 (corrected class label)
Read-back

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

Let X,Y,A,BX,Y,A,BX,Y,A,B be finite, nonempty types, and let P(x,y,a,b)P(x,y,a,b)P(x,y,a,b) be a real-valued array with nonnegative entries such that ∑a∈A∑b∈BP(x,y,a,b)=1\sum_{a\in A}\sum_{b\in B}P(x,y,a,b)=1∑a∈A​∑b∈B​P(x,y,a,b)=1 for every x,yx,yx,y, ∑bP(x,y,a,b)=∑bP(x,y′,a,b)\sum_bP(x,y,a,b)=\sum_bP(x,y',a,b)∑b​P(x,y,a,b)=∑b​P(x,y′,a,b) for every x,y,y′,ax,y,y',ax,y,y′,a, and ∑aP(x,y,a,b)=∑aP(x′,y,a,b)\sum_aP(x,y,a,b)=\sum_aP(x',y,a,b)∑a​P(x,y,a,b)=∑a​P(x′,y,a,b) for every x,x′,y,bx,x',y,bx,x′,y,b. Assume additionally that for every x,y,a,bx,y,a,bx,y,a,b there exists q∈Qq\in\mathbb Qq∈Q whose image in R\mathbb RR equals P(x,y,a,b)P(x,y,a,b)P(x,y,a,b). Then there exist a natural number d>1d>1d>1, a permutation Fx,yF_{x,y}Fx,y​ of Id={0,…,d−1}I_d=\{0,\ldots,d-1\}Id​={0,…,d−1} for every x,yx,yx,y, and maps αx:Id→A\alpha_x:I_d\to Aαx​:Id​→A and βy:Id→B\beta_y:I_d\to Bβy​:Id​→B, such that for every x,y,a,bx,y,a,bx,y,a,b there exists k∈Nk\in\mathbb Nk∈N with P(x,y,a,b)=k/dP(x,y,a,b)=k/dP(x,y,a,b)=k/d, and, at every entry,

P(x,y,a,b)=∑u∈Id{1d,αx(u)=a and βy(Fx,y(u))=b,0,otherwise.P(x,y,a,b)= \sum_{u\in I_d} \begin{cases} \dfrac1d,&\alpha_x(u)=a\ \text{and}\ \beta_y(F_{x,y}(u))=b,\\ 0,&\text{otherwise}. \end{cases}P(x,y,a,b)=u∈Id​∑​⎩⎨⎧​d1​,0,​αx​(u)=a and βy​(Fx,y​(u))=b,otherwise.​

The nonempty output types AAA and BBB are allowed to be singletons.

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