The categorical origins of entropy

Similar documents
OPERAD BIMODULE CHARACTERIZATION OF ENRICHMENT. V2

Entropy, diversity and magnitude

Maximizing biological diversity

Network Theory III: Bayesian Networks, Information and Entropy. John Baez, Brendan Fong, Tobias Fritz, Tom Leinster

Network Theory. 1. Tuesday 25 February, 3:30 pm: electrical circuits and signal-flow graphs.

The categorical origins of Lebesgue integration

arxiv:math/ v1 [math.ct] 1 Apr 2004

Entropy and Ergodic Theory Notes 22: The Kolmogorov Sinai entropy of a measure-preserving system

PhD topics. Tom Leinster. This document is intended for students considering doing a PhD with me.

ADVANCE TOPICS IN ANALYSIS - REAL. 8 September September 2011

Entropy and Ergodic Theory Lecture 28: Sinai s and Ornstein s theorems, II

NOTES WEEK 13 DAY 2 SCOT ADAMS

Applications of 2-categorical algebra to the theory of operads. Mark Weber

Entropy and Ergodic Theory Lecture 17: Transportation and concentration

Analysis and Enriched Category Theory

TOWARDS AN N-CATEGORY OF COBORDISMS

Entropy and Ergodic Theory Lecture 7: Rate-distortion theory

Entropy and Ergodic Theory Lecture 27: Sinai s factor theorem

Review of Coherence in Three-Dimensional Category Theory by Nick Gurski (Cambridge University Press, 2013).

C*-algebras - a case study

An example of higher representation theory

Types in categorical linguistics (& elswhere)

arxiv:math/ v1 [math.ct] 4 Oct 1998

Homotopy type theory: towards Grothendieck s dream

An example of higher representation theory

Categories, Functors, Natural Transformations

Definition 2.3. We define addition and multiplication of matrices as follows.

Lecture 11: Clifford algebras

Topological properties

arxiv:math/ v1 [math.ct] 27 Jun 2001

Linear algebra and differential equations (Math 54): Lecture 10

An adjoint construction for topological models of intuitionistic modal logic Extended abstract

Very quick introduction to the conformal group and cft

Custom Hypergraph Categories via Generalized Relations

Station keeping problem

Algebraic groups Lecture 1

INTRODUCTION TO PART V: CATEGORIES OF CORRESPONDENCES

BERTRAND GUILLOU. s G q+r

Linear Algebra (part 1) : Vector Spaces (by Evan Dummit, 2017, v. 1.07) 1.1 The Formal Denition of a Vector Space

Notes on ordinals and cardinals

Uniform Density Binary Words

Categorical axioms for functional real-number computation

Categories in Control John Baez and Jason Erbele

Iterated Bar Complexes of E-infinity Algebras and Homology Theories

An Algebraic View of the Relation between Largest Common Subtrees and Smallest Common Supertrees

CW-complexes. Stephen A. Mitchell. November 1997

Partial Metrics and Quantale-valued Sets. by Michael Bukatin, Ralph Kopperman, Steve Matthews, and Homeira Pajoohesh

Algebraic Geometry Spring 2009

sset(x, Y ) n = sset(x [n], Y ).

Adjunctions! Everywhere!

MATH 101B: ALGEBRA II PART A: HOMOLOGICAL ALGEBRA

The Spinor Representation

1 Categorical Background

The Adjoint Functor Theorem.

Lecture 5 - Information theory

Operads. Spencer Liang. March 10, 2015

FAMILIAL 2-FUNCTORS AND PARAMETRIC RIGHT ADJOINTS

The Grothendieck construction for model categories

CPSC 340: Machine Learning and Data Mining

arxiv:math/ v4 [math.ct] 14 Jun 2007

NOTES ON SOME EXERCISES OF LECTURE 5, MODULE 2

NOTES WEEK 14 DAY 2 SCOT ADAMS

Functional Analysis Exercise Class

1 Topology Definition of a topology Basis (Base) of a topology The subspace topology & the product topology on X Y 3

Generalized eigenspaces

Kathryn Hess. Category Theory, Algebra and Geometry Université Catholique de Louvain 27 May 2011

ne varieties (continued)

Enriched Categories. Stephen Fitz

MAC Module 5 Vectors in 2-Space and 3-Space II

