Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Appendix A, Eq. (26): finite Choi min-entropy sandwich and linear-charge estimate

Open
QAlgorithms.Papers.Independent.Extend50.P03.choi_min_entropy

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

prove2quantum

A code encodes kkk logical qubits in nnn physical qubits, with 0≤k≤n0\le k\le n0≤k≤n, by appending a fixed normalized (n−k)(n-k)(n−k)-qubit eigenvector ψα\psi_\alphaψα​ of the Hamming-weight charge Q(n−k)Q^{(n-k)}Q(n−k) with eigenvalue 0≤α≤n−k0\le\alpha\le n-k0≤α≤n−k, then applying UUU. Thus EU(ρ)=U(ρ⊗∣ψα⟩⟨ψα∣)U†\mathcal E_U(\rho)=U(\rho\otimes|\psi_\alpha\rangle\langle\psi_\alpha|)U^\daggerEU​(ρ)=U(ρ⊗∣ψα​⟩⟨ψα​∣)U†. The ancilla is chosen independently of UUU. The law H×H_\timesH×​ is probability Haar on the full charge centralizer, including every sector phase. Erasure of a set SSS of t≤nt\le nt≤n wires gives its complement to the decoder. Fidelity FFF means root fidelity and P=1−F2P=\sqrt{1-F^2}P=1−F2​. The optimized Choi error uses normalized kkk EPR pairs; the optimized worst error chooses one CPTP decoder before all normalized joint logical/reference states over every finite reference dimension. Form the actual partial-decoupling operator Λ=F(Ψ⊗τ)F†\Lambda=F(\Psi\otimes\tau)F^\daggerΛ=F(Ψ⊗τ)F† of Appendix A, with Ψ\PsiΨ equal to kkk normalized EPR pairs appended with ψα\psi_\alphaψα​, τ\tauτ the normalized Choi state of the channel retaining ttt wires, and F=⨁q2n/(nq)(Πq⊗Πq)F=\bigoplus_q\sqrt{2^n/\binom nq}(\Pi_q\otimes\Pi_q)F=⨁q​2n/(qn​)​(Πq​⊗Πq​). Entropy is Hmin⁡(P∣Q)=−log⁡2s(Λ)H_{\min}(P|Q)=-\log_2 s(\Lambda)Hmin​(P∣Q)=−log2​s(Λ), extended to +∞+\infty+∞ at a zero SDP optimum. Define

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

Out-of-range signed binomials vanish. Then κ>0\kappa>0κ>0 and −log⁡2κ≤Hmin⁡≤−log⁡2(κ/(k+t+1))-\log_2\kappa\le H_{\min}\le-\log_2(\kappa/(k+t+1))−log2​κ≤Hmin​≤−log2​(κ/(k+t+1)). For fixed a∈(0,1)a\in(0,1)a∈(0,1) and exact α=an\alpha=anα=an, with every legal k,tk,tk,t (including α+k=n\alpha+k=nα+k=n), Hmin⁡≥nmin⁡{H2(α/n),H2((α+k)/n)}−2t−k−Clog⁡2(n+1)H_{\min}\ge n\min\{H_2(\alpha/n),H_2((\alpha+k)/n)\}-2t-k-C\log_2(n+1)Hmin​≥nmin{H2​(α/n),H2​((α+k)/n)}−2t−k−Clog2​(n+1) uniformly, without a small-erasure restriction on this clause. In particular, at fixed a∈(0,1)a\in(0,1)a∈(0,1), exact α=an\alpha=anα=an, and k,t≥1k,t\ge1k,t≥1, the regime k2t2=O(n)k^2t^2=O(n)k2t2=O(n) gives Hmin⁡≥cnH_{\min}\ge cnHmin​≥cn eventually. This controls the partial-decoupling term.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P03
Formal statement
noncomputable section

open MeasureTheory Filter

open scoped Matrix ComplexConjugate ComplexOrder ENNReal Matrix.Norms.Elementwise

namespace QAlgorithms.Papers.Independent.Extend50.P03

open QAlgorithms.Papers.Independent.Support50.P23 (minEntropy)

attribute [local instance] Classical.propDecidable

