InformationTheory.Shannon.BlockwiseChannel.Definition
Blockwise channel + capacity definitions #
A BlockwiseChannel α β is a sequence of kernels
W_n : Kernel (Fin n → α) (Fin n → β) (one per block length). This file holds the
core definitions: the blockwise channel type, the i.i.d. block extension
Channel.toBlock, the memoryless extension ofMemoryless, and the per-block /
asymptotic capacity quantities capacityN / capacity_lim.
Main definitions #
BlockwiseChannel α β := (n : ℕ) → Kernel (Fin n → α) (Fin n → β)Channel.toBlock W n— directMeasure.piproduct kernelW^{⊗n}.BlockwiseChannel.ofMemoryless W := fun n => W.toBlock n— memoryless extension.BlockwiseChannel.capacityN W n : ℝ≥0∞— per-block capacity (sSupMI over probability inputs).BlockwiseChannel.capacity_lim W : ℝ— asymptotic per-letter capacity.
Design notes:
BlockwiseChannelis the function form(n : ℕ) → Kernel _ _. No marginal consistency axiom; sufficient for the memoryless extension.Channel.toBlockis defined directly viaMeasure.pi: this makes thecompProd ↔ pibridge (toBlock_compProd_pi_factor, inBlockwiseChannel.MemorylessCapacity) almost definitional viameasurePreserving_arrowProdEquivProdArrow, instead of an inductiveMeasurableEquiv.piFinSuccAboveconstruction whose bridge would require substantial self-written plumbing.
BlockwiseChannel definition #
InformationTheory.Shannon.ChannelCoding.BlockwiseChannel
sourceA blockwise channel is a sequence of kernels, one per block length n.
Equations
- InformationTheory.Shannon.ChannelCoding.BlockwiseChannel α β = ((n : ℕ) → ProbabilityTheory.Kernel (Fin n → α) (Fin n → β))
Instances For
Used by
Channel.toBlock W : the i.i.d. block extension of W #
Defined directly as Kernel.mk (fun x => Measure.pi (fun i => W (x i))) with
explicit measurability proof. This makes the compProd ↔ pi bridge below
definitionally tractable via measurePreserving_arrowProdEquivProdArrow.
InformationTheory.Shannon.ChannelCoding.Channel.toBlock
sourceThe block kernel W^{⊗n} of W, defined as Measure.pi of per-coordinate
applications of W. Requires [IsMarkovKernel W] so each fibre measure is a
probability measure (used in the measurability proof via the π-system route).
Equations
Instances For
Used by
InformationTheory.Shannon.ChannelCoding.Channel.toBlock.instIsMarkovKernel
sourceChannel.toBlock W n is a Markov kernel when W is.
Used by
InformationTheory.Shannon.ChannelCoding.Channel.toBlock_apply
sourceUsed by
InformationTheory.Shannon.ChannelCoding.BlockwiseChannel.ofMemoryless
sourceMemoryless block extension: ofMemoryless W n := W.toBlock n.
Instances For
Used by
InformationTheory.Shannon.ChannelCoding.BlockwiseChannel.ofMemoryless.instIsMarkovKernel
sourceUsed by
capacityN and capacity_lim #
InformationTheory.Shannon.ChannelCoding.BlockwiseChannel.capacityN
sourcePer-block capacity: sup_{p : prob measure on (Fin n → α)} I(p; W_n).
Type is ℝ≥0∞ to match mutualInfoOfChannel.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Used by
InformationTheory.Shannon.ChannelCoding.BlockwiseChannel.capacityN_nonneg
sourceUsed by
InformationTheory.Shannon.ChannelCoding.BlockwiseChannel.capacity_lim
sourceThe asymptotic per-letter capacity:
capacity_lim W := lim_{n → ∞} (capacityN W n).toReal / n.
Equations
- W.capacity_lim = Filter.atTop.limUnder fun (n : ℕ) => (W.capacityN n).toReal / ↑n