Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Second-order subspace-code achievability

Open
QAlgorithms.Papers.Independent.Bridge50.P38.secondOrderAchievability

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

prove2quantum

All systems are nonempty finite-dimensional complex Hilbert spaces. The channel N:A→B\mathcal N:A\to BN:A→B is completely positive and trace preserving, and its nnn uses are independent. A code embeds a positive integer dimensional subspace of A⊗nA^{\otimes n}A⊗n and uses a CPTP decoder into that ambient input space. Write Qn,εQ^{n,\varepsilon}Qn,ε for the supremum of log⁡2m\log_2 mlog2​m over codes with Haar-average squared pure-state fidelity at least 1−ε1-\varepsilon1−ε, and Qetn,εQ_{\rm et}^{n,\varepsilon}Qetn,ε​ for the corresponding maximally entangled squared-overlap criterion. These are total qubits per block.

For a density input ρ\rhoρ, purify it as ΨRAρ\Psi^\rho_{RA}ΨRAρ​ and put ωRB=(id⁡R⊗N)(Ψρ)\omega_{RB}=(\operatorname{id}_R\otimes\mathcal N)(\Psi^\rho)ωRB​=(idR​⊗N)(Ψρ). Let Ic(N)=max⁡ρD(ωRB∥IR⊗ωB)I_c(\mathcal N)=\max_\rho D(\omega_{RB}\|I_R\otimes\omega_B)Ic​(N)=maxρ​D(ωRB​∥IR​⊗ωB​), in bits, and let Sc(N)S_c(\mathcal N)Sc​(N) be all maximizing inputs. For ε<1/2\varepsilon<1/2ε<1/2, VεV_\varepsilonVε​ is the minimum relative information variance over ScS_cSc​; for ε>1/2\varepsilon>1/2ε>1/2 it is the maximum. Fix 0<ε<10<\varepsilon<10<ε<1, and let Φ−1\Phi^{-1}Φ−1 be the standard normal quantile. There are K>0K>0K>0 and n0≥2n_0\ge2n0​≥2, chosen before nnn, such that for n≥n0n\ge n_0n≥n0​,

Qn,ε(N)≥Qetn,ε(N)≥nIc(N)+nVε(N) Φ−1(ε)−Klog⁡2n.Q^{n,\varepsilon}(\mathcal N)\ge Q_{\rm et}^{n,\varepsilon}(\mathcal N)\ge nI_c(\mathcal N)+\sqrt{nV_\varepsilon(\mathcal N)}\,\Phi^{-1}(\varepsilon)-K\log_2 n.Qn,ε(N)≥Qetn,ε​(N)≥nIc​(N)+nVε​(N)​Φ−1(ε)−Klog2​n.

The capacity comparison holds for every n≥1n\ge1n≥1. At ε=1/2\varepsilon=1/2ε=1/2 the second-order term is zero; no value is assigned to V1/2V_{1/2}V1/2​. This is a one-sided achievability bound and makes no assertion of a Petz decoder witness.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Bridge50_P38
Formal statement
noncomputable section

open scoped Matrix ComplexConjugate ComplexOrder

open QAlgorithms

namespace QAlgorithms.Papers.Independent.Bridge50.P38

open QAlgorithms.Papers.Independent.Information100.P80 (log2)

open QAlgorithms.Papers.Independent.Information100.P63 (normalQuantile)

open QAlgorithms.Papers.Independent.Dependency50.P36
  (relativeEntropyFinite pairInformationVariance)

open QAlgorithms.Papers.Independent.Dependency50.P35
  (columnProjector pinch marginalAB marginalAC)

open QAlgorithms.Papers.Independent.Information100.P22
  (densityPurification singleUseInformation coherentInformation)

open QAlgorithms.Papers.Independent.Gap48.P23 (CompletelyPositive)

attribute [local instance] Classical.propDecidable Classical.decEq

variable {A B C : Type} [Fintype A] [DecidableEq A]

variable [Fintype B] [DecidableEq B] [Fintype C] [DecidableEq C]