attribute [local instance] QAlgorithms.Papers.Independent.Extend50.P03.matrixContinuousENorm

/-- Appendix A, PDF pp.19–20, Eq.(26): finite constructed-state sandwich, plus
the linear-hammingCharge entropy-growth clause. No entropy bound is a hypothesis. -/
theorem choi_min_entropy :
    (∀ n k alpha t : ℕ, ∀ A : Ancilla n k alpha, t ≤ n →
      0 < choiSectorKappa n k alpha t ∧
      ((-Real.logb 2 (choiSectorKappa n k alpha t) : ℝ) : EReal) ≤ choiEntropy A t ∧
      choiEntropy A t ≤ ((-Real.logb 2 (choiSectorKappa n k alpha t / (k+t+1)) : ℝ) : EReal)) ∧
    ChoiEntropyGrowth ∧ ChoiEntropyLinear := by sorry

end QAlgorithms.Papers.Independent.Extend50.P03

end
Source
Charge-conserving unitaries typically generate optimal covariant quantum error-correcting codes, arXiv:2102.11835v1, PDF p. 20, Appendix A, Eq. (26): finite Choi min-entropy sandwich and linear-charge estimate
Read-back

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

Write Qj={0,1}jQ_j=\{0,1\}^jQj​={0,1}j, let ∣x∣|x|∣x∣ count ones, and let Cj(q)=(jq)C_j(q)=\binom jqCj​(q)=(qj​) for integers 0≤q≤j0\le q\le j0≤q≤j, with Cj(q)=0C_j(q)=0Cj​(q)=0 otherwise. For every n,k,α,t≥0n,k,\alpha,t\ge0n,k,α,t≥0, every charge ancilla AAA—that is, k≤nk\le nk≤n, α≤n−k\alpha\le n-kα≤n−k, and a unit vector ψ\psiψ on Qn−kQ_{n-k}Qn−k​ satisfying diag⁡(∣x∣)ψ=αψ\operatorname{diag}(|x|)\psi=\alpha\psidiag(∣x∣)ψ=αψ—and t≤nt\le nt≤n, define EA(ρ)=ρ⊗∣ψ⟩⟨ψ∣\mathcal E_A(\rho)=\rho\otimes|\psi\rangle\langle\psi|EA​(ρ)=ρ⊗∣ψ⟩⟨ψ∣ in the first kkk and last n−kn-kn−k coordinates and ΨA=(id⊗EA)(∣Ωk⟩⟨Ωk∣)\Psi_A=(\mathrm{id}\otimes\mathcal E_A)(|\Omega_k\rangle\langle\Omega_k|)ΨA​=(id⊗EA​)(∣Ωk​⟩⟨Ωk​∣), where ∣Ωk⟩=2−k/2∑x∣x,x⟩|\Omega_k\rangle=2^{-k/2}\sum_x|x,x\rangle∣Ωk​⟩=2−k/2∑x​∣x,x⟩. Put dn(a,b)=2n/Cn(∣a∣)d_n(a,b)=\sqrt{2^n/C_n(|a|)}dn​(a,b)=2n/Cn​(∣a∣)​ if ∣a∣=∣b∣|a|=|b|∣a∣=∣b∣, and zero otherwise; let Jn,tJ_{n,t}Jn,t​, indexed by Qn×QtQ_n\times Q_tQn​×Qt​, have entry 2−n2^{-n}2−n at ((b,u),(d,v))((b,u),(d,v))((b,u),(d,v)) when the first ttt bits of b,db,db,d are u,vu,vu,v, respectively, and their remaining bits agree, and zero otherwise. Define the bipartite matrix ΛAt\Lambda_A^tΛAt​, with left register Qn×QnQ_n\times Q_nQn​×Qn​ and right register Qk×QtQ_k\times Q_tQk​×Qt​, by

(ΛAt)((a,b),(x,u)),((c,d),(y,v))=dn(a,b)dn(c,d)(ΨA)(x,a),(y,c)(Jn,t)(b,u),(d,v),(\Lambda_A^t)_{((a,b),(x,u)),((c,d),(y,v))} =d_n(a,b)d_n(c,d)(\Psi_A)_{(x,a),(y,c)}(J_{n,t})_{(b,u),(d,v)},(ΛAt​)((a,b),(x,u)),((c,d),(y,v))​=dn​(a,b)dn​(c,d)(ΨA​)(x,a),(y,c)​(Jn,t​)(b,u),(d,v)​,

