Traced concategories Paul Blain Levy, Sergey Goncharov and Lutz Schr - - PowerPoint PPT Presentation

traced concategories
SMART_READER_LITE
LIVE PREVIEW

Traced concategories Paul Blain Levy, Sergey Goncharov and Lutz Schr - - PowerPoint PPT Presentation

Traced concategories Paul Blain Levy, Sergey Goncharov and Lutz Schr oder December 18, 2018 Levy, Goncharov, Schr oder Traced concategories December 18, 2018 1 / 21 Outline Varying the notion of category 1 Concategories 2 Symmetric


slide-1
SLIDE 1

Traced concategories

Paul Blain Levy, Sergey Goncharov and Lutz Schr¨

  • der

December 18, 2018

Levy, Goncharov, Schr¨

  • der

Traced concategories December 18, 2018 1 / 21

slide-2
SLIDE 2

Outline

1

Varying the notion of category

2

Concategories

3

Symmetric concategories

4

Traced concategories

5

Further work

Levy, Goncharov, Schr¨

  • der

Traced concategories December 18, 2018 2 / 21

slide-3
SLIDE 3

Varying the notion of category

Notion Morphism Main example Category f : a → b

Levy, Goncharov, Schr¨

  • der

Traced concategories December 18, 2018 3 / 21

slide-4
SLIDE 4

Varying the notion of category

Notion Morphism Main example Category f : a → b Cartesian f : − → a → b f : − → a → b in a cartesian category multicategory

Levy, Goncharov, Schr¨

  • der

Traced concategories December 18, 2018 3 / 21

slide-5
SLIDE 5

Varying the notion of category

Notion Morphism Main example Category f : a → b Cartesian f : − → a → b f : − → a → b in a cartesian category multicategory Multicategory f : − → a → b f : − → a → b in a monoidal category

Levy, Goncharov, Schr¨

  • der

Traced concategories December 18, 2018 3 / 21

slide-6
SLIDE 6

Varying the notion of category

Notion Morphism Main example Category f : a → b Cartesian f : − → a → b f : − → a → b in a cartesian category multicategory Multicategory f : − → a → b f : − → a → b in a monoidal category Concategory f : − → a → − → b f : − → a → − → b in a monoidal category

Levy, Goncharov, Schr¨

  • der

Traced concategories December 18, 2018 3 / 21

slide-7
SLIDE 7

Varying the notion of category

Notion Morphism Main example Category f : a → b Cartesian f : − → a → b f : − → a → b in a cartesian category multicategory Multicategory f : − → a → b f : − → a → b in a monoidal category Concategory f : − → a → − → b f : − → a → − → b in a monoidal category Polycategory f : − → a → − → b f : − → a → ˙ − → b in a linearly distributive category

Levy, Goncharov, Schr¨

  • der

Traced concategories December 18, 2018 3 / 21

slide-8
SLIDE 8

Constructions

Cartesian category

  • Cartesian

multicategory

  • List
  • Cartesian
  • perad
  • Monoidal

category

  • `=⊗
  • id
  • Concategory

List

  • PRO
  • Linearly

distributive category

  • Forget `
  • Polycategory
  • Dioperad
  • Monoidal

category

  • Multicategory
  • Operad
  • Category

Monoid

  • Levy, Goncharov, Schr¨
  • der

Traced concategories December 18, 2018 4 / 21

slide-9
SLIDE 9

Definition of concategory

A concategory C consists of the following data. A class ob C of objects. A homset C(− → a ; − → b ) for each pair of object lists − → a , − → b .

Levy, Goncharov, Schr¨

  • der

Traced concategories December 18, 2018 5 / 21

slide-10
SLIDE 10

Definition of concategory

A concategory C consists of the following data. A class ob C of objects. A homset C(− → a ; − → b ) for each pair of object lists − → a , − → b . The sequential composite of f : − → a → − → b and g: − → b → − → c is f; g: − → a → − → c . The parallel composite of f : − → a → − → b and g: − → c → − → d is f ⊠ g: − → a + +− → c → − → b + +− → d .

Levy, Goncharov, Schr¨

  • der

Traced concategories December 18, 2018 5 / 21

slide-11
SLIDE 11

Definition of concategory

A concategory C consists of the following data. A class ob C of objects. A homset C(− → a ; − → b ) for each pair of object lists − → a , − → b . The sequential composite of f : − → a → − → b and g: − → b → − → c is f; g: − → a → − → c . The parallel composite of f : − → a → − → b and g: − → c → − → d is f ⊠ g: − → a + +− → c → − → b + +− → d . The sequential identity id−

→ a : −

