InformationTheory.Shannon.Hoeffding.Tilt
Hoeffding tradeoff — interior gradient body (Lagrange tilt) #
For the interior regime 0 < α < klDivPmf P₂ P₁, the Csiszár I-projection
of P₂ onto the constraint set K(α) is the one-parameter exponential tilt
`Qstar a = c(λ) · P₁ a ^ (1 - λ) · P₂ a ^ λ`,
which is exactly Chernoff.chernoffMediator P₁ P₂ λ. This file reuses that
family (no new definition) and proves its defining gradient property:
`log (Qstar a) - (1 - λ) · log (P₁ a) - λ · log (P₂ a)` is constant in a
(it equals `-log Z(λ)`).
This is the Lagrange first-order condition ∇[D(Q‖P₂) + μ D(Q‖P₁)] = const:
the log-likelihood ratio of the tilt against the geometric mean of P₁, P₂ is
flat across the alphabet. The constant-log-ratio identity is a pure-algebra fact
about rpow.
The interior characterization decomposes into two sub-predicates:
IsKLGradientHyp P₁ P₂ alpha lam Qstar— discharged for the tiltQstar = chernoffMediator P₁ P₂ lam: the constant-log-ratio stationarity above, plus full support andQstar ∈ stdSimplex.IsHoeffdingLagrangeHyp P₁ P₂ alpha lam— the tilt atlammatches the constraint (klDivPmf (tilt) P₁ ≤ alpha) and realises the infimum (hoeffdingE2 = klDivPmf (tilt) P₂). The existence of alam ∈ (0,1)solvingklDivPmf (tilt) P₁ = alphais the implicit-function step (monotonicity ofλ ↦ klDivPmf T_λ P₁).
What this file publishes #
hoeffdingTilt— the closed-form Lagrange minimizer (achernoffMediatoralias) with its positivity / pmf facts re-exported.hoeffdingTilt_log_ratio_const— the Lagrange gradient identity (constant log-ratio across the alphabet).IsKLGradientHyp— gradient sub-predicate, with constructorisKLGradientHyp_tiltdischarging it for the tilt family.IsHoeffdingLagrangeHyp— Lagrange constraint-match sub-predicate.isHoeffdingMinimizerFullSupport_of_lagrange— the tilt is full support (purely constructive fromhoeffdingTilt_pos).
Closed-form Lagrange minimizer (chernoffMediator alias) #
InformationTheory.Shannon.HoeffdingTilt.hoeffdingTilt
sourceClosed-form Lagrange / KKT minimizer of klDivPmf · P₂ on K(α):
the exponential tilt Qstar a = P₁ a ^ (1-λ) · P₂ a ^ λ / Z(λ).
This is definitionally Chernoff.chernoffMediator P₁ P₂ lam; we expose it under
the Hoeffding name so the interior characterization reads in terms of the
tradeoff problem rather than the Chernoff bound.
Equations
Instances For
Used by
InformationTheory.Shannon.HoeffdingTilt.hoeffdingTilt_eq_chernoffMediator
sourceUsed by
InformationTheory.Shannon.HoeffdingTilt.hoeffdingTilt_pos
sourceThe tilt is positive under full support.
Used by
InformationTheory.Shannon.HoeffdingTilt.hoeffdingTilt_sum_eq_one
sourceThe tilt sums to 1.
Used by
InformationTheory.Shannon.HoeffdingTilt.hoeffdingTilt_mem_stdSimplex
sourceThe tilt lies in the simplex.
Used by
Lagrange gradient identity (constant log-ratio) #
InformationTheory.Shannon.HoeffdingTilt.hoeffdingTilt_log_ratio_const
sourceLagrange gradient stationarity (constant log-ratio): for the tilt
Qstar = hoeffdingTilt P₁ P₂ lam, the log-likelihood combination
`log (Qstar a) - (1 - lam) · log (P₁ a) - lam · log (P₂ a)`
is constant in a (it equals -log Z(λ)). This is the Csiszár Lagrange
first-order condition ∇[D(·‖P₂) + μ D(·‖P₁)] = const; the explicit constant
makes the stationarity dischargeable as pure rpow algebra.
Used by
InformationTheory.Shannon.HoeffdingTilt.hoeffdingTilt_log_ratio_eq
sourcePairwise flatness: a corollary stating that the log-ratio combination
agrees at any two points a, b. This is the gradient condition in the form
"∇ is constant", convenient for the KKT consumer.
Used by
Gradient sub-predicate (IsKLGradientHyp) #
InformationTheory.Shannon.HoeffdingTilt.IsKLGradientHyp
sourceKL gradient sub-predicate: bundles the constant-log-ratio gradient
stationarity at parameter lam together with full support and simplex
membership of Qstar.
The alpha argument is kept for interface symmetry with the interior
predicates (the gradient condition itself does not depend on alpha).
Qstaris full support.Qstaris a pmf.- log_ratio_const(a b : α) : Real.log (Qstar a) - (1 - lam) * Real.log (P₁ a) - lam * Real.log (P₂ a) = Real.log (Qstar b) - (1 - lam) * Real.log (P₁ b) - lam * Real.log (P₂ b)
Constant log-ratio gradient stationarity: the log-likelihood combination is flat across the alphabet.
Instances For
Used by
InformationTheory.Shannon.HoeffdingTilt.isKLGradientHyp_tilt
sourceGradient discharge for the tilt family: the closed-form tilt
hoeffdingTilt P₁ P₂ lam satisfies IsKLGradientHyp (no hypothesis on
alpha).
Used by
Lagrange constraint-match sub-predicate #
InformationTheory.Shannon.HoeffdingTilt.IsHoeffdingLagrangeHyp
sourceLagrange constraint-match sub-predicate: at parameter lam, the tilt
hoeffdingTilt P₁ P₂ lam lies in the constraint set K(α) and realises the
infimum hoeffdingE2 P₁ P₂ alpha.
The membership half is the constraint klDivPmf (tilt) P₁ ≤ alpha; the
realises half is the infimum-attainment. Existence of a lam ∈ (0,1) with
klDivPmf (tilt) P₁ = alpha is the implicit-function / monotonicity step
(λ ↦ klDivPmf T_λ P₁ increasing from 0 at λ=0 to klDivPmf P₂ P₁ at
λ=1), kept as the single remaining analytic hypothesis.
@audit:retract-candidate(load-bearing-predicate) — the hypothesis-form
layer has no in-tree consumers. Producer-side constructors
(isHoeffdingLagrangeHyp_of_minimal,
exists_isHoeffdingLagrangeHyp_of_minimal,
isHoeffdingLagrangeHyp_of_constraint_eq,
exists_isHoeffdingLagrangeHyp_interior) remain constructive.
The tilt at
lamsatisfies the Type-I constraint.- realises : Chernoff.hoeffdingE2 P₁ P₂ alpha = CsiszarProjection.klDivPmf (hoeffdingTilt P₁ P₂ lam) P₂
The tilt at
lamrealises the infimum.
Instances For
Used by
Full-support flag via Lagrange tilt #
InformationTheory.Shannon.HoeffdingTilt.isHoeffdingMinimizerFullSupport_of_lagrange
sourceTilt is full support: the closed-form tilt minimizer satisfies the
IsHoeffdingMinimizerFullSupport predicate. This is purely constructive
— hoeffdingTilt_pos discharges full support directly from hP₁_pos /
hP₂_pos, so no Lagrange hypothesis is needed.