InformationTheory.Shannon.IIDProductInput.Basic
i.i.d. ambient (μ, Xs, Ys) for channel coding achievability #
This file provides the i.i.d. ambient probability space consumed by the
abstract random_codebook_average_le and the main theorem
channel_coding_achievability of
InformationTheory/Shannon/ChannelCoding/Achievability.lean.
Construction #
Given an input distribution p : Measure α (a probability measure) and a
channel W : Channel α β (a Markov kernel), the i.i.d. ambient space is
Ω := ℕ → α × β equipped with the product measure
μ := Measure.infinitePi (fun _ : ℕ => jointDistribution p W). Random variables
are coordinate projections:
These exactly match the abstract Xs, Ys hypothesis shapes (iIndepFun,
IdentDistrib, marginal-matching) demanded by the achievability lemmas.
Channel positivity #
The hposY / hposZ positivity lemmas require the channel-positivity
hypothesis ∀ a y, 0 < W a {y} (in addition to input positivity
∀ a, 0 < p.real {a}). Without it outputDistribution p W and
jointDistribution p W can hit zero on some singleton.
Ambient measure on ℕ → α × β #
InformationTheory.Shannon.ChannelCoding.iidAmbientMeasure
sourceThe i.i.d. ambient measure for input distribution p and channel W:
Measure.infinitePi (fun _ : ℕ => jointDistribution p W) on ℕ → α × β.
Equations
Instances For
Used by
InformationTheory.Shannon.ChannelCoding.iidAmbientMeasure.instIsProbabilityMeasure
sourceUsed by
InformationTheory.Shannon.ChannelCoding.iidXs
sourceThe i-th input random variable: ω ↦ (ω i).1.
Equations
- InformationTheory.Shannon.ChannelCoding.iidXs i ω = (ω i).1
Instances For
Used by
InformationTheory.Shannon.ChannelCoding.iidYs
sourceThe i-th output random variable: ω ↦ (ω i).2.
Equations
- InformationTheory.Shannon.ChannelCoding.iidYs i ω = (ω i).2
Instances For
Used by
InformationTheory.Shannon.ChannelCoding.iidXs_apply
sourceUsed by
InformationTheory.Shannon.ChannelCoding.iidYs_apply
sourceUsed by
InformationTheory.Shannon.ChannelCoding.measurable_iidXs
sourceUsed by
InformationTheory.Shannon.ChannelCoding.measurable_iidYs
sourceUsed by
InformationTheory.Shannon.ChannelCoding.jointSequence_iidXs_iidYs
sourceThe joint sequence collapses to the raw coordinate projection
fun ω ↦ ω i modulo Prod.mk η.
Used by
Marginal laws #
The three coordinate-marginal identifications μ.map (Xs 0) = p,
μ.map (Ys 0) = outputDistribution p W,
μ.map (jointSequence Xs Ys 0) = jointDistribution p W.
InformationTheory.Shannon.ChannelCoding.iidAmbient_map_jointSequence
sourceThe joint sequence marginal at index i is the joint distribution p ⊗ₘ W.
Used by
InformationTheory.Shannon.ChannelCoding.iidAmbient_map_iidXs
sourceThe input marginal μ.map (Xs i) = p.
Used by
InformationTheory.Shannon.ChannelCoding.iidAmbient_map_iidYs
sourceThe output marginal μ.map (Ys i) = outputDistribution p W.
Used by
IdentDistrib along each axis #
InformationTheory.Shannon.ChannelCoding.iidAmbient_identDistrib_iidXs
sourceUsed by
InformationTheory.Shannon.ChannelCoding.iidAmbient_identDistrib_iidYs
sourceUsed by
InformationTheory.Shannon.ChannelCoding.iidAmbient_identDistrib_joint
sourceUsed by
iIndepFun along each axis #
InformationTheory.Shannon.ChannelCoding.iidAmbient_iIndepFun_iidXs
sourceThe input coordinates Xs i ω = (ω i).1 are mutually independent under the
i.i.d. ambient measure.
Used by
InformationTheory.Shannon.ChannelCoding.iidAmbient_iIndepFun_iidYs
sourceThe output coordinates Ys i ω = (ω i).2 are mutually independent.
Used by
InformationTheory.Shannon.ChannelCoding.iidAmbient_iIndepFun_joint
sourceUsed by
InformationTheory.Shannon.ChannelCoding.iidAmbient_pairwise_indep_joint
sourcePairwise independence for the joint axis: needed by
jointlyTypicalSet_prob_tendsto_one (which takes the Pairwise … ⟂ᵢ[μ] … form
rather than the full iIndepFun form).
Used by
InformationTheory.Shannon.ChannelCoding.iidAmbient_pairwise_indep_iidXs
sourceUsed by
InformationTheory.Shannon.ChannelCoding.iidAmbient_pairwise_indep_iidYs
sourceUsed by
Positivity of singleton marginals #
InformationTheory.Shannon.ChannelCoding.jointDistribution_singleton
sourceSingleton mass of the joint distribution: (p ⊗ₘ W) {(x, y)} = p {x} * W x {y}.
Uses Set.singleton_prod_singleton to rewrite the singleton as a product set and
then compProd_apply_prod + lintegral_singleton to evaluate.
Used by
InformationTheory.Shannon.ChannelCoding.jointDistribution_singleton_pos
sourcePositivity of (jointDistribution p W).real {(x, y)} from input + channel
positivity.
Used by
InformationTheory.Shannon.ChannelCoding.iidAmbient_iidXs_real_singleton_pos
sourcePositivity of the input marginal: 0 < (μ.map (iidXs 0)).real {x}.
Used by
InformationTheory.Shannon.ChannelCoding.iidAmbient_iidYs_real_singleton_pos
sourcePositivity of the output marginal: 0 < (μ.map (iidYs 0)).real {y}. Requires
input positivity and channel positivity.
Used by
InformationTheory.Shannon.ChannelCoding.iidAmbient_joint_real_singleton_pos
sourcePositivity of the joint marginal: 0 < (μ.map (jointSequence iidXs iidYs 0)).real {(x, y)}.
Requires input + channel positivity.