InformationTheory.Shannon.Chernoff.Converse
The pmf-level variational identity #
The divergence of the Chernoff mediator T_λ = P₁^{1-λ}P₂^λ / Z(λ) against P₁ has the
closed form λ · E_{T_λ}[log(P₂/P₁)] - log Z(λ). At the optimal λ* (interior, where the
mean log-likelihood-ratio vanishes — the first-order condition of the chernoffInfo inf) the
first term drops, giving klDivPmf (T_λ*) P₁ = -log Z(λ*) = chernoffInfo P₁ P₂.
InformationTheory.Shannon.Chernoff.chernoffMediator_klDiv_eq
sourceClosed form for the mediator divergence:
klDivPmf (chernoffMediator P₁ P₂ λ) P₁ = λ · (∑ a, T_λ(a)·log(P₂ a/P₁ a)) - log Z(λ).
Used by
Per-term log identity, the log Z derivative, and the balance (FOC) #
chernoffMediator_log_sub is the per-term identity already implicit in the atom;
chernoffLogZ_hasDerivAt differentiates log Z (the analytic core), and
chernoffMediator_balance reads off the first-order condition at an interior minimizer.
InformationTheory.Shannon.Chernoff.chernoffMediator_log_sub
sourcePer-term log identity: log(T_λ a) - log(P₁ a) = λ·log(P₂ a/P₁ a) - log Z(λ).
Used by
InformationTheory.Shannon.Chernoff.chernoffLogZ_hasDerivAt
sourceThe derivative of λ ↦ log Z(λ) is the mediator-weighted mean log-likelihood-ratio:
d/dλ log Z(λ) = ∑ a, T_λ(a)·log(P₂ a/P₁ a).
Used by
InformationTheory.Shannon.Chernoff.chernoffMediator_balance
sourceBalance / first-order condition at an interior minimizer λ* ∈ (0,1) of log Z:
∑ a, T_λ*(a)·log(P₂ a/P₁ a) = 0 (Fermat: the derivative vanishes at an interior min).
Used by
The half-space K and the I-projection identities #
InformationTheory.Shannon.Chernoff.chernoffHalfSpace
sourceThe Chernoff half-space K = {p : full-support pmf with ∑ p_a log(P₂ a/P₁ a) ≥ 0},
onto which chernoffMediator P₁ P₂ λ* is the Csiszár I-projection of P₁.
Equations
Instances For
Used by
InformationTheory.Shannon.Chernoff.chernoffInfo_eq_neg_logZ_of_isMinOn
sourceAt a minimizer λ* of log Z over [0,1], the Chernoff information equals -log Z(λ*).
This recovers the defining -sInf identity from the minimizer condition, so callers carrying an
IsMinOn witness need not pass chernoffInfo = -log Z(λ*) as a separate hypothesis.
Used by
InformationTheory.Shannon.Chernoff.chernoffInfo_eq_mediator_div
sourceAt an interior minimizer λ* of log Z, the mediator divergence equals the Chernoff
information: chernoffInfo P₁ P₂ = klDivPmf (T_λ*) P₁.
Used by
InformationTheory.Shannon.Chernoff.chernoffMediator_isMinOn
sourceThe Chernoff mediator at an interior minimizer λ* is the Csiszár I-projection of P₁
onto the half-space K: it minimizes klDivPmf · P₁ over K.
Used by
Sanov lower bound and assembly #
The headline of this section is
chernoff_converse : limsup_n -(1/n) log (bayesErrorMinPmf P₁ P₂ n) ≤ chernoffInfo P₁ P₂.
Route: chernoffMediator P₁ P₂ λ* is the I-projection of P₁ onto the half-space
{p : ∑ p_a log(P₂ a/P₁ a) ≥ 0}; csiszar_pythagoras_inequality identifies
⨅_{p∈K} klDivPmf p P₁ with klDivPmf (T_λ*) P₁ = chernoffInfo (the variational identity
above). The error region {x : P₁ⁿ(x) ≤ P₂ⁿ(x)} is that half-space lifted to empirical type
classes, so sanov_ldp_equality supplies (1/n) log P₁ⁿ(region) → -chernoffInfo, and
bayesErrorMinPmf ≥ (1/2)·P₁ⁿ(region) closes the converse.
InformationTheory.Shannon.Chernoff.chernoffErrorCounts
sourceDiscretized error region: count vectors c (with ∑ c = n) whose type class lands in
the likelihood-ratio test region {x | ∏ P₁(x_i) ≤ ∏ P₂(x_i)}. (Clone of Hoeffding.E_r.)
Equations
- InformationTheory.Shannon.Chernoff.chernoffErrorCounts P₁ P₂ n = {c : InformationTheory.Shannon.TypeCountIndex α n | ∑ a : α, ↑(c a) = n ∧ ∏ a : α, P₁ a ^ ↑(c a) ≤ ∏ a : α, P₂ a ^ ↑(c a)}
Instances For
Used by
InformationTheory.Shannon.Chernoff.mem_chernoffErrorCounts_iff
sourceUsed by
InformationTheory.Shannon.Chernoff.prod_aggr_of_mem_typeClassByCount
sourceProduct aggregation by counts: for x ∈ typeClassByCount c,
∏ i, f (x i) = ∏ a, (f a)^(c a). (Multiplicative analogue of
sum_const_aggr_of_mem_typeClassByCount.)
Used by
InformationTheory.Shannon.Chernoff.typeCount_le
sourceEvery count typeCount x a is at most n.
Used by
InformationTheory.Shannon.Chernoff.typeCount_sum_eq
sourceThe empirical counts of x sum to n.
Used by
InformationTheory.Shannon.Chernoff.chernoffErrorRegion_eq_union
sourceThe likelihood-ratio error region equals the union of the error type classes.
Used by
InformationTheory.Shannon.Chernoff.measurePi_toReal_eq_sum
sourceThe Measure.pi Q mass of a finite set of sequences as a finite real sum of
products of singleton masses. (Extracted from the inline block in typeClass_Qn_le.)
Used by
InformationTheory.Shannon.Chernoff.bayesErrorMinPmf_ge_half_sum
sourceThe Bayes error dominates half the P₁-mass of any sub-region of the error region.
Used by
Perturbation membership and degenerate handling #
InformationTheory.Shannon.Chernoff.prod_pow_le_iff_sum_log
sourceThe likelihood-ratio membership ∏ P₁^c ≤ ∏ P₂^c is equivalent to the log-form
0 ≤ ∑ a, (c a)·log(P₂ a/P₁ a) (both products positive under full support).
Used by
InformationTheory.Shannon.Chernoff.klDivSumForm_ofVec_eq_klDivPmf_left
sourceGeneric rate bridge: for any pmf p and a measure Q whose singleton masses recover P₁,
klDivSumForm_ofVec p (Q.real ∘ singleton) = klDivPmf p P₁.
Used by
InformationTheory.Shannon.Chernoff.chernoffMediator_perturb_llr_pos
sourceH7b: the perturbed mediator T_ε = (1-ε)·T_λ* + ε·P₂ has strictly positive mean
log-likelihood-ratio when P₁ ≠ P₂ (0 < klDivPmf P₂ P₁).
Used by
InformationTheory.Shannon.Chernoff.roundedType_mem_chernoffErrorCounts_eventually
sourceH7c: a full-support pmf T strictly inside the error half-space
(0 < ∑ T·log(P₂/P₁)) has its rounded type eventually in the error region.
Used by
InformationTheory.Shannon.Chernoff.bayesErrorMinPmf_ge_half_measurePi
sourceThe Bayes error dominates half the P₁-measure of the error region.
Used by
InformationTheory.Shannon.Chernoff.chernoff_converse
sourceThe optimal Bayes error exponent cannot exceed the Chernoff information (Cover–Thomas,
converse half). Proved on the interior 0 < λ* < 1
(the overlapping-support / non-degenerate case; hlam_io is a non-degeneracy precondition,
not load-bearing).
@audit:ok