Notes on Becks Distributive Laws L. Ze Wong University of - - PowerPoint PPT Presentation

notes on beck s distributive laws
SMART_READER_LITE
LIVE PREVIEW

Notes on Becks Distributive Laws L. Ze Wong University of - - PowerPoint PPT Presentation

Notes on Becks Distributive Laws L. Ze Wong University of Washington, Seattle 2017 WARNING! The notation in this set of notes differs from Becks paper in the following key ways: Beck writes composites in the opposite direction: GF


slide-1
SLIDE 1

Notes on Beck’s Distributive Laws

  • L. Ze Wong

University of Washington, Seattle

2017

slide-2
SLIDE 2

WARNING!

The notation in this set of notes differs from Beck’s paper in the following key ways:

◮ Beck writes composites in the opposite direction: GF means

applying G first, then F. We will use GF to mean F then G .

◮ ‘Triple’ = ’monad’, ‘cotriple’ = ’comonad’ ◮ ‘Tripleable’ = ’monadic’, i.e. equivalent to the adjunction

involving the category of algebras over monad.

slide-3
SLIDE 3

Motivation 1: Multiplication over Addition

Let S be the free monoid monad, T the free abelian group monad. ‘Multiplication distributes over addition’ means we have a map: STX → TSX e.g. (a + b)(c + d) → ac + ad + bc + bd where X = {a, b, c, . . . }, say. Further, TS is the free ring monad.

slide-4
SLIDE 4

Motivation 2: Tensoring monoids

Let A, B be monoids in a braided monoidal category (V, ⊗, 1). Then A ⊗ B is also a monoid, with multiplication A ⊗ B ⊗ A ⊗ B

A⊗tw⊗B

− − − − − → A ⊗ A ⊗ B ⊗ B

mA⊗mb

− − − − − → A ⊗ B where tw : B ⊗ A → A ⊗ B is given by the braiding.

slide-5
SLIDE 5

Monads in a 2-category

Fix a 2-category K. A monad in K consists of:

◮ 0-cell X ◮ 1-cell S : X → X ◮ 2-cells ηS : 1X ⇒ S and µS : SS ⇒ S

such that = = = i.e. a monad is a monoid in the monoidal category (End(X), ◦, 1X), for some 0-cell X.

slide-6
SLIDE 6

Distributive Law

A distributive law of S over T is a 2-cell ℓ : ST ⇒ TS such that: = ; = = =

slide-7
SLIDE 7

Characterization of Distributive Laws

slide-8
SLIDE 8

Characterization

Theorem (Beck 1969, Street 1972, Cheng 2011)

The following are equivalent:

  • 1. Distributive laws ℓ : ST ⇒ TS,
  • 2. Multiplications m : TSTS ⇒ TS s.t. (TS, ηTηS, m) is monad

satisfying the middle unitary law, and S

ηT S

= = ⇒ TS

TηS

⇐ = = T are monad morphisms.

  • 3. Liftings of the monad T to a monad ˜

T over XS,

  • 4. Extensions of the monad S to a monad ˜

S over XT,

  • 5. Certain elements of Mnd (Mnd(K)).
slide-9
SLIDE 9

The composite monad

Given ℓ : ST ⇒ TS, define m : TSTS ⇒ TS to be To get back ℓ, do:

slide-10
SLIDE 10

The composite monad

The middle unitary law holds: = and TηS : T ⇒ TS is a monad morphism: = = Similarly, ηTS : S ⇒ TS is a monad morphism.

slide-11
SLIDE 11

Liftings and Extensions

A lift of T to the EM object XS is a monad ˜ T: XS XS X

US ˜ T TUS

+ compatibility equations An extension of S to the Kleisli object XT is a monad ˜ S: X XT XT

FT S FT ˜ S

+ compatibility equations Kleisli objects in K are EM objects in Kop, so proofs for liftings hold for extensions too, by duality.

slide-12
SLIDE 12

Liftings and Extensions

Universal property1 of XS:

  • Functors ˜

G : Y → XS ∼ =

  • Functors G : Y → X

with S-action σ : SG ⇒ G

  • XS

Y X

US ˜ G G

Let Y = XS, G = TUS, ˜ T = ˜

  • G. Need S-action STUS ⇒ TUS.

Given by distributive law and canonical action of S on US: XS US T S

1In fact, this is an equivalence of categories

slide-13
SLIDE 13

Liftings and Extensions

Conversely, a lifting ˜ T means we have invertible 2-cells: US ˜ T T with inverse Lets us define a distributive law: := This works for lifts over any adjunction that gives S!

slide-14
SLIDE 14

Monads in Mnd(K)

Let (X, T), (Y, T ′) be monads in K. A monad opfunctor (F, φ) : (X, T) → (Y, T ′) consists of F : X → Y and φ : FT ⇒ T ′F X Y T ′ T F such that = and =

