On the Operational Meaning of the Bar Construction ...with an - - PowerPoint PPT Presentation

on the operational meaning of the bar construction
SMART_READER_LITE
LIVE PREVIEW

On the Operational Meaning of the Bar Construction ...with an - - PowerPoint PPT Presentation

On the Operational Meaning of the Bar Construction ...with an application to Probability Paolo Perrone Joint work with Tobias Fritz Max Planck Institute for Mathematics in the Sciences Leipzig, Germany Category Theory 2018 Monads and formal


slide-1
SLIDE 1

On the Operational Meaning of the Bar Construction

...with an application to Probability Paolo Perrone Joint work with Tobias Fritz

Max Planck Institute for Mathematics in the Sciences Leipzig, Germany

Category Theory 2018

slide-2
SLIDE 2

Monads and formal expressions

2 of 25

slide-3
SLIDE 3

Monads and formal expressions

Setting:

Let C be a concrete category and (T, µ, η) a monad with η monic.

2 of 25

slide-4
SLIDE 4

Monads and formal expressions

Setting:

Let C be a concrete category and (T, µ, η) a monad with η monic. X =

  • x , y , z , . . .
  • 2 of 25
slide-5
SLIDE 5

Monads and formal expressions

Setting:

Let C be a concrete category and (T, µ, η) a monad with η monic. X =

  • x , y , z , . . .
  • TX

=

  • x + y , x + y + z , x , . . .
  • 2 of 25
slide-6
SLIDE 6

Monads and formal expressions

Setting:

Let C be a concrete category and (T, µ, η) a monad with η monic. X =

  • x , y , z , . . .
  • TX

=

  • x + y , x + y + z , x , . . .
  • TTX

=

  • (x + y) + (x + z) , (x) , . . .
  • 2 of 25
slide-7
SLIDE 7

Monads and formal expressions

Setting:

Let C be a concrete category and (T, µ, η) a monad with η monic. X =

  • x , y , z , . . .
  • TX

=

  • x + y , x + y + z , x , . . .
  • TTX

=

  • (x + y) + (x + z) , (x) , . . .
  • f : X → Y

− → Tf : x + x′ → f (x) + f (x′)

2 of 25

slide-8
SLIDE 8

Monads and formal expressions

  • η : X → TX maps the element x to x as a formal expression

3 of 25

slide-9
SLIDE 9

Monads and formal expressions

  • η : X → TX maps the element x to x as a formal expression
  • µ : TTX → TX removes the brackets:

(x + y) + (z + t) − → x + y + z + t.

3 of 25

slide-10
SLIDE 10

Monads and formal expressions

  • η : X → TX maps the element x to x as a formal expression
  • µ : TTX → TX removes the brackets:

(x + y) + (z + t) − → x + y + z + t. ((x + y) + (z)) (x + y + z) TTTX TTX TTX TX (x + y) + (z) x + y + z

Tµ µ µ µ

3 of 25

slide-11
SLIDE 11

Monads and formal expressions

  • η : X → TX maps the element x to x as a formal expression
  • µ : TTX → TX removes the brackets:

(x + y) + (z + t) − → x + y + z + t. ((x + y) + (z)) (x + y + z) TTTX TTX TTX TX (x + y) + (z) x + y + z

Tµ µ µ µ

3 of 25

slide-12
SLIDE 12

Monads and formal expressions

  • η : X → TX maps the element x to x as a formal expression
  • µ : TTX → TX removes the brackets:

(x + y) + (z + t) − → x + y + z + t. ((x + y) + (z)) (x + y + z) TTTX TTX TTX TX (x + y) + (z) x + y + z

Tµ µ µ µ

3 of 25

slide-13
SLIDE 13

Monads and formal expressions

  • η : X → TX maps the element x to x as a formal expression
  • µ : TTX → TX removes the brackets:

(x + y) + (z + t) − → x + y + z + t. ((x + y) + (z)) (x + y + z) TTTX TTX TTX TX (x + y) + (z) x + y + z

Tµ µ µ µ

3 of 25

slide-14
SLIDE 14

Monads and formal expressions

  • An algebra e : TA → A is an object in which formal expressions

can be evaluated.

4 of 25

slide-15
SLIDE 15

Monads and formal expressions

  • An algebra e : TA → A is an object in which formal expressions

can be evaluated. 2 + 1 − → 3.

4 of 25

slide-16
SLIDE 16

Monads and formal expressions

  • An algebra e : TA → A is an object in which formal expressions

can be evaluated. 2 + 1 − → 3. (1 + 2) + (3) 3 + 3 TTA TA TA A 1 + 2 + 3 6

Te µ e e

4 of 25

slide-17
SLIDE 17

Monads and formal expressions

  • An algebra e : TA → A is an object in which formal expressions

can be evaluated. 2 + 1 − → 3. (1 + 2) + (3) 3 + 3 TTA TA TA A 1 + 2 + 3 6

Te µ e e

4 of 25

slide-18
SLIDE 18

Monads and formal expressions

  • An algebra e : TA → A is an object in which formal expressions

