Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Appendix A1: U(1) entropy bounds

Open
QAlgorithms.Papers.Independent.Extend50.P09.u1_entropy_estimates

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=+∞.

Construct the U(1) Λ\LambdaΛ from (B3)–(B4), using the initial normalized Choi state or a logical computational basis state or one of the four normalized superpositions of two distinct basis words, with the same ancilla. Put h=min⁡{Hb(α/n),Hb((α+k)/n)}h=\min\{H_b(\alpha/n),H_b((\alpha+k)/n)\}h=min{Hb​(α/n),Hb​((α+k)/n)}. There are absolute C>0,n0C>0,n_0C>0,n0​ such that for all admissible positive n≥n0n\ge n_0n≥n0​,

Hmin⁡Choi≥nh−(2t+k)−Clog⁡2n,Hmin⁡basis/superposition≥nh−2t−Clog⁡2n.H_{\min}^{\rm Choi}\ge nh-(2t+k)-C\log_2 n,\qquad H_{\min}^{\rm basis/superposition}\ge nh-2t-C\log_2 n.HminChoi​≥nh−(2t+k)−Clog2​n,Hminbasis/superposition​≥nh−2t−Clog2​n.

The latter inputs have trivial reference. The estimate uses the constructed operators and does not rely on the deferred exact superposition sandwich (B35).

Before the asymptotic estimates the exact finite bounds hold with

M=max⁡{(nα)−1,(nα+k)−1}:Hmin⁡Choi≥−(2t+k)−log⁡2M,Hmin⁡basis/superposition≥−2t−log⁡2M.M=\max\{\binom n\alpha^{-1},\binom n{\alpha+k}^{-1}\}:\qquad H_{\min}^{\rm Choi}\ge-(2t+k)-\log_2M,\qquad H_{\min}^{\rm basis/superposition}\ge-2t-\log_2M.M=max{(αn​)−1,(α+kn​)−1}:HminChoi​≥−(2t+k)−log2​M,Hminbasis/superposition​≥−2t−log2​M.

These are the supported-sector maximum in (A13)–(A14), using binomial unimodality, and include zero-size boundary cases.

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 A1, PDF p.16, (A13)–(A14), with explicit eventual
O(log n), preceded by the exact finite bound with the largest inverse
binomial coefficient in the supported charge interval. Basis inputs and the
four normalized superpositions are included. -/
theorem u1_entropy_estimates :
    (∀ n k t alpha : ℕ, ∀ hk : k ≤ n, ∀ ht : t ≤ n, alpha ≤ n-k →
      ∀ psi : EuclideanSpace ℂ (CovariantWord 2 (n-k)), ChargeState alpha psi →
      let M := max ((n.choose alpha : ℝ)⁻¹) ((n.choose (alpha+k) : ℝ)⁻¹)
      ((-(2*(t : ℝ)+k) : ℝ) : EReal) + negLog M ≤
        conditionalMinEntropy (choiLambda hk ht psi) ∧
      (∀ x : CovariantWord 2 k,
        ((-2*(t : ℝ) : ℝ) : EReal) + negLog M ≤
          conditionalMinEntropy (simpleLambda hk ht psi (ket x))) ∧
      (∀ x y : CovariantWord 2 k, x ≠ y → ∀ z : ℂ, FourPhase z →
        ((-2*(t : ℝ) : ℝ) : EReal) + negLog M ≤
          conditionalMinEntropy (simpleLambda hk ht psi (superposition x y z)))) ∧
    ∃ C : ℝ, 0 < C ∧ ∃ n0 : ℕ, ∀ n ≥ n0, ∀ k t alpha : ℕ,
    ∀ hk : k ≤ n, ∀ ht : t ≤ n, 0 < n → alpha ≤ n-k →
    ∀ psi : EuclideanSpace ℂ (CovariantWord 2 (n-k)), ChargeState alpha psi →
    let H := min (binEntropy2 ((alpha : ℝ)/n)) (binEntropy2 (((alpha+k : ℕ) : ℝ)/n))
    (((n : ℝ)*H - (2*(t : ℝ)+k) - C*Real.logb 2 n : ℝ) : EReal) ≤ conditionalMinEntropy (choiLambda hk ht psi) ∧
    (∀ x : CovariantWord 2 k, (((n : ℝ)*H-2*t-C*Real.logb 2 n : ℝ) : EReal) ≤
      conditionalMinEntropy (simpleLambda hk ht psi (ket x))) ∧
    (∀ x y : CovariantWord 2 k, x ≠ y → ∀ z : ℂ, FourPhase z →
      (((n : ℝ)*H-2*t-C*Real.logb 2 n : ℝ) : EReal) ≤
        conditionalMinEntropy (simpleLambda hk ht psi (superposition x y z))) := 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. 16, Appendix A1: U(1) entropy bounds
