Constructing Categories of Corelations Brendan Fong (MIT) - - PowerPoint PPT Presentation

constructing categories of corelations
SMART_READER_LITE
LIVE PREVIEW

Constructing Categories of Corelations Brendan Fong (MIT) - - PowerPoint PPT Presentation

Constructing Categories of Corelations Brendan Fong (MIT) Octoberfest Carnegie Mellon University 28 October 2017 I. Motivation This is a presentation of the category LinRel k ( x ) . How do we prove this? How do we prove this? Consider the


slide-1
SLIDE 1

Constructing Categories of Corelations

Brendan Fong (MIT)

Octoberfest Carnegie Mellon University 28 October 2017

slide-2
SLIDE 2
  • I. Motivation
slide-3
SLIDE 3
slide-4
SLIDE 4

This is a presentation of the category LinRelk(x).

slide-5
SLIDE 5

How do we prove this?

slide-6
SLIDE 6

How do we prove this? Consider the following square. Vect + Vect

  • p

Span(Vect) Cospan(Vect) LinRel

slide-7
SLIDE 7

How do we prove this? Consider the following square. Vect + Vect

  • p

Span(Vect) Cospan(Vect) LinRel This is a pushout square in the category of props.

slide-8
SLIDE 8

How do we prove this? Consider the following square. Vect + Vect

  • p

Span(Vect) Cospan(Vect) LinRel This is a pushout square in the category of props. Linear relations interpret diagrams of linear maps ←

  • →←
  • →←
  • where we may compose by function composition, pullback, and

pushout.

slide-9
SLIDE 9

How do we prove this? Consider the following square. Vect + Vect

  • p

Span(Vect) Cospan(Vect) LinRel This is a pushout square in the category of props. Linear relations interpret diagrams of linear maps ←

  • →←
  • →←
  • where we may compose by function composition, pullback, and

pushout. This leads to a presentation of LinRel.

slide-10
SLIDE 10

Colimits combine systems.

slide-11
SLIDE 11

Colimits combine systems. Monoidal categories of cospans allow construction of all finite colimits, via

slide-12
SLIDE 12

Colimits combine systems. Monoidal categories of cospans allow construction of all finite colimits, via

  • composition (pushout),
  • monoidal product (binary coproducts), and
  • monoidal unit (initial object).
slide-13
SLIDE 13

Colimits combine systems. Monoidal categories of cospans allow construction of all finite colimits, via

  • composition (pushout),
  • monoidal product (binary coproducts), and
  • monoidal unit (initial object).

Thus cospan categories provide useful language for system interconnection.

slide-14
SLIDE 14

Colimits combine systems. Monoidal categories of cospans allow construction of all finite colimits, via

  • composition (pushout),
  • monoidal product (binary coproducts), and
  • monoidal unit (initial object).

Thus cospan categories provide useful language for system interconnection. However, combining systems using colimits indiscriminately accumulates information.

slide-15
SLIDE 15

Consider cospans in FinSet. X N Y

slide-16
SLIDE 16

Consider cospans in FinSet. X N Y

slide-17
SLIDE 17

Consider cospans in FinSet. X N Y If we think about these as circuits, all we care about is the induced equivalence relation on X + Y .

slide-18
SLIDE 18

X N Z M Y

slide-19
SLIDE 19

X N Z M Y = X Z

slide-20
SLIDE 20

X N Z M Y = X Z Cospans accumulate internal structure (witnesses for ‘empty equivalence classes’).

slide-21
SLIDE 21

X N Z M Y = X Z Cospans accumulate internal structure (witnesses for ‘empty equivalence classes’). Corelations forget this.

slide-22
SLIDE 22

Factorisation hides internal structure.

slide-23
SLIDE 23

Factorisation hides internal structure. A factorisation system (E,M) comprises subcategories E, M such that

  • E and M contain all isomorphisms
  • every f admits factorisation f = m ○ e.
  • we have the universal property:

e

  • u
  • m
  • ∃!s
  • v
  • e′
  • m′
slide-24
SLIDE 24

Factorisation hides internal structure. A factorisation system (E,M) comprises subcategories E, M such that

  • E and M contain all isomorphisms
  • every f admits factorisation f = m ○ e.
  • we have the universal property:

e

  • u
  • m
  • ∃!s
  • v
  • e′
  • m′

