Explicit finite-block compression and extraction bounds
OpenQAlgorithms.Papers.Independent.Advance50.P02.finiteBlock_boundsAll Hilbert spaces are finite dimensional and complex; all logarithms are binary. Positive-operator inequalities use the identity when comparing with a scalar. There is a universal Berry–Esseen constant with the following property. Let be a normalized finite CQ source and . Define , , and from the pair's NS distributions. Restrict to its positive support to define , and put and . For and ,
For and ,
Both operational quantities use iid copies. The positive-bin repair preserves flat marginals; the threshold makes every denominator positive. These are optimized finite-block bounds, not only asymptotic statements.
import Definitions.Def_QAlgorithms_Papers_Independent_Advance50_P02
noncomputable section
open Filter
open scoped BigOperators Matrix ComplexOrder ComplexConjugate Matrix.Norms.L2Operator Topology
namespace QAlgorithms.Papers.Independent.Advance50.P02
attribute [local instance] Classical.propDecidable Classical.decEq
open QAlgorithms.Papers.Independent.Information100.P63
(Mat tensorPower logTwo normalQuantile testingBeta)
open QAlgorithms.Papers.Independent.Information100.P71 (SupportIncluded supportPower)
open QAlgorithms (effectProb)
open QAlgorithms.Papers.Independent.Information100.P06 (Below)
open QAlgorithms.Papers.Independent.Information100.P30 (tensorMap)
open QAlgorithms.Papers.Independent.Information100.P67 (purifiedDistance)
open QAlgorithms.Papers.Independent.Dependency50.P26 (TracePreserving)
open QAlgorithms.Papers.Independent.Dependency50.P28 (pinch)
variable {I J A B X Z : Type} [Fintype I] [DecidableEq I]
[Fintype J] [DecidableEq J] [Fintype A] [DecidableEq A]
[Fintype B] [DecidableEq B] [Fintype X] [DecidableEq X]
[Fintype Z] [DecidableEq Z]
/-- Theorem 17, PDF p.21: all four optimized finite-block bounds. The printed r
means t; its cube is classicalThirdCentralMoment. Positive variance is the division domain here,
not an extra assumption on the asymptotic corollaries. The flat-spectrum bin count
is corrected as required by the positive-bin proof on p.18. Source correction. Printed: Theorem 17 p.21 uses V from Definition 1, undefined r^3/r^6, and ceil(n lambda), with lambda using the minimum eigenvalue.
Changed: Use centered V and the standard normal CDF; interpret r=t; use max(1,ceil(n lambda)), evaluating lambda on the positive support of the actual marginal. V>0 is the division domain.
Why: Section VI identifies V as Var(Z) and defines t as the third-moment root. p.18 requires positive bins. A CQ state is supported on X tensor supp(rho_B), so restriction removes only unused kernel directions. All four constants, powers, intervals and blocklength thresholds remain. -/
theorem finiteBlock_bounds :
∃ C : ℝ, 0 < C ∧ C < 1/2 ∧
∀ (X B : Type) [Fintype X] [DecidableEq X] [Fintype B] [DecidableEq B]
(blocks : X → Mat B), NormalizedBlocks blocks →
∀ (r : PositiveSpectralPresentation (cqBlockMatrix blocks))
(q : PositiveSpectralPresentation (identityTensor X (cqMarginal blocks)))
(e : ℝ), 0 < e → e < 1 → 0 < cqConditionalVariance blocks →
let s := Real.sqrt (cqConditionalVariance blocks)
let u := classicalThirdCentralMoment (nsProbability r q) (nsReferenceWeight r q)
(∀ xi0 : ℝ, 0 < xi0 → xi0 < min e (1-e) → ∀ n : ℕ,
C^2 * u^2 / (xi0^2 * s^6) < (n : ℝ) →
let b := C*u / (Real.sqrt n*s^3)
let k : ℝ := finiteBins n (cqMarginal blocks)
intervalSup xi0 (1-e) (fun xi => -Real.sqrt n*s*normalQuantile (e+xi) -
logTwo ((2:ℝ)^9*k / ((xi-b)^4*(1-e-xi)))) ≤
((compressionLength e (blocksPower n blocks) : EReal) - (n*conditionalMean blocks : ℝ)) ∧
((compressionLength e (blocksPower n blocks) : EReal) - (n*conditionalMean blocks : ℝ)) ≤
intervalInf xi0 e (fun xi => -Real.sqrt n*s*normalQuantile (e-xi) +
logTwo ((2:ℝ)^2*3^3*k / (xi-b)^3))) ∧
(∀ xi1 : ℝ, 0 < xi1 → xi1 < min (e^2) (1-e^2) → ∀ n : ℕ,
C^2 * u^2 / (xi1^2 * s^6) < (n : ℝ) →
let b := C*u / (Real.sqrt n*s^3)
let k : ℝ := finiteBins n (cqMarginal blocks)
intervalSup xi1 (e^2) (fun xi => Real.sqrt n*s*normalQuantile (e^2-xi) -
logTwo ((5:ℝ)^5*k / ((xi-b)^5*(1-e)))) ≤
((extractionLength e (blocksPower n blocks) : EReal) - (n*conditionalMean blocks : ℝ)) ∧
((extractionLength e (blocksPower n blocks) : EReal) - (n*conditionalMean blocks : ℝ)) ≤
intervalInf xi1 (1-e^2) (fun xi => Real.sqrt n*s*normalQuantile (e^2+xi) +
logTwo ((2:ℝ)^8*3^6*k / (xi-b)^6))) := by sorry
end QAlgorithms.Papers.Independent.Advance50.P02
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
There exists a single real constant , with , satisfying the following assertions for every pair of finite types with decidable equality and every family of complex matrices such that each and . Put , and define matrices on by when , and otherwise, and when , and otherwise. Choose any presentations and , with nonnegative eigenvalues and , and set
Here matrix functions use functional calculus, and uses the total real logarithm, including . Suppose and . For each natural , let , for and , and let , where is the least strictly positive eigenvalue, or if none exists. For a normalized positive block family , define its compression length to be the infimum in of integers for which there exist a finite public seed with probabilities summing to , a positive integer , encoders , and, for every , positive semidefinite decoding matrices with , such that and . Define its extraction length to be the supremum in of integers for which there exist such a public seed, a positive integer , and hashes , with , such that the infimum over density matrices of the purified distance between the block-diagonal matrices with blocks and , indexed by , is at most . A density matrix is positive semidefinite with trace , and this purified distance is
for matrices . Both natural-number optimizations use their total order conventions, so an empty feasible set gives , and an unbounded set in the natural-number supremum also gives . The theorem asserts that, for every and every natural satisfying , putting and , one has the extended-real inequalities
It also asserts that, for every and every natural satisfying , with the same definitions of , one has
Here ; all interval endpoints are included on the left and excluded on the right. The block normalization excludes empty or , and each strict lower bound on excludes .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.