can be evaluated. 2 + 1 − → 3. (1 + 2) + (3) 3 + 3 TTA TA TA A 1 + 2 + 3 6

Te µ e e

4 of 25

slide-19
SLIDE 19

Monads and formal expressions

  • An algebra e : TA → A is an object in which formal expressions

can be evaluated. 2 + 1 − → 3. (1 + 2) + (3) 3 + 3 TTA TA TA A 1 + 2 + 3 6

Te µ e e

4 of 25

slide-20
SLIDE 20

The bar construction

5 of 25

slide-21
SLIDE 21

The bar construction

· · · TTTA TTA TA A

µT Tµ TTe TηT TTη Te µ Tη e

5 of 25

slide-22
SLIDE 22

The bar construction

· · · TTTA TTA TA A

µT Tµ TTe TηT TTη Te µ Tη e

5 of 25

slide-23
SLIDE 23

The bar construction

· · · TTTA TTA TA A

µT Tµ TTe TηT TTη Te µ Tη e

5 of 25

slide-24
SLIDE 24

The bar construction

· · · TTTA TTA TA A

µT Tµ TTe TηT TTη Te µ Tη e

5 of 25

slide-25
SLIDE 25

The bar construction

· · · TTTA TTA TA A

µT Tµ TTe TηT TTη Te µ Tη e

5 of 25

slide-26
SLIDE 26

The bar construction

· · · TTTA TTA TA A

d0 d1 d2 s0 s1 d1 d0 s0 d0

Simplicial object:

5 of 25

slide-27
SLIDE 27

The bar construction

· · · TTTA TTA TA A

d0 d1 d2 s0 s1 d1 d0 s0 d0

Simplicial object:

  • A monad defines a comonad on the category of algebras CT

5 of 25

slide-28
SLIDE 28

The bar construction

· · · TTTA TTA TA A

d0 d1 d2 s0 s1 d1 d0 s0 d0

Simplicial object:

  • A monad defines a comonad on the category of algebras CT
  • A comonad is a comonoid in [CT, CT]

5 of 25

slide-29
SLIDE 29

The bar construction

· · · TTTA TTA TA A

d0 d1 d2 s0 s1 d1 d0 s0 d0

Simplicial object:

  • A monad defines a comonad on the category of algebras CT
  • A comonad is a comonoid in [CT, CT]
  • A comonoid is a (monoidal) functor ∆aop → [CT, CT].

5 of 25

slide-30
SLIDE 30

The bar construction

· · · TTTA TTA TA A

d0 d1 d2 s0 s1 d1 d0 s0 d0

Questions:

5 of 25

slide-31
SLIDE 31

The bar construction

· · · TTTA TTA TA A

d0 d1 d2 s0 s1 d1 d0 s0 d0

Questions:

  • How can we interpret all these extra objects and arrows?

5 of 25

slide-32
SLIDE 32

The bar construction

· · · TTTA TTA TA A

d0 d1 d2 s0 s1 d1 d0 s0 d0

Questions:

  • How can we interpret all these extra objects and arrows?
  • Can we interpret the whole simplicial object operationally?

5 of 25

slide-33
SLIDE 33

The bar construction

· · · TTTA TTA TA A

d0 d1 d2 s0 s1 d1 d0 s0 d0

Questions:

  • How can we interpret all these extra objects and arrows?
  • Can we interpret the whole simplicial object operationally?
  • Can this be applied to other areas of math?

5 of 25

slide-34
SLIDE 34

Partial evaluations

Idea:

A formal expression of elements of an algebra can also be partially evaluated, instead of totally.

6 of 25

slide-35
SLIDE 35

Partial evaluations

Idea:

A formal expression of elements of an algebra can also be partially evaluated, instead of totally. (2 + 3) + (4) 2 + 3 + 4 5 + 4 remove brackets evaluate brackets

6 of 25

slide-36
SLIDE 36

Partial evaluations

Idea:

A formal expression of elements of an algebra can also be partially evaluated, instead of totally. (2 + 3) + (4) 2 + 3 + 4 5 + 4 remove brackets evaluate brackets

6 of 25

slide-37
SLIDE 37

Partial evaluations

Idea:

A formal expression of elements of an algebra can also be partially evaluated, instead of totally. (2 + 3) + (4) 2 + 3 + 4 5 + 4 remove brackets evaluate brackets

6 of 25

slide-38
SLIDE 38

Partial evaluations

Idea:

A formal expression of elements of an algebra can also be partially evaluated, instead of totally. (2 + 3) + (4) 2 + 3 + 4 5 + 4 remove brackets evaluate brackets

6 of 25

slide-39
SLIDE 39

Partial evaluations

Idea:

A formal expression of elements of an algebra can also be partially evaluated, instead of totally. (2 + 3) + (4) 2 + 3 + 4 5 + 4 remove brackets evaluate brackets TTA TA TA

µ Te

6 of 25

slide-40
SLIDE 40

Partial evaluations

Definition:

