Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Corollary 1: Chernoff estimate for almost-power mixtures

Open
QAlgorithms.Papers.Independent.Advance50.P30.almostMixed_chernoff

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

prove2quantum

Let H\mathcal HH be a finite-dimensional complex Hilbert space of dimension d≥1d\ge1d≥1, with a fixed orthonormal basis. All states below are positive operators of trace one; pure states are unit vectors. Write ∥⋅∥1\|\cdot\|_1∥⋅∥1​ for the full trace norm (the full ℓ1\ell_1ℓ1​ norm for classical distributions), H2H_2H2​ for binary entropy in bits, and define

e(δ,N,r,w)=2−N[δ2/4−H2(r/N)]+wlog⁡2(N/2+1).e(\delta,N,r,w)=2^{-N[\delta^2/4-H_2(r/N)]+w\log_2(N/2+1)}.e(δ,N,r,w)=2−N[δ2/4−H2​(r/N)]+wlog2​(N/2+1).

Let n≥1n\ge1n≥1, 2r≤n2r\le n2r≤n, δ>0\delta>0δ>0, and let θ\thetaθ be a unit vector. Let ρn\rho_nρn​ be a convex mixture of projectors onto unit vectors in Sym⁡(H⊗n)\operatorname{Sym}(\mathcal H^{\otimes n})Sym(H⊗n) intersected with the complex span of permutations of θ⊗(n−r)⊗ψr\theta^{\otimes(n-r)}\otimes\psi_rθ⊗(n−r)⊗ψr​. For every finite normalized POVM M={Ma}a=1wM=\{M_a\}_{a=1}^wM={Ma​}a=1w​, set Pa=Tr⁡(Ma∣θ⟩⟨θ∣)P_a=\operatorname{Tr}(M_a|\theta\rangle\langle\theta|)Pa​=Tr(Ma​∣θ⟩⟨θ∣) and let QQQ be the normalized empirical frequencies under the product measurement on ρn\rho_nρn​. Then

Pr⁡ρn{∥P−Q∥1>δ}≤e(δ,n,r,w).\Pr_{\rho_n}\{\|P-Q\|_1>\delta\}\le e(\delta,n,r,w).ρn​Pr​{∥P−Q∥1​>δ}≤e(δ,n,r,w).

This extends the fixed deviation event bound to convex mixtures.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Advance50_P30
Formal statement
noncomputable section

namespace QAlgorithms.Papers.Independent.Advance50.P30

open QAlgorithms MeasureTheory

open QAlgorithms.Papers.Independent.Gap48.P20 (Copies)

open QAlgorithms.Papers.Independent.Information100.P21 (Op Vec)

open QAlgorithms.Papers.Independent.Information100.P69 (permute)

open scoped Matrix ComplexConjugate ComplexOrder Matrix.Norms.Elementwise

attribute [local instance] Classical.decEq Classical.propDecidable

attribute [local instance] QAlgorithms.Papers.Independent.Advance50.P30.matrixContinuousENorm

attribute [local instance] QAlgorithms.Papers.Independent.Advance50.P30.matrixMeasurable

attribute [local instance] QAlgorithms.Papers.Independent.Advance50.P30.matrixBorel

attribute [local instance] QAlgorithms.Papers.Independent.Advance50.P30.vectorMeasurable

attribute [local instance] QAlgorithms.Papers.Independent.Advance50.P30.vectorBorel

/-- PDF p.14, Corollary 1: the fixed deviation event probability extends
linearly to mixtures; empirical frequencies themselves are not linear in rho. -/
theorem almostMixed_chernoff {I : Type} [Fintype I] [DecidableEq I] [Nonempty I]
    (theta : Vec I) (htheta : IsState theta) (n r w : ℕ)
    (hn : 0 < n) (hr : 2 * r ≤ n) (hw : 0 < w)
    (rho : Op (Copies I n)) (halmost : AlmostMixed theta n r rho)
    (E : Fin w → Op I) (hE : IsPOVM E) (delta : ℝ) (hdelta : 0 < delta) :
    iidEvent rho E (fun out =>
      l1 (fun a => effectProb (E a) (pureDensity theta)) (empiricalFrequency out) > delta) ≤
        chernoffError delta n r w := by sorry

end QAlgorithms.Papers.Independent.Advance50.P30

end
Source
Unconditional privacy over channels which cannot convey quantum information, arXiv:quant-ph/0702077v1, PDF p. 14, Corollary 1
Read-back

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

Let III be a finite, nonempty type with decidable equality, and let θ∈CI\theta\in\mathbb C^Iθ∈CI have Euclidean norm one. For natural numbers n,r,wn,r,wn,r,w with n>0n>0n>0, 2r≤n2r\le n2r≤n, and w>0w>0w>0, suppose ρ\rhoρ, indexed by InI^nIn, is positive semidefinite with trace one and is a finite convex combination of matrices ψψ†\psi\psi^\daggerψψ†, where every ψ\psiψ is a permutation-invariant unit vector in the complex linear span of vectors

x⟼(∏i∉Sθ(xi))χ(x∣S),∣S∣≤r,x\longmapsto \left(\prod_{i\notin S}\theta(x_i)\right)\chi(x|_S), \qquad |S|\le r,x⟼​i∈/S∏​θ(xi​)​χ(x∣S​),∣S∣≤r,

with arbitrary complex-valued χ\chiχ on the configurations on SSS. Let E0,…,Ew−1E_0,\ldots,E_{w-1}E0​,…,Ew−1​ be positive semidefinite matrices indexed by III whose sum is the identity, and let δ>0\delta>0δ>0 be real. Set

p(a)=Re⁡tr⁡(Eaθθ†),p^o(a)=∣{i:oi=a}∣n,h2(u)=binEntropy⁡(u)log⁡2.p(a)=\operatorname{Re}\operatorname{tr}(E_a\theta\theta^\dagger), \qquad \widehat p_o(a)=\frac{|\{i:o_i=a\}|}{n}, \qquad h_2(u)=\frac{\operatorname{binEntropy}(u)}{\log 2}.p(a)=Retr(Ea​θθ†),p​o​(a)=n∣{i:oi​=a}∣​,h2​(u)=log2binEntropy(u)​.

Then the sum of the product-measurement outcome weights for which the empirical distribution differs from ppp by strictly more than δ\deltaδ in ℓ1\ell^1ℓ1 is bounded by

∑o∈{0,…,w−1}n∑a∣p(a)−p^o(a)∣>δRe⁡tr⁡((⨂i=0n−1Eoi)ρ)≤2−n(δ2/4−h2(r/n))+wlog⁡2(n/2+1).\sum_{\substack{o\in\{0,\ldots,w-1\}^n\\ \sum_a|p(a)-\widehat p_o(a)|>\delta}} \operatorname{Re}\operatorname{tr} \left(\left(\bigotimes_{i=0}^{n-1}E_{o_i}\right)\rho\right) \le 2^{-n\left(\delta^2/4-h_2(r/n)\right) +w\log_2(n/2+1)}.o∈{0,…,w−1}n∑a​∣p(a)−p​o​(a)∣>δ​∑​Retr((i=0⨂n−1​Eoi​​)ρ)≤2−n(δ2/4−h2​(r/n))+wlog2​(n/2+1).

The hypotheses permit r=0r=0r=0 and impose no upper bound on δ\deltaδ.

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