Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Uniform padded block diagonalization of permutation modules

Open
QAlgorithms.Papers.Independent.Extend50.P24.qftPermMod_blockDiagonalizes

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

prove2quantum

Let n≥1n\geq1n≥1. A type TTT is specified by its sorted word E0(T)E_0(T)E0​(T) on an alphabet of at most nnn letters, with zero letter counts allowed. Let YT≤SnY_T\leq S_nYT​≤Sn​ be its stabilizer, and let WT\mathcal W_TWT​ be the orbit of E0(T)E_0(T)E0​(T). The word basis of C[WT]\mathbb C[\mathcal W_T]C[WT​] is identified with the fixed-transversal coset basis. Define the normalized coset embedding and its Fourier transform by

JT∣w⟩=1∣YT∣∑g:E0(T)∘g−1=w∣g⟩,MT=FnJT.J_T|w\rangle=\frac{1}{\sqrt{|Y_T|}} \sum_{g:E_0(T)\circ g^{-1}=w}|g\rangle,\qquad M_T=F_nJ_T.JT​∣w⟩=∣YT​∣​1​g:E0​(T)∘g−1=w∑​∣g⟩,MT​=Fn​JT​.

The exact action of the displayed QFTPermMod circuit on these embedded inputs is MTM_TMT​, with a trivial coherent GPE ancillary label. It satisfies

MT†MT=I,MTPT(g)v=(⨁λ⊢nρλ(g)⊗I)MTvfor every g∈Sn, v∈C[WT],M_T^\dagger M_T=I,\qquad M_TP_T(g)v=\left(\bigoplus_{\lambda\vdash n}\rho_\lambda(g)\otimes I\right)M_Tv \quad\text{for every }g\in S_n,\ v\in\mathbb C[\mathcal W_T],MT†​MT​=I,MT​PT​(g)v=(λ⊢n⨁​ρλ​(g)⊗I)MT​vfor every g∈Sn​, v∈C[WT​],

where PT(g)P_T(g)PT​(g) permutes tensor positions in the module words. There are Young realizations fixed for each nnn, a single classical polynomial-time constructor taking T,n,tT,n,tT,n,t, and one polynomial ppp, uniform over all types. For every t≥1t\geq1t≥1 the resulting finite-gate circuit has work at most p(1+n+t)p(1+n+t)p(1+n+t) and approximates MTM_TMT​ with operator-norm error at most 2−t2^{-t}2−t, including ancillary leakage. Taking t=⌈log⁡2(1/ϵ)⌉t=\lceil\log_2(1/\epsilon)\rceilt=⌈log2​(1/ϵ)⌉ yields the stated polynomial dependence for every 0<ϵ<10<\epsilon<10<ϵ<1.

This is padded block diagonalization. A clean computational SSYT multiplicity basis is a distinct source assertion and is deferred.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P24
Formal statement
noncomputable section

open scoped Matrix ComplexConjugate

namespace QAlgorithms.Papers.Independent.Extend50.P24

attribute [local instance] Classical.propDecidable

open QAlgorithms.Papers.Independent.Renew46.P26 (boxContent)

/-- Theorem 1, PDF pp.13-15: QFTPermMod block diagonalizes every type with
one polynomial bound uniform in the type. The target is padded F J_T;
no computational SSYT multiplicity-label conclusion is added. -/
theorem qftPermMod_blockDiagonalizes :
    ∃ Y : (n : ℕ) → SymmetricModels n,
      (∀ n, 0 < n → IsUnitaryBetween (symmetricFourier (Y n))) ∧
      ∃ circuits : (n : ℕ) → PermutationType n → ℕ → CompiledCircuit,
      ∃ p : Polynomial ℕ, ∃ generate : List Bool → List Bool,
        QAlgorithms.Complexity.PolyTimeComputable generate ∧
        ∀ n (T : PermutationType n) t, 0 < n → 0 < t →
          let M := qftPermMod (Y n) T
          Mᴴ * M = 1 ∧
          (∀ g (v : EuclideanSpace ℂ (ModuleWord T)),
            applyMatrix M (QAlgorithms.act (moduleAction T g) v) =
              youngFourierAction (Y n) g (applyMatrix M v)) ∧
          generate (moduleRequest T t) = (circuits n T t).code ∧
          (circuits n T t).work ≤ p.eval (1 + n + t) ∧
          Approximates (fun w => moduleWordCode w.val) symmetricCode M
            (circuits n T t) ((2 : ℝ) ^ (-(t : ℤ))) := by sorry