Let p, q ∈ TA. A partial evaluation from p to q is an element m ∈ TTA such that µ(m) = p and (Te)(m) = q. (2 + 3) + (4) 2 + 3 + 4 5 + 4 remove brackets evaluate brackets TTA TA TA

µ Te

6 of 25

slide-41
SLIDE 41

Partial evaluations

Properties:

7 of 25

slide-42
SLIDE 42

Partial evaluations

Properties:

  • There is always a partial evaluation from p ∈ TA to itself:

TTA TA

Te µ Tη

7 of 25

slide-43
SLIDE 43

Partial evaluations

Properties:

  • There is always a partial evaluation from p ∈ TA to itself:

TTA TA

Te µ Tη

7 of 25

slide-44
SLIDE 44

Partial evaluations

Properties:

  • There is always a partial evaluation from p ∈ TA to itself:

TTA TA

Te µ Tη

  • There is always a partial evaluation from p to its total evaluation:

TA TTA A TA

e η Te µ η

7 of 25

slide-45
SLIDE 45

Partial evaluations

Properties:

  • There is always a partial evaluation from p ∈ TA to itself:

TTA TA

Te µ Tη

  • There is always a partial evaluation from p to its total evaluation:

TA TTA A TA

e η Te µ η

7 of 25

slide-46
SLIDE 46

Partial evaluations

Properties:

  • There is always a partial evaluation from p ∈ TA to itself:

TTA TA

Te µ Tη

  • There is always a partial evaluation from p to its total evaluation:

TA TTA A TA

e η Te µ η

7 of 25

slide-47
SLIDE 47

Partial evaluations

Example:

Let G be an internal monoid (or group) in a (cartesian) monoidal category.

8 of 25

slide-48
SLIDE 48

Partial evaluations

Example:

Let G be an internal monoid (or group) in a (cartesian) monoidal category.

  • X → G × X is a monad;

8 of 25

slide-49
SLIDE 49

Partial evaluations

Example:

Let G be an internal monoid (or group) in a (cartesian) monoidal category.

  • X → G × X is a monad;
  • The algebras e : G × A → A are G-spaces.

8 of 25

slide-50
SLIDE 50

Partial evaluations

Example:

Let G be an internal monoid (or group) in a (cartesian) monoidal category.

  • X → G × X is a monad;
  • The algebras e : G × A → A are G-spaces.

Let (g, x), (h, y) ∈ G × A.

8 of 25

slide-51
SLIDE 51

Partial evaluations

Example:

Let G be an internal monoid (or group) in a (cartesian) monoidal category.

  • X → G × X is a monad;
  • The algebras e : G × A → A are G-spaces.

Let (g, x), (h, y) ∈ G × A. A partial evaluation from (g, x) to (h, y) is an element (h, ℓ, x) ∈ G × G × A such that hℓ = g and ℓ · x = y.

8 of 25

slide-52
SLIDE 52

Partial evaluations

Example:

Let G be an internal monoid (or group) in a (cartesian) monoidal category.

  • X → G × X is a monad;
  • The algebras e : G × A → A are G-spaces.

Let (g, x), (h, y) ∈ G × A. A partial evaluation from (g, x) to (h, y) is an element (h, ℓ, x) ∈ G × G × A such that hℓ = g and ℓ · x = y. x ℓx g · x

g ℓ h

8 of 25

slide-53
SLIDE 53

Partial evaluations

Example:

Let G be an internal monoid (or group) in a (cartesian) monoidal category.

  • X → G × X is a monad;
  • The algebras e : G × A → A are G-spaces.

Let (g, x), (h, y) ∈ G × A. A partial evaluation from (g, x) to (h, y) is an element (h, ℓ, x) ∈ G × G × A such that hℓ = g and ℓ · x = y. x ℓx g · x

g ℓ h

8 of 25

slide-54
SLIDE 54

Partial evaluations

Question:

Can partial evaluations be composed?

9 of 25

slide-55
SLIDE 55

Partial evaluations

Question:

Can partial evaluations be composed? ((1 + 1) + (1 + 1)) (1 + 1) + (1 + 1) (1 + 1 + 1 + 1) (2 + 2) 1 + 1 + 1 + 1 2 + 2 4

µ Tµ TTe µ Te µ Te µ Te

9 of 25

slide-56
SLIDE 56

Partial evaluations

Question:

Can partial evaluations be composed? ((1 + 1) + (1 + 1)) (1 + 1) + (1 + 1) (1 + 1 + 1 + 1) (2 + 2) 1 + 1 + 1 + 1 2 + 2 4

µ Tµ TTe µ Te µ Te µ Te

9 of 25

slide-57
SLIDE 57

Partial evaluations

Question:

Can partial evaluations be composed? ((1 + 1) + (1 + 1)) (1 + 1) + (1 + 1) (1 + 1 + 1 + 1) (2 + 2) 1 + 1 + 1 + 1 2 + 2 4

µ Tµ TTe µ Te µ Te µ Te

9 of 25

slide-58
SLIDE 58

Partial evaluations

Question:

