InformationTheory.Probability.TwoSidedExtension.LogCondIntegral
Integrability of pmfLogCondPast and pmfLogCondInfty #
The integrand has the pointwise decomposition
pmfLogCondPast μ p k x = ∑ a, 1_{coord0=a}(x) * (-log condProbPast a k x)
(indicators partition unity on the singleton {coord0=a}, so the inner sum has
a single nonzero summand at a = coord0 x).
For each a, the summand 1_{coord0=a} * (-log condProbPast a k) is integrable
via the L¹ tower (condExp_stronglyMeasurable_mul_of_bound with a truncated
-log factor) + monotone convergence. The truncated bound F_M := min(M, (-log g)⁺)
satisfies ∫ (1_{coord0=a}) * F_M = ∫ g * F_M ≤ ∫ negMulLog g ≤ 1, uniformly in
M, so by MCT ∫ (1_{coord0=a}) * (-log g)⁺ ≤ 1.
InformationTheory.Shannon.TwoSided.tendsto_min_posPart_natCast
sourceUsed by
InformationTheory.Shannon.TwoSided.norm_min_posPart_natCast_le
sourceUsed by
InformationTheory.Shannon.TwoSided.min_posPart_neg_log_mul_le_negMulLog
sourceUsed by
InformationTheory.Shannon.TwoSided.enorm_mul_neg_log_eq_ofReal
sourceUsed by
InformationTheory.Shannon.TwoSided.integrable_negMulLog_of_mem_Icc
sourceUsed by
InformationTheory.Shannon.TwoSided.integral_negMulLog_le_one
sourceUsed by
InformationTheory.Shannon.TwoSided.lintegral_ofReal_le_one_of_integral_le_one
sourceUsed by
InformationTheory.Shannon.TwoSided.lintegral_lt_top_of_monotone_tendsto_le
sourceUsed by
InformationTheory.Shannon.TwoSided.integrable_pmfLogCondPast
sourceIntegrability of pmfLogCondPast k.
The integrand -log(condProbPast (coord0 x) k x) decomposes as `∑a 1{coord0=a}(x)
- (-log condProbPast a k x)
. Each summand is integrable viaintegrable_indicator_mul_negLog_of_condExpapplied atm := pastFiltration k, using the defining identitycondProbPast a k = μZ[1_{coord0=a} | pastFiltration k]and the[0,1]` bound. The sum of finitely many integrable functions is integrable.
Used by
InformationTheory.Shannon.TwoSided.integrable_pmfLogCondInfty
sourceIntegrability of pmfLogCondInfty.
Same argument as integrable_pmfLogCondPast, but applied to the infinite-past
limit condProbInfty a, which is by definition the condExp of the indicator
w.r.t. the σ-algebra ⨆ k, pastFiltration k of the infinite past.
Used by
InformationTheory.Shannon.TwoSided.ae_condProbInfty_coord0_pos
sourceAE positivity of the realized conditional probability.
Almost surely under μZ, the infinite-past conditional probability of the
realized coord0 value is strictly positive. This is a standard fact: the
indicator 1_{coord0 = coord0 x} is exactly 1 at x, and the conditional
expectation w.r.t. ⨆ k, pastFiltration k of an indicator-of-a-set has total
mass equal to that set's measure. Positivity on a full-measure set follows from
the integral identity ∫_E condProbInfty (coord0 x) = (μZ μ p)({coord0 = a} ∩ E).
Used inside pmfLogCondPast_tendsto_pmfLogCondInfty to handle Real.log
discontinuity at 0.
Used by
InformationTheory.Shannon.TwoSided.pmfLogCondPast_tendsto_pmfLogCondInfty
sourceForward Lévy upward convergence: per-step conditional log-likelihood on
longer-and-longer finite past converges to pmfLogCondInfty. Application of
MeasureTheory.tendsto_ae_condExp (one application per a : α, combined
by continuity of -log and the inner-sum identity
∑ a, indicator(coord0=a) * f a = f (coord0 x)).
Caveat: convergence holds on the AE set where
condProbInfty (coord0 x) x > 0 (provided by ae_condProbInfty_coord0_pos);
on the null set where the conditional probability of the realized coord0
value is 0, Real.log is discontinuous, and we report
pmfLogCondPast/pmfLogCondInfty as 0 by convention (Real.log 0 = 0).
Used by
Integral identity proof #
InformationTheory.Shannon.TwoSided.integral_pmfLogCondPast_eq_conditionalEntropyTail
sourcePer-step integral identity: integrating pmfLogCondPast k against μZ
gives conditionalEntropyTail μ p k.
The proof structure:
- Decompose
∫ pmfLogCondPast k dμZinto a finite sum of∫ negMulLog(condProbPast a k) dμZ(viaintegral_pmfLogCondPast_eq_sum). - Identify each
condProbPast a kwith thecondDistrib-form regular conditional probability (viacondProbPast_ae_eq_condDistrib). - Bridge the sum to
condEntropy μZ coord0 (pastBlock k)viaintegral_mapand the definition ofMeasureFano.condEntropy. - Transport to the
μ-side viacondEntropy_μZ_eq_condEntropy_μ(joint-law equality +condEntropy_eq_pushforward).
Used by
InformationTheory.Shannon.TwoSided.integral_pmfLogCondInfty_eq_entropyRate
sourceThe SMB integral identity ∫ pmfLogCondInfty dμZ = entropyRate μ p.
Combines:
integral_pmfLogCondPast_eq_conditionalEntropyTail— the per-step identity;- DCT (forward Lévy a.s. limit +
Real.exp (-1)uniform bound onnegMulLog) applied per atom —∫ negMulLog(condProbPast a k) → ∫ negMulLog(condProbInfty a); entropyRate_eq_lim_condEntropy—conditionalEntropyTail μ p k → entropyRate.