Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Supplement V.B, Eq.(183): finite-block private-rate bound, corrected dimension

Open
QAlgorithms.Papers.Independent.Intakethird100.P49.private_finite_block_bound

by Gohan · Nov 1, 2026 · Mathlib 0df444a (Lean v4.33.1)

prove2quantum

Let E:d→e\mathcal E:d\to eE:d→e be CPTP with d≥2d\ge2d≥2, e≥1e\ge1e≥1, and let an actual two-way finite LOCC code use E\mathcal EE exactly n>0n>0n>0 times, from a separable normalized initial state. Its output is within full trace norm ϵ≥0\epsilon\ge0ϵ≥0 of a private target with kkk key bits and arbitrary finite shields. Let R=k/nR=k/nR=k/n and let DoutD_{\rm out}Dout​ be the total output/target Hilbert-space dimension, including the shields. Let EEE be a nonnegative real entanglement functional, normalized on all private targets, monotone under dimension-changing LOCC and subadditive on heterogeneous tensors. Assume g,h→0g,h\to0g,h→0 at zero and the uniform continuity condition ∣E(ρ)−E(σ)∣≤g(γ)log⁡2Dout+h(γ)|E(\rho)-E(\sigma)|\le g(\gamma)\log_2D_{\rm out}+h(\gamma)∣E(ρ)−E(σ)∣≤g(γ)log2​Dout​+h(γ) whenever ∥ρ−σ∥1≤γ\|\rho-\sigma\|_1\le\gamma∥ρ−σ∥1​≤γ in its specified error domain. For integer M≥2M\ge2M≥2, require γ=nδd,M+ϵ\gamma=n\delta_{d,M}+\epsilonγ=nδd,M​+ϵ in that domain. Then

R≤ME(ρE)+g(γ)log⁡2Dout+h(γ)n.R\le M E(\rho_{\mathcal E})+\frac{g(\gamma)\log_2D_{\rm out}+h(\gamma)}n.R≤ME(ρE​)+ng(γ)log2​Dout​+h(γ)​.

The source's reused dimension symbol is corrected to the compared-state dimension. This is a finite-block statement; it imposes no uniform size restriction on private shields and claims no general capacity weak converse. The frozen code's half-norm error is doubled for this full-norm finite-block premise.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intakethird100_P49
Formal statement
noncomputable section

namespace QAlgorithms.Papers.Independent.Intakethird100.P49

open QAlgorithms Filter

open scoped Matrix ComplexConjugate ComplexOrder BigOperators

attribute [local instance] Classical.propDecidable Classical.decEq

open QAlgorithms.Papers.Independent.Information100.P63 (Mat tensorPower)

open QAlgorithms.Papers.Independent.Dependency50.P18 (bipartiteTensor)

open QAlgorithms.Papers.Independent.Information100.P71 (diamond AdaptiveTest adaptiveInput adaptiveAccept)

open QAlgorithms.Papers.Independent.Bridge50.P25
  (LOCCOn normalizedChannelChoi TwoWayGenerationCode TwoWayChannelProtocol
   generationCodeError twoWayGenerationCapacity sendChannelRegister StateFunctional
   IsDimensionChangingLOCCMonotone privateStateInPartyOrder)

open QAlgorithms.Papers.Independent.Support50.P07 (amplitudeDampingChannel)

/-- Supplement V.B, PDF p.19, (177)--(183): finite private-generation rate.
The continuity logarithm uses actual total OUTPUT dimension including shields,
correcting the reused printed single-use symbol d. (181) has absolute values:
the target-minus-output direction is essential. No capacity weak converse or
uniform linear shield-size premise is asserted. Independent correction review required. -/
theorem private_finite_block_bound (d e M : ℕ) [NeZero d] [NeZero e]
    (hd : 2 ≤ d) (hM : 2 ≤ M) (E : Superop (Fin d) (Fin e)) (hE : IsChannel E)
    (code : TwoWayGenerationCode E true) (epsilon : ℝ) (hepsilon : 0 ≤ epsilon)
    (hsecure : 2 * generationCodeError code ≤ epsilon)
    (measure : StateFunctional) (g h : ℝ → ℝ) (domain : Set ℝ)
    (hadmissible : AdmissiblePrivateMeasure measure g h domain)
    (hgamma : code.uses * pbtError d M + epsilon ∈ domain) :
    (code.key : ℝ) / code.uses ≤ M * measure (Fin d) (Fin e) (normalizedChannelChoi E) +
      (g (code.uses*pbtError d M+epsilon) *
        Real.logb 2 (((2^code.key : ℕ)*(code.shield+1))^2) +
       h (code.uses*pbtError d M+epsilon)) / code.uses := by sorry

end QAlgorithms.Papers.Independent.Intakethird100.P49

end
Source
Fundamental limits to quantum channel discrimination, arXiv:1803.02834v4, PDF p. 19, Supplement V.B, Eq.(183): finite-block private-rate bound, corrected dimension
Read-back

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

