Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma B.8.

Proved
QAlgorithms.Papers.Independent.Gap48.P23.schur_subspace_invariant

by Goku · Oct 21, 2026 · Mathlib 0df444a (Lean v4.33.1)

prove2quantum

For n≥1n\ge1n≥1, write λ=(n−k,k)\lambda=(n-k,k)λ=(n−k,k), 0≤k≤⌊n/2⌋0\le k\le\lfloor n/2\rfloor0≤k≤⌊n/2⌋, ℓλ=n−2k\ell_\lambda=n-2kℓλ​=n−2k, mλ=ℓλ+1m_\lambda=\ell_\lambda+1mλ​=ℓλ​+1 and dλ=(nk)−(nk−1)d_\lambda=\binom nk-\binom n{k-1}dλ​=(kn​)−(k−1n​), where (n−1)=0\binom n{-1}=0(−1n​)=0. The source vectors ∣λ,w,i⟩|\lambda,w,i\rangle∣λ,w,i⟩ are constructed from the Dicke vector ∣sℓλ(w)⟩|s_{\ell_\lambda}(w)\rangle∣sℓλ​​(w)⟩ followed by kkk ordered normalized singlets. The same fixed real permutation coefficients are used for every www, and are orthonormalized and spanning only at w=0w=0w=0. All labels have their actual dependent ranges. Let Qλ(M)=det⁡(M)kTn−2k(M)Q_\lambda(M)=\det(M)^kT^{n-2k}(M)Qλ​(M)=det(M)kTn−2k(M), where TℓT^\ellTℓ is the explicit normalized-monomial matrix of (C.9). Let Γ\GammaΓ be the source Schur transform followed by shape measurement and multiplicity trace, and let Γ′\Gamma'Γ′ append Idλ/dλI_{d_\lambda}/d_\lambdaIdλ​​/dλ​ in each measured sector and apply inverse Schur. Write Θ\ThetaΘ for permutation averaging.

For every n≥1n\ge1n≥1, shape λ\lambdaλ, multiplicity label iii and complex 2×22\times22×2 matrix MMM,

M⊗nQλ,i⊆Qλ,i,Qλ,i=span⁡{∣λ,w,i⟩:w∈[mλ]}.M^{\otimes n}\mathcal Q_{\lambda,i}\subseteq\mathcal Q_{\lambda,i},\qquad\mathcal Q_{\lambda,i}=\operatorname{span}\{|\lambda,w,i\rangle:w\in[m_\lambda]\}.M⊗nQλ,i​⊆Qλ,i​,Qλ,i​=span{∣λ,w,i⟩:w∈[mλ​]}.

The matrix need not be unitary or invertible.

This identifies the source-constructed Schur coordinates and their operational use in the majority algorithm.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Gap48_P23
Formal statement
noncomputable section

namespace QAlgorithms.Papers.Independent.Gap48.P23

open MeasureTheory

open scoped ComplexConjugate Matrix ComplexOrder

attribute [local instance] Classical.propDecidable

attribute [local instance] Classical.decEq

-- Exact frozen coordinate helpers; no paper-local redeclarations.

open QAlgorithms.Papers.Independent.Information100.P58 (Word)

open QAlgorithms.Papers.Independent.Information100.P21 (Op)

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

/-- PDF p.56, Lemma B.8: invariant under every complex 2x2 matrix, including singular ones. -/
theorem schur_subspace_invariant (n : ℕ) (hn : 1 ≤ n)
    (alpha : RealSchurCoefficients n) (ha : LawfulCoefficients alpha) (k : TwoRowShape n)
    (i : Fin (schurMultiplicity n k)) (M : Op (Fin 2)) :
    ∀ v ∈ unitarySubspace alpha k i,
      WithLp.toLp 2 ((tensorPower n M).mulVec v) ∈ unitarySubspace alpha k i := by sorry

end QAlgorithms.Papers.Independent.Gap48.P23

end
Source
Quantum majority vote, arXiv:2211.11729v1, PDF p. 56, Lemma B.8.
Read-back

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

