InformationTheory

InformationTheory.Shannon.BlockwiseChannel.Definition

source

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 #

Design notes:

  • BlockwiseChannel is the function form (n : ℕ) → Kernel _ _. No marginal consistency axiom; sufficient for the memoryless extension.
  • Channel.toBlock is defined directly via Measure.pi: this makes the compProd ↔ pi bridge (toBlock_compProd_pi_factor, in BlockwiseChannel.MemorylessCapacity) almost definitional via measurePreserving_arrowProdEquivProdArrow, instead of an inductive MeasurableEquiv.piFinSuccAbove construction whose bridge would require substantial self-written plumbing.

BlockwiseChannel definition #

def

InformationTheory.Shannon.ChannelCoding.BlockwiseChannel

source
(α : Type u_3) (β : Type u_4) [MeasurableSpace α] [MeasurableSpace β] :
Type (max u_3 u_4)

A blockwise channel is a sequence of kernels, one per block length n.

Equations
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.

      noncomputable def

      InformationTheory.Shannon.ChannelCoding.Channel.toBlock

      source
      {α : Type u_1} {β : Type u_2} [MeasurableSpace α] [MeasurableSpace β] (W : Channel α β) [ProbabilityTheory.IsMarkovKernel W] (n : ) :
      ProbabilityTheory.Kernel (Fin nα) (Fin nβ)

      The 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
          instance

          InformationTheory.Shannon.ChannelCoding.Channel.toBlock.instIsMarkovKernel

          source

          Channel.toBlock W n is a Markov kernel when W is.

          Used by
            theorem

            InformationTheory.Shannon.ChannelCoding.Channel.toBlock_apply

            source
            @[simp]
            {α : Type u_1} {β : Type u_2} [MeasurableSpace α] [MeasurableSpace β] (W : Channel α β) [ProbabilityTheory.IsMarkovKernel W] (n : ) (x : Fin nα) :
            (W.toBlock n) x = MeasureTheory.Measure.pi fun (i : Fin n) => W (x i)
            Used by
              noncomputable def

              InformationTheory.Shannon.ChannelCoding.BlockwiseChannel.ofMemoryless

              source

              Memoryless block extension: ofMemoryless W n := W.toBlock n.

              Equations
              Instances For
                Used by
                  instance

                  InformationTheory.Shannon.ChannelCoding.BlockwiseChannel.ofMemoryless.instIsMarkovKernel

                  source
                  Used by
                    noncomputable def

                    InformationTheory.Shannon.ChannelCoding.BlockwiseChannel.capacityN

                    source
                    {α : Type u_1} {β : Type u_2} [MeasurableSpace α] [MeasurableSpace β] (W : BlockwiseChannel α β) (n : ) :

                    Per-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
                        theorem

                        InformationTheory.Shannon.ChannelCoding.BlockwiseChannel.capacityN_nonneg

                        source
                        {α : Type u_1} {β : Type u_2} [MeasurableSpace α] [MeasurableSpace β] (W : BlockwiseChannel α β) (n : ) :
                        Used by
                          noncomputable def

                          InformationTheory.Shannon.ChannelCoding.BlockwiseChannel.capacity_lim

                          source
                          {α : Type u_1} {β : Type u_2} [MeasurableSpace α] [MeasurableSpace β] (W : BlockwiseChannel α β) :

                          The asymptotic per-letter capacity: capacity_lim W := lim_{n → ∞} (capacityN W n).toReal / n.

                          Equations
                          Instances For
                            Used by