Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Appendix B1: kappa bounds and large-n consequences

Open
QAlgorithms.Papers.Independent.Extend50.P09.u1_choi_kappa_sandwich

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

prove2quantum

Let n,k,t,αn,k,t,\alphan,k,t,α be integers with 0≤k,t≤n0\le k,t\le n0≤k,t≤n and 0≤α≤n−k0\le\alpha\le n-k0≤α≤n−k. Append a fixed unit vector of charge α\alphaα to kkk logical qubits and conjugate by a Haar-random unitary in the full commutant of the nnn-qubit Hamming-weight operator. Erase a fixed known set of ttt sites. Let ϵChoi\epsilon_{\rm Choi}ϵChoi​ and ϵworst\epsilon_{\rm worst}ϵworst​ denote the optimal CPTP recovery errors, using root fidelity FFF and purified distance P=1−F2P=\sqrt{1-F^2}P=1−F2​, respectively on the normalized maximally entangled input and on all reference-entangled inputs with one common decoder.

For finite positive-dimensional registers P,QP,QP,Q and a positive operator XPQX^{PQ}XPQ, write Hmin⁡(P∣Q)X=sup⁡{h:∃σQ≥0, Tr⁡σQ=1, X≤2−hIP⊗σQ}H_{\min}(P|Q)_X=\sup\{h:\exists\sigma_Q\ge0,\ \operatorname{Tr}\sigma_Q=1,\ X\le2^{-h}I_P\otimes\sigma_Q\}Hmin​(P∣Q)X​=sup{h:∃σQ​≥0, TrσQ​=1, X≤2−hIP​⊗σQ​}. The supremum is extended-real, so Hmin⁡(0)=+∞H_{\min}(0)=+\inftyHmin​(0)=+∞; throughout, −log⁡20=+∞-\log_2 0=+\infty−log2​0=+∞.

For the actual Choi Λ\LambdaΛ of Appendix B1 define

κ=∑i=0n−t(∑j=0n(tj−i)(kj−α)2k(nj))2,\kappa=\sum_{i=0}^{n-t}\left(\sum_{j=0}^n \frac{\binom{t}{j-i}\binom{k}{j-\alpha}}{\sqrt{2^k\binom{n}{j}}}\right)^2,κ=i=0∑n−t​​j=0∑n​2k(jn​)​(j−it​)(j−αk​)​​2,

where binomials with negative or excessive lower indices are zero. Then

−log⁡2κ≤Hmin⁡(A∗∣RE)Λ≤−log⁡2κk+t+1.-\log_2\kappa\le H_{\min}(A^*|RE)_\Lambda\le-\log_2\frac{\kappa}{k+t+1}.−log2​κ≤Hmin​(A∗∣RE)Λ​≤−log2​k+t+1κ​.

The two binomial coefficients in the numerator are not square-rooted. The physical outer range is clamped, and there are at most k+t+1k+t+1k+t+1 nonzero blocks.

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 B1, PDF p.18, (B24)–(B25), exact choiKappaValue sandwich.
The nonzero i-range has at most k+t+1 blocks, including boundary truncation. -/
theorem u1_choi_kappa_sandwich (n k t alpha : ℕ) (hk : k ≤ n) (ht : t ≤ n)
    (ha : alpha ≤ n-k) (psi : EuclideanSpace ℂ (CovariantWord 2 (n-k)))
    (hpsi : ChargeState alpha psi) :
    negLog (choiKappaValue n k t alpha) ≤ conditionalMinEntropy (choiLambda hk ht psi) ∧
    conditionalMinEntropy (choiLambda hk ht psi) ≤ negLog (choiKappaValue n k t alpha / (k+t+1)) := 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. 18, Appendix B1: kappa bounds and large-n consequences
Read-back

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

For natural numbers n,k,t,αn,k,t,\alphan,k,t,α with k≤nk\le nk≤n, t≤nt\le nt≤n, and α≤n−k\alpha\le n-kα≤n−k, let Wh={0,1}hW_h=\{0,1\}^hWh​={0,1}h, write ∣x∣|x|∣x∣ for Hamming weight, and let ψ∈CWn−k\psi\in\mathbb C^{W_{n-k}}ψ∈CWn−k​ have norm 111 and vanish outside weight α\alphaα. Using prefixes and suffixes indicated by <h<h<h and ≥h\ge h≥h, define the matrix LLL, indexed by (Wn×Wn)×(Wk×Wt)(W_n\times W_n)\times(W_k\times W_t)(Wn​×Wn​)×(Wk​×Wt​), through

L((a,b),(r,e)),((c,d),(s,f))=2−kψ(a≥k)ψ(c≥k)‾(n∣a∣)(n∣c∣)1∣a∣=∣b∣, ∣c∣=∣d∣, r=a<k, s=c<ke=b<t, f=d<t, b≥t=d≥t.L_{((a,b),(r,e)),((c,d),(s,f))} = \frac{2^{-k}\psi(a_{\ge k})\overline{\psi(c_{\ge k})}} {\sqrt{\binom n{|a|}\binom n{|c|}}} \mathbf1_{\substack{|a|=|b|,\ |c|=|d|,\ r=a_{<k},\ s=c_{<k}\\ e=b_{<t},\ f=d_{<t},\ b_{\ge t}=d_{\ge t}}}.L((a,b),(r,e)),((c,d),(s,f))​=(∣a∣n​)(∣c∣n​)​2−kψ(a≥k​)ψ(c≥k​)​​1∣a∣=∣b∣, ∣c∣=∣d∣, r=a<k​, s=c<k​e=b<t​, f=d<t​, b≥t​=d≥t​​​.

For integers zzz, set C(h,z)=(hz)C(h,z)=\binom hzC(h,z)=(zh​) when z≥0z\ge0z≥0, interpreting the lower argument as a natural number, and set C(h,z)=0C(h,z)=0C(h,z)=0 when z<0z<0z<0. Define

K=∑i=0n−t(∑j=0nC(t,j−i)C(k,j−α)2k(nj))2,Hmin⁡(L)=sup⁡λ∈R, σ≥0Tr⁡σ=12−λIWn×Wn⊗σ−L≥0λ.K=\sum_{i=0}^{n-t} \left(\sum_{j=0}^{n} \frac{C(t,j-i)C(k,j-\alpha)} {\sqrt{2^k\binom nj}}\right)^2, \qquad H_{\min}(L)= \sup_{\substack{\lambda\in\mathbb R,\ \sigma\ge0\\ \operatorname{Tr}\sigma=1\\ 2^{-\lambda}I_{W_n\times W_n}\otimes\sigma-L\ge0}}\lambda.K=i=0∑n−t​​j=0∑n​2k(jn​)​C(t,j−i)C(k,j−α)​​2,Hmin​(L)=λ∈R, σ≥0Trσ=12−λIWn​×Wn​​⊗σ−L≥0​sup​λ.

The assertion is

−log⁡2K ≤ Hmin⁡(L) ≤ −log⁡2 ⁣(Kk+t+1),-\log_2 K\ \le\ H_{\min}(L)\ \le\ -\log_2\!\left(\frac{K}{k+t+1}\right),−log2​K ≤ Hmin​(L) ≤ −log2​(k+t+1K​),

where each negative logarithm is defined to be +∞+\infty+∞ at zero and the entropy supremum is extended-real-valued. The hypotheses allow k=0k=0k=0, t=0t=0t=0, and, when all constraints permit it, n=0n=0n=0.

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