Can partial evaluations be composed? ((1 + 1) + (1 + 1)) (1 + 1) + (1 + 1) (1 + 1 + 1 + 1) (2 + 2) 1 + 1 + 1 + 1 2 + 2 4

µ Tµ TTe µ Te µ Te µ Te

9 of 25

slide-59
SLIDE 59

Partial evaluations

Question:

Can partial evaluations be composed? ((1 + 1) + (1 + 1)) (1 + 1) + (1 + 1) (1 + 1 + 1 + 1) (2 + 2) 1 + 1 + 1 + 1 2 + 2 4

µ Tµ TTe µ Te µ Te µ Te

9 of 25

slide-60
SLIDE 60

Partial evaluations

Question:

Can partial evaluations be composed? ((1 + 1) + (1 + 1)) (1 + 1) + (1 + 1) (1 + 1 + 1 + 1) (2 + 2) 1 + 1 + 1 + 1 2 + 2 4

µ Tµ TTe µ Te µ Te µ Te

9 of 25

slide-61
SLIDE 61

Partial evaluations

Question:

Can partial evaluations be composed? TTTA TTA TTA TTA TA TA TA

µ TTe Tµ Te µ µ Te µ Te

9 of 25

slide-62
SLIDE 62

Partial evaluations

Question:

Can partial evaluations be composed? TTTA TTA TTA TTA TA TA TA

µ TTe Tµ Te µ µ Te µ Te

The question is a Kan filler condition for the inner 2-horns.

9 of 25

slide-63
SLIDE 63

Partial evaluations

Question:

Can partial evaluations be composed?

2 + 2 (1 + 1) + (1 + 1) (2 + 2) ((1 + 1) + (1 + 1)) 1 + 1 + 1 + 1 (1 + 1 + 1 + 1) 4

µ Te µ Te µ Tµ TTe µ Te 9 of 25

slide-64
SLIDE 64

Partial evaluations

Question:

Can partial evaluations be composed?

2 + 2 (1 + 1) + (1 + 1) (2 + 2) ((1 + 1) + (1 + 1)) 1 + 1 + 1 + 1 (1 + 1 + 1 + 1) 4

µ Te µ Te µ Tµ TTe µ Te 9 of 25

slide-65
SLIDE 65

Partial evaluations

Question:

Can partial evaluations be composed? TTTA TTA TTA TTA TA TA TA

µ TTe Tµ Te µ µ Te µ Te

The question is a Kan filler condition for the inner 2-horns.

9 of 25

slide-66
SLIDE 66

Partial evaluations

Question:

Is the composition unique?

10 of 25

slide-67
SLIDE 67

Partial evaluations

Question:

Is the composition unique? In general, no. (4(−1)) + (4(+1)) + 2(2(−2) + 2(+2)) (4(−1) + 4(+1)) + (3(−2) + (+2)) + ((−2) + 3(+2)) These give unequal parallel 1-cells between: 4(−1) + 4(+1) + 4(−2) + 4(+2) and (+4) + (−4).

10 of 25

slide-68
SLIDE 68

Partial evaluations

What we know so far:

11 of 25

slide-69
SLIDE 69

Partial evaluations

What we know so far:

  • 1. π0(Bar(A)) ∼

= A.

11 of 25

slide-70
SLIDE 70

Partial evaluations

What we know so far:

  • 1. π0(Bar(A)) ∼

= A.

  • 2. For idempotent monads, Bar(A) ∼

= A.

11 of 25

slide-71
SLIDE 71

Partial evaluations

What we know so far:

  • 1. π0(Bar(A)) ∼

= A.

  • 2. For idempotent monads, Bar(A) ∼

= A.

  • 3. For cartesian monads, Bar(A) is the nerve of a category.

11 of 25

slide-72
SLIDE 72

Partial evaluations

What we know so far:

  • 1. π0(Bar(A)) ∼

= A.

  • 2. For idempotent monads, Bar(A) ∼

= A.

  • 3. For cartesian monads, Bar(A) is the nerve of a category.
  • 4. In general, composition (when defined) is not unique.

11 of 25

slide-73
SLIDE 73

Partial evaluations

What we know so far:

  • 1. π0(Bar(A)) ∼

= A.

  • 2. For idempotent monads, Bar(A) ∼

= A.

  • 3. For cartesian monads, Bar(A) is the nerve of a category.
  • 4. In general, composition (when defined) is not unique.

Open questions:

11 of 25

slide-74
SLIDE 74

Partial evaluations

What we know so far:

  • 1. π0(Bar(A)) ∼

= A.

  • 2. For idempotent monads, Bar(A) ∼

= A.

  • 3. For cartesian monads, Bar(A) is the nerve of a category.
  • 4. In general, composition (when defined) is not unique.

Open questions:

  • 1. Can partial evaluations always be composed?

11 of 25

slide-75
SLIDE 75

Partial evaluations

What we know so far:

  • 1. π0(Bar(A)) ∼

= A.

  • 2. For idempotent monads, Bar(A) ∼

