Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lagrangian operators commute with Clifford tensor powers

Open
QAlgorithms.Papers.Independent.Extend50.P30.relationCommutes

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

prove2quantum

Let ddd be prime and t≥1t\geq1t≥1. For every n≥0n\geq0n≥0, every stochastic Lagrangian T∈Σt,t(d)T\in\Sigma_{t,t}(d)T∈Σt,t​(d) and every Clifford unitary UUU on nnn qudits, the concrete relation tensor operator commutes with U⊗tU^{\otimes t}U⊗t. No stable-range condition is imposed.

R(T)U⊗t=U⊗tR(T).R(T)U^{\otimes t}=U^{\otimes t}R(T).R(T)U⊗t=U⊗tR(T).

This gives the source's lagrangian operators commute with clifford tensor powers in the fixed computational-basis and phase conventions.

Formalization Note Pure states carry norm one; stabilizer averages use density matrices to discard global phases. All finite tensor indices are explicitly ordered by copy, then physical qudit.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P30
Formal statement
noncomputable section

open scoped BigOperators ComplexConjugate Matrix

namespace QAlgorithms.Papers.Independent.Extend50.P30

open QAlgorithms.Papers.Independent.Information100.P63 (tensorPower)

open QAlgorithms.Papers.Independent.Gap20.P06 (ketBra)

attribute [local instance] Classical.propDecidable

/-- PDF p.29, Lemma 4.5: no stable-range condition is needed for membership in the commutant. -/
theorem relationCommutes (d n t : ℕ) [NeZero d] [Fact (Nat.Prime d)]
    (ht : 1 ≤ t) (T : Lagrangian d t) (U : QuditOperator d n) (hU : IsClifford U) :
    tensorRelation n T.val * tensorPower t U = tensorPower t U * tensorRelation n T.val := by sorry

end QAlgorithms.Papers.Independent.Extend50.P30

end
Source
Schur-Weyl Duality for the Clifford Group with Applications: Property Testing, a Robust Hudson Theorem, and de Finetti Representations, arXiv:1712.08628v3, PDF p. 29, lemma-4.5
Read-back

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

For natural numbers d,n,td,n,td,n,t, assume d≠0d\ne0d=0, ddd is prime, and t≥1t\ge1t≥1. Let Vt=(Z/dZ)tV_t=(\mathbb Z/d\mathbb Z)^tVt​=(Z/dZ)t, set hd=2dh_d=2dhd​=2d when ddd is even and hd=dh_d=dhd​=d otherwise, and write qd(x)=∑i[xi]2∈Z/hdZq_d(x)=\sum_i[x_i]^2\in\mathbb Z/h_d\mathbb Zqd​(x)=∑i​[xi​]2∈Z/hd​Z, using standard integer representatives. Let T⊆Vt×VtT\subseteq V_t\times V_tT⊆Vt​×Vt​ be a linear subspace with ∣T∣=dt|T|=d^t∣T∣=dt, containing (1,1)(\mathbf1,\mathbf1)(1,1), such that qd(x)=qd(y)q_d(x)=q_d(y)qd​(x)=qd​(y) for every (x,y)∈T(x,y)\in T(x,y)∈T. Define

Rn(T)(u,v)=∏j=0n−11T((ui,j)i,(vi,j)i)R_n(T)(u,v)=\prod_{j=0}^{n-1}\mathbf1_T\bigl((u_{i,j})_i,(v_{i,j})_i\bigr)Rn​(T)(u,v)=j=0∏n−1​1T​((ui,j​)i​,(vi,j​)i​)

on ttt copies of Vn=(Z/dZ)nV_n=(\mathbb Z/d\mathbb Z)^nVn​=(Z/dZ)n. Put ωd=e2πi/d\omega_d=e^{2\pi i/d}ωd​=e2πi/d, τd=(−1)deπi/d\tau_d=(-1)^de^{\pi i/d}τd​=(−1)deπi/d, and define W(p,q)(a,b)=τd−∑j[pj][qj]ωd∑j[pj][aj]W_{(p,q)}(a,b)=\tau_d^{-\sum_j[p_j][q_j]}\omega_d^{\sum_j[p_j][a_j]}W(p,q)​(a,b)=τd−∑j​[pj​][qj​]​ωd∑j​[pj​][aj​]​ when a=b+qa=b+qa=b+q, and 000 otherwise. Suppose UUU, indexed by VnV_nVn​, is unitary and conjugation by UUU maps the finite set {τdaWx:0≤a<hd, x∈Vn×Vn}\{\tau_d^aW_x:0\le a<h_d,\ x\in V_n\times V_n\}{τda​Wx​:0≤a<hd​, x∈Vn​×Vn​} onto itself. Then

Rn(T)U⊗t=U⊗tRn(T),U⊗t(u,v)=∏i=0t−1U(ui,vi).R_n(T)U^{\otimes t}=U^{\otimes t}R_n(T), \qquad U^{\otimes t}(u,v)=\prod_{i=0}^{t-1}U(u_i,v_i).Rn​(T)U⊗t=U⊗tRn​(T),U⊗t(u,v)=i=0∏t−1​U(ui​,vi​).

There is no lower bound on nnn; in particular n=0n=0n=0 is included, and the defining site product for Rn(T)R_n(T)Rn​(T) is then 111.

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