Read-back

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

For each nonnegative integer mmm, let Wm={0,1}mW_m=\{0,1\}^mWm​={0,1}m, let ∣x∣|x|∣x∣ denote the sum of the bits of x∈Wmx\in W_mx∈Wm​, and write ∣v⟩⟨v∣|v\rangle\langle v|∣v⟩⟨v∣ for the matrix with entries vavb‾v_a\overline{v_b}va​vb​​. For h≤nh\le nh≤n, write a≤ha_{\le h}a≤h​ and a>ha_{>h}a>h​ for the first hhh and last n−hn-hn−h coordinates of a∈Wna\in W_na∈Wn​. For any matrix TTT on a finite product A×BA\times BA×B, define the extended-real quantity

Hmin⁡(T)=sup⁡{λ∈R: ∃σ≥0, Tr⁡σ=1,2−λIA⊗σ−T≥0},H_{\min}(T)=\sup\{\lambda\in\mathbb R:\ \exists \sigma\ge0,\ \operatorname{Tr}\sigma=1,\quad 2^{-\lambda}I_A\otimes\sigma-T\ge0\},Hmin​(T)=sup{λ∈R: ∃σ≥0, Trσ=1,2−λIA​⊗σ−T≥0},

where σ\sigmaσ is a matrix on BBB, and define ℓ(x)=+∞\ell(x)=+\inftyℓ(x)=+∞ if x=0x=0x=0, and ℓ(x)=−log⁡2x\ell(x)=-\log_2xℓ(x)=−log2​x otherwise. To specify the matrices in the assertion, put

