Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§VI: no-symmetry Choi decoupling comparison

Open
QAlgorithms.Papers.Independent.Extend50.P09.unconstrained_haar

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

prove2quantum

Encode kkk logical qubits into nnn physical qubits by appending a fixed normalized pure (n−k)(n-k)(n−k)-qubit ancilla and applying a full Haar unitary, with no symmetry constraint. Erase a fixed known set of ttt sites, where 0≤k,t≤n0\le k,t\le n0≤k,t≤n and Δ=n−k−4t≥0\Delta=n-k-4t\ge0Δ=n−k−4t≥0. The Choi error is the optimal CPTP recovery purified distance on a normalized maximally entangled input. There are absolute C,c>0C,c>0C,c>0 and Δ0\Delta_0Δ0​ such that uniformly over these data, for Δ≥Δ0\Delta\ge\Delta_0Δ≥Δ0​,

EϵChoi≤Ce−cΔ.\mathbb E\epsilon_{\rm Choi}\le C e^{-c\Delta}.EϵChoi​≤Ce−cΔ.

Exponential decay in nnn follows only with a linear gap Δ=Ω(n)\Delta=\Omega(n)Δ=Ω(n); no worst-case-error conclusion is added.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P09
Formal statement
noncomputable section

open scoped Matrix Matrix.Norms.Elementwise ComplexConjugate ENNReal ComplexOrder

open MeasureTheory Filter

namespace QAlgorithms.Papers.Independent.Extend50.P09

attribute [local instance] Classical.propDecidable Classical.decEq

-- Exact generic definitions from the pinned accepted library.

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

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

open QAlgorithms.Papers.Independent.Advance50.P02 (negLog)

attribute [local instance] QAlgorithms.Papers.Independent.Extend50.P09.covariantMatrixMeasurable

attribute [local instance] QAlgorithms.Papers.Independent.Extend50.P09.covariantMatrixBorel

/-- §VI, PDF pp.13–14: expected Choi error decays exponentially in
Delta=n-k-4t. Merely nonnegative Delta does not imply exponential decay in n.
The source's numerical gap is retained without naming it the sharp Singleton bound. -/
theorem unconstrained_haar (laws : PhysicalUnitaryLaws 2)
    (hlaw : ∀ n, IsCommutantHaarLaw (FullGroup 2 n) (laws n)) :
    ∃ C c : ℝ, 0 < C ∧ 0 < c ∧ ∃ delta0 : ℕ,
    ∀ n k t : ℕ, ∀ h : k ≤ n, k+4*t ≤ n → delta0 ≤ n-k-4*t →
    ∀ psi : EuclideanSpace ℂ (CovariantWord 2 (n-k)), IsState psi →
    ∀ S : Finset (Fin n), S.card = t →
    (∫ U, choiError (noisyEncoder h (pureDensity psi) S U) ∂laws n) ≤
      C * Real.exp (-c*((n : ℝ)-k-4*t)) := by sorry

end QAlgorithms.Papers.Independent.Extend50.P09

end
Source
Near-optimal covariant quantum error-correcting codes from random unitaries with symmetries, arXiv:2112.01498v2, PDF p. 13, §VI: no-symmetry Choi decoupling comparison
Read-back

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

Let (μn)n≥0(\mu_n)_{n\ge0}(μn​)n≥0​ be probability measures on matrices on binary strings of length nnn, concentrated on matrices UUU satisfying U†U=IU^\dagger U=IU†U=I, and invariant under left multiplication by every such matrix. There exist C,c>0C,c>0C,c>0 and a natural number δ0\delta_0δ0​ such that for all natural numbers n,k,tn,k,tn,k,t, every k≤nk\le nk≤n satisfying k+4t≤nk+4t\le nk+4t≤n and δ0≤n−k−4t\delta_0\le n-k-4tδ0​≤n−k−4t, every unit vector ψ\psiψ on n−kn-kn−k binary coordinates, and every erased set SSS of size ttt, the following bound holds. Define CU(X)=Tr⁡S[U(X⊗∣ψ⟩⟨ψ∣)U†]\mathcal C_U(X)=\operatorname{Tr}_{S}[U(X\otimes|\psi\rangle\langle\psi|)U^\dagger]CU​(X)=TrS​[U(X⊗∣ψ⟩⟨ψ∣)U†], retaining the coordinates outside SSS, and let Φk=∣ϕk⟩⟨ϕk∣\Phi_k=|\phi_k\rangle\langle\phi_k|Φk​=∣ϕk​⟩⟨ϕk​∣, where ∣ϕk⟩=2−k/2∑x∣x,x⟩|\phi_k\rangle=2^{-k/2}\sum_x|x,x\rangle∣ϕk​⟩=2−k/2∑x​∣x,x⟩. With p(A,B)=1−(Re⁡tr⁡A BA)2p(A,B)=\sqrt{1-(\operatorname{Re}\operatorname{tr}\sqrt{\sqrt A\,B\sqrt A})^2}p(A,B)=1−(RetrA​BA​​)2​, using the defined functional calculus, set ec(U)=inf⁡Dp(Φk,(id⁡⊗DCU)(Φk))e_{\mathrm c}(U)=\inf_{\mathcal D}p(\Phi_k,(\operatorname{id}\otimes\mathcal D\mathcal C_U)(\Phi_k))ec​(U)=infD​p(Φk​,(id⊗DCU​)(Φk​)), where D(X)=∑aKaXKa†\mathcal D(X)=\sum_aK_aXK_a^\daggerD(X)=∑a​Ka​XKa†​ has finitely many Kraus operators with ∑aKa†Ka=I\sum_aK_a^\dagger K_a=I∑a​Ka†​Ka​=I. Then

∫ec(U) dμn(U)≤Cexp⁡ ⁣(−c(n−k−4t)).\int e_{\mathrm c}(U)\,d\mu_n(U)\le C\exp\!\bigl(-c(n-k-4t)\bigr).∫ec​(U)dμn​(U)≤Cexp(−c(n−k−4t)).

The parameter δ0\delta_0δ0​ is not required to be positive, and k=0k=0k=0, t=0t=0t=0, and any n=0n=0n=0 case satisfying the displayed constraints are included; zero-coordinate registers have a single configuration.

Human review
  • Endorsed by Shuze Chen · Oct 30, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Oct 30, 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