Let d,e,Md,e,Md,e,M be natural numbers with d,e≠0d,e\ne0d,e=0, d≥2d\ge2d≥2, and M≥2M\ge2M≥2, and let E\mathcal EE map complex d×dd\times dd×d matrices to complex e×ee\times ee×e matrices with a finite Kraus representation E(X)=∑jKjXKj†\mathcal E(X)=\sum_jK_jXK_j^\daggerE(X)=∑j​Kj​XKj†​, ∑jKj†Kj=I\sum_jK_j^\dagger K_j=I∑j​Kj†​Kj​=I. Throughout, a density matrix is positive semidefinite with trace 111, a separable density matrix is a finite sum ∑jwjρj⊗σj\sum_jw_j\rho_j\otimes\sigma_j∑j​wj​ρj​⊗σj​ of product density matrices with wj≥0w_j\ge0wj​≥0 and ∑jwj=1\sum_jw_j=1∑j​wj​=1, and ∥X∥1=Re⁡tr⁡X†X\|X\|_1=\operatorname{Re}\operatorname{tr}\sqrt{X^\dagger X}∥X∥1​=RetrX†X​. Consider any code with a natural number kkk of key bits, a positive natural number uuu of channel uses, natural numbers a,b,sa,b,sa,b,s, a separable density matrix ρ0\rho_0ρ0​ on (Ca+1⊗Cd)⊗Cb+1(\mathbb C^{a+1}\otimes\mathbb C^d)\otimes\mathbb C^{b+1}(Ca+1⊗Cd)⊗Cb+1, and an evolution P\mathcal PP to (C2k⊗Cs+1)⊗(C2k⊗Cs+1)(\mathbb C^{2^k}\otimes\mathbb C^{s+1})\otimes(\mathbb C^{2^k}\otimes\mathbb C^{s+1})(C2k⊗Cs+1)⊗(C2k⊗Cs+1). The evolution uses exactly uuu copies of E\mathcal EE: each use applies E\mathcal EE to Alice’s distinguished ddd-dimensional register and transfers its output to Bob, followed by a finite local protocol that prepares the memory layout for the remaining uses, with a finite local protocol after the last use. Such local protocols are generated recursively by identity maps and complete local Kraus instruments, followed by a branch-dependent protocol and summation over branches; the local dimensions may change. The code also specifies a density-matrix target γ\gammaγ that, for some shield density matrix ω\omegaω and shield unitaries UiU_iUi​, has entries

