InformationTheory.Shannon.Hoeffding.TradeoffExp
Hoeffding tradeoff — exponential-level redefinition #
Unlike the constant-α steinTypeII_at_level_pmf, the operational quantity here
is defined at the exponential level — the acceptance region is the
KL-sublevel set of empirical types E_r n = {c | klDivIndex c n P₁ ≤ r} — and
the resulting Type-II error converges to hoeffdingE2 P₁ P₂ r. The headline
hoeffding_tradeoff_exp holds on the interior 0 < r < klDivPmf P₂ P₁.
Implementation notes #
The two directions are proved separately:
- the converse (limsup) via
sanov_ldp_upper_boundon the non-perturbed minimizerQstar; - the achievability (liminf) via
sanov_ldp_lower_bound_pointwiseon a perturbationQstar_ε = (1-ε)·Qstar + ε·P₁, followed byε → 0.
The subtlety driving the perturbation is the active-boundary obstruction: the
interior minimizer Qstar lies on the active boundary klDivPmf Qstar P₁ = r,
so its rounded type converges to the boundary of the closed sublevel set
E_r n = {klDivIndex ≤ r} and is not provably eventually inside. Enlarging
E_r with a rounding margin would restore achievability but break the minimizer
premise (a margin point may beat Qstar), so the two requirements conflict at
the active constraint. Pushing Qstar slightly toward P₁ lands strictly
inside the constraint (by convexity of klDivPmf · P₁ and klDivPmf P₁ P₁ = 0),
restoring strict-interior eventual membership; the per-perturbation achievability
bound is then carried to the limit by ε → 0 continuity.
E_r acceptance region + steinTypeII_exp definition #
InformationTheory.Shannon.HoeffdingTradeoffExp.E_r
sourceExponential-level acceptance region: valid empirical types
(∑ c = n) whose KL divergence from P₁ is within r (a closed KL-sublevel
set, indexed by TypeCountIndex). The ∑ c = n clause restricts to genuine
empirical pmfs c/n; types with ∑ c ≠ n have an empty type class
(typeClassByCount_empty_of_sum_ne) so the acceptance region is unchanged.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Used by
InformationTheory.Shannon.HoeffdingTradeoffExp.steinTypeII_exp
sourceType-II error of the exponential-level test: the P₂ⁿ mass of the
acceptance region ⋃_{c ∈ E_r} T_c.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Used by
InformationTheory.Shannon.HoeffdingTradeoffExp.mem_E_r_iff
sourceUsed by
KL bridges (count-0-tolerant) #
InformationTheory.Shannon.HoeffdingTradeoffExp.klDivPmf_eq_log_diff_sum_of_Q_pos
sourceklDivPmf log-diff form tolerant of count-0 atoms in P: requires only
Q full support (and both sum to 1), not P full support. The P a = 0 term
matches on both sides (Q a vs 0 + Q a - 0).
Used by
InformationTheory.Shannon.HoeffdingTradeoffExp.klDivIndex_eq_klDivPmf_empirical
sourceklDivIndex as klDivPmf of the empirical pmf (count-0 tolerant):
for ∑ c = n, n > 0, Q full support,
klDivIndex c n Q = klDivPmf (c · / n) (Q.real ∘ singleton).
Used by
h_in_E from rounded-type KL convergence #
InformationTheory.Shannon.HoeffdingTradeoffExp.roundedTypeIndex_mem_E_r_eventually
sourceEventually accepted: the rounded type of a strict-interior Qstar
(klDivPmf Qstar P₁ < r) lands in E_r n for all large n.
Used by
Perturbation toward P₁ #
InformationTheory.Shannon.HoeffdingTradeoffExp.Qstar_perturb
sourcePerturbed minimizer Qstar_ε := (1-ε)·Qstar + ε·P₁.
Equations
Instances For
Used by
InformationTheory.Shannon.HoeffdingTradeoffExp.Qstar_perturb_nonneg
sourceUsed by
InformationTheory.Shannon.HoeffdingTradeoffExp.Qstar_perturb_sum
sourceUsed by
InformationTheory.Shannon.HoeffdingTradeoffExp.klDivPmf_perturb_lt
sourceStrict interior of the perturbation: by convexity of klDivPmf · P₁
(klDivPmf_strictConvexOn_left) plus klDivPmf P₁ P₁ = 0, a tiny push toward
P₁ strictly lowers the constraint value below the active value
klDivPmf Qstar P₁ ≤ r.
Used by
InformationTheory.Shannon.HoeffdingTradeoffExp.klDivPmf_perturb_tendsto
sourceε-continuity of klDivPmf Qstar_ε P₂: as ε → 0, the perturbed KL
divergence converges to klDivPmf Qstar P₂ (continuity of klDivPmf · P₂).
Used by
h_minimizer premise #
InformationTheory.Shannon.HoeffdingTradeoffExp.hoeffding_exp_minimizer
sourceMinimizer premise: for every c ∈ E_r n, the minimizer value
klDivSumForm_ofVec Qstar (P₂.real ∘ singleton) lower-bounds klDivIndex c n P₂.
Holds for the strict-interior Qstar.
Used by
Achievability via perturbation #
InformationTheory.Shannon.HoeffdingTradeoffExp.hoeffding_exp_liminf_perturb
sourceAchievability rate bound at perturbation level ε: for the strictly
interior perturbed minimizer Qstar_ε, -klDivPmf Qstar_ε P₂ ≤ liminf (rate).
Used by
Helpers for the headline proof #
Headline #
InformationTheory.Shannon.HoeffdingTradeoffExp.hoeffding_tradeoff_exp
sourceHoeffding's tradeoff (exponential level, interior): the optimal Type-II
error exponent of the exponential-level test converges to hoeffdingE2 P₁ P₂ r
on the interior 0 < r < klDivPmf P₂ P₁.
The active-boundary obstruction — the realizing minimizer Qstar sits on the
active boundary klDivPmf Qstar P₁ = r, so its rounded type straddles the closed
sublevel set E_r n = {klDivIndex ≤ r} — is resolved by a perturbation argument
(see the module-level implementation notes).