= A.

  • 3. For cartesian monads, Bar(A) is the nerve of a category.
  • 4. In general, composition (when defined) is not unique.

Open questions:

  • 1. Can partial evaluations always be composed?
  • 2. Is the bar construction always a quasi-category?

11 of 25

slide-76
SLIDE 76

Partial evaluations

What we know so far:

  • 1. π0(Bar(A)) ∼

= A.

  • 2. For idempotent monads, Bar(A) ∼

= A.

  • 3. For cartesian monads, Bar(A) is the nerve of a category.
  • 4. In general, composition (when defined) is not unique.

Open questions:

  • 1. Can partial evaluations always be composed?
  • 2. Is the bar construction always a quasi-category?
  • 3. Is there a link with generalized multicategories?

11 of 25

slide-77
SLIDE 77

Probability monads

Idea [Giry, 1982]:

Spaces of random elements as formal convex combinations.

12 of 25

slide-78
SLIDE 78

Probability monads

Idea [Giry, 1982]:

Spaces of random elements as formal convex combinations.

  • Base category C

12 of 25

slide-79
SLIDE 79

Probability monads

Idea [Giry, 1982]:

Spaces of random elements as formal convex combinations.

X

  • Base category C

12 of 25

slide-80
SLIDE 80

Probability monads

Idea [Giry, 1982]:

Spaces of random elements as formal convex combinations.

X PX

  • Base category C
  • Functor X → PX

12 of 25

slide-81
SLIDE 81

Probability monads

Idea [Giry, 1982]:

Spaces of random elements as formal convex combinations.

X PX

  • Base category C
  • Functor X → PX
  • Unit δ : X → PX

12 of 25

slide-82
SLIDE 82

Probability monads

Idea [Giry, 1982]:

Spaces of random elements as formal convex combinations.

1/2 1/2

  • Base category C
  • Functor X → PX
  • Unit δ : X → PX

12 of 25

slide-83
SLIDE 83

Probability monads

Idea [Giry, 1982]:

Spaces of random elements as formal convex combinations.

1/2 1/2 1/2 1/2

  • Base category C
  • Functor X → PX
  • Unit δ : X → PX

12 of 25

slide-84
SLIDE 84

Probability monads

Idea [Giry, 1982]:

Spaces of random elements as formal convex combinations.

?

1/2 1/2 1/2 1/2 1/2 1/2

  • Base category C
  • Functor X → PX
  • Unit δ : X → PX

12 of 25

slide-85
SLIDE 85

Probability monads

Idea [Giry, 1982]:

Spaces of random elements as formal convex combinations.

? ?

1/2 1/2 1/2 1/2 1/2 1/2 1/4 3/4

  • Base category C
  • Functor X → PX
  • Unit δ : X → PX

12 of 25

slide-86
SLIDE 86

Probability monads

Idea [Giry, 1982]:

Spaces of random elements as formal convex combinations.

PPX PX

? ?

1/2 1/2 1/2 1/2 1/2 1/2 1/4 3/4

  • Base category C
  • Functor X → PX
  • Unit δ : X → PX
  • Composition

E : PPX → PX

12 of 25

slide-87
SLIDE 87

Probability monads

Idea [Giry, 1982]:

Spaces of random elements as formal convex combinations.

A

a b

  • Algebras

e : PA → A are “convex spaces”

13 of 25

slide-88
SLIDE 88

Probability monads

Idea [Giry, 1982]:

Spaces of random elements as formal convex combinations.

PA A

a b a b a b a b

  • Algebras

e : PA → A are “convex spaces”

13 of 25

slide-89
SLIDE 89

Probability monads

Idea [Giry, 1982]:

Spaces of random elements as formal convex combinations.

PA A

a b a b a b a b

  • Algebras

e : PA → A are “convex spaces”

13 of 25

slide-90
SLIDE 90

Probability monads

Idea [Giry, 1982]:

Spaces of random elements as formal convex combinations.

PA A

a b λa + (1−λ)b a b a b a b

  • Algebras

e : PA → A are “convex spaces”

  • Formal averages are

mapped to actual averages

13 of 25

slide-91
SLIDE 91

The Kantorovich monad

Kantorovich monad [van Breugel, 2005, Fritz and Perrone, 2017]:

  • Given a complete metric space X, PX is the set of Radon

probability measures of finite first moment, equipped with the Wasserstein distance, or Kantorovich-Rubinstein distance, or earth mover’s distance: dPX(p, q) = sup

f :X→R

  • X

f (x) d(p − q)(x)

  • 14 of 25
slide-92
SLIDE 92

The Kantorovich monad

Kantorovich monad [van Breugel, 2005, Fritz and Perrone, 2017]:

  • Given a complete metric space X, PX is the set of Radon

probability measures of finite first moment, equipped with the Wasserstein distance, or Kantorovich-Rubinstein distance, or earth mover’s distance: dPX(p, q) = sup

f :X→R

  • X

f (x) d(p − q)(x)

  • The assignment X → PX is part of a monad on the category of

complete metric spaces and short maps.

14 of 25

slide-93
SLIDE 93

