Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Finite-block normalization–continuity bound

Open
QAlgorithms.Papers.Independent.Intake100.P02.finiteBlockMeasureBound

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

prove2quantum

Let n,k,a,bn,k,a,bn,k,a,b be positive integers. On two key registers of dimension kkk and shield registers of dimensions a,ba,ba,b, let τ\tauτ be a normalized shield density and UiU_iUi​ arbitrary shield unitaries. The private target is

ϕ=1k∑i,j=0k−1∣ii⟩⟨jj∣⊗UiτUj†.\phi=\frac1k\sum_{i,j=0}^{k-1}|ii\rangle\langle jj|\otimes U_i\tau U_j^\dagger.ϕ=k1​i,j=0∑k−1​∣ii⟩⟨jj∣⊗Ui​τUj†​.

Let ρ\rhoρ be any normalized output density on the same total dimension d=k2abd=k^2abd=k2ab, and put Rn=log⁡2(k)/nR_n=\log_2(k)/nRn​=log2​(k)/n. Let EEE be one nonnegative functional family over all such dimensions, normalized by E(ϕ)≥log⁡2kE(\phi)\ge\log_2 kE(ϕ)≥log2​k for every private target and satisfying ∣E(ρ)−E(σ)∣≤g(ϵ)log⁡2d+h(ϵ)|E(\rho)-E(\sigma)|\le g(\epsilon)\log_2 d+h(\epsilon)∣E(ρ)−E(σ)∣≤g(ϵ)log2​d+h(ϵ) for normalized states at unhalved trace-norm distance at most ϵ\epsilonϵ, on its specified interval 0≤ϵ<r≤10\le\epsilon<r\le10≤ϵ<r≤1, r>0r>0r>0. If ∥ρ−ϕ∥1≤ϵ<r\|\rho-\phi\|_1\le\epsilon<r∥ρ−ϕ∥1​≤ϵ<r, then

Rn≤E(ρ)+g(ϵ)log⁡2d+h(ϵ)n.R_n\le\frac{E(\rho)+g(\epsilon)\log_2 d+h(\epsilon)}{n}.Rn​≤nE(ρ)+g(ϵ)log2​d+h(ϵ)​.

This is the source’s output-state inequality and hence applies to every actual finite-dimensional protocol output, including end-to-end outputs. Maximally entangled targets use trivial shields. No uniform shield bound, simulation, or capacity definition is required; only the two stated functional properties are used.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intake100_P02
Formal statement
noncomputable section

namespace QAlgorithms.Papers.Independent.Intake100.P02

open Filter MeasureTheory QAlgorithms

open scoped ENNReal Topology

open QAlgorithms.Papers.Independent.Dependency50.P33 (IsDensity)

open QAlgorithms.Papers.Independent.Dependency50.P39 (displacementMatrix)

open QAlgorithms.Papers.Independent.Next46.P32 (complexNormal)

/-- arXiv:1711.09909v3, PDF p.15, (129): bound for every normalized finite
output close to a private target in unhalved trace norm. This applies to actual
mean outputs of both point-to-point and end-to-end protocols. Only normalization
and continuity are required, using the actual dimension, without simulation or
a uniform bound on shields. Maximally entangled targets have trivial shields. -/
theorem finiteBlockMeasureBound (E : FiniteTargetFunctional)
    (n k a b : ℕ) (hn : 0 < n) (hk : 0 < k) (ha : 0 < a) (hb : 0 < b)
    (rho : Matrix (KeyRegister k a b) (KeyRegister k a b) ℂ)
    (hrho : IsDensityMatrix rho)
    (shield : Matrix (Fin a × Fin b) (Fin a × Fin b) ℂ)
    (hshield : IsDensityMatrix shield)
    (U : Fin k → Matrix.unitaryGroup (Fin a × Fin b) ℂ)
    (eps : ℝ) (heps_nonnegative : 0 ≤ eps) (heps_small : eps < E.radius)
    (hclose : traceNorm (rho - privateTarget shield U) ≤ eps) :
    finiteKeyRate k n ≤
      (E.value k a b rho +
        E.g eps * Real.logb 2 ((k : ℝ) ^ 2 * (a : ℝ) * (b : ℝ)) + E.h eps) /
        (n : ℝ) := by sorry

