Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§V: exact symmetric 2-design extension

Open
QAlgorithms.Papers.Independent.Extend50.P09.symmetric_twoDesign_extension

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

prove2quantum

Let n,k,t,αn,k,t,\alphan,k,t,α be integers with 0≤k,t≤n0\le k,t\le n0≤k,t≤n and 0≤α≤n−k0\le\alpha\le n-k0≤α≤n−k. Append a fixed unit vector of charge α\alphaα to kkk logical qubits and conjugate by a Haar-random unitary in the full commutant of the nnn-qubit Hamming-weight operator. Erase a fixed known set of ttt sites. Let ϵChoi\epsilon_{\rm Choi}ϵChoi​ and ϵworst\epsilon_{\rm worst}ϵworst​ denote the optimal CPTP recovery errors, using root fidelity FFF and purified distance P=1−F2P=\sqrt{1-F^2}P=1−F2​, respectively on the normalized maximally entangled input and on all reference-entangled inputs with one common decoder.

Fix an integer d≥2d\ge2d≥2. For n≥2n\ge2n≥2 let λ\lambdaλ partition n−1n-1n−1 with at most ddd rows, and let lλ,rλl_\lambda,r_\lambdalλ​,rλ​ be the actual Schur and Specht module dimensions. Append the physical isotypic embedding of ILλ/lλ⊗∣ψλ⟩⟨ψλ∣I_{L_\lambda}/l_\lambda\otimes|\psi_\lambda\rangle\langle\psi_\lambda|ILλ​​/lλ​⊗∣ψλ​⟩⟨ψλ​∣, where ψλ\psi_\lambdaψλ​ is a fixed unit Specht vector, to one logical ddd-level system. Conjugate by Haar measure on the determinant-one commutant of the collective SU(d)SU(d)SU(d) action and erase one fixed known site. Errors mean optimal CPTP recovery measured in root-fidelity purified distance, with normalized Choi input and a decoder chosen before the worst reference-entangled input.

Replace each Haar distribution by any probability law supported on its same commutant whose full physical first and second conjugation moments equal Haar moments. This includes joint cross-block moments and relative phases. Then all four main expectation and exponential-tail bounds continue to hold:

Theorems 2, 3, 5 and 6 hold for exact symmetric unitary 2-designs.\text{Theorems 2, 3, 5 and 6 hold for exact symmetric unitary 2-designs.}Theorems 2, 3, 5 and 6 hold for exact symmetric unitary 2-designs.

No approximate-design tolerance or circuit depth/size theorem is asserted; the SU(d) recovery proof caveat remains recorded.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P09
Formal statement
noncomputable section

open scoped Matrix Matrix.Norms.Elementwise ComplexConjugate ENNReal ComplexOrder

open MeasureTheory Filter

namespace QAlgorithms.Papers.Independent.Extend50.P09

attribute [local instance] Classical.propDecidable Classical.decEq

-- Exact generic definitions from the pinned accepted library.

open QAlgorithms.Papers.Independent.Information100.P22 (Op mixed bell)

open QAlgorithms.Papers.Independent.Information100.P67 (conditionalMinEntropy)

open QAlgorithms.Papers.Independent.Advance50.P02 (negLog)

attribute [local instance] QAlgorithms.Papers.Independent.Extend50.P09.covariantMatrixMeasurable

attribute [local instance] QAlgorithms.Papers.Independent.Extend50.P09.covariantMatrixBorel

/-- §V, PDF p.13: full joint symmetric 2-design moments suffice for all
four main bounds. No convergence rate, depth or approximation tolerance. -/
theorem symmetric_twoDesign_extension
    (u1 h1 : PhysicalUnitaryLaws 2) (hU : ∀ n, DesignLaw (U1Group n) (u1 n) (h1 n))
    (d : ℕ) (hd : 2 ≤ d) (su hs : PhysicalUnitaryLaws d)
    (hS : ∀ n, DesignLaw (SUGroup d n) (su n) (hs n)) :
    U1Performance false u1 ∧ U1Performance true u1 ∧
    SUPerformance false d su ∧ SUPerformance true d su := by sorry

end QAlgorithms.Papers.Independent.Extend50.P09