For example, epi–mono factorisation systems (like in FinSet).

slide-25
SLIDE 25

A corelation is an equivalence class of cospans, where two cospans are equivalent if N N ′ X Y.

m

slide-26
SLIDE 26

A corelation is an equivalence class of cospans, where two cospans are equivalent if N N ′ X Y.

m

We may represent each corelation by a cospan such that X + Y → N lies in E.

slide-27
SLIDE 27

A corelation is an equivalence class of cospans, where two cospans are equivalent if N N ′ X Y.

m

We may represent each corelation by a cospan such that X + Y → N lies in E. When M is stable under pushout, composition by pushout defines a category Corel(C).

slide-28
SLIDE 28

What is the link?

slide-29
SLIDE 29

What is the link? Vect + Vect

  • p

Span(Vect) Cospan(Vect) LinRel ≅ Corel(Vect)

slide-30
SLIDE 30

What is the link? Vect + Vect

  • p

Span(Vect) Cospan(Vect) LinRel ≅ Corel(Vect) So we claim:

  • I. Corelations model system interconnection and
  • II. A universal property is useful for computing presentations.
slide-31
SLIDE 31

What is the link? Vect + Vect

  • p

Span(Vect) Cospan(Vect) LinRel ≅ Corel(Vect) So we claim:

  • I. Corelations model system interconnection and
  • II. A universal property is useful for computing presentations.

Does this universal construction generalise to other corelation categories?

slide-32
SLIDE 32
  • II. A Universal Property for

Corelations

slide-33
SLIDE 33

Cospan(C) Corel(C)

slide-34
SLIDE 34

? + ?

  • p

Span(?) Cospan(C) Corel(C)

slide-35
SLIDE 35

? + ?

  • p

Span(?) Cospan(C) Corel(C) A functor Span(C) → Corel(C) does not in general exist. Under what conditions might it exist?

slide-36
SLIDE 36

Define a map SpanC(A) → Corel(C) by taking pushouts.

slide-37
SLIDE 37

Define a map SpanC(A) → Corel(C) by taking pushouts. When is this functorial?

slide-38
SLIDE 38

Define a map SpanC(A) → Corel(C) by taking pushouts. When is this functorial?

slide-39
SLIDE 39

Define a map SpanC(A) → Corel(C) by taking pushouts. When is this functorial?

slide-40
SLIDE 40

Define a map SpanC(A) → Corel(C) by taking pushouts. When is this functorial?

slide-41
SLIDE 41

Define a map SpanC(A) → Corel(C) by taking pushouts. When is this functorial?

slide-42
SLIDE 42

Define a map SpanC(A) → Corel(C) by taking pushouts. When is this functorial?

m?

These two cospans represent the same corelation when the canonical map lies in M.

slide-43
SLIDE 43

Define a map SpanC(A) → Corel(C) by taking pushouts. When is this functorial?

m?

These two cospans represent the same corelation when the canonical map lies in M. Call this the pullback–pushout property (with respect to M).

slide-44
SLIDE 44

Define a map SpanC(A) → Corel(C) by taking pushouts. When is this functorial?

m?

These two cospans represent the same corelation when the canonical map lies in M. Call this the pullback–pushout property (with respect to M). When A obeys the pullback–pushout property, then there exists a functor SpanC(A) → Corel(C).

slide-45
SLIDE 45

Theorem

Suppose a category C has

slide-46
SLIDE 46

Theorem

Suppose a category C has

  • pushouts and pullbacks
  • a factorisation system (E,M) with M ⊆ monos, stable un-

der pushout

  • such that M obeys the pullback–pushout property.
slide-47
SLIDE 47

Theorem

Suppose a category C has

  • pushouts and pullbacks
  • a factorisation system (E,M) with M ⊆ monos, stable un-

der pushout

  • such that M obeys the pullback–pushout property.

Then we have a pushout square in Cat: M +∣M∣ Mop SpanC(M) Cospan(C) Corel(C)

slide-48
SLIDE 48

Theorem: generalising M

Suppose C has

  • pushouts and pullbacks
  • a factorisation system with M ⊆ monos, stable under

pushout

  • a subcategory A ⊇ M, stable under pullback, obeying the

pullback–pushout property. Then we have a pushout square in Cat: A +∣A∣ A

  • p