→ a → − → a . The parallel identity id⊠ : ε → ε. (Redundant.)

Levy, Goncharov, Schr¨

  • der

Traced concategories December 18, 2018 5 / 21

slide-12
SLIDE 12

The ten commandments

Sequential composition is associative and unital. Parallel composition is associative and unital. Interchange between sequential and parallel composition: (f; g) ⊠ (h; k) = (f ⊠ h); (g ⊠ k) Interchange between sequential identity and parallel composition: id−

→ a ⊠ id− → b

= id−

→ a+ +− → b

Interchange between sequential composition and parallel identity: id⊠ = id⊠; id⊠ Interchange between sequential and parallel identity: idε = id⊠

Levy, Goncharov, Schr¨

  • der

Traced concategories December 18, 2018 6 / 21

slide-13
SLIDE 13

Why the name?

“Category” alludes to sequential composition f; g: − → a → − → c “Concat” alludes to parallel composition f ⊠ g: − → a + +− → c → − → b + +− → d

Levy, Goncharov, Schr¨

  • der

Traced concategories December 18, 2018 7 / 21

slide-14
SLIDE 14

Why the name?

“Category” alludes to sequential composition f; g: − → a → − → c “Concat” alludes to parallel composition f ⊠ g: − → a + +− → c → − → b + +− → d The overlap alludes to the interchange law.

Levy, Goncharov, Schr¨

  • der

Traced concategories December 18, 2018 7 / 21

slide-15
SLIDE 15

Caviglia’s 2-category of concategories

Map of concategories

A map F : C → D sends objects to objects and morphisms to morphisms, preserving all structure.

Natural transformation

A natural transformation sends each object a to αa : [Fa] → [Ga]. For f : − → a → − → b we require f; − → αb = − → αa; f.

Levy, Goncharov, Schr¨

  • der

Traced concategories December 18, 2018 8 / 21

slide-16
SLIDE 16

Examples of concategories

Each of the following gives a concategory:

1 A monoidal category.

Morphisms go from − → a → − → b .

Levy, Goncharov, Schr¨

  • der

Traced concategories December 18, 2018 9 / 21

slide-17
SLIDE 17

Examples of concategories

Each of the following gives a concategory:

1 A monoidal category.

Morphisms go from − → a → − → b .

2 A cartesian multicategory. Levy, Goncharov, Schr¨

  • der

Traced concategories December 18, 2018 9 / 21

slide-18
SLIDE 18

Examples of concategories

Each of the following gives a concategory:

1 A monoidal category.

Morphisms go from − → a → − → b .

2 A cartesian multicategory. 3 A PRO.

It corresponds to a single-object concategory

Levy, Goncharov, Schr¨

  • der

Traced concategories December 18, 2018 9 / 21

slide-19
SLIDE 19

Examples of concategories

Each of the following gives a concategory:

1 A monoidal category.

Morphisms go from − → a → − → b .

2 A cartesian multicategory. 3 A PRO.

It corresponds to a single-object concategory

4 A many-sorted list-to-list signature.

Acyclic string diagrams modulo isomorphism.

Levy, Goncharov, Schr¨

  • der

Traced concategories December 18, 2018 9 / 21

slide-20
SLIDE 20

Examples of concategories

Each of the following gives a concategory:

1 A monoidal category.

Morphisms go from − → a → − → b .

2 A cartesian multicategory. 3 A PRO.

It corresponds to a single-object concategory

4 A many-sorted list-to-list signature.

Acyclic string diagrams modulo isomorphism.

5 A dataflow model e.g. Kahn’s or Jonsson’s. Levy, Goncharov, Schr¨

  • der

Traced concategories December 18, 2018 9 / 21

slide-21
SLIDE 21

PROs

A PRO consists of a family of sets (Am,n)m,n∈N with f ∈ Am,n written f : m → n and sequential and parallel composition and identity satisfying the ten commandments. A PRO A correspond to a single-object concategory ˜ A.

Levy, Goncharov, Schr¨

  • der

Traced concategories December 18, 2018 10 / 21

slide-22
SLIDE 22

Colours

Object = “colour”. Concategory = “coloured PRO” Multicategory = “coloured operad” Polycategory = “coloured dioperad”

Levy, Goncharov, Schr¨

  • der

Traced concategories December 18, 2018 11 / 21

slide-23
SLIDE 23

Colours

Object = “colour”. Concategory = “coloured PRO” Multicategory = “coloured operad” Polycategory = “coloured dioperad” Category = “coloured monoid” (Tom Leinster satire)

Levy, Goncharov, Schr¨

  • der

Traced concategories December 18, 2018 11 / 21

