InformationTheory.Probability.TwoSidedExtension.Backward
Forward filtration of the finite past + pmfLogCond Lévy convergence #
The forward filtration is the monotone (in ℕ) family of σ-algebras pastSigma k
of events depending only on the finite past {coord_i : -k ≤ i ≤ -1} of length
k. As k → ∞, the filtration's ⨆-limit is the σ-algebra
cylinderEvents {i : ℤ | i ≤ -1} of the infinite negative past.
This is the shape needed by MeasureTheory.Integrable.tendsto_ae_condExp
(forward Lévy upward convergence): if g is (⨆ k, ℱ k)-strongly measurable
and integrable, then μ[g | ℱ k] → g a.s.
For each a : α, the real-valued process
condProbPast a k := μZ[ (coord0 ⁻¹' {a}).indicator (1 : (ℤ→α)→ℝ) | pastFiltration k ]
is a martingale (via martingale_condExp). The infinite-past conditional
probability condProbInfty a is defined directly as the conditional
expectation with respect to ⨆ k, pastFiltration k; forward Lévy then gives
condProbPast a k → condProbInfty a a.s.
The per-step conditional log-likelihood is then
pmfLogCondPast k ω := -log ( ∑ a, indicator(coord0 ω = a) * condProbPast a k ω ),
which collapses pointwise to -log condProbPast (coord0 ω) k ω.
The terminal integral identity
∫ pmfLogCondInfty dμZ = entropyRate μ p follows from the per-step identity
∫ pmfLogCondPast k dμZ = conditionalEntropyTail μ p k (via the joint-law
equality of shiftedMarginal) and DCT pushed through forward Lévy +
entropyRate_eq_lim_condEntropy.
InformationTheory.Shannon.TwoSided.pastSigma
sourceThe σ-algebra of events depending only on the finite past
{coord_i : -k ≤ i ≤ -1} of length k. For k = 0 this is the trivial
σ-algebra (the set {i | 0 ≤ i ∧ i ≤ -1} is empty).
Equations
Instances For
Used by
InformationTheory.Shannon.TwoSided.pastSigma_mono
sourcepastSigma is monotone in k (longer past = larger σ-algebra).
Used by
InformationTheory.Shannon.TwoSided.pastFiltration
sourceThe forward past filtration on ℕ: pastFiltration k is pastSigma k,
the σ-algebra of events depending on the finite past {coord_i : -k ≤ i ≤ -1}.
Equations
- InformationTheory.Shannon.TwoSided.pastFiltration = { seq := fun (k : ℕ) => InformationTheory.Shannon.TwoSided.pastSigma k, mono' := ⋯, le' := ⋯ }
Instances For
Used by
InformationTheory.Shannon.TwoSided.pastFiltration_apply
sourceUsed by
InformationTheory.Shannon.TwoSided.negPastSigma
sourceThe σ-algebra of events depending on the infinite negative past
{coord_i : i ≤ -1}. This is ⨆ k, pastSigma k.
Equations
Instances For
Used by
InformationTheory.Shannon.TwoSided.iSup_pastSigma_eq_negPastSigma
sourceThe supremum of the forward past filtration is the infinite negative past σ-algebra.
Unfolds cylinderEvents as ⨆ i ∈ Δ, (m i).comap (· i) and rearranges the
nested iSups: for any i ≤ -1, i ∈ [-k, -1] for k := (-i).toNat.
Used by
InformationTheory.Shannon.TwoSided.coord0
sourceThe coordinate-0 evaluation.
Equations
Instances For
Used by
InformationTheory.Shannon.TwoSided.measurable_coord0
sourceThe coordinate-0 map is measurable.
Used by
InformationTheory.Shannon.TwoSided.indicator_coord0_eq_le_one
sourceThe indicator of {coord0 = a} is bounded by 1.
Used by
InformationTheory.Shannon.TwoSided.indicator_coord0_eq_nonneg
sourceThe indicator of {coord0 = a} is nonneg.
Used by
InformationTheory.Shannon.TwoSided.measurableSet_coord0_eq
sourceThe set {coord0 = a} is measurable.
Used by
InformationTheory.Shannon.TwoSided.integrable_indicator_coord0_eq
sourceThe indicator function (coord0 ⁻¹' {a}).indicator 1 is integrable under μZ.
Used by
InformationTheory.Shannon.TwoSided.condProbPast
sourceThe real-valued forward conditional probability of {coord0 = a} given
the finite past pastFiltration k, viewed as a function on ℤ → α.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Used by
InformationTheory.Shannon.TwoSided.martingale_condProbPast
sourceFor each a : α, condProbPast a is a (forward) martingale w.r.t. the past
filtration.
Used by
InformationTheory.Shannon.TwoSided.condProbInfty
sourceThe infinite-past conditional probability of {coord0 = a} given
⨆ k, pastFiltration k.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Used by
InformationTheory.Shannon.TwoSided.condProbPast_tendsto_condProbInfty
sourceForward Lévy upward convergence: condProbPast a k → condProbInfty a a.s.
as k → ∞. Direct application of
MeasureTheory.Integrable.tendsto_ae_condExp (Lévy's upward theorem).
Used by
InformationTheory.Shannon.TwoSided.integrable_condProbPast
sourcecondProbPast a k is integrable.
Used by
InformationTheory.Shannon.TwoSided.stronglyMeasurable_condProbPast
sourcecondProbPast a k is strongly measurable w.r.t. pastFiltration k.
Used by
InformationTheory.Shannon.TwoSided.stronglyMeasurable_condProbInfty
sourcecondProbInfty a is ⨆ k, pastFiltration k-strongly measurable.
Used by
InformationTheory.Shannon.TwoSided.ae_zero_le_condProbPast
sourcecondProbPast a k ≥ 0 a.s.
Used by
InformationTheory.Shannon.TwoSided.ae_condProbPast_le_one
sourcecondProbPast a k ≤ 1 a.s.
Used by
InformationTheory.Shannon.TwoSided.ae_zero_le_condProbInfty
sourcecondProbInfty a ≥ 0 a.s.
Used by
InformationTheory.Shannon.TwoSided.ae_condProbInfty_le_one
sourcecondProbInfty a ≤ 1 a.s.
Used by
InformationTheory.Shannon.TwoSided.condProbInfty_eq_condExp_tail
sourcecondProbInfty a is by definition the conditional expectation of the indicator
1_{coord0=a} w.r.t. the σ-algebra ⨆ k, pastFiltration k of the infinite past.
Used by
InformationTheory.Shannon.TwoSided.pmfLogCondPast
sourcePer-step conditional log-likelihood under μZ conditioned on pastSigma k.
Defined as -log (∑ a, indicator(coord0 = a) * condProbPast a k). On the
full-measure set where the conditional probability of the actual coord0 value
is positive, this is -log condProbPast (coord0 x) k x.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Used by
InformationTheory.Shannon.TwoSided.pmfLogCondInfty
sourceLimit log-likelihood (conditional on the full backward tail).
Equations
- One or more equations did not get rendered due to their size.
Instances For
Used by
InformationTheory.Shannon.TwoSided.pmfLogCondPast_inner_eq_self
sourcePer-step (and limit) inner sum simplifies to a single conditional probability of the realized coord-0 value.