Category Theory for Autonomous and Networked Dynamical Systems

Supercategories. Urs July 5, Odd flows and supercategories 4. 4 Braided monoidal supercategories 7

SM CATEGORIES AND THEIR REPRESENTATIONS

The periodic table of n-categories for low dimensions I: degenerate categories and degenerate bicategories draft

Legendre-Fenchel transforms in a nutshell

Ground States are generically a periodic orbit

Groupoids and Faà di Bruno Formulae for Green Functions

Categorical Probability and Stochastic Dominance in Metric Spaces

Reconsidering MacLane. Peter M. Hines

Exercises on chapter 0

Math 564 Homework 1. Solutions.

THE STEENROD ALGEBRA. The goal of these notes is to show how to use the Steenrod algebra and the Serre spectral sequence to calculate things.

LECTURE X: KOSZUL DUALITY

Notes on generating functions in automata theory

Real Analysis Prof. S.H. Kulkarni Department of Mathematics Indian Institute of Technology, Madras. Lecture - 13 Conditional Convergence

HAMILTON S PRINCIPLE

Entropy and Ergodic Theory Lecture 13: Introduction to statistical mechanics, II

4.1 Eigenvalues, Eigenvectors, and The Characteristic Polynomial

a (b + c) = a b + a c

A brief Introduction to Category Theory

Cluster varieties for tree-shaped quivers and their cohomology

Review: Review: 'pgq imgp'q th P H h 'pgq for some g P Gu H; kerp'q tg P G 'pgq 1 H u G.

Chapter 2. Decision Making under Risk. 2.1 Consequences and Lotteries

Scissors Congruence in Mixed Dimensions

Entropy and Ergodic Theory Lecture 6: Channel coding

LAX DISTRIBUTIVE LAWS FOR TOPOLOGY, II

Abstract Convexity: Results and Speculations

Information Theory in Intelligent Decision Making

Lecture 6 I. CHANNEL CODING. X n (m) P Y X

Jesse Han. October 10, McMaster University. Strong conceptual completeness and internal. adjunctions in DefpT q. Jesse Han.

arxiv: v2 [math.ca] 13 May 2015

Transcription:

The categorical origins of entropy Tom Leinster University of Edinburgh These slides: www.maths.ed.ac.uk/tl/

or Tom Leinster University of Edinburgh These slides: www.maths.ed.ac.uk/tl/

Maximum entropy on metric spaces Tom Leinster University of Edinburgh These slides: www.maths.ed.ac.uk/tl/

? Tom Leinster University of Edinburgh These slides: www.maths.ed.ac.uk/tl/

Maximum entropy on metric spaces Let p be a probability distribution on a finite metric space. There is a natural definition of the entropy H q ppq of order q P r0, 8s. When dpx, yq 8 for all x y, it reduces to Rényi entropy of order q (e.g. Shannon when q 1). Theorem: There is a single distribution p maximizing H q ppq for all q simultaneously. (It s not uniform!) And sup p H q ppq is the same for all q. Almost always, the maximum entropy distribution is unique. So: Almost every finite metric space comes with a canonical probability distribution. The result probably extends to compact metric spaces. Tom Leinster and Mark Meckes, Maximizing diversity in biology and beyond, Entropy 18 (2016), 88.

Maximum entropy on metric spaces Let p be a probability distribution on a finite metric space. There is a natural definition of the entropy H q ppq of order q P r0, 8s. When dpx, yq 8 for all x y, it reduces to Rényi entropy of order q (e.g. Shannon when q 1). Theorem: There is a single distribution p maximizing H q ppq for all q simultaneously. (It s not uniform!) And sup p H q ppq is the same for all q. Almost always, the maximum entropy distribution is unique. So: Almost every finite metric space comes with a canonical probability distribution. The result probably extends to compact metric spaces. Tom Leinster and Mark Meckes, Maximizing diversity in biology and beyond, Entropy 18 (2016), 88.

The categorical origins of entropy Tom Leinster University of Edinburgh These slides: www.maths.ed.ac.uk/tl/

Entropy in mathematical sciences

Entropy in mathematical sciences

Entropy in mathematical sciences

Entropy in mathematical sciences

Entropy in mathematical sciences

Entropy in mathematical sciences

Entropy in mathematical sciences

Entropy in mathematical sciences

