Independent scholarship · Open accessThe monthly digest

Indexed text attachment

entropy-sources-and-channels-in-higher-categories.tex

Source for Entropy, Sources, and Channels in Higher Categories

View paper · Download original file

Lines 289–388 of 4249. Source text is displayed literally.

289  \draw[fw] (mu) -- node[above=2pt,lab,black]{$A_0^{\Z}$} (e);290  \draw[fw] (e) -- node[above=2pt,lab,black]{$\AZ$} (nu);291  \draw[fw] (nu) -- node[above=2pt,lab,black]{$\BZ$} (d);292  \draw[fw] (d) -- node[above=2pt,lab,black]{$A_0^{\Z}$} (9.0,0);293\end{tikzpicture}294\caption{A source $\mu$, an encoder $e$, a channel $\nu$ and a decoder $d$. Each box is a shift-equivariant295Markov kernel; the encoder and decoder are deterministic. Shannon's theorem asks when the composite296$d\circ\nu\circ e$ can be made close to the identity on $\mu$-typical inputs.}\label{fig:intro}297\end{figure}298 299\textbf{Part~I} is about entropy as a function. \Cref{ch:schemes} sets up finite schemes as a category and300shows that conditional entropy is the entropy of a morphism, so that the chain rule is functoriality.301\Cref{ch:uniqueness} proves Khinchin's uniqueness theorem and places it among its successors: Faddeev's302theorem, the functorial characterization of Baez, Fritz and Leinster, and the operadic one. \Cref{ch:cocycle}303develops information cohomology in a finite and explicit form. \Cref{ch:inequalities} treats Khinchin's304elementary inequalities through relative entropy and the data-processing inequality, which is the statement305that composition is short for a divergence.306 307\textbf{Part~II} is about sources. \Cref{ch:sources} constructs sequence spaces as infinite tensor products,308defines the entropy rate, and reads finite-state sources as coalgebras. \Cref{ch:ergodic} treats ergodicity309and the ergodic decomposition. \Cref{ch:martingales} is about conditional expectations as idempotents and310the convergence of martingales. \Cref{ch:aep} proves McMillan's theorem in mean from two soft convergence311statements and one elementary estimate.312 313\textbf{Part~III} is about channels. \Cref{ch:channels} defines channels with memory, repairs a gap in314Khinchin's treatment of ergodicity that was found soon after publication, and studies capacity as a315function on a monoidal category. \Cref{ch:feinstein} proves Feinstein's lemma in its one-shot form and316reads codes as approximate retractions. \Cref{ch:shannon} proves the coding theorems and their converses, and317shows the martingale returning as the engine of an explicit construction. \Cref{ch:rates} places entropy and318capacity among asymptotic invariants of preordered semirings.319 320\textbf{Part~IV}, \cref{ch:coda}, is an assessment and a list of open problems. The appendices contain the321categorical toolkit, a concordance with Khinchin's text, a description of the computational checks, and322solutions to all exercises.323 324\section*{A dictionary}325 326\begin{center}\small327\renewcommand{\arraystretch}{1.25}328\begin{tabular}{@{}p{0.40\textwidth}p{0.52\textwidth}@{}}329\toprule330\textbf{Khinchin} & \textbf{Here}\\\midrule331finite scheme & object of $\FinProb$; state $1\to X$ in $\FinStoch$\\332conditional entropy $H_A(B)$ & entropy of the projection $(A\times B,r)\to(A,p)$\\333$H(AB)=H(A)+H_A(B)$ & functoriality; the 1-cocycle condition\\334uniqueness theorem & $H^1\iso\R$; initiality of $\FinProb$\\335Shannon's inequality and its generalizations & positivity of relative entropy; submodularity\\336source $[A,\mu]$ & shift-invariant state on a Kolmogorov product\\337ergodic source & invariant state that is deterministic on the invariant $\sigma$-algebra\\338conditional probability given the past & dagger-split idempotent\\339the $E$ property & the block $A^n$ is an $\varepsilon$-retract of a set of $2^{nH}$ points\\340channel $[A,\nu_x,B]$ & equivariant Markov kernel $\AZ\to\BZ$\\341without anticipation & natural transformation of towers\\342connection of channel to source & composition after copying\\343distinguishable group of sequences & $\varepsilon$-retraction of the channel onto a finite set\\344ergodic capacity & asymptotic $\varepsilon$-rank\\345a code is a channel & deterministic morphisms are morphisms\\346\bottomrule347\end{tabular}348\end{center}349 350\section*{How to read the tags}351 352A reader who wants only the mathematics of information theory can read the statements tagged353\textsf{classical} and their proofs; they are complete in themselves. A reader who knows that mathematics354and wants the categorical account can read the statements tagged \textsf{literature} and355\textsf{reformulation}. The tags \textsf{observation} and \textsf{programme} mark where we are on our own:356the first for elementary remarks with proofs, the second for directions without them.357%% ---- end front.tex ----358\mainmatter359\part{Entropy}360%% ---- begin ch/01-schemes.tex ----361\chapter{Finite Schemes}\label{ch:schemes}362 363Khinchin's first paper begins with a \emph{finite scheme}: a complete system of mutually exclusive events364$A_1,\dots,A_n$ together with their probabilities $p_1,\dots,p_n$. He defines its entropy, lists the properties365of entropy that will be needed later, and observes that one of them, the rule for the entropy of a product366scheme, is the important one. This chapter does the same, with one change of emphasis. Finite schemes form367a category, and the important property says that entropy is a functor on it. The entropy of a scheme is the368value of that functor on a particular map.369 370\section{Schemes and their maps}371 372\begin{definition}\label{def:finprob}373A \term{finite probability space}, or finite scheme, is a pair $(X,p)$ of a finite set $X$ and a probability374distribution $p$ on it. A morphism $f\colon(X,p)\to(Y,q)$ is a map of sets with $f_*p=q$, that is,375$q(y)=\sum_{x\in f^{-1}(y)}p(x)$. These form the category $\FinProb$. The category $\FinStoch$ has finite376sets as objects and stochastic matrices as morphisms: a morphism $f\colon X\to Y$ is a family of377distributions $f(\,\cdot\st x)$ on $Y$, one for each $x\in X$, and378$(g\circ f)(z\st x)=\sum_yg(z\st y)f(y\st x)$.379\end{definition}380 381A distribution on $X$ is a morphism $1\to X$ in $\FinStoch$, a \term{state}. A map of sets is a stochastic382matrix with entries in $\{0,1\}$, so $\FinSet$ is a subcategory of $\FinStoch$, and a morphism of383$\FinProb$ is a map of sets that carries one state to another. We write $\Delta_n$ for the simplex of384distributions on $\{1,\dots,n\}$ and $u_n$ for the uniform one.385 386$\FinStoch$ is a symmetric monoidal category under the product of sets and the tensor product of387matrices, $(f\otimes g)(y,y'\st x,x')=f(y\st x)\,g(y'\st x')$. Each object has a copy map388$\cpy_X\colon X\to X\times X$ and a delete map $\del_X\colon X\to1$, both coming from $\FinSet$. These data