The Kantorovich monad

Kantorovich monad [van Breugel, 2005, Fritz and Perrone, 2017]:

  • Given a complete metric space X, PX is the set of Radon

probability measures of finite first moment, equipped with the Wasserstein distance, or Kantorovich-Rubinstein distance, or earth mover’s distance: dPX(p, q) = sup

f :X→R

  • X

f (x) d(p − q)(x)

  • The assignment X → PX is part of a monad on the category of

complete metric spaces and short maps.

  • Algebras of P are closed convex subsets of Banach spaces.

14 of 25

slide-94
SLIDE 94

The Kantorovich monad

Idea:

Partial evaluations for P are “partial expectations”.

15 of 25

slide-95
SLIDE 95

The Kantorovich monad

Idea:

Partial evaluations for P are “partial expectations”.

15 of 25

slide-96
SLIDE 96

The Kantorovich monad

Idea:

Partial evaluations for P are “partial expectations”.

15 of 25

slide-97
SLIDE 97

The Kantorovich monad

Idea:

Partial evaluations for P are “partial expectations”.

15 of 25

slide-98
SLIDE 98

The Kantorovich monad

Idea:

Partial evaluations for P are “partial expectations”.

15 of 25

slide-99
SLIDE 99

The Kantorovich monad

Idea:

Partial evaluations for P are “partial expectations”.

Properties:

  • 1. A partial expectation makes a distribution “more concentrated”, or

“less random” (closer to its center of mass);

15 of 25

slide-100
SLIDE 100

The Kantorovich monad

Idea:

Partial evaluations for P are “partial expectations”.

Properties:

  • 1. A partial expectation makes a distribution “more concentrated”, or

“less random” (closer to its center of mass);

  • 2. Partial expectations can always be composed (not uniquely);

15 of 25

slide-101
SLIDE 101

The Kantorovich monad

Idea:

Partial evaluations for P are “partial expectations”.

Properties:

  • 1. A partial expectation makes a distribution “more concentrated”, or

“less random” (closer to its center of mass);

  • 2. Partial expectations can always be composed (not uniquely);
  • 3. The relation “Admitting a partial evaluation” is a closed partial
  • rder, which we call partial evaluation order. This is a

(0,1)-truncation of the bar construction for P.

15 of 25

slide-102
SLIDE 102

The Kantorovich monad

Theorem, extending [Winkler, 1985, Theorem 1.3.6]

Let A be a P-algebra and p, q ∈ PA. The following conditions are equivalent:

16 of 25

slide-103
SLIDE 103

The Kantorovich monad

Theorem, extending [Winkler, 1985, Theorem 1.3.6]

Let A be a P-algebra and p, q ∈ PA. The following conditions are equivalent:

  • 1. There exists a partial evaluation from p to q;

16 of 25

slide-104
SLIDE 104

The Kantorovich monad

Theorem, extending [Winkler, 1985, Theorem 1.3.6]

Let A be a P-algebra and p, q ∈ PA. The following conditions are equivalent:

  • 1. There exists a partial evaluation from p to q;
  • 2. There exists random variables X and Y on A with laws p and q,

respectively, and such that Y is a conditional expectation of X.

16 of 25

slide-105
SLIDE 105

The Kantorovich monad X

16 of 25

slide-106
SLIDE 106

The Kantorovich monad X

16 of 25

slide-107
SLIDE 107

The Kantorovich monad X

16 of 25

slide-108
SLIDE 108

The Kantorovich monad X A

16 of 25

slide-109
SLIDE 109

The Kantorovich monad X A

16 of 25

slide-110
SLIDE 110

The Kantorovich monad X A

16 of 25

slide-111
SLIDE 111

The Kantorovich monad X A

16 of 25

slide-112
SLIDE 112

The Kantorovich monad

Theorem, extending [Winkler, 1985, Theorem 1.3.6]

Let A be a P-algebra and p, q ∈ PA. The following conditions are equivalent:

  • 1. There exists a partial evaluation from p to q;
  • 2. There exists random variables X and Y on A with laws p and q,

respectively, and such that Y is a conditional expectation of X.

16 of 25

slide-113
SLIDE 113

The Kantorovich monad

Theorem, extending [Winkler, 1985, Theorem 1.3.6]

Let A be a P-algebra and p, q ∈ PA. The following conditions are equivalent:

  • 1. There exists a partial evaluation from p to q;
  • 2. There exists random variables X and Y on A with laws p and q,

respectively, and such that Y is a conditional expectation of X.

Corollary

A chain of composable partial evaluations in PA is (basically) the same as a martingale on A, in reverse time.

16 of 25

slide-114
SLIDE 114

Ordered Kantorovich monad

17 of 25

slide-115
SLIDE 115

Ordered Kantorovich monad

Definition

An L-ordered metric space is a metric space X equipped with a partial

  • rder such that for all x, y, the following are equivalent:
  • x ≤ y
  • For all short, monotone f : X → R, f (x) ≤ f (y).

17 of 25

slide-116
SLIDE 116

Ordered Kantorovich monad

