InformationTheory.Shannon.AEP.Rate
AEP — rate-uniform form (via Chebyshev) #
typicalSet_prob_tendsto_one gives only the Tendsto … (𝓝 1) form and carries no
closed-form bound. This module establishes an explicit N(ε, η) with
n ≥ N → μ {ω | jointRV Xs n ω ∈ typicalSet μ Xs n ε} ≥ 1 - η
via the Chebyshev inequality (ProbabilityTheory.meas_ge_le_variance_div_sq) and
the pairwise variance sum (ProbabilityTheory.IndepFun.variance_sum).
Since pmfLog μ Xs : α → ℝ is a finite function on the alphabet, each
logLikelihood μ Xs i is a.s. bounded by the range of pmfLog (a finite set),
hence MemLp _ 2 μ, which supplies the integrability ingredients.
InformationTheory.Shannon.pmfLogBound
sourceThe supremum of |pmfLog μ Xs| over the alphabet.
Equations
- InformationTheory.Shannon.pmfLogBound μ Xs = Finset.univ.sup' ⋯ fun (a : α) => |InformationTheory.Shannon.pmfLog μ Xs a|
Instances For
Used by
InformationTheory.Shannon.abs_pmfLog_le_bound
sourceUsed by
InformationTheory.Shannon.abs_logLikelihood_le_bound
sourceUsed by
InformationTheory.Shannon.memLp_logLikelihood
sourceUsed by
InformationTheory.Shannon.pmfLogVariance
sourceThe single-symbol variance Var[logLikelihood μ Xs 0; μ]. The 0-th index suffices because
all Xs i are identically distributed.
Equations
Instances For
Used by
InformationTheory.Shannon.pmfLogVariance_nonneg
sourceUsed by
InformationTheory.Shannon.pmfLogVariance_le_sq_of_bounded
sourceA pointwise bound |pmfLog Xs a| ≤ B gives pmfLogVariance ≤ B².
Used by
InformationTheory.Shannon.variance_logLikelihood_eq
sourceUsed by
InformationTheory.Shannon.aep_chebyshev_bound
sourceExplicit-rate version of aep_inProbability: for n ≥ 1 and ε > 0,
μ {ω | ε ≤ |(∑ i ∈ range n, logLikelihood μ Xs i ω) / n - H|} ≤ ENNReal.ofReal (pmfLogVariance μ Xs / (n * ε^2)).
Used by
InformationTheory.Shannon.typicalSet_prob_ge_of_rate
sourceAsymptotic equipartition property (explicit rate): for any ε, η > 0,
there is N(ε, η) such that for all n ≥ N, the typical set has μ-measure
≥ 1 - η. The explicit bound is N := ⌈pmfLogVariance / (η · ε²)⌉ + 1, so
n ≥ N ⇒ pmfLogVariance / (n · ε²) ≤ η.
Used by
InformationTheory.Shannon.exp_neg_mul_lt_of_rate
sourceClosed-form N(g, ε') for exponential decay: for any g, ε' > 0, there is
N such that exp(- n · g) < ε' for all n ≥ N. Concretely
N := ⌈max 0 (-log ε' / g)⌉ + 1.
Used by
InformationTheory.Shannon.channelCoding_E2_lt_of_rate
sourceClosed-form N(I, R, ε, ε') for the channel-coding E2 term. Given the AEP
gap g := I - R - 3ε > 0 and any tolerance ε' > 0, there is N such that
(⌈exp(n·R)⌉ - 1) · exp(n · (-I + 3ε)) < ε' for all n ≥ N.
Used by
InformationTheory.Shannon.jointlyTypicalSet_prob_ge_of_rate
sourceJoint asymptotic equipartition property (closed-form rate): for any
ε, η > 0, there exists N such that for all n ≥ N, the jointly typical set
has μ-measure ≥ 1 - η.
Used by
Closed-form N(ε, η) variants #
The _of_rate form (∃ N, ∀ n ≥ N, P) suffices for many callers. When the outer
construction needs to substitute a sequence δ_n → 0 and conclude N(δ_n) ≤ n,
N must instead be exposed as a closed-form function of the inputs.
The closed-form N is the same one extracted in the _of_rate proof bodies,
hoisted out as a def. The _at_N theorems differ from _of_rate only in that
the existential is collapsed to the explicit def.
InformationTheory.Shannon.typicalSetMinN
sourceClosed-form N(V, η, ε) for typicalSet_prob_ge — extracted from the
proof of typicalSet_prob_ge_of_rate.
Instances For
Used by
InformationTheory.Shannon.typicalSetMinN_mono_V
sourceUsed by
InformationTheory.Shannon.typicalSet_prob_ge_at_N
sourceClosed-form N version of typicalSet_prob_ge_of_rate.
Used by
InformationTheory.Shannon.typicalSet_prob_ge_at_N_le
sourceVariance-upper-bound version of typicalSet_prob_ge_at_N. The caller
provides an upper bound V_upper ≥ pmfLogVariance μ Xs, and the closed-form N
is typicalSetMinN V_upper η ε (independent of the true variance).
Used by
InformationTheory.Shannon.expNegMulMinN
sourceClosed-form N(g, ε') for exponential decay exp(-n g) < ε'.
Instances For
Used by
InformationTheory.Shannon.exp_neg_mul_lt_at_N
sourceClosed-form N version of exp_neg_mul_lt_of_rate.
Used by
InformationTheory.Shannon.channelCoding_E2_lt_at_N
sourceClosed-form N version of channelCoding_E2_lt_of_rate.
The N is expNegMulMinN (I - R - 3ε) ε'.
Used by
InformationTheory.Shannon.jointlyTypicalSetMinN
sourceClosed-form N(V_X, V_Y, V_Z, η, ε) for the joint AEP rate bound.
Splits η/3 across three axes.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Used by
InformationTheory.Shannon.jointlyTypicalSet_prob_ge_at_N_le
sourceVariance-upper-bound version of joint AEP. The caller provides axis-wise
variance upper bounds V_X, V_Y, V_Z, and the closed-form N is
jointlyTypicalSetMinN V_X V_Y V_Z η ε.