Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 4: Approximate Eastin-Knill theorem, Eqs.(51)–(52)

Open
QAlgorithms.Papers.Independent.Extend50.P22.approximate_eastin_knill

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

prove2quantum

Let an isometry V:L→⨂i=1nAiV:L\to\bigotimes_{i=1}^n A_iV:L→⨂i=1n​Ai​ encode a logical system of dimension d≥1d\ge1d≥1 into n≥1n\ge1n≥1 finite subsystems of positive dimensions did_idi​. A located erasure replaces erased sites by fixed pure states and supplies an orthogonal location flag. Write ϵworst=1−fworst2\epsilon_{\rm worst}=\sqrt{1-f_{\rm worst}^2}ϵworst​=1−fworst2​​, where one CPTP recovery is optimized before minimizing root entanglement fidelity over all unit vectors on L⊗RL\otimes RL⊗R, with R≃LR\simeq LR≃L. Write ϵe=1−fe2\epsilon_e=\sqrt{1-f_e^2}ϵe​=1−fe2​​ for optimal root entanglement fidelity at the normalized maximally entangled input. Unless specified otherwise, single-site erasure is uniform. Assume the defining logical SU(d)SU(d)SU(d) action, d≥2d\ge2d≥2, has a continuous transversal physical representation. Put D=max⁡idiD=\max_i d_iD=maxi​di​ and e=ϵworste=\epsilon_{\rm worst}e=ϵworst​. Both errors are positive and

ln⁡D≥ln⁡(d−1)−ln⁡(1+(2ne)−1)2ne,ln⁡D≥(d−1)ln⁡12end.\ln D\ge\frac{\ln(d-1)-\ln(1+(2ne)^{-1})}{2ne},\qquad \ln D\ge(d-1)\ln\frac1{2end}.lnD≥2neln(d−1)−ln(1+(2ne)−1)​,lnD≥(d−1)ln2end1​.

In the second bound one can replace eee by dϵe/2d\epsilon_e/2dϵe​/2. There are absolute C>0C>0C>0 and d0≥2d_0\ge2d0​≥2, independent of the code and nnn, such that for d≥d0d\ge d_0d≥d0​,

e≥12nln⁡D−Cnd,d2ϵe≥12nln⁡D−Cnd.e\ge\frac1{2n\ln D}-\frac{C}{nd},\qquad \frac d2\epsilon_e\ge\frac1{2n\ln D}-\frac{C}{nd}.e≥2nlnD1​−ndC​,2d​ϵe​≥2nlnD1​−ndC​.

These quantify the local dimension cost of universal transversal gates.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P22
Formal statement
noncomputable section

open scoped Matrix ComplexConjugate ComplexOrder

namespace QAlgorithms.Papers.Independent.Extend50.P22

attribute [local instance] Classical.propDecidable Classical.decEq

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

open QAlgorithms.Papers.Independent.Support21.P09 (Irreducible)

open QAlgorithms.Papers.Independent.Renew46.P45 (symmetricWeight)

/-- PDF pp.14–15, Theorem 4, (51),(52a),(52b), including the stated average variants.
The universal one-sided O constant is chosen before d,n and the code. -/
theorem approximate_eastin_knill :
    (∀ {d n : ℕ} (c : CovariantErasureCodeData d n), 2 ≤ d → SUCovariant c →
      0 < errorWorst c.uniformNoise ∧ 0 < errorE c.uniformNoise ∧
      c.logDim ≥ Real.log (d - 1 : ℝ) / (2 * n * errorWorst c.uniformNoise) -
        Real.log (1 + (2 * n * errorWorst c.uniformNoise)⁻¹) /
          (2 * n * errorWorst c.uniformNoise) ∧
      c.logDim ≥ (d - 1 : ℝ) * Real.log ((2 * errorWorst c.uniformNoise * n * d)⁻¹) ∧
      c.logDim ≥ (d - 1 : ℝ) * Real.log ((n * d ^ 2 * errorE c.uniformNoise)⁻¹)) ∧
    (∃ C : ℝ, 0 < C ∧ ∃ d0 : ℕ, 2 ≤ d0 ∧
      ∀ {d n : ℕ} (c : CovariantErasureCodeData d n), d0 ≤ d → SUCovariant c →
        errorWorst c.uniformNoise ≥ (2 * n * c.logDim)⁻¹ - C / (n * d) ∧
        (d : ℝ) * errorE c.uniformNoise / 2 ≥
          (2 * n * c.logDim)⁻¹ - C / (n * d)) := by sorry

end QAlgorithms.Papers.Independent.Extend50.P22

end
Source
Continuous symmetries and approximate quantum error correction, arXiv:1902.07714v1, PDF p. 15, Theorem 4: Approximate Eastin-Knill theorem, Eqs.(51)–(52)
Read-back

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

