Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Corollary 3.6.

Open
QAlgorithms.Papers.Independent.Gap48.P23.optimal_channel_factorization

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 symmetric equivariant Boolean function on a positive odd number of inputs there is a covariant reduced-space channel Φ′\Phi'Φ′ such that

Ff(Φ′∘Γ)=Ff.F_f(\Phi'\circ\Gamma)=F_f.Ff​(Φ′∘Γ)=Ff​.

The full channel is unitary-equivariant.

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.25, Corollary 3.6: optimal computation factors through generic preprocessing. -/
theorem optimal_channel_factorization (n : ℕ) (hn : 1 ≤ n) (hodd : Odd n)
    (alpha : RealSchurCoefficients n) (ha : LawfulCoefficients alpha)
    (f : Word n 2 → Fin 2) (hf : WordSymmetric f) (he : Equivariant f) :
    ∃ Psi : Superop (ReducedIndex n) (Fin 2), IsChannel Psi ∧
      (∀ (U : Matrix.unitaryGroup (Fin 2) ℂ) rho,
        Psi (conjSuperop (reducedAction n U.val) rho) = conjSuperop U.val (Psi rho)) ∧
      IsFunctionOptimal (fun _ => True) f (Psi ∘ preprocessing alpha) ∧
      WordUnitaryEquivariant (Psi ∘ preprocessing alpha) := by sorry

end QAlgorithms.Papers.Independent.Gap48.P23

end
Source
Quantum majority vote, arXiv:2211.11729v1, PDF p. 25, Corollary 3.6.
Read-back

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

Let n≥1n\ge1n≥1 be odd, Wn={0,1}nW_n=\{0,1\}^nWn​={0,1}n, K={0,…,⌊n/2⌋}K=\{0,\ldots,\lfloor n/2\rfloor\}K={0,…,⌊n/2⌋}, ℓk=n−2k\ell_k=n-2kℓk​=n−2k, and mk=(nk)−(nk−1)m_k=\binom nk-\binom n{k-1}mk​=(kn​)−(k−1n​), with (n−1)=0\binom n{-1}=0(−1n​)=0. Let αk,i,p\alpha_{k,i,p}αk,i,p​ be real coefficients, and define sk,w(x)s_{k,w}(x)sk,w​(x) as (ℓkw)−1/21{∑j<ℓkxj=w}\binom{\ell_k}w^{-1/2}\mathbf1_{\{\sum_{j<\ell_k}x_j=w\}}(wℓk​​)−1/21{∑j<ℓk​​xj​=w}​ times the product over j<kj<kj<k of 1/21/\sqrt21/2​, −1/2-1/\sqrt2−1/2​, or 000, according as the coordinate pair (xℓk+2j,xℓk+2j+1)(x_{\ell_k+2j},x_{\ell_k+2j+1})(xℓk​+2j​,xℓk​+2j+1​) is (0,1)(0,1)(0,1), (1,0)(1,0)(1,0), or neither. Set vk,w,0=sk,wv_{k,w,0}=s_{k,w}vk,w,0​=sk,w​, vk,w,i=∑pαk,i,pPpsk,wv_{k,w,i}=\sum_p\alpha_{k,i,p}P_ps_{k,w}vk,w,i​=∑p​αk,i,p​Pp​sk,w​ for i≠0i\ne0i=0, and S(k,w,i),x=vk,w,i(x)‾S_{(k,w,i),x}=\overline{v_{k,w,i}(x)}S(k,w,i),x​=vk,w,i​(x)​, where Pp∣x⟩=∣x∘p−1⟩P_p|x\rangle=|x\circ p^{-1}\ranglePp​∣x⟩=∣x∘p−1⟩. Assume that, for each kkk, the vk,0,iv_{k,0,i}vk,0,i​ are orthonormal and their span equals the span of all Ppsk,0P_ps_{k,0}Pp​sk,0​. Define Dα(X)D_\alpha(X)Dα​(X) to have zero blocks between different kkk and entries ∑i<mk(SXS†)(k,w,i),(k,z,i)\sum_{i<m_k}(SXS^\dagger)_{(k,w,i),(k,z,i)}∑i<mk​​(SXS†)(k,w,i),(k,z,i)​ in block kkk. Let f:Wn→{0,1}f:W_n\to\{0,1\}f:Wn​→{0,1} satisfy f(x∘p−1)=f(x)f(x\circ p^{-1})=f(x)f(x∘p−1)=f(x) for every coordinate permutation ppp, and f(π∘x)=π(f(x))f(\pi\circ x)=\pi(f(x))f(π∘x)=π(f(x)) for every permutation π\piπ of {0,1}\{0,1\}{0,1}. Define An(M)=⨁k(det⁡M)kRℓk(M)A_n(M)=\bigoplus_k(\det M)^kR_{\ell_k}(M)An​(M)=⨁k​(detM)kRℓk​​(M), where

Rℓ(M)a,b=a!(ℓ−a)! b!(ℓ−b)! ⁣ ⁣∑0≤r≤ℓr+a≤ℓ, r+b≤ℓℓ≤a+b+rM00rM01ℓ−a−rM10ℓ−b−rM11a+b+r−ℓr!(ℓ−a−r)!(ℓ−b−r)!(a+b+r−ℓ)!.R_\ell(M)_{a,b}= \sqrt{a!(\ell-a)!\,b!(\ell-b)!} \!\!\sum_{\substack{0\le r\le\ell\\r+a\le\ell,\ r+b\le\ell\\\ell\le a+b+r}} \frac{M_{00}^{r}M_{01}^{\ell-a-r}M_{10}^{\ell-b-r}M_{11}^{a+b+r-\ell}} {r!(\ell-a-r)!(\ell-b-r)!(a+b+r-\ell)!}.Rℓ​(M)a,b​=a!(ℓ−a)!b!(ℓ−b)!​0≤r≤ℓr+a≤ℓ, r+b≤ℓℓ≤a+b+r​∑​r!(ℓ−a−r)!(ℓ−b−r)!(a+b+r−ℓ)!M00r​M01ℓ−a−r​M10ℓ−b−r​M11a+b+r−ℓ​​.

There exists a channel Ψ\PsiΨ on the reduced index set {(k,w):w≤ℓk}\{(k,w):w\le\ell_k\}{(k,w):w≤ℓk​}, with 2×22\times22×2 output, such that Ψ(An(U)YAn(U)†)=UΨ(Y)U†\Psi(A_n(U)YA_n(U)^\dagger)=U\Psi(Y)U^\daggerΨ(An​(U)YAn​(U)†)=UΨ(Y)U† for every U∈U(2)U\in\mathrm U(2)U∈U(2) and every YYY, and such that Λ=Ψ∘Dα\Lambda=\Psi\circ D_\alphaΛ=Ψ∘Dα​ is a channel attaining

sup⁡Γ channelFf(Γ),Ff(Γ)=inf⁡x∈WnU∈U(2)Re⁡tr⁡ ⁣[U∣f(x)⟩⟨f(x)∣U† Γ ⁣(U⊗n∣x⟩⟨x∣(U⊗n)†)].\sup_{\Gamma\ \mathrm{channel}}F_f(\Gamma), \quad F_f(\Gamma)= \inf_{\substack{x\in W_n\\U\in\mathrm U(2)}} \operatorname{Re}\operatorname{tr}\!\left[ U|f(x)\rangle\langle f(x)|U^\dagger\, \Gamma\!\left(U^{\otimes n}|x\rangle\langle x|(U^{\otimes n})^\dagger\right)\right].Γ channelsup​Ff​(Γ),Ff​(Γ)=x∈Wn​U∈U(2)​inf​Retr[U∣f(x)⟩⟨f(x)∣U†Γ(U⊗n∣x⟩⟨x∣(U⊗n)†)].

In addition, Λ(U⊗nX(U⊗n)†)=UΛ(X)U†\Lambda(U^{\otimes n}X(U^{\otimes n})^\dagger)=U\Lambda(X)U^\daggerΛ(U⊗nX(U⊗n)†)=UΛ(X)U† for every U,XU,XU,X. Here tensor powers have entries ∏jUxj,yj\prod_jU_{x_j,y_j}∏j​Uxj​,yj​​, channels are precisely finite Kraus sums ∑jEjXEj†\sum_jE_jXE_j^\dagger∑j​Ej​XEj†​ with ∑jEj†Ej=I\sum_jE_j^\dagger E_j=I∑j​Ej†​Ej​=I, empty products are 111, and n=1n=1n=1 is included.

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