Iid compression expansion
OpenQAlgorithms.Papers.Independent.Advance50.P02.compression_iid_secondOrderAll Hilbert spaces are finite dimensional and complex; all logarithms are binary. Positive-operator inequalities use the identity when comparing with a scalar. Fix a normalized finite CQ source and . Define and the centered pair variance for this same pair, using the actual marginal. For the integer compression optimum defined using all seeded encoders and conditional decoder POVMs,
The remainder is a two-sided bound with positive constant and threshold chosen before . Neither positive variance nor a full-rank marginal is required. This yields the second-order compression cost.
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]
/-- Corollary 15, PDF p.20: actual marginal, integer compression length, V=0 allowed. Source correction. Printed: Definition 1 p.7 prints V=Tr rho(log rho-log sigma)^2; p.19 prints Gaussian density exp(+x^2/2).
Changed: Use centered V=Tr rho(log rho-log sigma)^2-D^2 and the standard normal density exp(-x^2/2).
Why: Section VI identifies s^2 as Var(Z) and uses the standard normal Berry–Esseen theorem. For pure rho and sigma=I/d the likelihood is constant, hence V=0 even when D=log2(d) is nonzero. -/
theorem compression_iid_secondOrder (blocks : X → Mat B) (hblocks : NormalizedBlocks blocks)
(e : ℝ) (he : 0 < e ∧ e < 1) :
LogarithmicRemainder (fun n => (compressionLength e (blocksPower n blocks) : EReal))
(fun n => n * conditionalMean blocks -
Real.sqrt ((n : ℝ)*cqConditionalVariance blocks) * normalQuantile e) := by sorry
end QAlgorithms.Papers.Independent.Advance50.P02
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For finite types with decidable equality, let be complex matrices indexed by such that every and , and let . Set , , , and
where logarithms use spectral functional calculus with . At block length , the matrix associated with a label string is . A compressor consists of a finite public seed with probabilities , , a positive natural number of messages, encoders , and matrices on satisfying for every seed and message. Its error is
Let be the infimum in of all for which such a compressor has error at most and ; the natural-number infimum of an empty feasible set is . Let . There exist and such that all natural satisfy
The natural-valued length is embedded in the extended reals in these inequalities. Individual blocks may be zero; positive variance is not assumed. The normalization hypothesis excludes empty or empty .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.