Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Appendix C1: fixed-charge examples k=t=1 and k=t=2

Open
QAlgorithms.Papers.Independent.Extend50.P09.u1_constantCharge_examples

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

prove2quantum

Fix a nonnegative integer α\alphaα. For each sufficiently large integer nnn, let F11(n)F_{11}(n)F11​(n) and F22(n)F_{22}(n)F22​(n) be the root fidelities between the exact averaged U(1) Choi environment state and its product comparator IR/2k⊗ζ0I_R/2^k\otimes\zeta_0IR​/2k⊗ζ0​, separately for k=t=1k=t=1k=t=1 and k=t=2k=t=2k=t=2, with ζ0\zeta_0ζ0​ the environmental marginal. Then

F11(n)=1+c11n+O(n−2),c11=−2−22α+α(2α+1)+(α+1)(2α+1)22,F_{11}(n)=1+\frac{c_{11}}n+O(n^{-2}),\quad c_{11}=\frac{-\sqrt2-2\sqrt2\alpha+\sqrt{\alpha(2\alpha+1)}+\sqrt{(\alpha+1)(2\alpha+1)}}{2\sqrt2},F11​(n)=1+nc11​​+O(n−2),c11​=22​−2​−22​α+α(2α+1)​+(α+1)(2α+1)​​, F22(n)=1+c22n+O(n−2),c22=−2−2α+α(α+1)+(α+1)(α+2)2.F_{22}(n)=1+\frac{c_{22}}n+O(n^{-2}),\quad c_{22}=\frac{-2-2\alpha+\sqrt{\alpha(\alpha+1)}+\sqrt{(\alpha+1)(\alpha+2)}}2.F22​(n)=1+nc22​​+O(n−2),c22​=2−2−2α+α(α+1)​+(α+1)(α+2)​​.

For the associated purified distances P11,P22P_{11},P_{22}P11​,P22​,

P11(n),P22(n)=O(n−1/2).P_{11}(n),P_{22}(n)=O(n^{-1/2}).P11​(n),P22​(n)=O(n−1/2).

The constants may depend on fixed α\alphaα. These are comparator expansions, not exact optimized recovery errors.

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

/-- Appendix C1, PDF p.20, (C17)–(C18): both fixed-charge examples,
including alpha=0. These are comparator distances, not exact recovery errors. -/
theorem u1_constantCharge_examples (alpha : ℕ) :
    ∃ C : ℝ, 0 < C ∧ ∃ n0 : ℕ, ∀ n ≥ n0, alpha+2 ≤ n → 0 < n →
    |comparatorFidelity n 1 1 alpha-(1+constantCoeff11 alpha/n)| ≤ C/(n : ℝ)^2 ∧
    |comparatorFidelity n 2 2 alpha-(1+constantCoeff22 alpha/n)| ≤ C/(n : ℝ)^2 ∧
    comparatorDistance n 1 1 alpha ≤ C/Real.sqrt n ∧
    comparatorDistance n 2 2 alpha ≤ C/Real.sqrt n := 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. 20, Appendix C1: fixed-charge examples k=t=1 and k=t=2
Read-back

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

For every natural α\alphaα, there exist a real C>0C>0C>0 and a natural n0n_0n0​ such that the following four inequalities hold for every n≥n0n\ge n_0n≥n0​ with α+2≤n\alpha+2\le nα+2≤n and n>0n>0n>0. Define C(h,z)=0C(h,z)=0C(h,z)=0 for negative integers zzz and C(h,z)=(hz)C(h,z)=\binom hzC(h,z)=(zh​) otherwise, and, for the parameters occurring below, set

hn,t(q,i)=C(n−t,q−i)(nq),qi=2−k∑j=0k(kj)hn,t(j+α,i),F(n,k,t,α)=2−k∑j=0k∑i=0t(kj)(ti)qihn,t(j+α,i),D(n,k,t,α)=1−F(n,k,t,α)2.h_{n,t}(q,i)=\frac{C(n-t,q-i)}{\binom nq},\qquad q_i=2^{-k}\sum_{j=0}^{k}\binom kj h_{n,t}(j+\alpha,i),\qquad F(n,k,t,\alpha)=2^{-k}\sum_{j=0}^{k}\sum_{i=0}^{t} \binom kj\binom ti\sqrt{q_i h_{n,t}(j+\alpha,i)},\qquad D(n,k,t,\alpha)=\sqrt{1-F(n,k,t,\alpha)^2}.hn,t​(q,i)=(qn​)C(n−t,q−i)​,qi​=2−kj=0∑k​(jk​)hn,t​(j+α,i),F(n,k,t,α)=2−kj=0∑k​i=0∑t​(jk​)(it​)qi​hn,t​(j+α,i)​,D(n,k,t,α)=1−F(n,k,t,α)2​.

With

c11=−2−22 α+α(2α+1)+(α+1)(2α+1)22,c22=−2−2α+α(α+1)+(α+1)(α+2)2,c_{11}=\frac{-\sqrt2-2\sqrt2\,\alpha+\sqrt{\alpha(2\alpha+1)} +\sqrt{(\alpha+1)(2\alpha+1)}}{2\sqrt2}, \qquad c_{22}=\frac{-2-2\alpha+\sqrt{\alpha(\alpha+1)} +\sqrt{(\alpha+1)(\alpha+2)}}2,c11​=22​−2​−22​α+α(2α+1)​+(α+1)(2α+1)​​,c22​=2−2−2α+α(α+1)​+(α+1)(α+2)​​,

the inequalities are

∣F(n,1,1,α)−(1+c11n)∣≤Cn2,∣F(n,2,2,α)−(1+c22n)∣≤Cn2,D(n,1,1,α)≤Cn,D(n,2,2,α)≤Cn.\left|F(n,1,1,\alpha)-\left(1+\frac{c_{11}}n\right)\right|\le\frac C{n^2}, \qquad \left|F(n,2,2,\alpha)-\left(1+\frac{c_{22}}n\right)\right|\le\frac C{n^2}, \qquad D(n,1,1,\alpha)\le\frac C{\sqrt n}, \qquad D(n,2,2,\alpha)\le\frac C{\sqrt n}.​F(n,1,1,α)−(1+nc11​​)​≤n2C​,​F(n,2,2,α)−(1+nc22​​)​≤n2C​,D(n,1,1,α)≤n​C​,D(n,2,2,α)≤n​C​.

The same C,n0C,n_0C,n0​ serve all four inequalities and may depend on α\alphaα; α=0\alpha=0α=0 is included.

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