Definition

An L-ordered metric space is a metric space X equipped with a partial

  • rder such that for all x, y, the following are equivalent:
  • x ≤ y
  • For all short, monotone f : X → R, f (x) ≤ f (y).

Definition (stochastic order)

Let p, q ∈ PX. We say that p ≤ q if equivalently:

  • There exists a coupling of p and q entirely supported on

{x ≤ y} ∈ X × X;

  • For all short, monotone f : X → R,
  • f dp ≤
  • f dq.

17 of 25

slide-117
SLIDE 117

Ordered Kantorovich monad

Definition

An L-ordered metric space is a metric space X equipped with a partial

  • rder such that for all x, y, the following are equivalent:
  • x ≤ y
  • For all short, monotone f : X → R, f (x) ≤ f (y).

Theorem

  • If X is L-ordered, PX with the stochastic order is L-ordered;
  • P lifts to a monad on the category L-COMet of L-ordered spaces;
  • The algebras of P are exactly closed convex subsets of ordered

Banach spaces (i.e. equipped with a closed positive cone).

17 of 25

slide-118
SLIDE 118

Ordered Kantorovich monad

Pointwise order: f ≤ g : X → Y iff for every x ∈ X, f (x) ≤ g(x). X Y

f g

18 of 25

slide-119
SLIDE 119

Ordered Kantorovich monad

Pointwise order: f ≤ g : X → Y iff for every x ∈ X, f (x) ≤ g(x). X Y

f g

Proposition:

Let f ≤ g : X → Y . Then Pf ≤ Pg : PX → PY .

Corollary:

L-COMet is a strict 2-category, and P a strict 2-monad.

18 of 25

slide-120
SLIDE 120

Lax codescent objects

Proposition:

Let A be a (unordered) P-algebra in L-COMet. The partial evaluation

  • rder on PA is the coinserter in L-COMetP of the diagram:

PPA PA.

E Pe

19 of 25

slide-121
SLIDE 121

Lax codescent objects

Proposition:

Let A be a (unordered) P-algebra in L-COMet. The partial evaluation

  • rder on PA is the coinserter in L-COMetP of the diagram:

PA PPA C PA

E Pe

19 of 25

slide-122
SLIDE 122

Lax codescent objects

Proposition:

Let A be a (unordered) P-algebra in L-COMet. The partial evaluation

  • rder on PA is the lax codescent object of the algebra A.

19 of 25

slide-123
SLIDE 123

Lax codescent objects

Proposition:

Let A be a (unordered) P-algebra in L-COMet. The partial evaluation

  • rder on PA is the lax codescent object of the algebra A.

Corollary:

Let A be ordered. The lax codescent object obtained as above gives again PA, with as order the composition of:

  • The partial evaluation order, and
  • The stochastic order on PA induced by the order on A.

Let’s call this order (PA, ℓ), lax codescent order.

19 of 25

slide-124
SLIDE 124

Lax codescent objects

Proposition:

Let A be a (unordered) P-algebra in L-COMet. The partial evaluation

  • rder on PA is the lax codescent object of the algebra A.

Explicitly:

Given p, q ∈ PA, p ℓ q if and only if there exists p′ ∈ PA such that which can be obtained by partially averaging p, and such that p′ ≤ q in the stochastic order. p p′ q

  • p. eval.

19 of 25

slide-125
SLIDE 125

Lax codescent objects

The adjunction associated to P is natural isomorphism of partial

  • rders:

L-COMet(X, B) L-COMetP(PX, B)

∼ =

f : X → B − →

  • p →
  • f dp
  • 20 of 25
slide-126
SLIDE 126

Lax codescent objects

The adjunction associated to P is natural isomorphism of partial

  • rders:

L-COMet(X, B) L-COMetP(PX, B)

∼ =

f : X → B − →

  • p →
  • f dp
  • Theorem (Corollary of [Lack, 2002]):

Let A and B and be a P-algebras. The adjunction above specializes to: L-COMetP

lax

  • A, B

∼ = L-COMetP (PA, ℓ), B

  • .

20 of 25

slide-127
SLIDE 127

Lax codescent objects A

a b

B

f(a) f(b)

PA PB A B

e Pf e f

21 of 25

slide-128
SLIDE 128

Lax codescent objects A

a b

B

f(a) f(b)

PA PB A B

e Pf e f

21 of 25

slide-129
SLIDE 129

Lax codescent objects A

a b λa + (1−λ)b

B

f(a) f(b) λf(a) + (1−λ)f(b)

PA PB A B

e Pf e f

21 of 25

slide-130
SLIDE 130

Lax codescent objects A

a b λa + (1−λ)b

B

f(a) f(b) λf(a) + (1−λ)f(b)

PA PB A B

e Pf e f

21 of 25

slide-131
SLIDE 131

Lax codescent objects A

a b λa + (1−λ)b

B

f(a) f(b) λf(a) + (1−λ)f(b)

PA PB A B

e Pf e f

21 of 25

slide-132
SLIDE 132

Lax codescent objects A