Entropy in mathematical sciences

Entropy in mathematical sciences

Entropy in mathematical sciences

But in algebra and topology...... you can go your whole life without ever using the word entropy.

The point of this talk Entropy is notable by its relative absence from algebra and topology. However, we will see that entropy is inevitable in these subjects: it is there whether we like it or not. We ll do this using some category theory...

What is category theory? Category theory takes a bird s eye view of mathematics. From high in the sky, we can spot patterns that are impossible to detect from ground level. It makes analogies systematic and precise. What category theory I ll need in this talk: starting about half-way through: category, functor, natural transformation, monoidal category. right at the end: a bit more.

The point of this talk simplices p n q Ó R Ó internal algebras in a categorical algebra for an operad Ó Shannon entropy Image: J. Kock

Plan 1. Operads and their algebras 2. Internal algebras 3. The theorem 4. Low-tech corollary

1. Operads and their algebras

The definition of operad An operad O is a sequence po n q npn of sets together with: (i) composition: for each k, n 1,..., n k P N, a function O n O k1 O kn ÝÑ O k1 k n pθ, φ 1,..., φ n q ÞÝÑ θ pφ 1,..., φ n q θ P O 3 φ 1 φ n θ (ii) unit: an element 1 P O 1 satisfying associativity and unit axioms. (Then every tree has a unique composite.)

Examples of operads The terminal operad O 1 has O n tu for all n. Given monoid M, get operad OpMq with popmqq n # M if n 1, H otherwise. The operad of polynomials P over a field k has P n krx 1,..., x n s. Composition is given by substitution and reindexing: e.g. if φ 1 2x 1 x 3 x 2 P P 3, φ 2 x 1 x 2 x 3 x 4 P P 4, θ x 2 1 x 3 2 P P 2 then θ pφ 1, φ 2 q p2x 1 x 3 x 2 q 2 px 4 x 5 x 6 x 7 q 3 P P 7.

