Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Uniform fixed-size erasure lower bound for all covariant codes

Open
QAlgorithms.Papers.Independent.Extend50.P15.uniform_weak_erasure_lower_bound

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

prove2quantum

Let d≥2d\ge2d≥2 and 1≤ne≤n1\le n_e\le n1≤ne​≤n. Consider any CPTP encoder from one logical ddd-level system to nnn physical ddd-level systems that exactly intertwines all defining SU(d)\mathrm{SU}(d)SU(d) gates with a fixed transversal product of that gate or identity on each site. Let the decoder be any CPTP recovery from the full flagged output space. Erase a uniformly selected subset of exactly nen_ene​ sites: each such subset has probability (nne)−1\binom n{n_e}^{-1}(ne​n​)−1 and all other subsets have probability zero. Then

ϵcov≥116n2(1+1/ne).\epsilon_{\mathrm{cov}}\ge\frac{1}{16n^2(1+1/n_e)}.ϵcov​≥16n2(1+1/ne​)1​.

Here ϵcov\epsilon_{\mathrm{cov}}ϵcov​ is the maximum over logical gates of half the diamond distance between the implemented and ideal logical channel. The result constrains every such covariant code, independently of any reference-frame ansatz.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P15
Formal statement
noncomputable section

open MeasureTheory

open scoped Matrix ComplexConjugate Matrix.Norms.L2Operator

namespace QAlgorithms.Papers.Independent.Extend50.P15

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

open QAlgorithms.Papers.Independent.Information100.P56 (normalizedChoi)

open QAlgorithms.Papers.Independent.Information100.P75 (Register)

attribute [local instance] Classical.propDecidable

attribute [local instance] Classical.decEq

/-- Proposition 1, B20, PDF pp.5,23. All covariant codes are covered, independently
of Protocol 1; the subset law, p0=0, and 1≤ne≤n are explicit. -/
theorem uniform_weak_erasure_lower_bound (d n ne : ℕ) (hd : 2 ≤ d)
    (hne : 1 ≤ ne) (hnen : ne ≤ n) (code : CovariantCode d n) :
    1 / (16 * (n : ℝ) ^ 2 * (1 + 1 / (ne : ℝ))) ≤
      covariantError code (uniformSubsetErasure d n ne) := by sorry

end QAlgorithms.Papers.Independent.Extend50.P15

end
Source
Optimal Universal Quantum Error Correction via Bounded Reference Frames, arXiv:2007.09154v2, PDF p. 23, Proposition 1, B19--B20
Read-back

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

For every d,n,ne∈Nd,n,n_e\in\mathbb Nd,n,ne​∈N satisfying d≥2d\ge2d≥2 and 1≤ne≤n1\le n_e\le n1≤ne​≤n, and every code with an arbitrary activity mask aaa, encoder E\mathcal EE from matrices on {0,…,d−1}\{0,\ldots,d-1\}{0,…,d−1} to matrices on H=({0,…,d−1})nH=(\{0,\ldots,d-1\})^nH=({0,…,d−1})n, and decoder D\mathcal DD from matrices on flagged strings F=({none}⊔{some(i):0≤i<d})nF=(\{\mathrm{none}\}\sqcup\{\mathrm{some}(i):0\le i<d\})^nF=({none}⊔{some(i):0≤i<d})n back to matrices on {0,…,d−1}\{0,\ldots,d-1\}{0,…,d−1}, the following bound holds:

116n2(1+1/ne)≤sup⁡U∈SU(d)sup⁡k∈N, k>0ρ⪰0, tr⁡ρ=112∥(id⁡k⊗[D∘Un,ne∘Ad⁡TU∘E])(ρ)−(id⁡k⊗Ad⁡U)(ρ)∥1.\frac{1}{16n^2(1+1/n_e)} \le \sup_{U\in SU(d)} \sup_{\substack{k\in\mathbb N,\ k>0\\\rho\succeq0,\ \operatorname{tr}\rho=1}} \frac12\left\| (\operatorname{id}_k\otimes[\mathcal D\circ\mathcal U_{n,n_e}\circ\operatorname{Ad}_{T_U}\circ\mathcal E])(\rho) -(\operatorname{id}_k\otimes\operatorname{Ad}_U)(\rho) \right\|_1.16n2(1+1/ne​)1​≤U∈SU(d)sup​k∈N, k>0ρ⪰0, trρ=1​sup​21​∥(idk​⊗[D∘Un,ne​​∘AdTU​​∘E])(ρ)−(idk​⊗AdU​)(ρ)∥1​.

The code assumptions are that both E\mathcal EE and D\mathcal DD admit finite Kraus representations Φ(X)=∑jKjXKj†\Phi(X)=\sum_jK_jXK_j^\daggerΦ(X)=∑j​Kj​XKj†​ with ∑jKj†Kj=I\sum_jK_j^\dagger K_j=I∑j​Kj†​Kj​=I, and that E(UXU†)=TUE(X)TU†\mathcal E(UXU^\dagger)=T_U\mathcal E(X)T_U^\daggerE(UXU†)=TU​E(X)TU†​ for every U∈SU(d)U\in SU(d)U∈SU(d) and every XXX; here TUT_UTU​ applies UUU at precisely the coordinates where aj=truea_j=\mathrm{true}aj​=true, and the identity elsewhere. The noise Un,ne\mathcal U_{n,n_e}Un,ne​​ is the average over all nen_ene​-element coordinate subsets sss, where its component for sss sends ∣x⟩⟨y∣|x\rangle\langle y|∣x⟩⟨y∣ to (∏j∈s1xj=yj)∣fs(x)⟩⟨fs(y)∣\left(\prod_{j\in s}\mathbf1_{x_j=y_j}\right)|f_s(x)\rangle\langle f_s(y)|(∏j∈s​1xj​=yj​​)∣fs​(x)⟩⟨fs​(y)∣, and fsf_sfs​ replaces coordinates in sss by none\mathrm{none}none and all others by their some\mathrm{some}some-labels. The matrix ρ\rhoρ is on the reference register of size kkk together with the logical register of size ddd, Ad⁡V(X)=VXV†\operatorname{Ad}_V(X)=VXV^\daggerAdV​(X)=VXV†, and ∥Z∥1=Re⁡tr⁡Z†Z\|Z\|_1=\operatorname{Re}\operatorname{tr}\sqrt{Z^\dagger Z}∥Z∥1​=RetrZ†Z​. In particular, the hypotheses exclude n=0n=0n=0 and include ne=nn_e=nne​=n.

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