slide-24
SLIDE 24

Colours

Object = “colour”. Concategory = “coloured PRO” Multicategory = “coloured operad” Polycategory = “coloured dioperad” Category = “coloured monoid” (Tom Leinster satire) Monoidal category = “monoidal coloured monoid”

Levy, Goncharov, Schr¨

  • der

Traced concategories December 18, 2018 11 / 21

slide-25
SLIDE 25

Colours

Object = “colour”. Concategory = “coloured PRO” Multicategory = “coloured operad” Polycategory = “coloured dioperad” Category = “coloured monoid” (Tom Leinster satire) Monoidal category = “monoidal coloured monoid” In colourful literature, usually: Colours form a set, sometimes a finite set, sometimes fixed in advance. The construction monoidal category → concategory is not prominent.

Levy, Goncharov, Schr¨

  • der

Traced concategories December 18, 2018 11 / 21

slide-26
SLIDE 26

Concategory vs monoidal category

The 2-embedding of MONCAT in CONCAT is reflective. MONCAT

CONCAT

List

  • List C is a strict monoidal category.

Its objects are lists of C-objects. The induced comonad on MONCAT is strictification. So we have resolved strictification into two parts.

Levy, Goncharov, Schr¨

  • der

Traced concategories December 18, 2018 12 / 21

slide-27
SLIDE 27

Is a concategory a strict monoidal category?

Here are two concategories: the PRO of complex matrices, regarded as a concategory the monoidal category of finite dimensional Hilbert spaces with ⊕, regarded as a concategory. They are not equivalent concategories, but List sends them to equivalent strict monoidal categories.

Levy, Goncharov, Schr¨

  • der

Traced concategories December 18, 2018 13 / 21

slide-28
SLIDE 28

Symmetric concategory

Given a morphism f : − → a → − → b a pre-symmetry allows you to swap two adjacent wires into f

  • r two adjacent wires out of f

with suitable laws. This gives actions of the symmetric group.

Levy, Goncharov, Schr¨

  • der

Traced concategories December 18, 2018 14 / 21

slide-29
SLIDE 29

Symmetric concategory

Given a morphism f : − → a → − → b a pre-symmetry allows you to swap two adjacent wires into f

  • r two adjacent wires out of f

with suitable laws. This gives actions of the symmetric group. The pre-symmetry is a symmetry when we have the naturality law: A PRO with symmetry is called a PROP.

Levy, Goncharov, Schr¨

  • der

Traced concategories December 18, 2018 14 / 21

slide-30
SLIDE 30

Traced concategory

A pre-trace for a symmetric concategory takes a morphism f : − → a , c → − → b , c to a morphism f : − → a → − → b . Must be natural in − → a and − → b and satisfy vanishing I, vanishing II, superposing and yanking. Then a morphism f : − → a , − → c → − → b , − → c gives a morphism f : − → a → − → b . The pre-trace is a trace when this is dinatural in − → c .

Levy, Goncharov, Schr¨

  • der

Traced concategories December 18, 2018 15 / 21

slide-31
SLIDE 31

String diagrams

A many-sorted list-to-list signature S is

a set of sorts a set of symbols equipped with a pair of lists of sorts.

A string diagram on S consists of

a set of boxes, each assigned a symbol a bijection from the output ports to the input ports.

String diagrams modulo isomorphism is the free traced concategory

  • n S. (To be checked)

Levy, Goncharov, Schr¨

  • der

Traced concategories December 18, 2018 16 / 21

slide-32
SLIDE 32

String diagrams

A many-sorted list-to-list signature S is

a set of sorts a set of symbols equipped with a pair of lists of sorts.

A string diagram on S consists of

a set of boxes, each assigned a symbol a bijection from the output ports to the input ports.

String diagrams modulo isomorphism is the free traced concategory

  • n S. (To be checked) (or confirmed by audience)

Levy, Goncharov, Schr¨

  • der

Traced concategories December 18, 2018 16 / 21

slide-33
SLIDE 33

String diagrams

A many-sorted list-to-list signature S is

a set of sorts a set of symbols equipped with a pair of lists of sorts.

A string diagram on S consists of

a set of boxes, each assigned a symbol a bijection from the output ports to the input ports.

String diagrams modulo isomorphism is the free traced concategory

  • n S. (To be checked) (or confirmed by audience)

Acyclic string diagrams modulo isomorphism is the free symmetric concategory on S.

Levy, Goncharov, Schr¨

  • der

Traced concategories December 18, 2018 16 / 21

slide-34
SLIDE 34

Sermon

Often said “String diagrams are a great notation for monoidal categories.”

Levy, Goncharov, Schr¨

  • der