For positive natural numbers d,nd,nd,n, consider positive natural local dimensions did_idi​ and an isometry V:Cd→H=⨂i=0n−1CdiV:\mathbb C^d\to\mathcal H=\bigotimes_{i=0}^{n-1}\mathbb C^{d_i}V:Cd→H=⨂i=0n−1​Cdi​, so V†V=IdV^\dagger V=I_dV†V=Id​. Put D=max⁡idiD=\max_i d_iD=maxi​di​ and L=ln⁡DL=\ln DL=lnD. Assume special-unitary covariance means that there exist continuous group homomorphisms ri:SU(d)→U(di)r_i:SU(d)\to U(d_i)ri​:SU(d)→U(di​) satisfying (⨂iri(U))V=VU(\bigotimes_i r_i(U))V=VU(⨂i​ri​(U))V=VU for every U∈SU(d)U\in SU(d)U∈SU(d). Let Ei\mathcal E_iEi​ trace out site iii and reset it to the coordinate-zero basis state, and put C(X)=⨁in−1Ei(VXV†)\mathcal C(X)=\bigoplus_i n^{-1}\mathcal E_i(VXV^\dagger)C(X)=⨁i​n−1Ei​(VXV†), with the erased location recorded by the direct-sum label. Define F(ρ,σ)=Re⁡tr⁡ρ σρF(\rho,\sigma)=\operatorname{Re}\operatorname{tr}\sqrt{\sqrt\rho\,\sigma\sqrt\rho}F(ρ,σ)=Retrρ​σρ​​, Φd=d−1/2∑a∣a,a⟩\Phi_d=d^{-1/2}\sum_a|a,a\rangleΦd​=d−1/2∑a​∣a,a⟩, and

ew=1−(sup⁡Rinf⁡∥ψ∥=1F ⁣(∣ψ⟩⟨ψ∣,(id⁡d⊗(R∘C))(∣ψ⟩⟨ψ∣)))2,eE=1−(sup⁡RF ⁣(∣Φd⟩⟨Φd∣,(id⁡d⊗(R∘C))(∣Φd⟩⟨Φd∣)))2.\begin{aligned} e_{\mathrm w} &=\sqrt{1-\left( \sup_{\mathcal R}\inf_{\|\psi\|=1} F\!\left(|\psi\rangle\langle\psi|, (\operatorname{id}_d\otimes(\mathcal R\circ\mathcal C))(|\psi\rangle\langle\psi|) \right)\right)^2},\\ e_{\mathrm E} &=\sqrt{1-\left( \sup_{\mathcal R} F\!\left(|\Phi_d\rangle\langle\Phi_d|, (\operatorname{id}_d\otimes(\mathcal R\circ\mathcal C))(|\Phi_d\rangle\langle\Phi_d|) \right)\right)^2}. \end{aligned}ew​eE​​=1−(Rsup​∥ψ∥=1inf​F(∣ψ⟩⟨ψ∣,(idd​⊗(R∘C))(∣ψ⟩⟨ψ∣)))2​,=1−(Rsup​F(∣Φd​⟩⟨Φd​∣,(idd​⊗(R∘C))(∣Φd​⟩⟨Φd​∣)))2​.​

Here ψ\psiψ ranges over unit vectors in Cd⊗Cd\mathbb C^d\otimes\mathbb C^dCd⊗Cd, and every recovery map has a finite Kraus representation R(Y)=∑jKjYKj†\mathcal R(Y)=\sum_jK_jYK_j^\daggerR(Y)=∑j​Kj​YKj†​ with ∑jKj†Kj=I\sum_jK_j^\dagger K_j=I∑j​Kj†​Kj​=I. The declaration asserts both of the following: for every such code with d≥2d\ge2d≥2 and the stated covariance,

ew>0,eE>0,L≥ln⁡(d−1)2new−ln⁡ ⁣(1+(2new)−1)2new,L≥(d−1)ln⁡ ⁣((2ewnd)−1),L≥(d−1)ln⁡ ⁣((nd2eE)−1);\begin{gathered} e_{\mathrm w}>0,\qquad e_{\mathrm E}>0,\\ L\ge \frac{\ln(d-1)}{2ne_{\mathrm w}} -\frac{\ln\!\left(1+(2ne_{\mathrm w})^{-1}\right)}{2ne_{\mathrm w}},\\ L\ge(d-1)\ln\!\left((2e_{\mathrm w}nd)^{-1}\right),\qquad L\ge(d-1)\ln\!\left((nd^2e_{\mathrm E})^{-1}\right); \end{gathered}ew​>0,eE​>0,L≥2new​ln(d−1)​−2new​ln(1+(2new​)−1)​,L≥(d−1)ln((2ew​nd)−1),L≥(d−1)ln((nd2eE​)−1);​

and there exist a real constant C>0C>0C>0 and a natural number d0≥2d_0\ge2d0​≥2 such that, for every such code with d≥d0d\ge d_0d≥d0​ and the stated covariance,

ew≥(2nL)−1−Cnd,d eE2≥(2nL)−1−Cnd.e_{\mathrm w}\ge(2nL)^{-1}-\frac{C}{nd}, \qquad \frac{d\,e_{\mathrm E}}2\ge(2nL)^{-1}-\frac{C}{nd}.ew​≥(2nL)−1−ndC​,2deE​​≥(2nL)−1−ndC​.

The constants in the second assertion precede and are uniform over the code, ddd, and nnn. All logarithms are natural; real inversion is total, so an inverse with zero denominator, including (2nL)−1(2nL)^{-1}(2nL)−1 when L=0L=0L=0, is defined to be zero.

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