Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Robust finite-dimensional Hudson theorem

Open
QAlgorithms.Papers.Independent.Extend50.P30.robustHudson

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

prove2quantum

Let d≥2d\geq2d≥2 be odd, possibly composite, and ψ\psiψ any normalized pure state of nnn qudits. Define its Wigner sum-negativity by sn(ψ)=∑xmax⁡{0,−wψ(x)}\mathrm{sn}(\psi)=\sum_x\max\{0,-w_\psi(x)\}sn(ψ)=∑x​max{0,−wψ​(x)}. There is a pure stabilizer state SSS with the fidelity lower bound below. No small-negativity hypothesis is needed.

∣⟨S∣ψ⟩∣2≥1−9d2sn(ψ).|\langle S|\psi\rangle|^2\geq1-9d^2\mathrm{sn}(\psi).∣⟨S∣ψ⟩∣2≥1−9d2sn(ψ).

This gives the source's robust finite-dimensional hudson 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.60, Theorem 8.4: robust Hudson stabilizerOverlap lower bound, for every odd d, without a smallness assumption. -/
theorem robustHudson (d n : ℕ) [NeZero d] (hd : 2 ≤ d) (hodd : Odd d)
    (v : EuclideanSpace ℂ (ResidueRegister d n)) (hv : ‖v‖ = 1) :
    ∃ S : QuditOperator d n, S ∈ stabilizers d n ∧
      1 - 9 * (d : ℝ) ^ 2 * sumNegativity v ≤ stabilizerOverlap S v := 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. 60, theorem-8.4
Read-back

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

For all natural numbers d,nd,nd,n, with d≠0d\ne0d=0, d≥2d\ge2d≥2, and ddd odd, put R=(Z/dZ)nR=(\mathbb Z/d\mathbb Z)^nR=(Z/dZ)n, V=R×RV=R\times RV=R×R, ω=e2πi/d\omega=e^{2\pi i/d}ω=e2πi/d, and τ=(−1)deπi/d\tau=(-1)^de^{\pi i/d}τ=(−1)deπi/d. Define

(Wp,q)a,b=1{a=b+q}τ−∑jpˉjqˉjω∑jpˉjaˉj,[u,w]=∑j(u1jw2j−u2jw1j),Ax=d−n∑y∈Vω−[x,y]‾Wy†,(W_{p,q})_{a,b}=\mathbf1_{\{a=b+q\}}\tau^{-\sum_j\bar p_j\bar q_j}\omega^{\sum_j\bar p_j\bar a_j}, \quad [u,w]=\sum_j(u_{1j}w_{2j}-u_{2j}w_{1j}), \quad A_x=d^{-n}\sum_{y\in V}\omega^{-\overline{[x,y]}}W_y^\dagger,(Wp,q​)a,b​=1{a=b+q}​τ−∑j​pˉ​j​qˉ​j​ω∑j​pˉ​j​aˉj​,[u,w]=j∑​(u1j​w2j​−u2j​w1j​),Ax​=d−ny∈V∑​ω−[x,y]​Wy†​,

using standard nonnegative residue representatives, and set Wv(x)=d−nRe⁡tr⁡(Axvv†)\mathcal W_v(x)=d^{-n}\operatorname{Re}\operatorname{tr}(A_xvv^\dagger)Wv​(x)=d−nRetr(Ax​vv†) and N(v)=∑x∈Vmax⁡(0,−Wv(x))N(v)=\sum_{x\in V}\max(0,-\mathcal W_v(x))N(v)=∑x∈V​max(0,−Wv​(x)). Form P={τhWp,q:0≤h<d, p,q∈R}\mathcal P=\{\tau^hW_{p,q}:0\le h<d,\ p,q\in R\}P={τhWp,q​:0≤h<d, p,q∈R}. For each subset G⊆PG\subseteq\mathcal PG⊆P containing the identity, closed under multiplication and adjoints, and satisfying A=cI, A∈G⇒c=1A=cI,\ A\in G\Rightarrow c=1A=cI, A∈G⇒c=1, form PG=∣G∣−1∑P∈GPP_G=|G|^{-1}\sum_{P\in G}PPG​=∣G∣−1∑P∈G​P and SG=(tr⁡PG)−1PGS_G=(\operatorname{tr}P_G)^{-1}P_GSG​=(trPG​)−1PG​; retain those SGS_GSG​ that equal uu†uu^\daggeruu† for some unit vector uuu. Then every unit vector v∈CRv\in\mathbb C^Rv∈CR admits one of these retained matrices SSS such that

1−9d2N(v)≤Re⁡tr⁡(Svv†).1-9d^2N(v)\le\operatorname{Re}\operatorname{tr}(Svv^\dagger).1−9d2N(v)≤Retr(Svv†).

Inverses in the construction use 0−1=00^{-1}=00−1=0. The statement makes no primality assumption on ddd and includes n=0n=0n=0; it also applies when its lower bound is nonpositive.

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