end QAlgorithms.Papers.Independent.Extend50.P24

end
Source
An efficient high dimensional quantum Schur transform, arXiv:1804.00055v2, PDF p. 13, Theorem 1: QFTPermMod block diagonalizes a permutation module
Read-back

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

There exist a family YYY of models for every natural number nnn, circuits Cn,T,tC_{n,T,t}Cn,T,t​ for every nnn, every nondecreasing function T:{0,…,n−1}→{0,…,n−1}T:\{0,\ldots,n-1\}\to\{0,\ldots,n-1\}T:{0,…,n−1}→{0,…,n−1}, and every natural number ttt, a polynomial ppp with natural-number coefficients, and a function generate\mathrm{generate}generate from Boolean lists to Boolean lists computable in polynomial time with identity input and output encodings, with the following properties. To specify the models and matrices, let Λn\Lambda_nΛn​ be the Young diagrams with nnn cells and at most nnn rows, let Std⁡(λ)\operatorname{Std}(\lambda)Std(λ) consist of bijective labellings of their cells by 0,…,n−10,\ldots,n-10,…,n−1 increasing strictly along rows and columns, put fλ=∣Std⁡(λ)∣f_\lambda=|\operatorname{Std}(\lambda)|fλ​=∣Std(λ)∣, and put Jn={(λ,P,Q):λ∈Λn, P,Q∈Std⁡(λ)}J_n=\{(\lambda,P,Q):\lambda\in\Lambda_n,\ P,Q\in\operatorname{Std}(\lambda)\}Jn​={(λ,P,Q):λ∈Λn​, P,Q∈Std(λ)}. For each λ\lambdaλ, YnY_nYn​ supplies a group homomorphism ρλ:Sn→U(CStd⁡(λ))\rho_\lambda:S_n\to U(\mathbb C^{\operatorname{Std}(\lambda)})ρλ​:Sn​→U(CStd(λ)) with prescribed adjacent-transposition entries: for adjacent labels i,i+1i,i+1i,i+1 in an input tableau PPP, the coefficient is 111 at PPP and zero elsewhere if their cells share a row, is −1-1−1 at PPP and zero elsewhere if they share a column, and otherwise is r−1r^{-1}r−1 at PPP, 1−r−2\sqrt{1-r^{-2}}1−r−2​ at the tableau obtained by exchanging the labels, and zero elsewhere, where rrr is the content of the second cell minus that of the first and cell content is column minus row. Define

Fn((λ,P,Q),g)=fλ∣Sn∣ ρλ(g)P,Q.F_n((\lambda,P,Q),g)=\sqrt{\frac{f_\lambda}{|S_n|}}\,\rho_\lambda(g)_{P,Q}.Fn​((λ,P,Q),g)=∣Sn​∣fλ​​​ρλ​(g)P,Q​.

For every n>0n>0n>0, both Fn∗Fn=IF_n^*F_n=IFn∗​Fn​=I and FnFn∗=IF_nF_n^*=IFn​Fn∗​=I. For the remaining properties fix any n>0n>0n>0, such a function TTT, and t>0t>0t>0. Let WT={T∘g−1:g∈Sn}W_T=\{T\circ g^{-1}:g\in S_n\}WT​={T∘g−1:g∈Sn​}, let HT={g∈Sn:T∘g−1=T}H_T=\{g\in S_n:T\circ g^{-1}=T\}HT​={g∈Sn​:T∘g−1=T}, and define

