Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Corollary 7: privacy continuity and exact witnesses

Open
QAlgorithms.Papers.Independent.Intakenext100.P02.corollary_7

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

prove2quantum

All systems are nonzero separable complex Hilbert spaces, including finite systems. States are positive trace-class operators of trace one; state convergence uses trace norm. Entropies and relative entropies use natural logarithms and may be +∞+\infty+∞. A discrete POVM may have finitely or countably many outcomes. Write SSS for von Neumann entropy, I(A:B)I(A:B)I(A:B) for quantum mutual information, CBM,CBC_B^M,C_BCBM​,CB​ for the fixed-measurement and optimized one-way classical correlations, and DBM,DBD_B^M,D_BDBM​,DB​ for their discord deficits on their natural finite-classical-correlation domains. Write RM(ω)=ER(ω,IA⊗M)R_M(\omega)=\mathrm{ER}(\omega,I_A\otimes M)RM​(ω)=ER(ω,IA​⊗M); h2(p)=−pln⁡p−(1−p)ln⁡(1−p)h_2(p)=-p\ln p-(1-p)\ln(1-p)h2​(p)=−plnp−(1−p)ln(1−p) and g(x)=(x+1)ln⁡(x+1)−xln⁡xg(x)=(x+1)\ln(x+1)-x\ln xg(x)=(x+1)ln(x+1)−xlnx, with zero endpoint terms understood as zero.

Define signed ensemble privacy by π(Φ,μ)=χ(Φ(μ))−χ(Φ^(μ))\pi(\Phi,\mu)=\chi(\Phi(\mu))-\chi(\widehat\Phi(\mu))π(Φ,μ)=χ(Φ(μ))−χ(Φ(μ)). If d=dim⁡HA<∞d=\dim H_A<\inftyd=dimHA​<∞, or d=rank⁡ρ‾(μ)<∞d=\operatorname{rank}\overline\rho(\mu)<\inftyd=rankρ​(μ)<∞, and 12∥Φ−Ψ∥⋄≤ε\frac12\|\Phi-\Psi\|_\diamond\le\varepsilon21​∥Φ−Ψ∥⋄​≤ε with ε≥0\varepsilon\ge0ε≥0, all Holevo terms are finite and

∣π(Φ,μ)−π(Ψ,μ)∣≤2εln⁡d+2g(ε).|\pi(\Phi,\mu)-\pi(\Psi,\mu)|\le2\varepsilon\ln d+2g(\varepsilon).∣π(Φ,μ)−π(Ψ,μ)∣≤2εlnd+2g(ε).

For every d≥2d\ge2d≥2, ε∈[0,1]\varepsilon\in[0,1]ε∈[0,1], erasure probabilities 0,ε0,\varepsilon0,ε and a pure ensemble of chaotic average give exact distance ε\varepsilonε and privacy difference 2εln⁡d2\varepsilon\ln d2εlnd. The ratio to the full bound tends to one at fixed positive ε\varepsilonε as d→∞d\to\inftyd→∞. Privacy may be negative.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intakenext100_P02
Formal statement
noncomputable section

open Filter MeasureTheory

open scoped ENNReal NNReal Topology BigOperators

namespace QAlgorithms.Papers.Independent.Intakenext100.P02

open QAlgorithms.RealRegisters (Hilbert)

open QAlgorithms.Papers.Independent.Dependency50.P33
  (State PureState IsDensity IsTraceClass traceSize rankOne productCoeff tensorApply)

open QAlgorithms.Papers.Independent.Frontier18.P01
  (Channel Complementary Purifies traceFirst traceSecond mutualInformation
   barycentricChi CountableStateEnsemble Barycenter convexOperatorMixture channelTensorAction)

open QAlgorithms.Papers.Independent.Frontier18.P07
  (GeneralizedEnsemble HasAverage HasFiniteSupport averageCoefficients
   extendedEntropyNats extendedRelativeEntropyNats ensembleHolevo pureStates)

open QAlgorithms.Papers.Independent.Frontier18.P08
  (IsQuantumOperation operatorTrace StronglyConverges TraceNormConverges)