/-- PDF p.18, Theorem 3.5, (3.19), also p.2, (1.2): the claimed unrestricted
second-order capacity achievability.
Printed: Theorem 3.5 includes epsilon=1/2, but (2.5) defines V only off that value.
Changed: the whole second-order correction is zero at epsilon=1/2; V remains undefined there.
Why: the normal quantile at 1/2 is zero, and the fixed-input claim (3.25) gives this case
without assigning a dispersion value or imposing any further channel/input hypothesis.
This statement does not certify the source's proof or a Petz-decoder witness. -/
theorem secondOrderAchievability [Nonempty A] [Nonempty B]
    (N : Superop A B) (hN : IsChannel N) (epsilon : ℝ)
    (he0 : 0 < epsilon) (he1 : epsilon < 1) :
    (∀ n : ℕ, 1 ≤ n → subspaceCapacity true N n epsilon ≤ averageCapacity N n epsilon) ∧
    ∃ K : ℝ, 0 < K ∧ ∃ n0 : ℕ, 2 ≤ n0 ∧ ∀ n ≥ n0,
      (((n : ℝ) * singleUseInformation N + secondOrderCorrection N epsilon n -
        K * log2 n : ℝ) : EReal) ≤ subspaceCapacity true N n epsilon := by sorry

end QAlgorithms.Papers.Independent.Bridge50.P38

end
Source
Decoding quantum information via the Petz recovery map, arXiv:1504.04449v4, PDF p. 18, Theorem 3.5 / (1.2),(3.19): second-order achievability
Read-back

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

Let A,BA,BA,B be finite nonempty types with decidable equality, let N\mathcal NN be a map from complex AAA-indexed matrices to complex BBB-indexed matrices admitting a finite Kraus representation N(X)=∑jEjXEj†\mathcal N(X)=\sum_j E_jXE_j^\daggerN(X)=∑j​Ej​XEj†​ with ∑jEj†Ej=I\sum_jE_j^\dagger E_j=I∑j​Ej†​Ej​=I, and let 0<ϵ<10<\epsilon<10<ϵ<1. Write S(X)=−Re⁡tr⁡[f(X)]S(X)=-\operatorname{Re}\operatorname{tr}[f(X)]S(X)=−Retr[f(X)], where f(x)=xlog⁡2xf(x)=x\log_2xf(x)=xlog2​x is applied by continuous functional calculus. For a density matrix ρ\rhoρ, meaning ρ≥0\rho\ge0ρ≥0 and tr⁡ρ=1\operatorname{tr}\rho=1trρ=1, put ψρ(a,b)=(ρ)b,a\psi_\rho(a,b)=(\sqrt\rho)_{b,a}ψρ​(a,b)=(ρ​)b,a​, ωρ=(idA⊗N)(∣ψρ⟩⟨ψρ∣)\omega_\rho=(\mathrm{id}_A\otimes\mathcal N)(|\psi_\rho\rangle\langle\psi_\rho|)ωρ​=(idA​⊗N)(∣ψρ​⟩⟨ψρ​∣), I(ρ,N)=S(N(ρ))−S(ωρ)I(\rho,\mathcal N)=S(\mathcal N(\rho))-S(\omega_\rho)I(ρ,N)=S(N(ρ))−S(ωρ​), and I∗(N)=sup⁡ρI(ρ,N)I_*(\mathcal N)=\sup_\rho I(\rho,\mathcal N)I∗​(N)=supρ​I(ρ,N), with the supremum over density matrices. Here ∣v⟩⟨v∣|v\rangle\langle v|∣v⟩⟨v∣ has entries vivj‾v_i\overline{v_j}vi​vj​​, and amplification by an identity applies the map separately to each reference-indexed matrix block. Define

Df(X∥Y)=Re⁡tr⁡ ⁣[f0(X)−Xlog⁡Y]log⁡2,V(ρ,N)=Re⁡tr⁡ ⁣[ωρ(log⁡2ωρ−log⁡2(IA⊗tr⁡Aωρ))2]−Df(ωρ∥IA⊗tr⁡Aωρ)2,D_f(X\Vert Y)= \frac{\operatorname{Re}\operatorname{tr}\!\left[f_0(X)-X\log Y\right]}{\log2}, \qquad V(\rho,\mathcal N)= \operatorname{Re}\operatorname{tr}\!\left[ \omega_\rho(\log_2\omega_\rho-\log_2(I_A\otimes\operatorname{tr}_A\omega_\rho))^2 \right] -D_f(\omega_\rho\Vert I_A\otimes\operatorname{tr}_A\omega_\rho)^2,Df​(X∥Y)=log2Retr[f0​(X)−XlogY]​,V(ρ,N)=Retr[ωρ​(log2​ωρ​−log2​(IA​⊗trA​ωρ​))2]−Df​(ωρ​∥IA​⊗trA​ωρ​)2,