end
Source
Near-optimal covariant quantum error-correcting codes from random unitaries with symmetries, arXiv:2112.01498v2, PDF p. 13, §V: exact symmetric 2-design extension
Read-back

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

Write Wd,n={0,…,d−1}n\mathcal W_{d,n}=\{0,\ldots,d-1\}^{n}Wd,n​={0,…,d−1}n. Let (μn),(μ^n)(\mu_n),(\widehat\mu_n)(μn​),(μ​n​) be measure families on matrices on W2,n\mathcal W_{2,n}W2,n​, and let d≥2d\ge2d≥2 and (νn),(ν^n)(\nu_n),(\widehat\nu_n)(νn​),(νn​) be measure families on matrices on Wd,n\mathcal W_{d,n}Wd,n​. For every nnn, assume μn\mu_nμn​ is a probability measure concentrated on U†U=IU^\dagger U=IU†U=I commuting with the diagonal weight matrix Qn(x,x)=∑ixiQ_n(x,x)=\sum_i x_iQn​(x,x)=∑i​xi​; assume μ^n\widehat\mu_nμ​n​ is a probability measure concentrated on the same matrices and invariant under left multiplication by each of them. Assume likewise that νn\nu_nνn​ is a probability measure concentrated on V†V=I,det⁡V=1V^\dagger V=I,\det V=1V†V=I,detV=1 commuting with all W⊗nW^{\otimes n}W⊗n for W†W=I,det⁡W=1W^\dagger W=I,\det W=1W†W=I,detW=1, and that ν^n\widehat\nu_nνn​ is a probability measure concentrated there and invariant under their left multiplication. In both pairs, assume that for s=1,2s=1,2s=1,2 and every four lists of indices a,b,c,ea,b,c,ea,b,c,e of length sss, the two measures give equal integrals of

(∏i<sUai,bi)(∏i<sUci,ei)‾.\left(\prod_{i<s}U_{a_i,b_i}\right) \overline{\left(\prod_{i<s}U_{c_i,e_i}\right)}.(i<s∏​Uai​,bi​​)(i<s∏​Uci​,ei​​)​.

These assumptions apply also at n=0n=0n=0. For an ancillary matrix τ\tauτ and erased set SSS, put CU,τ,S(X)=Tr⁡S[U(X⊗τ)U†]\mathcal C_{U,\tau,S}(X)=\operatorname{Tr}_{S}[U(X\otimes\tau)U^\dagger]CU,τ,S​(X)=TrS​[U(X⊗τ)U†]. Let p(A,B)=1−(Re⁡tr⁡A BA)2p(A,B)=\sqrt{1-(\operatorname{Re}\operatorname{tr}\sqrt{\sqrt A\,B\sqrt A})^2}p(A,B)=1−(RetrA​BA​​)2​, interpreted using the defined functional calculus. Define e0(C)e_0(\mathcal C)e0​(C) by minimizing the distance between a normalized maximally entangled logical state and its image under id⁡⊗DC\operatorname{id}\otimes\mathcal D\mathcal Cid⊗DC, and e1(C)e_1(\mathcal C)e1​(C) by minimizing, over D\mathcal DD, the supremum of that distance over every unit pure vector on two logical registers; recovery maps have finitely many Kraus operators satisfying ∑K†K=I\sum K^\dagger K=I∑K†K=I. The assertion gives, separately for w=0,1w=0,1w=0,1, the following bounds under μ\muμ: for every a∈(0,1)a\in(0,1)a∈(0,1), there exist C,c>0C,c>0C,c>0 such that for all natural-valued sequences Ni,ki,ti,αiN_i,k_i,t_i,\alpha_iNi​,ki​,ti​,αi​ with Ni→∞N_i\to\inftyNi​→∞, Rw(Ni,ki,ti)→0R_w(N_i,k_i,t_i)\to0Rw​(Ni​,ki​,ti​)→0, and at every index Ni,ki,ti>0N_i,k_i,t_i>0Ni​,ki​,ti​>0, ki,ti≤Nik_i,t_i\le N_iki​,ti​≤Ni​, αi≤Ni−ki\alpha_i\le N_i-k_iαi​≤Ni​−ki​, αi=aNi\alpha_i=aN_iαi​=aNi​, eventually every unit ancillary vector supported on weight αi\alpha_iαi​ and every erased set of size tit_iti​ satisfy mean error at most bbb and real measure of error exceeding bbb at most e−cNie^{-cN_i}e−cNi​, where

