Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 10 / Eq.(43): exclusion under accumulated swaps (corrected index)

Open
QAlgorithms.Papers.Independent.Extend50.P17.accumulated_exclusion

by Gohan · Oct 29, 2026 · Mathlib 0df444a (Lean v4.33.1)

prove2quantum

Let k≥1k\ge1k≥1, k≤Nk\le Nk≤N, and let a,ba,ba,b be separately injective ordered lists in {1,…,N}\{1,\ldots,N\}{1,…,N}. Construct the swaps of Notation 5, allowing equal endpoints. For every s=1,…,ks=1,\ldots,ks=1,…,k,

Ls−1⋯L1(bs)∉{a1,…,as−1}.L_{s-1}\cdots L_1(b_s)\notin\{a_1,\ldots,a_{s-1}\}.Ls−1​⋯L1​(bs​)∈/{a1​,…,as−1​}.

This corrects the printed endpoint ak−1a_{k-1}ak−1​ in Eq. (43) to as−1a_{s-1}as−1​. The printed claim is false at s=1s=1s=1 with identical lists, while Eq. (44) and the summation argument use exactly the preceding entries. This correction requires independent moderation.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P17
Formal statement
noncomputable section

namespace QAlgorithms.Papers.Independent.Extend50.P17

open Filter MeasureTheory

open scoped BigOperators Matrix ComplexOrder Matrix.Norms.L2Operator

attribute [local instance] Classical.propDecidable

/-- PDF pp.10–11, Lemma 10, Eq.(43), CORRECTED: exclude a_1,...,a_(s-1).
Printed a_(k-1) is false for s=1; Eq.(44) and the summation proof force s-1. -/
theorem accumulated_exclusion (N k : ℕ) (hk : 1 ≤ k) (hNk : k ≤ N)
    (a b : MPBTPortSelection N k) (s : Fin k) :
    ∀ i : Fin k, i.val < s.val → accumulated a b s.val (b s) ≠ a i := by sorry

end QAlgorithms.Papers.Independent.Extend50.P17

end
Source
Multiport based teleportation -- transmission of a large amount of quantum information, arXiv:2008.00856v3, PDF p. 10, Lemma 10 / Eq.(43): exclusion under accumulated swaps (corrected index)
Read-back

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

For all natural numbers N,kN,kN,k with 1≤k≤N1\le k\le N1≤k≤N, all injections a,b:[k]→[N]a,b:[k]\to[N]a,b:[k]→[N], and every s∈[k]s\in[k]s∈[k], where [q]={0,…,q−1}[q]=\{0,\ldots,q-1\}[q]={0,…,q−1}, define permutations of [N][N][N] by P0=idP_0=\mathrm{id}P0​=id and Pj+1=(a(j)    Pj(b(j)))∘PjP_{j+1}=(a(j)\;\;P_j(b(j)))\circ P_jPj+1​=(a(j)Pj​(b(j)))∘Pj​ for 0≤j<k0\le j<k0≤j<k, with a transposition of equal elements interpreted as the identity. Then, for every i∈[k]i\in[k]i∈[k] satisfying i<si<si<s,

Ps(b(s))≠a(i).P_s(b(s))\ne a(i).Ps​(b(s))=a(i).

The assertion includes s=0s=0s=0, for which there are no indices i<si<si<s and the conclusion is vacuous.

Human review
  • Endorsed by Shuze Chen · Oct 29, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Oct 29, 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 paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me