Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 1, Eq.(26): covariant-code inaccuracy (original paper-result seed)

Open
QAlgorithms.Papers.Independent.Extend50.P22.covariant_charge_bound

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. Let TL,TiT_L,T_iTL​,Ti​ be Hermitian charges with (∑iTi)V=V(TL−νI)(\sum_i T_i)V=V(T_L-\nu I)(∑i​Ti​)V=V(TL​−νI) for some real offset ν\nuν, where each TiT_iTi​ acts on its own site. For a Hermitian operator TTT, let ΔT\Delta TΔT denote its largest eigenvalue minus its smallest. Then

ΔTL≤2nmax⁡iΔTi ϵworst.\Delta T_L\le2n\max_i\Delta T_i\,\epsilon_{\rm worst}.ΔTL​≤2nimax​ΔTi​ϵworst​.

This is the finite charge-range obstruction, including zero ranges.

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 p.8, Theorem 1, (26). Cross multiplication retains zero-range cases. -/
theorem covariant_charge_bound {d n : ℕ} (c : CovariantErasureCodeData d n)
    (TL : Matrix (Fin d) (Fin d) ℂ)
    (Ti : (i : Fin n) → Matrix (Fin (c.dims i)) (Fin (c.dims i)) ℂ)
    (hc : ChargeCovariant c TL Ti) :
    chargeRange TL ≤ 2 * n * finiteMax c.sitesPositive (fun i => chargeRange (Ti i)) *
      errorWorst c.uniformNoise := by sorry

end QAlgorithms.Papers.Independent.Extend50.P22

end
Source
Continuous symmetries and approximate quantum error correction, arXiv:1902.07714v1, PDF p. 8, Theorem 1, Eq.(26): covariant-code inaccuracy (original paper-result seed)
Read-back

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

Let d,nd,nd,n be natural numbers, and let ccc consist of d>0d>0d>0, n>0n>0n>0, positive local dimensions did_idi​ for i=0,…,n−1i=0,\ldots,n-1i=0,…,n−1, and a matrix V:Cd→H=⨂iCdiV:\mathbb C^d\to\mathcal H=\bigotimes_i\mathbb C^{d_i}V:Cd→H=⨂i​Cdi​ satisfying V†V=IdV^\dagger V=I_dV†V=Id​. Let TLT_LTL​ be a d×dd\times dd×d complex matrix and TiT_iTi​ a di×did_i\times d_idi​×di​ complex matrix for every iii. Assume that all these matrices are Hermitian and that there exists ν∈R\nu\in\mathbb Rν∈R such that

(∑iI⊗⋯⊗Ti⊗⋯⊗I)V=V(TL−νId).\left(\sum_i I\otimes\cdots\otimes T_i\otimes\cdots\otimes I\right)V =V(T_L-\nu I_d).(i∑​I⊗⋯⊗Ti​⊗⋯⊗I)V=V(TL​−νId​).

For a Hermitian matrix TTT, write Δ(T)=λmax⁡(T)−λmin⁡(T)\Delta(T)=\lambda_{\max}(T)-\lambda_{\min}(T)Δ(T)=λmax​(T)−λmin​(T). Define Ei\mathcal E_iEi​ to trace out physical site iii and replace that site by its coordinate-zero basis state, retaining all other sites, and define the channel with a recorded erasure location by

C(X)=⨁i=0n−11n Ei(VXV†).\mathcal C(X)=\bigoplus_{i=0}^{n-1}\frac1n\,\mathcal E_i(VXV^\dagger).C(X)=i=0⨁n−1​n1​Ei​(VXV†).

For positive matrices define F(ρ,σ)=Re⁡tr⁡ρ σρF(\rho,\sigma)=\operatorname{Re}\operatorname{tr}\sqrt{\sqrt\rho\,\sigma\sqrt\rho}F(ρ,σ)=Retrρ​σρ​​, and set

ew(C)=1−(sup⁡R  inf⁡ψ∈Cd⊗Cd∥ψ∥=1F ⁣(∣ψ⟩⟨ψ∣,(id⁡d⊗(R∘C))(∣ψ⟩⟨ψ∣)))2.e_{\mathrm w}(\mathcal C)= \sqrt{1- \left( \sup_{\mathcal R}\; \inf_{\substack{\psi\in\mathbb C^d\otimes\mathbb C^d\\\|\psi\|=1}} F\!\left( |\psi\rangle\langle\psi|, (\operatorname{id}_d\otimes(\mathcal R\circ\mathcal C)) (|\psi\rangle\langle\psi|) \right) \right)^2}.ew​(C)=1−​Rsup​ψ∈Cd⊗Cd∥ψ∥=1​inf​F(∣ψ⟩⟨ψ∣,(idd​⊗(R∘C))(∣ψ⟩⟨ψ∣))​2​.

Here R\mathcal RR ranges over recovery maps from the output of C\mathcal CC to d×dd\times dd×d matrices having 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 assertion is

Δ(TL)≤2n(max⁡iΔ(Ti))ew(C).\Delta(T_L)\le 2n\left(\max_i\Delta(T_i)\right)e_{\mathrm w}(\mathcal C).Δ(TL​)≤2n(imax​Δ(Ti​))ew​(C).

The maximum is over the nonempty finite set of physical sites; d=1d=1d=1 and n=1n=1n=1 are included.

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