Hypergraph categories as cospan algebras Brendan Fong, with David - - PowerPoint PPT Presentation

hypergraph categories as cospan algebras
SMART_READER_LITE
LIVE PREVIEW

Hypergraph categories as cospan algebras Brendan Fong, with David - - PowerPoint PPT Presentation

Hypergraph categories as cospan algebras Brendan Fong, with David Spivak Category Theory 2018 University of Azores 10 July 2018 Bonchi, Sobocinski, Zanasi: A categorical semantics of signal flow graphs Baez, Pollard: A compositional framework


slide-1
SLIDE 1

Hypergraph categories as cospan algebras

Brendan Fong, with David Spivak

Category Theory 2018 University of Azores 10 July 2018

slide-2
SLIDE 2

Baez, Pollard: A compositional framework for reaction networks Rosebrugh, Sabadini, Walters: Calculating colimits compositionally Bonchi, Sobocinski, Zanasi: A categorical semantics of signal flow graphs Spivak: The operad of wiring diagrams

slide-3
SLIDE 3

Outline

  • I. Hypergraph categories
  • II. Cospan algebras
  • III. The equivalence
slide-4
SLIDE 4
  • I. Hypergraph categories
slide-5
SLIDE 5

Abstractly, how do we construct this? f g h

slide-6
SLIDE 6

. . . as structured monoidal category

f g h

f g h (1⊗f⊗ ⊗1);( ⊗1⊗ ⊗1);( ⊗g⊗ );( ⊗h).

slide-7
SLIDE 7

. . . as structured monoidal category

f g h

f g h

slide-8
SLIDE 8

. . . as structured monoidal category

f g h

f g h f h g

slide-9
SLIDE 9

A special commutative Frobenius monoid on X is

µ∶ X ⊗ X → X η∶ I → X δ∶ X → X ⊗ X ǫ∶ X → I

  • beying

= = = = = = = =

slide-10
SLIDE 10

A special commutative Frobenius monoid on X is

µ∶ X ⊗ X → X η∶ I → X δ∶ X → X ⊗ X ǫ∶ X → I

  • beying the spider theorem

=

slide-11
SLIDE 11

A hypergraph category is a symmetric monoidal category in which each object X is equipped with a Frobenius structure in a way compatible with the monoidal product.

slide-12
SLIDE 12

A hypergraph category is a symmetric monoidal category in which each object X is equipped with a Frobenius structure in a way compatible with the monoidal product. This means that the Frobenius structure on I is (ρ−1

I ,idI,ρI,idI) and

for all X,Y , the Frobenius structure on X ⊗ Y is

X ⊗ Y X ⊗ Y X ⊗ Y X Y X Y X Y = X ⊗ Y X Y = X ⊗ Y X ⊗ Y X ⊗ Y X Y X Y X Y = X ⊗ Y X Y =

slide-13
SLIDE 13

A hypergraph category is a symmetric monoidal category in which each object X is equipped with a Frobenius structure in a way compatible with the monoidal product. This means that the Frobenius structure on I is (ρ−1

I ,idI,ρI,idI) and

for all X,Y , the Frobenius structure on X ⊗ Y is

X ⊗ Y X ⊗ Y X ⊗ Y X Y X Y X Y = X ⊗ Y X Y = X ⊗ Y X ⊗ Y X ⊗ Y X Y X Y X Y = X ⊗ Y X Y =

A hypergraph functor is a strong symmetric monoidal functor (F,ϕ) such that if (µX,ηX,δX,ǫX) is the Frobenius structure on X, then (ϕX,X;FµX, ϕI;FηX, FδX;ϕ−1

X,X, FǫX;ϕ−1 I ) is the Frobenius

structure on FX.

slide-14
SLIDE 14

Let Hyp be the 2-category with

  • bjects: hypergraph categories

morphisms: hypergraph functors 2-morphisms: monoidal natural transformations. Let HypOF be the full sub-2-category of objectwise-free hyper- graph categories. Theorem (Coherence for hypergraph categories) HypOF and Hyp are 2-equivalent.

slide-15
SLIDE 15
  • II. Cospan algebras
slide-16
SLIDE 16

Abstractly, how do we construct this? f g h

slide-17
SLIDE 17

. . . as operad algebra

f g h 3 1 2 6 3 5 4 3 4 1 3 2 2 2 1 1

A N B

1 2 3 4 1 2 3 1 2 3 f g h 1 2 3 4 5 6

slide-18
SLIDE 18

Define CospanΛ = ∐λ∈Λ Cospan(FinSet). CospanΛ is the symmetric monoidal category with

  • bjects: Λ-typed finite sets t∶X → Λ.

morphisms: cospans over Λ. X N Y Λ

t f1 s u f2

monoidal product: disjoint union ⊕

x y y z x y z x z

slide-19
SLIDE 19

Define CospanΛ = ∐λ∈Λ Cospan(FinSet). CospanΛ is the symmetric monoidal category with

  • bjects: Λ-typed finite sets t∶X → Λ.

morphisms: cospans over Λ. X N Y Λ

t f1 s u f2

monoidal product: disjoint union ⊕

f g

X Y Z x y y z x y z x z

f g

slide-20
SLIDE 20

Let CospanAlg be the category with

  • bjects: lax symmetric monoidal functors

Λ A∶(CospanΛ,⊕) → (Set,×) morphisms: monoidal natural transformations Λ List(Λ′)

f

CospanΛ Set CospanΛ′

Cospanf A

⇓α

A′

slide-21
SLIDE 21
  • III. The equivalence
slide-22
SLIDE 22

Theorem HypOF and CospanAlg are (1-)equivalent. Proof sketch:

  • 1. Work over Λ.
  • 2. Frobenius monoids define cospan algebra.
  • 3. Cospan algebras define homsets of hypergraph categories.
slide-23
SLIDE 23
  • 1. Working over Λ

Lemma There is a Grothendieck fibration Gens∶HypOF → SetList sending an objectwise-free hypergraph category to its set of generating

  • bjects.

This implies HypOF ≅ ∫

Λ∈SetList

HypOF(Λ) Note also CospanAlg = ∫

Λ∈SetList

Lax(CospanΛ,Set)

slide-24
SLIDE 24
  • 2. Frobenius defines cospan algebras

Lemma CospanΛ is the free hypergraph category over Λ (ie. with ob- jects generated by Λ). That is, there is an adjunction SetList HypOF

Cospan−

  • Gens

Given a hypergraph category H over Λ, we can construct a cospan algebra AH∶CospanΛ

Frob

  • → H

H(I,−)

  • → Set.
slide-25
SLIDE 25
  • 3. Cospans define hypergraph structure

Lemma Hypergraph categories are self dual compact closed. Given a cospan algebra A over Λ, we may define a hypergraph category HA over Λ with homsets HA(X,Y ) = A(X ⊕ Y ).

slide-26
SLIDE 26
  • 3. Cospans define hypergraph structure

The remaining structure is defined by certain cospans.

f g

X Y Z

composition f g

X Y Z W

monoidal product identity braiding (co)multiplication (co)unit

slide-27
SLIDE 27

Theorem (Coherence for hypergraph categories) HypOF and Hyp are 2-equivalent. Theorem HypOF and CospanAlg are (1-)equivalent.