slide-15
SLIDE 15

Monads in Mnd(K)

A monad functor transformation is a 2-cell σ : F ⇒ F ′ such that F ′ F σ = F ′ F These form a 2-category Mnd∗(K). When X = Y, T = T ′, if (F, φ) : (X, T) → (X, T) is a monad, then F is a monad on X and φ is a distributive law of F over T! i.e.2 Dist(K) ∼ = Mnd∗(Mnd∗(K)) Also, Mnd∗ is a monad!

2Can define morphisms between distributive laws such that this is true!

slide-16
SLIDE 16

Algebras over TS

slide-17
SLIDE 17

Actions of T, S and TS

From before, have monad morphisms3: T

TηS

= = ⇒ TS

ηT S

⇐ = = S TηS = ; ηTS = These induce T- and S-actions on UTS, via the action of TS: ; In some sense, any TS-action is ‘captured’ by these two actions!

3Monad opfunctors with F = 1X.

slide-18
SLIDE 18

Actions of T, S and TS

Combining T- and S-actions on UTS gives canonical action of TS: S T XTS = UTS TS Can then show that the S-action ‘distributes over’ the T-action: =

slide-19
SLIDE 19

Algebras over TS

Let ℓ be a distributive law of S over T. From the characterization theorem, we get monads TS on X, ˜ T on XS and ˜ S on XT.

Theorem (Beck 1969, Cheng 2011)

The category of algebras of TS coincides with that of ˜ T. XTS ∼ = (XS)

˜ T

Dually, the Kleisli category of TS coincides with that of ˜ S. XTS ∼ = (XT) ˜

S

slide-20
SLIDE 20

Algebras over TS

Construct Φ : XTS → (XS) ˜

T and inverse Φ−1 as lifts arising from

universal properties of XS, (XS) ˜

T, XTS:

(XS) ˜

T

XTS XS XTS X

U ˜

T

Φ Φ−1 UTS US UTS

To get Φ−1, need S-action on UTS and ˜ T-action on lift of UTS. To get Φ, need TS action on USU ˜

T.

slide-21
SLIDE 21

Algebras over TS

We already have T- and S-actions on UTS. S-action gives a lift UTS : XTS → XS of UTS. To get ˜ T-action on UTS, lift4 T-action on UTS : XTS X XS ⇒ ⇒

T UTS UTS ˜ T UTS

  • UTS

US

So we have Φ−1 : XTS → (XS)

˜ T

4Need T-action to be an S-alg. morphism, but this follows from

distributivity of S-action over T-action.

slide-22
SLIDE 22

Algebras over TS

To get Φ : (XS) ˜

T → XTS, need TS-action on USU ˜ T.

Use canonical actions of S on US and ˜ T on U ˜

T:

US U ˜

T

So XTS ∼ = (XS) ˜

T, and in fact,

UTSF TS = TS = USU

˜ TF ˜ TF S

slide-23
SLIDE 23

Distributivity of Adjoints

slide-24
SLIDE 24

Distributivity of adjoints

A distributive law gives rise to a ‘distributive square’: XTS XS XT X

U′ U ˜

T

F ˜

T

US UT F S F T US F S UT F T U′ U ˜

T

F ˜

T

where U′ is induced by the T-action on UTS. If certain coequalizers exist, U′ has a left adjoint5.

5Think of U′ as ‘restriction of scalars’, and adjoint as ‘extension of scalars’

slide-25
SLIDE 25

Distributivity of adjoints

Both composites XTS → X are the same: USU ˜

T = UTU′.

Both composites XS → XT are the same: U′F ˜

T = F TUS.

XTS XS XT X

U′ U ˜

T

F ˜

T

US UT F S F T US F S UT F T U′ U ˜

T

F ˜

T

This is a distributive adjoint situation, and there is an adjunction: Dist Adj X (Dist X)op

Struc Sem

slide-26
SLIDE 26

Distributivity of adjoints

If U′ has an adjoint F ′: XTS XS XT X

U′ U ˜

T

F ˜

T

US UT F ′ F S F T u f e−1 e′

To get distributive law: Need isomorphisms u, f that are ‘dual’ to each other. These give rise to e, e′. But e goes in the ‘wrong’ direction, so need e to be an isomorphism too, to get e−1.

slide-27
SLIDE 27

Thank you!

Questions?

slide-28
SLIDE 28

References

◮ Jon Beck. Distributive laws.

Seminar on triples and categorical homology theory, 119–140. Springer, 1969.

◮ Eugenia Cheng. Distributive laws for Lawvere theories.

arXiv:1112.3076, 2011.

◮ Eugenia Cheng. Distributive laws 1-4 (videos).

https://www.youtube.com/playlist?list= PLEC25F0F5AC915192

◮ Ross Street. The formal theory of monads.

Journal of Pure and Applied Algebra, 2(2):149–168, 1972.