open QAlgorithms.Papers.Independent.Frontier18.P18
  (operatorCoeff boundedOperator conjugateCoeff)

open QAlgorithms.Papers.Independent.Gap48.P45
  (boundedTracePair dimensionCount generatedSpace outputSpace coefficientTraceHasSum)

open QAlgorithms.Papers.Independent.Renew46.P08 (qmi)

open QAlgorithms.Papers.Independent.Claimed50.P18 (swapCoeff associateRight dropMiddle)

open QAlgorithms.Papers.Independent.Frontier18.P01 (binaryEntropy)

attribute [local instance] Classical.propDecidable Classical.decEq

/-- arXiv:2304.05388v3, Corollary 7, PDF p.30. Privacy is signed, unlike the
optimized private capacity. Both finite-input and finite-average-rank regimes. -/
theorem corollary_7 :
    (∀ (A B E F : Type) [Countable A] [Countable B] [Countable E] [Countable F]
      [Nonempty A] [Nonempty B] [Nonempty E] [Nonempty F]
      (Phi Psi : Channel A B) (PhiC : Channel A E) (PsiC : Channel A F),
      Complementary Phi PhiC → Complementary Psi PsiC →
      ∀ (mu : GeneralizedEnsemble A) (eps : ℝ) (d : ℕ), 0 ≤ eps →
        (dimensionCount A = (d : ℕ∞) ∨
          QAlgorithms.Papers.Independent.Gap48.P45.operatorRank (boundedOperator (averageCoefficients mu)) = (d : ℕ∞)) →
        halfTraceClassDiamondDistance Phi.val Psi.val ≤ ENNReal.ofReal eps →
        ensembleHolevo Phi.val mu < ⊤ ∧ ensembleHolevo Psi.val mu < ⊤ ∧
        ensembleHolevo PhiC.val mu < ⊤ ∧ ensembleHolevo PsiC.val mu < ⊤ ∧
        |privacy Phi.val PhiC.val mu - privacy Psi.val PsiC.val mu| ≤ 2 * eps * Real.log d + 2 * correctionG eps) ∧
    (∀ (d : ℕ) (eps : ℝ), 2 ≤ d → 0 ≤ eps → eps ≤ 1 →
      ∃ (Phi Psi PhiC PsiC : Channel (Fin d) (Option (Fin d))) (mu : GeneralizedEnsemble (Fin d)),
        IsErasureWitness Phi Psi PhiC PsiC eps ∧ averageCoefficients mu = uniformDensityCoefficients (Fin d) ∧
        (mu : Measure (State (Fin d))).support ⊆ pureStates (Fin d) ∧
        halfTraceClassDiamondDistance Phi.val Psi.val = ENNReal.ofReal eps ∧
        |privacy Phi.val PhiC.val mu - privacy Psi.val PsiC.val mu| = 2 * eps * Real.log d) ∧
    (∀ eps : ℝ, 0 < eps → eps ≤ 1 → Tendsto
      (fun d : ℕ => (2 * eps * Real.log d) / (2 * eps * Real.log d + 2 * correctionG eps)) atTop (𝓝 1)) := by sorry

end QAlgorithms.Papers.Independent.Intakenext100.P02

end
Source
Correlation measures of a quantum state and information characteristics of a quantum channel, arXiv:2304.05388v3, PDF p. 30, Corollary 7: privacy continuity and exact witnesses
Read-back

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

Let HT=ℓ2(T;C)\mathcal H_T=\ell^2(T;\mathbb C)HT​=ℓ2(T;C). An array is trace class when Xij=∑nun(i)vn(j)‾X_{ij}=\sum_nu_n(i)\overline{v_n(j)}Xij​=∑n​un​(i)vn​(j)​ with ∑n∥un∥∥vn∥<∞\sum_n\|u_n\|\|v_n\|<\infty∑n​∥un​∥∥vn​∥<∞, and write N(X)N(X)N(X) for the infimum of these sums, with empty infimum +∞+\infty+∞. A state is such an array with real nonnegative finite quadratic forms and summable real diagonal of sum 111. Its topology is generated by {Y:N(Y−X)<ϵ}\{Y:N(Y-X)<\epsilon\}{Y:N(Y−X)<ϵ}, XXX a state and ϵ>0\epsilon>0ϵ>0, and its measurable structure is Borel. A channel preserves trace-class arrays, is additive and complex homogeneous on them, and sends density arrays to density arrays under every finite amplification, where