For every integer n≥1n\ge1n≥1, the following holds. For each r∈{0,…,⌊n/2⌋}r\in\{0,\ldots,\lfloor n/2\rfloor\}r∈{0,…,⌊n/2⌋}, set qr=n−2rq_r=n-2rqr​=n−2r and mr=(nr)m_r=\binom nrmr​=(rn​) if r=0r=0r=0, and mr=(nr)−(nr−1)m_r=\binom nr-\binom n{r-1}mr​=(rn​)−(r−1n​) otherwise. Let αr,i,p\alpha_{r,i,p}αr,i,p​ be real numbers indexed by such rrr, by 0≤i<mr0\le i<m_r0≤i<mr​, and by permutations ppp of the nnn positions. On the space with computational basis indexed by x∈{0,1}nx\in\{0,1\}^nx∈{0,1}n, let Pp∣x⟩=∣x∘p−1⟩P_p|x\rangle=|x\circ p^{-1}\ranglePp​∣x⟩=∣x∘p−1⟩, and define

sr,w(x)=1{∑a=0qr−1xa=w}(qrw)∏a=0r−1ϵ(xqr+2a,xqr+2a+1),ϵ(0,1)=12,ϵ(1,0)=−12,ϵ(0,0)=ϵ(1,1)=0.s_{r,w}(x)= \frac{\mathbf1_{\{\sum_{a=0}^{q_r-1}x_a=w\}}}{\sqrt{\binom{q_r}{w}}} \prod_{a=0}^{r-1}\epsilon(x_{q_r+2a},x_{q_r+2a+1}), \qquad \epsilon(0,1)=\frac1{\sqrt2},\quad \epsilon(1,0)=-\frac1{\sqrt2},\quad \epsilon(0,0)=\epsilon(1,1)=0.sr,w​(x)=(wqr​​)​1{∑a=0qr​−1​xa​=w}​​a=0∏r−1​ϵ(xqr​+2a​,xqr​+2a+1​),ϵ(0,1)=2​1​,ϵ(1,0)=−2​1​,ϵ(0,0)=ϵ(1,1)=0.

For 0≤w≤qr0\le w\le q_r0≤w≤qr​, put vr,w,0=sr,wv_{r,w,0}=s_{r,w}vr,w,0​=sr,w​, and, for i≠0i\ne0i=0, put vr,w,i=∑pαr,i,pPpsr,wv_{r,w,i}=\sum_p\alpha_{r,i,p}P_ps_{r,w}vr,w,i​=∑p​αr,i,p​Pp​sr,w​. Assume that, for every rrr, the vectors vr,0,iv_{r,0,i}vr,0,i​ have inner products ⟨vr,0,i,vr,0,j⟩=1{i=j}\langle v_{r,0,i},v_{r,0,j}\rangle=\mathbf1_{\{i=j\}}⟨vr,0,i​,vr,0,j​⟩=1{i=j}​, and that their complex span equals the complex span of all Ppsr,0P_ps_{r,0}Pp​sr,0​. For every chosen k∈{0,…,⌊n/2⌋}k\in\{0,\ldots,\lfloor n/2\rfloor\}k∈{0,…,⌊n/2⌋}, every 0≤i<mk0\le i<m_k0≤i<mk​, and every complex 2×22\times22×2 matrix MMM, the subspace Sk,i=span⁡C{vk,w,i:0≤w≤qk}S_{k,i}=\operatorname{span}_{\mathbb C}\{v_{k,w,i}:0\le w\le q_k\}Sk,i​=spanC​{vk,w,i​:0≤w≤qk​} satisfies

v∈Sk,i ⟹ M⊗nv∈Sk,i,(M⊗n)x,y=∏a=0n−1Mxa,ya.v\in S_{k,i}\ \Longrightarrow\ M^{\otimes n}v\in S_{k,i}, \qquad (M^{\otimes n})_{x,y}=\prod_{a=0}^{n-1}M_{x_a,y_a}.v∈Sk,i​ ⟹ M⊗nv∈Sk,i​,(M⊗n)x,y​=a=0∏n−1​Mxa​,ya​​.

Here MMM is arbitrary, and vvv need not be normalized; the assertion includes the case qk=0q_k=0qk​=0, when the displayed spanning family has one vector.

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

    Confirmed by the moderator at approval.

  • Endorsed by Goku · Oct 22, 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