R0=k2t2N,R1=kt2N,b=Lw(1+CRw),L0=tk4Na(1−a),L1=kt4Na(1−a).R_0=\frac{k^2t^2}{N},\quad R_1=\frac{kt^2}{N},\qquad b=L_w(1+CR_w),\quad L_0=\frac{\sqrt{tk}}{4N\sqrt{a(1-a)}},\quad L_1=\frac{k\sqrt t}{4N\sqrt{a(1-a)}}.R0​=Nk2t2​,R1​=Nkt2​,b=Lw​(1+CRw​),L0​=4Na(1−a)​tk​​,L1​=4Na(1−a)​kt​​.

The exact integer charge condition is required and admits no such sequences for irrational aaa. Separately for w=0,1w=0,1w=0,1, the assertion gives these bounds under ν\nuν: for every η>0\eta>0η>0, there are C,c>0,n0C,c>0,n_0C,c>0,n0​ such that every n≥n0n\ge n_0n≥n0​, n≥2n\ge2n≥2, every diagram λ\lambdaλ with n−1n-1n−1 cells and at most ddd rows satisfying ηn≤n−λ0\eta n\le n-\lambda_0ηn≤n−λ0​, every unit ψ∈Crλ\psi\in\mathbb C^{r_\lambda}ψ∈Crλ​, and every singleton erased set have mean error at most bn=d2−1/(2n)+C/n2b_n=\sqrt{d^2-1}/(2n)+C/n^2bn​=d2−1​/(2n)+C/n2 and real measure of exceeding bnb_nbn​ at most e−cne^{-cn}e−cn, for one logical coordinate and the following ancillary operator. Under the defined cell numbering let Rλ,CλR_\lambda,C_\lambdaRλ​,Cλ​ preserve rows and columns, Tg(x,y)=1{x=y∘g−1}T_g(x,y)=\mathbf1_{\{x=y\circ g^{-1}\}}Tg​(x,y)=1{x=y∘g−1}​, Sλ=range⁡(∑a,bsgn⁡(b)1{g=hab})g,h\mathcal S_\lambda=\operatorname{range}\bigl(\sum_{a,b}\operatorname{sgn}(b)\mathbf1_{\{g=hab\}}\bigr)_{g,h}Sλ​=range(∑a,b​sgn(b)1{g=hab}​)g,h​, and Lλ=range⁡∑a,bsgn⁡(b)Tab\mathcal L_\lambda=\operatorname{range}\sum_{a,b}\operatorname{sgn}(b)T_{ab}Lλ​=range∑a,b​sgn(b)Tab​; use their defined standard orthonormal bases eλ,r,fλ,le_{\lambda,r},f_{\lambda,l}eλ,r​,fλ,l​ and dimensions rλ,lλr_\lambda,l_\lambdarλ​,lλ​. Over all diagrams of size j=n−1j=n-1j=n−1, form Yj(x,(λ,r,l))=∑geλ,r(g)(Tgfλ,l)(x)Y_j(x,(\lambda,r,l))=\sum_g e_{\lambda,r}(g)(T_gf_{\lambda,l})(x)Yj​(x,(λ,r,l))=∑g​eλ,r​(g)(Tg​fλ,l​)(x), Dj=(Yj†Yj)−1/2Yj†D_j=(Y_j^\dagger Y_j)^{-1/2}Y_j^\daggerDj​=(Yj†​Yj​)−1/2Yj†​, vl(x)=∑rDj((λ,r,l),x)‾ψrv_l(x)=\sum_r\overline{D_j((\lambda,r,l),x)}\psi_rvl​(x)=∑r​Dj​((λ,r,l),x)​ψr​, and τ=lλ−1∑l∣vl⟩⟨vl∣\tau=l_\lambda^{-1}\sum_l|v_l\rangle\langle v_l|τ=lλ−1​∑l​∣vl​⟩⟨vl​∣, with inverse square root zero at zero and total reciprocal 0−1=00^{-1}=00−1=0. No common constants are required across the four asserted properties.

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

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Oct 30, 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