(F⊗id)(X)(u,a),(u′,b)=F ⁣((X(i,a),(j,b))ij)uu′.(F\otimes\mathrm{id})(X)_{(u,a),(u',b)} =F\!\left((X_{(i,a),(j,b)})_{ij}\right)_{uu'}.(F⊗id)(X)(u,a),(u′,b)​=F((X(i,a),(j,b)​)ij​)uu′​.

Complementary channels F:T→UF:T\to UF:T→U, G:T→VG:T\to VG:T→V have a common complex-linear isometry W:HT→HU×VW:\mathcal H_T\to\mathcal H_{U\times V}W:HT​→HU×V​ such that their actions on each input state are the partial traces of ∑i,j(Wei)pXij(Wej)q‾\sum_{i,j}(We_i)_pX_{ij}\overline{(We_j)_q}∑i,j​(Wei​)p​Xij​(Wej​)q​​; partial traces sum over the omitted diagonal index. For a probability measure μ\muμ on the input state space, define

(ρˉμ)ij=∫ρij dμ(ρ),χF(μ)=∫D7(F(ρ),F(ρˉμ)) dμ(ρ),pF,G(μ)=χF(μ)real−χG(μ)real,(\bar\rho_\mu)_{ij}=\int\rho_{ij}\,d\mu(\rho),\qquad \chi_F(\mu)=\int D_7(F(\rho),F(\bar\rho_\mu))\,d\mu(\rho),\qquad p_{F,G}(\mu)=\chi_F(\mu)^{\mathrm{real}}-\chi_G(\mu)^{\mathrm{real}},(ρˉ​μ​)ij​=∫ρij​dμ(ρ),χF​(μ)=∫D7​(F(ρ),F(ρˉ​μ​))dμ(ρ),pF,G​(μ)=χF​(μ)real−χG​(μ)real,

and

δ(F,G)=12sup⁡X state on T×TN(((F−G)⊗id)(X)),g(x)=(x+1)log⁡(x+1)−xlog⁡x.\delta(F,G)=\frac12\sup_{X\text{ state on }T\times T} N(((F-G)\otimes\mathrm{id})(X)),\qquad g(x)=(x+1)\log(x+1)-x\log x.δ(F,G)=21​X state on T×Tsup​N(((F−G)⊗id)(X)),g(x)=(x+1)log(x+1)−xlogx.

The quantity D7(X,Y)D_7(X,Y)D7​(X,Y) is the supremum over finite coordinate sets sss of max⁡{0,Re⁡tr⁡(Xslog⁡Xs−Xslog⁡Ys+Ys−Xs)}\max\{0,\operatorname{Re}\operatorname{tr}(X_s\log X_s-X_s\log Y_s+Y_s-X_s)\}max{0,Retr(Xs​logXs​−Xs​logYs​+Ys​−Xs​)} if ker⁡Ys⊆ker⁡Xs\ker Y_s\subseteq\ker X_skerYs​⊆kerXs​, and +∞+\infty+∞ otherwise; logarithms use functional calculus and the integral is the nonnegative extended integral. The theorem first states that for all countable nonempty A,B,E,FA,B,E,FA,B,E,F, channels Φ,Ψ:A→B\Phi,\Psi:A\to BΦ,Ψ:A→B, Φc:A→E\Phi^c:A\to EΦc:A→E, Ψc:A→F\Psi^c:A\to FΨc:A→F with complementary pairs (Φ,Φc)(\Phi,\Phi^c)(Φ,Φc), (Ψ,Ψc)(\Psi,\Psi^c)(Ψ,Ψc), every input probability measure μ\muμ, every real ϵ≥0\epsilon\ge0ϵ≥0, and every natural ddd, if either the extended-natural cardinality of AAA equals ddd or the extended-natural complex rank of ρˉμ^\widehat{\bar\rho_\mu}ρˉ​μ​​ equals ddd, and δ(Φ,Ψ)≤ϵ\delta(\Phi,\Psi)\le\epsilonδ(Φ,Ψ)≤ϵ, then χΦ(μ),χΨ(μ),χΦc(μ),χΨc(μ)\chi_\Phi(\mu),\chi_\Psi(\mu),\chi_{\Phi^c}(\mu),\chi_{\Psi^c}(\mu)χΦ​(μ),χΨ​(μ),χΦc​(μ),χΨc​(μ) are all finite and

∣pΦ,Φc(μ)−pΨ,Ψc(μ)∣≤2ϵlog⁡d+2g(ϵ).|p_{\Phi,\Phi^c}(\mu)-p_{\Psi,\Psi^c}(\mu)| \le2\epsilon\log d+2g(\epsilon).∣pΦ,Φc​(μ)−pΨ,Ψc​(μ)∣≤2ϵlogd+2g(ϵ).

Here X^\widehat XX is a chosen bounded operator with coefficients XXX if one exists and zero otherwise, and infinite cardinality or range dimension converts to +∞+\infty+∞; no upper bound on ϵ\epsilonϵ or separate positivity assumption on ddd is imposed in this first assertion. Second, for every natural d≥2d\ge2d≥2 and 0≤ϵ≤10\le\epsilon\le10≤ϵ≤1, there are four channels from {0,…,d−1}\{0,\ldots,d-1\}{0,…,d−1} to its extension by a flag ⊥\bot⊥, and a probability measure μ\muμ, such that the two pairs are complementary, their actions on every trace-class XXX are respectively E0(X),Eϵ(X),E1(X),E1−ϵ(X)\mathcal E_0(X),\mathcal E_\epsilon(X),\mathcal E_1(X),\mathcal E_{1-\epsilon}(X)E0​(X),Eϵ​(X),E1​(X),E1−ϵ​(X), where Ep(X)ab=(1−p)Xab\mathcal E_p(X)_{ab}=(1-p)X_{ab}Ep​(X)ab​=(1−p)Xab​, Ep(X)⊥⊥=p∑aXaa\mathcal E_p(X)_{\bot\bot}=p\sum_aX_{aa}Ep​(X)⊥⊥​=p∑a​Xaa​, and all mixed flag entries vanish, and such that

ρˉμ=Ud,supp⁡μ⊆{uu∗:∥u∥=1},δ(Φ,Ψ)=ϵ,∣pΦ,Φc(μ)−pΨ,Ψc(μ)∣=2ϵlog⁡d,\bar\rho_\mu=U_d,\qquad \operatorname{supp}\mu\subseteq\{uu^*:\|u\|=1\},\qquad \delta(\Phi,\Psi)=\epsilon,\qquad |p_{\Phi,\Phi^c}(\mu)-p_{\Psi,\Psi^c}(\mu)|=2\epsilon\log d,ρˉ​μ​=Ud​,suppμ⊆{uu∗:∥u∥=1},δ(Φ,Ψ)=ϵ,∣pΦ,Φc​(μ)−pΨ,Ψc​(μ)∣=2ϵlogd,

where UdU_dUd​ is diagonal with diagonal 1/d1/d1/d. Finally, for every fixed 0<ϵ≤10<\epsilon\le10<ϵ≤1,

lim⁡d→∞, d∈N2ϵlog⁡d2ϵlog⁡d+2g(ϵ)=1.\lim_{d\to\infty,\ d\in\mathbb N} \frac{2\epsilon\log d}{2\epsilon\log d+2g(\epsilon)}=1.d→∞, d∈Nlim​2ϵlogd+2g(ϵ)2ϵlogd​=1.

The “real” conversion sends +∞+\infty+∞ to 000; the first assertion separately excludes infinite χ\chiχ-values. All logarithms are natural, with log⁡0=0\log0=0log0=0, and division by zero is defined as zero.

Human review
  • Endorsed by Shuze Chen · Oct 31, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Oct 31, 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