end QAlgorithms.Papers.Independent.Intake100.P02

end
Source
Theory of channel simulation and bounds for private communication, arXiv:1711.09909v3, PDF p. 15, VIII A, Eq. (129): finite-block bound for a generic measure
Read-back

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

Let EEE consist of a real-valued functional Vk,a,bV_{k,a,b}Vk,a,b​ on complex matrices indexed by ({0,…,k−1}2)×({0,…,a−1}×{0,…,b−1})(\{0,\ldots,k-1\}^2)\times(\{0,\ldots,a-1\}\times\{0,\ldots,b-1\})({0,…,k−1}2)×({0,…,a−1}×{0,…,b−1}), real functions gE,hEg_E,h_EgE​,hE​, and a real radius 0<rE≤10<r_E\le10<rE​≤1, subject to the following requirements for all sizes: VVV is nonnegative on positive semidefinite matrices of trace one; for positive sizes, every positive semidefinite trace-one shield σ\sigmaσ and every family of unitary shield matrices UrU_rUr​ give a target Pσ,UP_{\sigma,U}Pσ,U​ satisfying log⁡2k≤Vk,a,b(Pσ,U)\log_2 k\le V_{k,a,b}(P_{\sigma,U})log2​k≤Vk,a,b​(Pσ,U​); and for any two positive semidefinite trace-one matrices ρ,τ\rho,\tauρ,τ, whenever 0≤e<rE0\le e<r_E0≤e<rE​ and ∥ρ−τ∥1≤e\|\rho-\tau\|_1\le e∥ρ−τ∥1​≤e,

∣Vk,a,b(ρ)−Vk,a,b(τ)∣≤gE(e)log⁡2(k2ab)+hE(e).|V_{k,a,b}(\rho)-V_{k,a,b}(\tau)| \le g_E(e)\log_2(k^2ab)+h_E(e).∣Vk,a,b​(ρ)−Vk,a,b​(τ)∣≤gE​(e)log2​(k2ab)+hE​(e).

Here

(Pσ,U)((r,s),(u,v)),((r′,s′),(u′,v′))={k−1(UrσUr′†)(u,v),(u′,v′),r=s and r′=s′,0,otherwise,(P_{\sigma,U})_{((r,s),(u,v)),((r',s'),(u',v'))} = \begin{cases} k^{-1}(U_r\sigma U_{r'}^\dagger)_{(u,v),(u',v')}, & r=s\ \text{and }r'=s',\\ 0,&\text{otherwise}, \end{cases}(Pσ,U​)((r,s),(u,v)),((r′,s′),(u′,v′))​={k−1(Ur​σUr′†​)(u,v),(u′,v′)​,0,​r=s and r′=s′,otherwise,​

and ∥M∥1=Re⁡tr⁡M†M\|M\|_1=\operatorname{Re}\operatorname{tr}\sqrt{M^\dagger M}∥M∥1​=RetrM†M​, with the square root given by functional calculus. For every positive natural n,k,a,bn,k,a,bn,k,a,b, every positive semidefinite trace-one matrix ρ\rhoρ on this key-and-shield index set, every positive semidefinite trace-one shield σ\sigmaσ, every family U0,…,Uk−1U_0,\ldots,U_{k-1}U0​,…,Uk−1​ of unitary shield matrices, and every real 0≤ε<rE0\le\varepsilon<r_E0≤ε<rE​ satisfying ∥ρ−Pσ,U∥1≤ε\|\rho-P_{\sigma,U}\|_1\le\varepsilon∥ρ−Pσ,U​∥1​≤ε, the conclusion is

log⁡2kn≤Vk,a,b(ρ)+gE(ε)log⁡2(k2ab)+hE(ε)n.\frac{\log_2 k}{n} \le \frac{ V_{k,a,b}(\rho)+g_E(\varepsilon)\log_2(k^2ab)+h_E(\varepsilon) }{n}.nlog2​k​≤nVk,a,b​(ρ)+gE​(ε)log2​(k2ab)+hE​(ε)​.

No sign assumptions on gEg_EgE​ or hEh_EhE​ are imposed beyond the stated functional requirements, and ε=0\varepsilon=0ε=0 is allowed.

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