§7.1 (ii), Appendix C: exponentially high typical mass
OpenQAlgorithms.Papers.Independent.Advance50.P29.typicalSequenceMassLet be a probability distribution on a finite nonempty alphabet : and . Define , with . For , set and . For each there is a number , depending on and but independent of , such that every positive integer satisfies
Finite-alphabet IID sampling has exponentially high typical mass, including deterministic distributions.
import Definitions.Def_QAlgorithms_Papers_Independent_Advance50_P29
noncomputable section
namespace QAlgorithms.Papers.Independent.Advance50.P29
open QAlgorithms MeasureTheory Filter
open QAlgorithms.Papers.Independent.Information100.P22
(densityPurification coherentInformation singleUseInformation mixed)
open QAlgorithms.Papers.Independent.Information100.P27 (shannon)
open QAlgorithms.Papers.Independent.Dependency50.P48 (wordProbability)
open QAlgorithms.Papers.Independent.Bridge50.P43 (tensorDensity)
open scoped Matrix ComplexConjugate ComplexOrder Topology
attribute [local instance] Classical.propDecidable
variable {I J E L : Type} [Fintype I] [DecidableEq I]
variable [Fintype J] [DecidableEq J] [Fintype E] [DecidableEq E]
variable [Fintype L] [DecidableEq L]
/-- PDF pp.15,21, §7.1(ii): a positive exponent chosen before every positive block length.
Deterministic distributions require no division by their zero information variance. -/
theorem typicalSequenceMass [Nonempty L] (P : L → ℝ)
(hP : ∀ i, 0 ≤ P i) (hsum : ∑ i, P i = 1)
(epsilon : ℝ) (he : 0 < epsilon) :
∃ psi : ℝ, 0 < psi ∧ ∀ n : ℕ, 0 < n →
1 - 2 * Real.exp (-(n : ℝ) * psi) < weakTypicalMass P epsilon n := by sorry
end QAlgorithms.Papers.Independent.Advance50.P29
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
Let be a nonempty finite index type with decidable equality, and let satisfy for every and . For every real , there exists a real such that, for every natural number ,
The same works for all positive , without an additional sufficiently-large- condition. Both word-selection inequalities are inclusive, whereas the asserted lower bound is strict. Zero values of are permitted, with , and words of probability zero fail the positive lower selection bound; the lower bound itself may be negative.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.