Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 1: mixed de Finetti approximation with full and reduced Chernoff estimates

Open
QAlgorithms.Papers.Independent.Advance50.P30.mixed_deFinetti_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,k≥1n,k\ge1n,k≥1, 0≤r≤n0\le r\le n0≤r≤n, and let ρn+k\rho_{n+k}ρn+k​ be invariant under every permutation of its sites. Then there exist a Borel probability measure μ\muμ on the single-site density operators and a measurable, integrable family τσ\tau_\sigmaτσ​ of normalized mixed almost-power states along σ\sigmaσ, such that

∥Tr⁡kρn+k−∫τσ dμ(σ)∥1≤2exp⁡ ⁣[−k(r+1)2(n+k)+d22ln⁡k].\left\|\operatorname{Tr}_k\rho_{n+k}-\int\tau_\sigma\,d\mu(\sigma)\right\|_1 \le 2\exp\!\left[-\frac{k(r+1)}{2(n+k)}+\frac{d^2}{2}\ln k\right].​Trk​ρn+k​−∫τσ​dμ(σ)​1​≤2exp[−2(n+k)k(r+1)​+2d2​lnk].

For every σ\sigmaσ, every finite normalized POVM M={Ma}a=1wM=\{M_a\}_{a=1}^wM={Ma​}a=1w​, and every δ>0\delta>0δ>0, write PM(σ)a=Tr⁡(σMa)P_M(\sigma)_a=\operatorname{Tr}(\sigma M_a)PM​(σ)a​=Tr(σMa​) and QMQ_MQM​ for the normalized empirical frequencies from measuring MMM on each site. If 2r≤n2r\le n2r≤n, then

Pr⁡τσ{∥PM(σ)−QM∥1>δ}≤e(δ,n,r,w).\Pr_{\tau_\sigma}\{\|P_M(\sigma)-Q_M\|_1>\delta\}\le e(\delta,n,r,w).τσ​Pr​{∥PM​(σ)−QM​∥1​>δ}≤e(δ,n,r,w).

For every 1≤n′≤n1\le n'\le n1≤n′≤n with 2r≤n′2r\le n'2r≤n′, the same probability on the n′n'n′-site reduced state is at most e(δ,n′,r,w)e(\delta,n',r,w)e(δ,n′,r,w).