ξn(a,b)={2n/(n∣a∣),∣a∣=∣b∣,0,otherwise,En,t((b,e),(b′,e′))=2−n1{b≤t=e, b≤t′=e′, b>t=b>t′}.\xi_n(a,b)= \begin{cases} \sqrt{2^n/\binom n{|a|}},&|a|=|b|,\\ 0,&\text{otherwise}, \end{cases} \qquad E_{n,t}((b,e),(b',e'))= 2^{-n}\mathbf1_{\{b_{\le t}=e,\ b'_{\le t}=e',\ b_{>t}=b'_{>t}\}}.ξn​(a,b)={2n/(∣a∣n​)​,0,​∣a∣=∣b∣,otherwise,​En,t​((b,e),(b′,e′))=2−n1{b≤t​=e, b≤t′​=e′, b>t​=b>t′​}​.

Given k≤nk\le nk≤n, t≤nt\le nt≤n, and ψ∈CWn−k\psi\in\mathbb C^{W_{n-k}}ψ∈CWn−k​, define

χ(r,a)=2−k/21{r=a≤k}ψ(a>k),χv(∗,a)=v(a≤k)ψ(a>k),\chi(r,a)=2^{-k/2}\mathbf1_{\{r=a_{\le k}\}}\psi(a_{>k}), \qquad \chi_v(*,a)=v(a_{\le k})\psi(a_{>k}),χ(r,a)=2−k/21{r=a≤k​}​ψ(a>k​),χv​(∗,a)=v(a≤k​)ψ(a>k​),

where ∗*∗ is a singleton reference index. For either such vector fff, let

Λf(((a,b),(r,e)),((a′,b′),(r′,e′)))=ξn(a,b)ξn(a′,b′)‾ f(r,a)f(r′,a′)‾ En,t((b,e),(b′,e′)).\Lambda_f(((a,b),(r,e)),((a',b'),(r',e'))) =\xi_n(a,b)\overline{\xi_n(a',b')}\, f(r,a)\overline{f(r',a')}\, E_{n,t}((b,e),(b',e')).Λf​(((a,b),(r,e)),((a′,b′),(r′,e′)))=ξn​(a,b)ξn​(a′,b′)​f(r,a)f(r′,a′)​En,t​((b,e),(b′,e′)).

Thus the first subsystem for Hmin⁡(Λf)H_{\min}(\Lambda_f)Hmin​(Λf​) is Wn×WnW_n\times W_nWn​×Wn​, and the second is the reference index together with WtW_tWt​; write ΛChoi=Λχ\Lambda_{\mathrm{Choi}}=\Lambda_\chiΛChoi​=Λχ​ and Λv=Λχv\Lambda_v=\Lambda_{\chi_v}Λv​=Λχv​​. For every n,k,t,α∈Nn,k,t,\alpha\in\mathbb Nn,k,t,α∈N with k≤nk\le nk≤n, t≤nt\le nt≤n, and α≤n−k\alpha\le n-kα≤n−k, and every vector ψ\psiψ of norm one satisfying ψ(a)=0\psi(a)=0ψ(a)=0 whenever ∣a∣≠α|a|\ne\alpha∣a∣=α, put

M=max⁡{(nα)−1,(nα+k)−1}.M=\max\left\{\binom n\alpha^{-1},\binom n{\alpha+k}^{-1}\right\}.M=max{(αn​)−1,(α+kn​)−1}.

Then

−(2t+k)+ℓ(M)≤Hmin⁡(ΛChoi),−2t+ℓ(M)≤Hmin⁡(Λ∣x⟩)(x∈Wk),-(2t+k)+\ell(M)\le H_{\min}(\Lambda_{\mathrm{Choi}}), \qquad -2t+\ell(M)\le H_{\min}(\Lambda_{|x\rangle})\quad(x\in W_k),−(2t+k)+ℓ(M)≤Hmin​(ΛChoi​),−2t+ℓ(M)≤Hmin​(Λ∣x⟩​)(x∈Wk​),

and the latter bound also holds for Λv\Lambda_vΛv​ whenever v=(∣x⟩+z∣y⟩)/2v=(|x\rangle+z|y\rangle)/\sqrt2v=(∣x⟩+z∣y⟩)/2​, x,y∈Wkx,y\in W_kx,y∈Wk​, x≠yx\ne yx=y, and z∈{1,−1,i,−i}z\in\{1,-1,\mathrm i,-\mathrm i\}z∈{1,−1,i,−i}. Moreover, there exist a real C>0C>0C>0 and n0∈Nn_0\in\mathbb Nn0​∈N such that, for every n≥n0n\ge n_0n≥n0​, every k,t,αk,t,\alphak,t,α and ψ\psiψ satisfying the same conditions and additionally n>0n>0n>0, if

H=min⁡{h2(α/n),h2((α+k)/n)},h2(p)=−pln⁡p−(1−p)ln⁡(1−p)ln⁡2,H=\min\left\{h_2(\alpha/n),h_2((\alpha+k)/n)\right\}, \qquad h_2(p)=\frac{-p\ln p-(1-p)\ln(1-p)}{\ln2},H=min{h2​(α/n),h2​((α+k)/n)},h2​(p)=ln2−plnp−(1−p)ln(1−p)​,

with zero endpoint terms interpreted as zero, then

nH−(2t+k)−Clog⁡2n≤Hmin⁡(ΛChoi),nH−2t−Clog⁡2n≤Hmin⁡(Λ∣x⟩),nH-(2t+k)-C\log_2n\le H_{\min}(\Lambda_{\mathrm{Choi}}), \qquad nH-2t-C\log_2n\le H_{\min}(\Lambda_{|x\rangle}),nH−(2t+k)−Clog2​n≤Hmin​(ΛChoi​),nH−2t−Clog2​n≤Hmin​(Λ∣x⟩​),

and the second inequality again holds for every stated two-word superposition. All finite real bounds are regarded as extended real numbers. The first group includes n=0n=0n=0, k=0k=0k=0, and t=0t=0t=0; W0W_0W0​ is a singleton, so the clauses requiring distinct x,yx,yx,y have no instances when k=0k=0k=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