Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Pure-state exponential stabilizer de Finetti theorem

Open
QAlgorithms.Papers.Independent.Extend50.P30.pureExponentialDeFinetti

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

prove2quantum

Let ddd be prime, t≥1t\geq1t≥1, and let Ψ\PsiΨ be a normalized symmetric ttt-block pure state, each block consisting of nnn qudits. Assume every graph unitary R(O)R(O)R(O), O∈Ot(d)O\in O_t(d)O∈Ot​(d), fixes the vector itself. For 1≤s≤t1\leq s\leq t1≤s≤t, a probability distribution ppp on pure stabilizer density matrices approximates the first sss blocks in half the trace norm. No small-error assumption is imposed.

12∥Ψ1…s−∑Sp(S)S⊗s∥1≤2d(n+2)2/2d−(t−s)/2.\frac12\left\|\Psi_{1\ldots s}-\sum_Sp(S)S^{\otimes s}\right\|_1\leq2d^{(n+2)^2/2}d^{-(t-s)/2}.21​​Ψ1…s​−S∑​p(S)S⊗s​1​≤2d(n+2)2/2d−(t−s)/2.

This gives the source's pure-state exponential stabilizer de finetti theorem 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.54, Theorem 7.2: vector invariance and the full exponential bound; no small-error assumption. -/
theorem pureExponentialDeFinetti (d n t s : ℕ) [NeZero d] [Fact (Nat.Prime d)]
    (ht : 1 ≤ t) (hs : 1 ≤ s) (hst : s ≤ t)
    (v : EuclideanSpace ℂ (QuditCopies d n t)) (hv : ‖v‖ = 1) (hsym : IsPermutationSymmetric v)
    (hinv : ∀ O : StochasticOrthogonal d t,
      QAlgorithms.act (tensorRelation n (graphRelation O.val)) v = v) :
    ∃ p : QuditOperator d n → ℝ, IsDistributionOn (stabilizers d n) p ∧
      QAlgorithms.traceNorm (copyPrefixReduction s hst (QAlgorithms.pureDensity v) -
        stabilizerMixture s (stabilizers d n) p) / 2 ≤
          2 * Real.rpow (d : ℝ) (((n : ℝ) + 2) ^ 2 / 2) *
            Real.rpow (d : ℝ) (-((t - s : ℕ) : ℝ) / 2) := 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. 54, theorem-7.2
Read-back

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

For every nonzero prime natural number ddd, natural numbers n,t,sn,t,sn,t,s with t≥1t\ge1t≥1 and 1≤s≤t1\le s\le t1≤s≤t, and unit vector v∈ℓ2(Vnt;C)v\in\ell^2(V_n^t;\mathbb C)v∈ℓ2(Vnt​;C), where Vr=(Z/dZ)rV_r=(\mathbb Z/d\mathbb Z)^rVr​=(Z/dZ)r, assume that v(x∘π)=v(x)v(x\circ\pi)=v(x)v(x∘π)=v(x) for every permutation π\piπ of the ttt copies. Put Dd=2dD_d=2dDd​=2d for even ddd and Dd=dD_d=dDd​=d otherwise, and q(x)=∑i<tx^i2q(x)=\sum_{i<t}\widehat x_i^2q(x)=∑i<t​xi2​ in Z/DdZ\mathbb Z/D_d\mathbb ZZ/Dd​Z. For every t×tt\times tt×t matrix OOO over Z/dZ\mathbb Z/d\mathbb ZZ/dZ satisfying q(Ox)=q(x)q(Ox)=q(x)q(Ox)=q(x) for all x∈Vtx\in V_tx∈Vt​ and O1=1O\mathbf1=\mathbf1O1=1, also assume Rn(O)v=vR_n(O)v=vRn​(O)v=v, where

Rn(O)x,y=∏j<n1(xi(j))i<t=O(yi(j))i<t.R_n(O)_{x,y}=\prod_{j<n}\mathbf1_{(x_i(j))_{i<t}=O(y_i(j))_{i<t}}.Rn​(O)x,y​=j<n∏​1(xi​(j))i<t​=O(yi​(j))i<t​​.

Define the finite set Sd,n\mathcal S_{d,n}Sd,n​ as follows: put ω=e2πi/d\omega=e^{2\pi i/d}ω=e2πi/d, τ=(−1)deπi/d\tau=(-1)^de^{\pi i/d}τ=(−1)deπi/d, define Wa,b(u,w)=τ−∑ja^jb^jω∑ja^ju^jW_{a,b}(u,w)=\tau^{-\sum_j\widehat a_j\widehat b_j}\omega^{\sum_j\widehat a_j\widehat u_j}Wa,b​(u,w)=τ−∑j​aj​bj​ω∑j​aj​uj​ when u=w+bu=w+bu=w+b, and 000 otherwise, and form P={τcWa,b:0≤c<Dd, a,b∈Vn}\mathcal P=\{\tau^cW_{a,b}:0\le c<D_d,\ a,b\in V_n\}P={τcWa,b​:0≤c<Dd​, a,b∈Vn​}; for each G⊆PG\subseteq\mathcal PG⊆P containing III, closed under multiplication and conjugate transpose, and containing no scalar cIcIcI except III, set PG=∣G∣−1∑A∈GAP_G=|G|^{-1}\sum_{A\in G}APG​=∣G∣−1∑A∈G​A; retain precisely those matrices (tr⁡PG)−1PG(\operatorname{tr}P_G)^{-1}P_G(trPG​)−1PG​ that equal uu†uu^\daggeruu† for a unit vector uuu. Then there exists a real-valued function ppp on all matrices on VnV_nVn​ such that p(S)≥0p(S)\ge0p(S)≥0 for every S∈Sd,nS\in\mathcal S_{d,n}S∈Sd,n​, ∑S∈Sd,np(S)=1\sum_{S\in\mathcal S_{d,n}}p(S)=1∑S∈Sd,n​​p(S)=1, and

12∥ρs−∑S∈Sd,np(S)S⊗s∥tr≤2d(n+2)2/2 d−(t−s)/2.\frac12\left\| \rho_s-\sum_{S\in\mathcal S_{d,n}}p(S)S^{\otimes s} \right\|_{\mathrm{tr}} \le 2d^{(n+2)^2/2}\,d^{-(t-s)/2}.21​​ρs​−S∈Sd,n​∑​p(S)S⊗s​tr​≤2d(n+2)2/2d−(t−s)/2.

Here ρs(x,y)=∑z∈Vn t−sv(x∥z)v(y∥z)‾\rho_s(x,y)=\sum_{z\in V_n^{\,t-s}}v(x\mathbin{\|}z)\overline{v(y\mathbin{\|}z)}ρs​(x,y)=∑z∈Vnt−s​​v(x∥z)v(y∥z)​, concatenation places the sss retained copies first, (S⊗s)x,y=∏i<sSxi,yi(S^{\otimes s})_{x,y}=\prod_{i<s}S_{x_i,y_i}(S⊗s)x,y​=∏i<s​Sxi​,yi​​, and ∥X∥tr=Re⁡tr⁡X†X\|X\|_{\mathrm{tr}}=\operatorname{Re}\operatorname{tr}\sqrt{X^\dagger X}∥X∥tr​=RetrX†X​. The function ppp is unrestricted outside Sd,n\mathcal S_{d,n}Sd,n​. The hypotheses permit n=0n=0n=0 and s=ts=ts=t; since s≤ts\le ts≤t, the natural subtraction t−st-st−s is the ordinary nonnegative difference.

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