Mixed almost-power states are obtained by tracing the reference systems of convex mixtures of pure almost-power states along a unit purification of σ\sigmaσ. Pure almost-power means unit vectors in the symmetric subspace intersected with the span of permutations of θ⊗(n−r)⊗ψr\theta^{\otimes(n-r)}\otimes\psi_rθ⊗(n−r)⊗ψr​. Thus the approximation family is specified geometrically, rather than by assuming the concentration conclusions. This result supplies finite parameter-estimation guarantees for invariant mixed inputs.

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 pp.11--12, Theorem 1, Eqs.(7)--(9); construction on pp.15--16.
The source's proof supplies the half-length defect restrictions. At p.16 its
nprime-r superscript is read as the preserved defect count r, consistently
with Lemma 1 and the explicit restriction 2*r ≤ nprime.
Printed (8) has no half-length guard; changed to 2*r ≤ n for that clause
because its cited Lemma 2 requires this domain. The approximation clause
still permits every r ≤ n. -/
theorem mixed_deFinetti_chernoff {I : Type} [Fintype I] [DecidableEq I] [Nonempty I]
    (n k r : ℕ) (hn : 0 < n) (hk : 0 < k) (hr : r ≤ n)
    (rho : Op (Copies I (n + k))) (hrho : IsDensityMatrix rho)
    (hinv : InvariantCopyState rho) :
    ∃ (mu : Measure (DensityState I)) (family : DensityState I → Op (Copies I n)),
      IsProbabilityMeasure mu ∧ Measurable family ∧ Integrable family mu ∧
      (∀ sigma, AlmostAlong sigma n r (family sigma)) ∧
      traceNorm (reduceCopies rho n (by omega) - ∫ sigma, family sigma ∂mu) ≤
        deFinettiError n k r (Fintype.card I) ∧
      (2 * r ≤ n → ∀ (sigma : DensityState I) (w : ℕ), 0 < w →
        ∀ E : Fin w → Op I, IsPOVM E → ∀ delta : ℝ, 0 < delta →
          iidEvent (family sigma) E (fun out =>
            l1 (fun a => effectProb (E a) sigma.val) (empiricalFrequency out) > delta) ≤
              chernoffError delta n r w) ∧
      (∀ (np : ℕ) (hpos : 0 < np) (hle : np ≤ n), 2 * r ≤ np →
        ∀ (sigma : DensityState I) (w : ℕ), 0 < w →
        ∀ E : Fin w → Op I, IsPOVM E → ∀ delta : ℝ, 0 < delta →
          iidEvent (reduceCopies (family sigma) np hle) E (fun out =>
            l1 (fun a => effectProb (E a) sigma.val) (empiricalFrequency out) > delta) ≤
              chernoffError delta np 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. 11, Theorem 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 put d=∣I∣d=|I|d=∣I∣. For every n,k,r∈Nn,k,r\in\mathbb Nn,k,r∈N with n>0n>0n>0, k>0k>0k>0, and r≤nr\le nr≤n, let ρ\rhoρ be a complex matrix indexed by In+kI^{n+k}In+k, positive semidefinite with trace one, and invariant under simultaneous permutation of its row and column coordinates: ρ(x∘π,y∘π)=ρ(x,y)\rho(x\circ\pi,y\circ\pi)=\rho(x,y)ρ(x∘π,y∘π)=ρ(x,y) for every permutation π\piπ of the n+kn+kn+k positions. There exist a probability measure μ\muμ on the space of positive semidefinite, trace-one matrices σ\sigmaσ indexed by III, and a measurable, μ\muμ-integrable matrix-valued function F(σ)F(\sigma)F(σ) indexed by InI^nIn, with the following properties. For every σ\sigmaσ, including those in sets of μ\muμ-measure zero, F(σ)F(\sigma)F(σ) is positive semidefinite with trace one and admits this description: there is a unit vector θ\thetaθ indexed by I×II\times II×I satisfying ∑bθ(a,b)θ(a′,b)‾=σ(a,a′)\sum_b\theta(a,b)\overline{\theta(a',b)}=\sigma(a,a')∑b​θ(a,b)θ(a′,b)​=σ(a,a′), and a positive semidefinite, trace-one matrix Ω\OmegaΩ indexed by (I×I)n(I\times I)^n(I×I)n, such that

F(σ)(x,y)=∑z∈InΩ((xi,zi)i,(yi,zi)i).F(\sigma)(x,y)=\sum_{z\in I^n} \Omega\bigl((x_i,z_i)_i,(y_i,z_i)_i\bigr).F(σ)(x,y)=z∈In∑​Ω((xi​,zi​)i​,(yi​,zi​)i​).

Moreover, Ω\OmegaΩ lies in the real convex hull of matrices ψψ†\psi\psi^\daggerψψ†, where each ψ\psiψ is a permutation-invariant unit vector in the complex linear span of vectors

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

with arbitrary complex-valued χ\chiχ on the configurations on SSS. Here real convex hull means finite convex combinations. Writing ρn(x,y)=∑z∈Ikρ((x,z),(y,z))\rho_n(x,y)=\sum_{z\in I^k}\rho((x,z),(y,z))ρn​(x,y)=∑z∈Ik​ρ((x,z),(y,z)), the approximation satisfies

∥ρn−∫F(σ) dμ(σ)∥1≤2exp⁡ ⁣(−k(r+1)2(n+k)+d22log⁡k),\left\|\rho_n-\int F(\sigma)\,d\mu(\sigma)\right\|_1 \le 2\exp\!\left( -\frac{k(r+1)}{2(n+k)}+\frac{d^2}{2}\log k \right),​ρn​−∫F(σ)dμ(σ)​1​≤2exp(−2(n+k)k(r+1)​+2d2​logk),

where ∥X∥1=Re⁡tr⁡X†X\|X\|_1=\operatorname{Re}\operatorname{tr}\sqrt{X^\dagger X}∥X∥1​=RetrX†X​. Define

C(δ,N,r,w)=2−N(δ2/4−h2(r/N))+wlog⁡2(N/2+1),h2(p)=binEntropy⁡(p)log⁡2.C(\delta,N,r,w) = 2^{-N\left(\delta^2/4-h_2(r/N)\right) +w\log_2(N/2+1)}, \qquad h_2(p)=\frac{\operatorname{binEntropy}(p)}{\log 2}.C(δ,N,r,w)=2−N(δ2/4−h2​(r/N))+wlog2​(N/2+1),h2​(p)=log2binEntropy(p)​.

For every finite family of matrices E0,…,Ew−1E_0,\ldots,E_{w-1}E0​,…,Ew−1​ that are positive semidefinite and sum to the identity, define pσ(a)=Re⁡tr⁡(Eaσ)p_\sigma(a)=\operatorname{Re}\operatorname{tr}(E_a\sigma)pσ​(a)=Retr(Ea​σ); for an outcome string o∈{0,…,w−1}No\in\{0,\ldots,w-1\}^No∈{0,…,w−1}N, define its empirical frequency p^o(a)=∣{i:oi=a}∣/N\widehat p_o(a)=|\{i:o_i=a\}|/Np​o​(a)=∣{i:oi​=a}∣/N. If 2r≤n2r\le n2r≤n, then for every σ\sigmaσ, every natural number w>0w>0w>0, every such family EEE, and every real δ>0\delta>0δ>0,

∑o∈{0,…,w−1}n∑a∣pσ(a)−p^o(a)∣>δRe⁡tr⁡((⨂i=0n−1Eoi)F(σ))≤C(δ,n,r,w).\sum_{\substack{o\in\{0,\ldots,w-1\}^n\\ \sum_a|p_\sigma(a)-\widehat p_o(a)|>\delta}} \operatorname{Re}\operatorname{tr} \left(\left(\bigotimes_{i=0}^{n-1}E_{o_i}\right)F(\sigma)\right) \le C(\delta,n,r,w).o∈{0,…,w−1}n∑a​∣pσ​(a)−p​o​(a)∣>δ​∑​Retr((i=0⨂n−1​Eoi​​)F(σ))≤C(δ,n,r,w).

In addition, for every natural number n′n'n′ with 0<n′≤n0<n'\le n0<n′≤n and 2r≤n′2r\le n'2r≤n′, the same bound holds on the first n′n'n′ coordinates, with F(σ)F(\sigma)F(σ) replaced by its reduction

F(σ)n′(x,y)=∑z∈In−n′F(σ)((x,z),(y,z)),F(\sigma)_{n'}(x,y)= \sum_{z\in I^{n-n'}}F(\sigma)((x,z),(y,z)),F(σ)n′​(x,y)=z∈In−n′∑​F(σ)((x,z),(y,z)),

and with C(δ,n′,r,w)C(\delta,n',r,w)C(δ,n′,r,w) on the right, for every σ,w,E,δ\sigma,w,E,\deltaσ,w,E,δ just specified. The parameter r=0r=0r=0 is included.

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