Traced concategories December 18, 2018 17 / 21

slide-35
SLIDE 35

Sermon

Often said “String diagrams are a great notation for monoidal categories.” Sometimes said “String diagrams are a great notation for strict monoidal categories.”

Levy, Goncharov, Schr¨

  • der

Traced concategories December 18, 2018 17 / 21

slide-36
SLIDE 36

Sermon

Often said “String diagrams are a great notation for monoidal categories.” Sometimes said “String diagrams are a great notation for strict monoidal categories.” The truth is in between “String diagrams are a great notation for concategories.”

Levy, Goncharov, Schr¨

  • der

Traced concategories December 18, 2018 17 / 21

slide-37
SLIDE 37

More sermons

Monoids In a monoidal category. More generally in a multicategory.

Levy, Goncharov, Schr¨

  • der

Traced concategories December 18, 2018 18 / 21

slide-38
SLIDE 38

More sermons

Monoids In a monoidal category. More generally in a multicategory. Bimonoids In a symmetric monoidal category. More generally in a symmetric concategory.

Levy, Goncharov, Schr¨

  • der

Traced concategories December 18, 2018 18 / 21

slide-39
SLIDE 39

More sermons

Monoids In a monoidal category. More generally in a multicategory. Bimonoids In a symmetric monoidal category. More generally in a symmetric concategory. Dual objects In a symmetric monoidal category. More generally in a symmetric polycategory.

Levy, Goncharov, Schr¨

  • der

Traced concategories December 18, 2018 18 / 21

slide-40
SLIDE 40

More sermons

Monoids In a monoidal category. More generally in a multicategory. Bimonoids In a symmetric monoidal category. More generally in a symmetric concategory. Dual objects In a symmetric monoidal category. More generally in a symmetric polycategory. Models of a cartesian operad (equivalently, Lawvere theory) In a cartesian category. More generally in a cartesian multicategory.

Levy, Goncharov, Schr¨

  • der

Traced concategories December 18, 2018 18 / 21

slide-41
SLIDE 41

More sermons

Monoids In a monoidal category. More generally in a multicategory. Bimonoids In a symmetric monoidal category. More generally in a symmetric concategory. Dual objects In a symmetric monoidal category. More generally in a symmetric polycategory. Models of a cartesian operad (equivalently, Lawvere theory) In a cartesian category. More generally in a cartesian multicategory. Models of a PROP In a symmetric monoidal category. More generally in a symmetric concategory.

Levy, Goncharov, Schr¨

  • der

Traced concategories December 18, 2018 18 / 21

slide-42
SLIDE 42

Dataflow models

A dataflow program inputs data from several channels and outputs data to several channels. Each channel has a set of permitted values.

Levy, Goncharov, Schr¨

  • der

Traced concategories December 18, 2018 19 / 21

slide-43
SLIDE 43

Dataflow models

A dataflow program inputs data from several channels and outputs data to several channels. Each channel has a set of permitted values. Kahn gave a model of deterministic dataflow. Jonsson gave a model of nondeterministic dataflow.

Levy, Goncharov, Schr¨

  • der

Traced concategories December 18, 2018 19 / 21

slide-44
SLIDE 44

Dataflow models

A dataflow program inputs data from several channels and outputs data to several channels. Each channel has a set of permitted values. Kahn gave a model of deterministic dataflow. Jonsson gave a model of nondeterministic dataflow. These form traced concategories. (To be checked.)

Levy, Goncharov, Schr¨

  • der

Traced concategories December 18, 2018 19 / 21

slide-45
SLIDE 45

Kahn’s dataflow example

Objects are sets. Stream(A) is the domain of finite and infinite streams of values in A. A morphism from (Ai)i<m to (Bj)j<n is a continuous function

  • i<m

Stream(Ai) →

  • j<n

Stream(Bj)

Levy, Goncharov, Schr¨

  • der

Traced concategories December 18, 2018 20 / 21

slide-46
SLIDE 46

Kahn’s dataflow example

Objects are sets. Stream(A) is the domain of finite and infinite streams of values in A. A morphism from (Ai)i<m to (Bj)j<n is a continuous function

  • i<m

Stream(Ai) →

  • j<n

Stream(Bj) Trace is least (pre)fixpoint.

Levy, Goncharov, Schr¨

  • der

Traced concategories December 18, 2018 20 / 21

slide-47
SLIDE 47

Further work

Lots of expected things need to be checked. Guarded traces? (Goncharov and Schr¨

  • der, FoSSaCS 2018)

Levy, Goncharov, Schr¨

  • der

Traced concategories December 18, 2018 21 / 21