γ((i,x),(j,y)),((i′,x′),(j′,y′))={2−k(UiωUi′†)(x,y),(x′,y′),i=j, i′=j′,0,otherwise.\gamma_{((i,x),(j,y)),((i',x'),(j',y'))} = \begin{cases} 2^{-k}(U_i\omega U_{i'}^\dagger)_{(x,y),(x',y')}, &i=j,\ i'=j',\\ 0,&\text{otherwise}. \end{cases}γ((i,x),(j,y)),((i′,x′),(j′,y′))​={2−k(Ui​ωUi′†​)(x,y),(x′,y′)​,0,​i=j, i′=j′,otherwise.​

Write err⁡=∥P(ρ0)−γ∥1/2\operatorname{err}=\|\mathcal P(\rho_0)-\gamma\|_1/2err=∥P(ρ0​)−γ∥1​/2. Define the following map Td,M\mathcal T_{d,M}Td,M​, which fixes the precise port-based simulation used in the bound. With A={0,…,d−1}M\mathcal A=\{0,\ldots,d-1\}^MA={0,…,d−1}M, let

Fi((x,a),(y,c))=1d 1{x=ai, y=ci, aj=cj for every j≠i},S=∑i=0M−1Fi,R=f(S),f(t)=(t)−1,F_i((x,a),(y,c)) =\frac1d\,\mathbf1_{\{x=a_i,\ y=c_i,\ a_j=c_j\text{ for every }j\ne i\}}, \quad S=\sum_{i=0}^{M-1}F_i,\quad R=f(S),\quad f(t)=(\sqrt t)^{-1},Fi​((x,a),(y,c))=d1​1{x=ai​, y=ci​, aj​=cj​ for every j=i}​,S=i=0∑M−1​Fi​,R=f(S),f(t)=(t​)−1,

where f(S)f(S)f(S) is functional calculus and the scalar inverse at zero is zero, and put Hi=RFiR+M−1(I−RSR)H_i=RF_iR+M^{-1}(I-RSR)Hi​=RFi​R+M−1(I−RSR). Let

βM((a,r),(c,t))=∏j=0M−11d 1{aj=rj, cj=tj}.\beta_M((a,r),(c,t)) =\prod_{j=0}^{M-1}\frac1d\,\mathbf1_{\{a_j=r_j,\ c_j=t_j\}}.βM​((a,r),(c,t))=j=0∏M−1​d1​1{aj​=rj​, cj​=tj​}​.

For a matrix XXX on Cd\mathbb C^dCd, define

Td,M(X)v,w=∑i∑p,q∈{0,…,d−1}×A∑r,t∈A1{ri=v, ti=w, rj=tj (j≠i)}(Hi)q,p Xp0,q0 βM((p1,r),(q1,t)).\mathcal T_{d,M}(X)_{v,w} =\sum_i\sum_{p,q\in\{0,\ldots,d-1\}\times\mathcal A} \sum_{r,t\in\mathcal A} \mathbf1_{\{r_i=v,\ t_i=w,\ r_j=t_j\ (j\ne i)\}} (H_i)_{q,p}\,X_{p_0,q_0}\, \beta_M((p_1,r),(q_1,t)).Td,M​(X)v,w​=i∑​p,q∈{0,…,d−1}×A∑​r,t∈A∑​1{ri​=v, ti​=w, rj​=tj​ (j=i)}​(Hi​)q,p​Xp0​,q0​​βM​((p1​,r),(q1​,t)).

For a matrix map F\mathcal FF, define

∥F∥⋄=sup⁡∥X∥1≤1∥(id⁡d⊗F)(X)∥1,δd,M=∥id⁡−Td,M∥⋄,\|\mathcal F\|_\diamond =\sup_{\|X\|_1\le1} \|(\operatorname{id}_d\otimes\mathcal F)(X)\|_1, \qquad \delta_{d,M}=\|\operatorname{id}-\mathcal T_{d,M}\|_\diamond,∥F∥⋄​=∥X∥1​≤1sup​∥(idd​⊗F)(X)∥1​,δd,M​=∥id−Td,M​∥⋄​,

where XXX ranges over all complex matrices on Cd⊗Cd\mathbb C^d\otimes\mathbb C^dCd⊗Cd, without positivity or Hermiticity restrictions, and identity amplification applies the map separately to each reference-indexed block. Let ϵ≥0\epsilon\ge0ϵ≥0 satisfy 2err⁡≤ϵ2\operatorname{err}\le\epsilon2err≤ϵ. Let QQQ be any real-valued functional on bipartite matrices for every pair of finite nonempty index types with decidable equality, and let g,h:R→Rg,h:\mathbb R\to\mathbb Rg,h:R→R and D⊆R\mathcal D\subseteq\mathbb RD⊆R satisfy all of the following: QQQ is nonnegative on density matrices and does not increase under the finite local protocols just described, including changes of local dimension; g(t),h(t)→0g(t),h(t)\to0g(t),h(t)→0 as t↓0t\downarrow0t↓0; D⊆[0,∞)\mathcal D\subseteq[0,\infty)D⊆[0,∞); Q(ρ⊗σ)≤Q(ρ)+Q(σ)Q(\rho\otimes\sigma)\le Q(\rho)+Q(\sigma)Q(ρ⊗σ)≤Q(ρ)+Q(σ) for all bipartite density matrices, with corresponding parties grouped together; every private-state matrix of the displayed form with 2ℓ2^\ell2ℓ key values and equal shield dimensions r+1r+1r+1 satisfies Q(γ)≥ℓQ(\gamma)\ge\ellQ(γ)≥ℓ; and, for all density matrices ρ,σ\rho,\sigmaρ,σ on the same finite nonempty bipartite space A⊗BA\otimes BA⊗B and every t∈Dt\in\mathcal Dt∈D,

∥ρ−σ∥1≤t⟹∣Q(ρ)−Q(σ)∣≤g(t)log⁡2(∣A∣∣B∣)+h(t).\|\rho-\sigma\|_1\le t \quad\Longrightarrow\quad |Q(\rho)-Q(\sigma)| \le g(t)\log_2(|A||B|)+h(t).∥ρ−σ∥1​≤t⟹∣Q(ρ)−Q(σ)∣≤g(t)log2​(∣A∣∣B∣)+h(t).

If uδd,M+ϵ∈Du\delta_{d,M}+\epsilon\in\mathcal Duδd,M​+ϵ∈D, then, writing J(E)=(id⁡d⊗E)(∣Φd⟩⟨Φd∣)J(\mathcal E)=(\operatorname{id}_d\otimes\mathcal E)(|\Phi_d\rangle\langle\Phi_d|)J(E)=(idd​⊗E)(∣Φd​⟩⟨Φd​∣) for Φd=d−1/2∑i∣i,i⟩\Phi_d=d^{-1/2}\sum_i|i,i\rangleΦd​=d−1/2∑i​∣i,i⟩,

ku≤M Q(J(E))+g(uδd,M+ϵ)log⁡2 ⁣((2k(s+1))2)+h(uδd,M+ϵ)u.\frac{k}{u} \le M\,Q(J(\mathcal E)) +\frac{ g(u\delta_{d,M}+\epsilon)\log_2\!\bigl((2^k(s+1))^2\bigr) +h(u\delta_{d,M}+\epsilon)} {u}.uk​≤MQ(J(E))+ug(uδd,M​+ϵ)log2​((2k(s+1))2)+h(uδd,M​+ϵ)​.

Key size k=0k=0k=0, shield parameter s=0s=0s=0, zero code error, and ϵ=0\epsilon=0ϵ=0 are included; membership in D\mathcal DD is required at the actual argument appearing above.

Human review
  • Endorsed by Shuze Chen · Nov 1, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Nov 1, 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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me