Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

The corrected smaller resource is a permutation system

Proved
QAlgorithms.Papers.Independent.Intakethird100.P78.reduced_resource_is_permutation

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

prove2quantum

Let XXX and YYY be finite nonempty input alphabets, let d>2d>2d>2, and for every (x,y)(x,y)(x,y) let fxyf^{xy}fxy be a permutation of [d]={1,…,d}[d]=\{1,\ldots,d\}[d]={1,…,d}. The target permutation system assigns mass 1/d1/d1/d to each pair (a,fxy(a))(a,f^{xy}(a))(a,fxy(a)).

For a deleted label hhh, let rh:[d−1]→[d]∖{h}r_h:[d-1]\to[d]\setminus\{h\}rh​:[d−1]→[d]∖{h} replace hhh by ddd and leave all other labels fixed. Define the corrected smaller map, for u=ra^(a)u=r_{\hat a}(a)u=ra^​(a), by

f′(x,a^)(y,b^)(a)=rb^−1 ⁣({fxy(a^),fxy(u)=b^,fxy(u),fxy(u)≠b^.).f'^{(x,\hat a)(y,\hat b)}(a)=r_{\hat b}^{-1}\!\left(\begin{cases}f^{xy}(\hat a),&f^{xy}(u)=\hat b,\\f^{xy}(u),&f^{xy}(u)\ne\hat b.\end{cases}\right).f′(x,a^)(y,b^)(a)=rb^−1​({fxy(a^),fxy(u),​fxy(u)=b^,fxy(u)=b^.​).

The graph law of these maps, with mass 1/(d−1)1/(d-1)1/(d−1), belongs to D\mathcal DD: every smaller map is a permutation and its output size is greater than one. Its local input alphabets are X×[d]X\times[d]X×[d] and Y×[d]Y\times[d]Y×[d].

This is the alphabet-reduction step used in the bipartite simulation construction. The condition in printed equation (7) is corrected as described in the audit; 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 pp.4–5, Lemma 1 (corrected construction): Dprime belongs to D.
Printed (7) is changed to test f(r_ahat(a)) = bhat before splicing; the
printed condition can map a surviving edge to the deleted output.
The reduction is restricted to d = m+1 > 2, because D excludes size 1.
Independent source-correction moderation is pending. -/
theorem reduced_resource_is_permutation
    {X Y : Type} [Fintype X] [Fintype Y] [Nonempty X] [Nonempty Y]
    {m : ℕ} (hm : 1 < m)
    (F : X → Y → Equiv.Perm (Fin (m + 1))) :
    IsPermutationSystem (reducedKernel (lt_trans Nat.zero_lt_one hm) F) := by sorry

end QAlgorithms.Papers.Independent.Intakethird100.P78

end
Source
Bipartite Units of Non-Locality, arXiv:0808.0651v4, PDF p. 4, Lemma 1: the reduced resource is a permutation system (corrected construction)
Read-back

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

Let XXX and YYY be finite, nonempty types, let m∈Nm\in\mathbb Nm∈N satisfy 1<m1<m1<m, and, for every x∈Xx\in Xx∈X and y∈Yy\in Yy∈Y, let Fx,yF_{x,y}Fx,y​ be a permutation of Im+1={0,…,m}I_{m+1}=\{0,\ldots,m\}Im+1​={0,…,m}. Write Im={0,…,m−1}I_m=\{0,\ldots,m-1\}Im​={0,…,m−1}. For h∈Im+1h\in I_{m+1}h∈Im+1​, let ShS_hSh​ exchange hhh and mmm, fixing all other labels; define Lh(u)=Sh(u)L_h(u)=S_h(u)Lh​(u)=Sh​(u) for u∈Imu\in I_mu∈Im​, using its natural inclusion in Im+1I_{m+1}Im+1​, and Dh(v)=Sh(v) mod mD_h(v)=S_h(v)\bmod mDh​(v)=Sh​(v)modm for v∈Im+1v\in I_{m+1}v∈Im+1​. For α,β∈Im+1\alpha,\beta\in I_{m+1}α,β∈Im+1​, define

rx,y,α,β(u)=Dβ ⁣({Fx,y(α),Fx,y(Lα(u))=β,Fx,y(Lα(u)),Fx,y(Lα(u))≠β,)r_{x,y,\alpha,\beta}(u) = D_\beta\!\left( \begin{cases} F_{x,y}(\alpha),&F_{x,y}(L_\alpha(u))=\beta,\\ F_{x,y}(L_\alpha(u)),&F_{x,y}(L_\alpha(u))\ne\beta, \end{cases}\right)rx,y,α,β​(u)=Dβ​({Fx,y​(α),Fx,y​(Lα​(u)),​Fx,y​(Lα​(u))=β,Fx,y​(Lα​(u))=β,​)

and define K((x,α),(y,β),u,v)K((x,\alpha),(y,\beta),u,v)K((x,α),(y,β),u,v) to be 1/m1/m1/m when rx,y,α,β(u)=vr_{x,y,\alpha,\beta}(u)=vrx,y,α,β​(u)=v, and zero otherwise. The conclusion is that 1<m1<m1<m and there exists a family of maps G(x,α),(y,β):Im→ImG_{(x,\alpha),(y,\beta)}:I_m\to I_mG(x,α),(y,β)​:Im​→Im​, each bijective, such that for every x,y,α,β,u,vx,y,\alpha,\beta,u,vx,y,α,β,u,v, the value K((x,α),(y,β),u,v)K((x,\alpha),(y,\beta),u,v)K((x,α),(y,β),u,v) equals 1/m1/m1/m when G(x,α),(y,β)(u)=vG_{(x,\alpha),(y,\beta)}(u)=vG(x,α),(y,β)​(u)=v, and zero otherwise.

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