a b λa + (1−λ)b

B

f(a) f(b) λf(a) + (1−λ)f(b)

PA PB A B

e Pf e f

21 of 25

slide-133
SLIDE 133

Lax codescent objects

Corollary of [Lack, 2002]:

Let A and B and be P-algebras, and let f : A → B. Then f is concave if and only if p →

  • f dp is monotone for ℓ. In other words,

if and only if for every p ℓ q,

  • f dp ≤
  • f dq.

(1)

22 of 25

slide-134
SLIDE 134

Lax codescent objects

Corollary of [Lack, 2002]:

Let A and B and be P-algebras, and let f : A → B. Then f is concave if and only if p →

  • f dp is monotone for ℓ. In other words,

if and only if for every p ℓ q,

  • f dp ≤
  • f dq.

(1)

Corollary of Hahn-Banach:

Fix now B = R. Let p, q ∈ PA. Then p ℓ q if and only for every affine monotone map ˜ f : (PA, ℓ) → R, ˜ f (p) ≤ ˜ f (q).

22 of 25

slide-135
SLIDE 135

Lax codescent objects

Corollary of [Lack, 2002]:

Let A and B and be P-algebras, and let f : A → B. Then f is concave if and only if p →

  • f dp is monotone for ℓ. In other words,

if and only if for every p ℓ q,

  • f dp ≤
  • f dq.

(1)

Corollary of Hahn-Banach:

Fix now B = R. Let p, q ∈ PA. Then p ℓ q if and only for every concave monotone map f : A → R, the inequality (1) holds.

22 of 25

slide-136
SLIDE 136

Lax codescent objects

Corollary:

Let A be an unordered P-algebra, let p, q ∈ PA. The following conditions are equivalent:

  • 1. For all concave functions f : A → R,
  • f dp ≤
  • f dq;
  • 2. There exists a partial evaluation between p and q.

23 of 25

slide-137
SLIDE 137

Lax codescent objects

Corollary:

Let A be an unordered P-algebra, let p, q ∈ PA. The following conditions are equivalent:

  • 1. For all concave functions f : A → R,
  • f dp ≤
  • f dq;
  • 2. There exists a partial evaluation between p and q.

This order is known in the literature as the convex or Choquet order [Winkler, 1985]. The result above is known.

23 of 25

slide-138
SLIDE 138

Lax codescent objects

Corollary:

Let A be a ordered P-algebra, let p, q ∈ PA. The following conditions are equivalent:

  • 1. For all concave monotone functions f : A → R,
  • f dp ≤
  • f dq;
  • 2. There exists p′ ∈ PA such that which can be obtained by partially

averaging p, and such that p′ ≤ q in the stochastic order.

23 of 25

slide-139
SLIDE 139

Lax codescent objects

Corollary:

Let A be a ordered P-algebra, let p, q ∈ PA. The following conditions are equivalent:

  • 1. For all concave monotone functions f : A → R,
  • f dp ≤
  • f dq;
  • 2. There exists p′ ∈ PA such that which can be obtained by partially

averaging p, and such that p′ ≤ q in the stochastic order. This order is known in the literature as the increasing convex order. The result above, in its full generality, is new.

23 of 25

slide-140
SLIDE 140

Acknowledgements

Joint work with Tobias Fritz Special thanks to Slava Matveev and Sharwin Rezagholi (MPI MIS Leipzig)

24 of 25

slide-141
SLIDE 141

References

Fritz, T. and Perrone, P. (2017). A Probability Monad as the Colimit of Finite Powers.

  • Submitted. arXiv:1712.05363.

Fritz, T. and Perrone, P. (2018). Bimonoidal Structure of Probability Monads. Proceedings of MFPS 34, ENTCS. arXiv:1804.03527. Giry, M. (1982). A Categorical Approach to Probability Theory. In Categorical aspects of topology and analysis, volume 915 of Lecture Notes in Mathematics. Lack, S. (2002). Codescent objects and coherence. Journal of Pure and Applied Algebra, 175(1-3). Leinster, T. (2004). Higher Operads, Higher Categories, volume 298 of London Mathematical Society Lecture Note Series. Cambridge University Press. arXiv:math/0305049. Perrone, P. Categorical Probability and Stochastic Dominance in Metric Spaces. PhD thesis. Submitted, 5th July 2018. Available at www.paoloperrone.org/phdthesis.pdf. Rothschild, M. and Stiglitz, J. E. (1970). Increasing risk: I. A definition. Journal of Economic Theory, 2:225–243. van Breugel, F. (2005). The Metric Monad for Probabilistic Nondeterminism. Villani, C. (2009). Optimal transport: old and new. Grundlehren der mathematischen Wissenschaften. Springer. Winkler, G. (1985). Choquet order and simplices with applications in probabilistic models. Lecture Notes in Mathematics. Springer. 25 of 25

slide-142
SLIDE 142

Contents

Front Page Monads and formal expressions The bar construction Partial evaluations The Kantorovich monad Ordered Kantorovich monad Lax codescent objects References

25 of 25