Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 8 / Eq.(39): triple-product contraction

Open
QAlgorithms.Papers.Independent.Extend50.P17.triple_product_contraction

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

prove2quantum

Let d,k≥1d,k\ge1d,k≥1 and k≤Nk\le Nk≤N. Let a,ba,ba,b be separately injective ordered port lists. With W(a)=V(k)[(ak,N+1)⋯(a1,N+k)]W(a)=V^{(k)}[(a_k,N+1)\cdots(a_1,N+k)]W(a)=V(k)[(ak​,N+1)⋯(a1​,N+k)], partial transpose on the last kkk factors, and the recursively constructed collision count r=∑s=1k1as=Ls−1⋯L1(bs)r=\sum_{s=1}^k\mathbf1_{a_s=L_{s-1}\cdots L_1(b_s)}r=∑s=1k​1as​=Ls−1​⋯L1​(bs​)​, one has

W(a)W(b)W(a)=d2rW(a).W(a)W(b)W(a)=d^{2r}W(a).W(a)W(b)W(a)=d2rW(a).

The factor order and the exponent twice the collision count are retained. All operators are unnormalized, and cross-list coincidences are allowed.

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 p.10, Lemma 8, Eq.(39): ordered triple product and exponent 2r. -/
theorem triple_product_contraction (d N k : ℕ) (hd : 1 ≤ d)
    (hk : 1 ≤ k) (hNk : k ≤ N) (a b : MPBTPortSelection N k) :
    mpbtWordOperator d N k a * mpbtWordOperator d N k b * mpbtWordOperator d N k a =
      ((d : ℂ)^(2 * collisionCount a b)) • mpbtWordOperator d N k a := 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 8 / Eq.(39): triple-product contraction
Read-back

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

For every choice of natural numbers d,N,kd,N,kd,N,k with d≥1d\ge1d≥1 and 1≤k≤N1\le k\le N1≤k≤N, and every pair of injections a,b:[k]↪[N]a,b:[k]\hookrightarrow[N]a,b:[k]↪[N], where [r]={0,…,r−1}[r]=\{0,\ldots,r-1\}[r]={0,…,r−1}, define complex matrices indexed by pairs (x,c)(x,c)(x,c), with x:[N]→[d]x:[N]\to[d]x:[N]→[d] and c:[k]→[d]c:[k]\to[d]c:[k]→[d], as follows: Wh((x,c),(y,e))=1W_h((x,c),(y,e))=1Wh​((x,c),(y,e))=1 precisely when xj=yjx_j=y_jxj​=yj​ for all j∉im⁡hj\notin\operatorname{im}hj∈/imh and xh(i)=ck−1−ix_{h(i)}=c_{k-1-i}xh(i)​=ck−1−i​, yh(i)=ek−1−iy_{h(i)}=e_{k-1-i}yh(i)​=ek−1−i​ for all i∈[k]i\in[k]i∈[k]; otherwise this entry is 000. Starting from p0=id⁡p_0=\operatorname{id}p0​=id on [N][N][N], recursively set

pi+1=swap⁡ ⁣(a(i),pi(b(i)))∘pi(0≤i<k),C=#{i∈[k]:a(i)=pi(b(i))}.p_{i+1}=\operatorname{swap}\!\bigl(a(i),p_i(b(i))\bigr)\circ p_i \quad(0\le i<k), \qquad C=\#\{i\in[k]:a(i)=p_i(b(i))\}.pi+1​=swap(a(i),pi​(b(i)))∘pi​(0≤i<k),C=#{i∈[k]:a(i)=pi​(b(i))}.

Then

WaWbWa=d2C Wa,W_aW_bW_a=d^{2C}\,W_a,Wa​Wb​Wa​=d2CWa​,

where the products are complex matrix products and the right-hand side is complex scalar multiplication. This includes d=1d=1d=1, coinciding injections, overlapping images, and C=0C=0C=0; swaps with identical arguments are identities.

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