ET(g,w)={∣HT∣−1/2,T∘g−1=w,0,otherwise,M=FnET.E_T(g,w)= \begin{cases}|H_T|^{-1/2},&T\circ g^{-1}=w,\\0,&\text{otherwise},\end{cases} \qquad M=F_nE_T.ET​(g,w)={∣HT​∣−1/2,0,​T∘g−1=w,otherwise,​M=Fn​ET​.

Then M∗M=ICWTM^*M=I_{\mathbb C^{W_T}}M∗M=ICWT​​, and for every g∈Sng\in S_ng∈Sn​ and every v∈CWTv\in\mathbb C^{W_T}v∈CWT​,

MAgv=Ag(Mv),Ag(x,y)=1x=y∘g−1,(Aga)λ,P,Q=∑R∈Std⁡(λ)ρλ(g)P,Raλ,R,Q.M A_gv=\mathcal A_g(Mv), \quad A_g(x,y)=\mathbf 1_{x=y\circ g^{-1}}, \quad (\mathcal A_ga)_{\lambda,P,Q} =\sum_{R\in\operatorname{Std}(\lambda)}\rho_\lambda(g)_{P,R}a_{\lambda,R,Q}.MAg​v=Ag​(Mv),Ag​(x,y)=1x=y∘g−1​,(Ag​a)λ,P,Q​=R∈Std(λ)∑​ρλ​(g)P,R​aλ,R,Q​.

The generator returns exactly the code of Cn,T,tC_{n,T,t}Cn,T,t​ on the request u(n)∥u(t)∥u(1)∥[true]∥u(n)∥u(T(0))∥⋯∥u(T(n−1))u(n)\Vert u(t)\Vert u(1)\Vert[\mathrm{true}]\Vert u(n)\Vert u(T(0))\Vert\cdots\Vert u(T(n-1))u(n)∥u(t)∥u(1)∥[true]∥u(n)∥u(T(0))∥⋯∥u(T(n−1)), where u(a)u(a)u(a) is aaa true bits followed by a false bit. Each circuit consists of a number qqq of wires and a finite ordered list of Hadamard, SSS, TTT, XXX, and CNOT instructions on those wires, with distinct control and target for CNOT, and runs these instructions in list order. Its code is u(q)u(q)u(q), followed by u(L)u(L)u(L) and the concatenated instruction codes, where LLL is the number of instructions; the single-wire instruction codes are u(a)∥u(i)u(a)\Vert u(i)u(a)∥u(i) with tags a=0,1,2,3a=0,1,2,3a=0,1,2,3 respectively, and a CNOT code is u(4)∥u(i)∥u(j)u(4)\Vert u(i)\Vert u(j)u(4)∥u(i)∥u(j). Its work, defined as q+L+code lengthq+L+\text{code length}q+L+code length, satisfies

work⁡(Cn,T,t)≤p(1+n+t).\operatorname{work}(C_{n,T,t})\le p(1+n+t).work(Cn,T,t​)≤p(1+n+t).

Finally, define the input code a(w)=∑i=0n−1w(i)(n+1)ia(w)=\sum_{i=0}^{n-1}w(i)(n+1)^ia(w)=∑i=0n−1​w(i)(n+1)i, the tableau code

b(P)=∑i=0n−1((n+1)row⁡(P(i))+col⁡(P(i))+1)((n+1)2+1)i,b(P)=\sum_{i=0}^{n-1} \bigl((n+1)\operatorname{row}(P(i))+\operatorname{col}(P(i))+1\bigr) \bigl((n+1)^2+1\bigr)^i,b(P)=i=0∑n−1​((n+1)row(P(i))+col(P(i))+1)((n+1)2+1)i,

and the output code b(λ,P,Q)=pair⁡(b(P),b(Q))b(\lambda,P,Q)=\operatorname{pair}(b(P),b(Q))b(λ,P,Q)=pair(b(P),b(Q)), using the fixed natural-number pairing function. For the qqq wires of Cn,T,tC_{n,T,t}Cn,T,t​, encode any natural number by its qqq-bit representation modulo 2q2^q2q, with the first bit most significant, and let ∣r⟩q|r\rangle_q∣r⟩q​ be the corresponding coordinate basis vector. Both maps w↦∣a(w)⟩qw\mapsto|a(w)\rangle_qw↦∣a(w)⟩q​ and z↦∣b(z)⟩qz\mapsto|b(z)\rangle_qz↦∣b(z)⟩q​ are injective, and every complex Euclidean vector vvv on WTW_TWT​, including the zero vector, satisfies

∥Cn,T,t ⁣(∑w∈WTvw∣a(w)⟩q)−∑z∈Jn(Mv)z∣b(z)⟩q∥≤2−t∥v∥.\left\| C_{n,T,t}\!\left(\sum_{w\in W_T}v_w|a(w)\rangle_q\right) -\sum_{z\in J_n}(Mv)_z|b(z)\rangle_q \right\| \le 2^{-t}\|v\|.​Cn,T,t​(w∈WT​∑​vw​∣a(w)⟩q​)−z∈Jn​∑​(Mv)z​∣b(z)⟩q​​≤2−t∥v∥.

The circuits and models are defined also at zero parameters, but the circuit properties above require n>0n>0n>0 and t>0t>0t>0, and the asserted unitarity of FnF_nFn​ requires n>0n>0n>0.

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