Example: the operad of simplices The operad of simplices has Composition: given define n probability distributions on t1,..., nu ( n 1. q 1 pq 1 1,..., q1 k 1 q,..., q n pq n 1,..., qn k n q, p pp 1,..., p n q, p pq 1,..., q n q pp 1 q 1 1,..., p 1 q 1 k 1,..., p n q n 1,..., p n q n k n q. E.g.: p p 1 2, 1 2 q, q1 p 1 6,..., 1 6 q, q2 p 1 52,..., 1 52 q. Then p pq 1, q 2 q p 1 12,..., 1 1 loooomoooon 12, 104,..., 1 looooomooooon 104q P 58. 6 52

Algebras for an operad Fix an operad O. An O-algebra is a set A together with a map θ : A n ÝÑ A for each n P N and θ P O n, satisfying action-like axioms: (i) composition, (ii) unit. Examples: a. When O is the terminal algebra 1, an O-algebra is exactly a monoid. b. An OpMq-algebra is a set with an M-action. c. Let A R d be a convex set. Then A becomes a -algebra as follows: given p P n, define p: A n ÝÑ A pa 1,..., a n q ÞÝÑ i p ia i.

Fix an operad O. Categorical algebras for an operad Extending the definition in the natural way, we can consider O-algebras in any category with finite products (not just Set). A categorical O-algebra is an O-algebra in Cat. Explicitly, it is a category A together with a functor θ : A n ÝÑ A for each n P N and θ P O n, satisfying action-like axioms. Examples: a. A categorical algebra for the operad 1 is a strict monoidal category. b. A categorical OpMq-algebra is a category with an M-action. c. Let A be a convex submonoid of pr d,, 0q. Viewing A as a one-object category, it is a categorical -algebra in the way defined above.

Maps between categorical algebras for an operad Fix an operad O and categorical O-algebras B and A. A lax map B ÝÑ A is a functor G : B ÝÑ A together with a natural transformation B n G n An ð θ γ θ θ B G A for each n P N and θ P O n, satisfying axioms. Explicitly: it s a functor G together with a map γ θ,b 1,...,b n : θ Gb1,..., Gb n ÝÑ G θpb 1,..., b n q for each θ P O n and b 1,..., b n P B, satisfying naturality and axioms on: (i) composition, (ii) unit.

2. Internal algebras

Internal algebras in a categorical algebra for an operad Fix an operad O and a categorical O-algebra A. Write 1 for the terminal categorical O-algebra. Definition (Batanin): An internal algebra in A is a lax map 1 ÝÑ A. Explicitly: it s an object a P A together with a map γ θ : θpa,..., aq ÝÑ a for each n P N and θ P O n, satisfying axioms on (i) composition, (ii) unit. Examples: a. Let O 1. Let A be a strict monoidal category. An internal O-algebra in A is just a monoid in A. b. Let O OpMq. Let A be a category with an M-action. An internal O-algebra in A is an object a P A with a map γ m : m a ÝÑ a for each m P M, satisfying action-like axioms.

Internal algebras in a categorical algebra for an operad We fixed an operad O and a categorical O-algebra A. Consider the case where A has only one object, i.e. it s a monoid A. An internal algebra in A then consists of a function γ : O n ÝÑ A for each n P N, satisfying axioms on (i) composition, (ii) unit.

Topologizing everything Everything so far can be done in the world of topological spaces instead of sets. (Jargon: we work internally to the category Top instead of Set.) Explicitly, this means that throughout, we add a condition (iii) continuity to the conditions (i) and (ii) that appear repeatedly.

3. The theorem

The theorem Recall: we have the (topological) operad p n q npn of simplices the (topological) categorical -algebra R pr,, 0q. We just saw that an internal algebra in the categorical -algebra R is a sequence of functions n ÝÑ satisfying certain axioms. R npn One famous sequence of functions n ÝÑ is Shannon entropy, R npn H : p ÞÑ p i log p i. Theorem The internal algebras in the categorical -algebra R are precisely the scalar multiples of Shannon entropy. i

The theorem Theorem The internal algebras in the categorical -algebra R are precisely the scalar multiples of Shannon entropy. Explicitly, this says: take a sequence of functions γ : n ÝÑ R npn. Then γ ch for some c P R if and only if γ satisfies: (i) composition: γ p pq 1,..., q q n γppq i p iγpq i q (ii) unit: γ p1q 0 (iii) continuity: each function γ is continuous. Proof: This explicit form is almost equivalent to a 1956 theorem of Faddeev, except that he also imposed a symmetry axiom (which here is redundant). l

Pause: where are we?

Pause: where are we?

Pause: where are we?

Pause: where are we?

4. Low-tech corollary (with John Baez and Tobias Fritz)

The free categorical algebra containing an internal algebra Thought: A monoid in a monoidal category A is the same thing as a lax monoidal functor 1 ÝÑ A. But it s also the same as a strict monoidal functor D ÝÑ A, where D (finite ordinals). That is: D is the free monoidal category containing a monoid. We can try to imitate this for algebras for other operads, such as. Fact: The free categorical -algebra containing an internal algebra is nearly the category FinProb in which: an object px, pq is a finite set X with a probability measure p the maps are the measure-preserving maps ( deterministic processes ). So, an internal -algebra in pr,, 0q is a functor FinProb ÝÑ pr,, 0q satisfying certain axioms.

Where are we now?

Where are we now?

Where are we now?

Where are we now?

An explicit characterization of entropy Corollary (with John Baez and Tobias Fritz, Entropy (2011)) Let L: tmeasure-preserving maps of finite probability spacesu ÝÑ R be a function that measures information loss, that is, satisfies: Lpg f q Lpf q Lpgq L λf ` p1 λqf 1 λlpf q p1 λqlpf 1 q : Lpf q 0 if f is invertible L is continuous. Then there is some c P R such that f L px, pq ÝÑ py, qq c Hppq Hpqq for all f. f g ÝÑ ÝÑ f : f 1

Summary

Summary Given an operad O and an O-algebra A in Cat, there is a general concept of internal algebra in A. Ÿ Applied to the terminal operad 1, this gives the concept of (internal) monoid in a monoidal category. Ÿ Applied to the operad of simplices and its algebra pr,, 0q in Cat, it gives the concept of Shannon entropy. So: entropy is inevitable in the topological/algebraic context. Given an operad O, we can form the free categorical O-algebra containing an internal algebra. Ÿ Ÿ When O 1, this is the category of finite ordinals. When O, this is the category of finite probability spaces (nearly). This gives a new and entirely explicit characterization of Shannon entropy.