and define HA(t)H_A(t)HA​(t) as the supremum in the extended reals of all real hhh for which some positive semidefinite, trace-one matrix σ\sigmaσ on its right register satisfies 2−hI⊗σ−ΛAt≥02^{-h}I\otimes\sigma-\Lambda_A^t\ge02−hI⊗σ−ΛAt​≥0. Set

K(n,k,α,t)=∑i=0n−t(∑j=0kCt(j+α−i)(kj)2kCn(j+α))2.K(n,k,\alpha,t)=\sum_{i=0}^{n-t} \left(\sum_{j=0}^{k} \frac{C_t(j+\alpha-i)\binom kj} {\sqrt{2^k C_n(j+\alpha)}}\right)^2 .K(n,k,α,t)=i=0∑n−t​(j=0∑k​2kCn​(j+α)​Ct​(j+α−i)(jk​)​)2.

The first assertion is

0<K(n,k,α,t),−log⁡2K(n,k,α,t)≤HA(t)≤−log⁡2 ⁣(K(n,k,α,t)k+t+1).0<K(n,k,\alpha,t),\qquad -\log_2K(n,k,\alpha,t)\le H_A(t) \le-\log_2\!\left(\frac{K(n,k,\alpha,t)}{k+t+1}\right).0<K(n,k,α,t),−log2​K(n,k,α,t)≤HA​(t)≤−log2​(k+t+1K(n,k,α,t)​).

It includes zero register sizes. Next, writing h2(p)=binEntropy⁡(p)/log⁡2h_2(p)=\operatorname{binEntropy}(p)/\log2h2​(p)=binEntropy(p)/log2 and hend(d)=min⁡{h2(α/n),h2((α+k)/n)}h_{\mathrm{end}}(d)=\min\{h_2(\alpha/n),h_2((\alpha+k)/n)\}hend​(d)=min{h2​(α/n),h2​((α+k)/n)}, for every 0<b<1/20<b<1/20<b<1/2 there are C>0C>0C>0 and N≥0N\ge0N≥0 such that every tuple d=(n,k,α,t)d=(n,k,\alpha,t)d=(n,k,α,t) with n≥Nn\ge Nn≥N, n≥1n\ge1n≥1, k≤nk\le nk≤n, α≤n−k\alpha\le n-kα≤n−k, t≤nt\le nt≤n, b≤α/nb\le\alpha/nb≤α/n, and (α+k)/n≤1−b(\alpha+k)/n\le1-b(α+k)/n≤1−b, and every corresponding ancilla, satisfies

nhend(d)−2t−k−Clog⁡2(n+1)≤HA(t).n h_{\mathrm{end}}(d)-2t-k-C\log_2(n+1)\le H_A(t).nhend​(d)−2t−k−Clog2​(n+1)≤HA​(t).

Here kkk and ttt may be zero. Finally, for every 0<a<10<a<10<a<1, there is c>0c>0c>0 such that every sequence di=(ni,ki,αi,ti)d_i=(n_i,k_i,\alpha_i,t_i)di​=(ni​,ki​,αi​,ti​) with ni→∞n_i\to\inftyni​→∞, 1≤ki≤ni1\le k_i\le n_i1≤ki​≤ni​, αi≤ni−ki\alpha_i\le n_i-k_iαi​≤ni​−ki​, 1≤ti≤ni1\le t_i\le n_i1≤ti​≤ni​, and αi=ani\alpha_i=a n_iαi​=ani​, whose quantities ki2ti2/nik_i^2t_i^2/n_iki2​ti2​/ni​ are eventually bounded above by some positive real constant, eventually satisfies cni≤HA(ti)c n_i\le H_A(t_i)cni​≤HA​(ti​) for every corresponding ancilla. The exact charge relation permits no such sequence for irrational aaa; all entropy inequalities use the extended-real embeddings of the displayed real expressions.

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