where f0(x)=xlog⁡xf_0(x)=x\log xf0​(x)=xlogx, all matrix functions use continuous functional calculus, and the logarithm has value 000 at 000, without a support condition in this formula. Let VϵV_\epsilonVϵ​ be the infimum of these variances over density matrices satisfying I(ρ,N)=I∗(N)I(\rho,\mathcal N)=I_*(\mathcal N)I(ρ,N)=I∗​(N) when ϵ<1/2\epsilon<1/2ϵ<1/2, and their supremum when ϵ>1/2\epsilon>1/2ϵ>1/2; these are the total real infimum and supremum operations. Put zϵ=inf⁡{z:ϵ≤∫−∞ze−x2/2/2π dx}z_\epsilon=\inf\{z:\epsilon\le\int_{-\infty}^z e^{-x^2/2}/\sqrt{2\pi}\,dx\}zϵ​=inf{z:ϵ≤∫−∞z​e−x2/2/2π​dx}, and sϵ(n)=0s_\epsilon(n)=0sϵ​(n)=0 when ϵ=1/2\epsilon=1/2ϵ=1/2, otherwise sϵ(n)=nVϵ zϵs_\epsilon(n)=\sqrt{nV_\epsilon}\,z_\epsilonsϵ​(n)=nVϵ​​zϵ​. To define the two capacities, let Nn=N⊗n\mathcal N_n=\mathcal N^{\otimes n}Nn​=N⊗n, whose action on tensor products of matrix units is the tensor product of their images. A code consists of m≥1m\ge1m≥1, a matrix J:Cm→CAnJ:\mathbb C^m\to\mathbb C^{A^n}J:Cm→CAn with J†J=ImJ^\dagger J=I_mJ†J=Im​, and a decoder D\mathcal DD from BnB^nBn-indexed to AnA^nAn-indexed matrices with a finite normalized Kraus representation; its compressed map is T(X)=J†D(Nn(JXJ†))JT(X)=J^\dagger\mathcal D(\mathcal N_n(JXJ^\dagger))JT(X)=J†D(Nn​(JXJ†))J. Its entanglement fidelity is Re⁡tr⁡[Pm(idm⊗T)(Pm)]\operatorname{Re}\operatorname{tr}[P_m(\mathrm{id}_m\otimes T)(P_m)]Retr[Pm​(idm​⊗T)(Pm​)], where Pm=∣Ωm⟩⟨Ωm∣P_m=|\Omega_m\rangle\langle\Omega_m|Pm​=∣Ωm​⟩⟨Ωm​∣ and Ωm=m−1/2∑i∣i,i⟩\Omega_m=m^{-1/2}\sum_i|i,i\rangleΩm​=m−1/2∑i​∣i,i⟩; its average fidelity is the normalized Haar average of Re⁡tr⁡[∣v⟩⟨v∣ T(∣v⟩⟨v∣)]\operatorname{Re}\operatorname{tr}[|v\rangle\langle v|\,T(|v\rangle\langle v|)]Retr[∣v⟩⟨v∣T(∣v⟩⟨v∣)] for v=U∣0⟩v=U|0\ranglev=U∣0⟩, U∈U(m)U\in U(m)U∈U(m). Let Ce(n,ϵ)C_{\rm e}(n,\epsilon)Ce​(n,ϵ) and Ca(n,ϵ)C_{\rm a}(n,\epsilon)Ca​(n,ϵ) be the suprema in the extended real line of log⁡2m\log_2mlog2​m over these codes with the respective fidelity at least 1−ϵ1-\epsilon1−ϵ. Then Ce(n,ϵ)≤Ca(n,ϵ)C_{\rm e}(n,\epsilon)\le C_{\rm a}(n,\epsilon)Ce​(n,ϵ)≤Ca​(n,ϵ) for every natural n≥1n\ge1n≥1, and there exist K>0K>0K>0 and a natural n0≥2n_0\ge2n0​≥2 such that every n≥n0n\ge n_0n≥n0​ satisfies

nI∗(N)+sϵ(n)−Klog⁡2n≤Ce(n,ϵ).nI_*(\mathcal N)+s_\epsilon(n)-K\log_2n \le C_{\rm e}(n,\epsilon).nI∗​(N)+sϵ​(n)−Klog2​n≤Ce​(n,ϵ).
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