SpanC(A) Cospan(C) Corel(C)

slide-49
SLIDE 49

Corollary: abelian case

Let C be an abelian category. This has a (co)stable epi–mono factorisation system. The theorem can also be extended to monoidal categories, by requiring that the monoidal product preserve pushouts in C and pullbacks in A, and that M and A are closed under the monoidal product.

slide-50
SLIDE 50

Corollary: abelian case

Let C be an abelian category. This has a (co)stable epi–mono factorisation system. We have a pushout square in Cat: C +∣C∣ C

  • p

Span(C) Cospan(C) Corel(C) ≅ Rel(C)

slide-51
SLIDE 51

Corollary: abelian case

Let C be an abelian category. This has a (co)stable epi–mono factorisation system. We have a pushout square in Cat: C +∣C∣ C

  • p

Span(C) Cospan(C) Corel(C) ≅ Rel(C) The theorem can also be extended to monoidal categories, by requiring that the monoidal product preserve pushouts in C and pullbacks in A, and that M and A are closed under the monoidal product.

slide-52
SLIDE 52

Examples

Corelations (Equivalence relations): Inj +● Inj

  • p

Span(Inj) Cospan(FinSet) Corel(FinSet) Partial equivalence relations: PInj +● PInj

  • p

Span(PInj) Cospan(ParFunc) PER ≅ Corel(ParFunc)

slide-53
SLIDE 53

Examples

Linear relations: Vect +● Vect

  • p

Span(Vect) Cospan(Vect) Corel(Vect) ≅ LinRel Discrete time, linear, time-invariant, dynamical systems over k: SpltM +● SpltM

  • p

Span(SpltM) Cospan(Matk[s,s−1]) Corel(Matk[s,s−1])

slide-54
SLIDE 54

Examples

Let T be a comonad on Set such that T and T 2 both preserve pullbacks of regular monos. Then the category SetT of coal- gebras over T obeys the theorem with respect to (epis, regular monos).

slide-55
SLIDE 55

Examples

Let T be a comonad on Set such that T and T 2 both preserve pullbacks of regular monos. Then the category SetT of coal- gebras over T obeys the theorem with respect to (epis, regular monos). This property is obeyed by the cofree comonad on the double finite power set functor, which has been used to model logic programs.

slide-56
SLIDE 56

Theorem: dual case

Suppose a category C has

  • pushouts and pullbacks
  • a factorisation system (E,M) with E ⊆ epis, stable under

pullback

  • such that E obeys the pullback–pushout property.

Then we have a pushout square in Cat: E +∣E∣ E op Span(C) Cospan(E) Rel(C)

slide-57
SLIDE 57

Non-example: Relations

Surj does not obey pushout–pullback property. Surj + Surj

  • p

Span(FinSet) Cospan(Surj) Rel(FinSet)

slide-58
SLIDE 58

Non-example: Relations

Surj does not obey pushout–pullback property. Surj + Surj

  • p

Span(FinSet) Cospan(Surj) Rel(FinSet) 3 2 2

slide-59
SLIDE 59

Non-example: Relations

Surj does not obey pushout–pullback property. Surj + Surj

  • p

Span(FinSet) Cospan(Surj) Rel(FinSet) 3 2 2 1

slide-60
SLIDE 60

Non-example: Relations

Surj does not obey pushout–pullback property. Surj + Surj

  • p

Span(FinSet) Cospan(Surj) Rel(FinSet) 3 4 2 2 1

slide-61
SLIDE 61

Non-example: Relations

Surj does not obey pushout–pullback property. Surj + Surj

  • p

Span(FinSet) Cospan(Surj) Rel(FinSet) 3 4 2 2 1 Not an epi!

slide-62
SLIDE 62

Non-example: Relations

Surj does not obey pushout–pullback property. Surj + Surj

  • p

Span(FinSet) Cospan(Surj) Rel(FinSet) 3 4 2 2 1 Not an epi! (We cannot construct Rel = Rel(FinSet) as a pushout.)

slide-63
SLIDE 63

To recap:

  • I. Corelations model system interconnection
  • II. Categories of corelations can be constructed as a pushout of span

and cospan categories.

  • III. This helps derive presentations.
slide-64
SLIDE 64

I thank Fabio Zanasi for collaborating on this work. Thank you for listening. For more: http://www.brendanfong.com/