hypergraph categories as cospan algebras
play

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


  1. Hypergraph categories as cospan algebras Brendan Fong, with David Spivak Category Theory 2018 University of Azores 10 July 2018

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

  3. Outline I. Hypergraph categories II. Cospan algebras III. The equivalence

  4. I. Hypergraph categories

  5. Abstractly, how do we construct this? g f h

  6. . . . as structured monoidal category g g f h f h ( 1 ⊗ f ⊗ ⊗ 1 ) ; ( ⊗ 1 ⊗ ⊗ 1 ) ; ( ⊗ g ⊗ ) ; ( ⊗ h ) .

  7. . . . as structured monoidal category g g f h f h

  8. . . . as structured monoidal category g g f h f h g f h

  9. A special commutative Frobenius monoid on X is µ ∶ X ⊗ X → X η ∶ I → X δ ∶ X → X ⊗ X ǫ ∶ X → I obeying = = = = = = = =

  10. A special commutative Frobenius monoid on X is µ ∶ X ⊗ X → X η ∶ I → X δ ∶ X → X ⊗ X ǫ ∶ X → I obeying the spider theorem =

  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.

  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 , id I ,ρ I , id I ) and for all X,Y , the Frobenius structure on X ⊗ Y is X X X ⊗ Y X Y = = X ⊗ Y X ⊗ Y X X ⊗ Y Y Y Y X X X ⊗ Y Y X = = X ⊗ Y X ⊗ Y X ⊗ Y X Y Y Y

  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 , id I ,ρ I , id I ) and for all X,Y , the Frobenius structure on X ⊗ Y is X X X ⊗ Y X Y = = X ⊗ Y X ⊗ Y X X ⊗ Y Y Y Y X X X ⊗ Y Y X = = X ⊗ Y X ⊗ Y X ⊗ Y X Y Y 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 I ) is the Frobenius X,X , Fǫ X ; ϕ − 1 structure on FX .

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

  15. II. Cospan algebras

  16. Abstractly, how do we construct this? g f h

  17. . . . as operad algebra 1 1 4 2 f 2 3 g 4 1 2 3 2 3 1 5 g 2 4 3 1 1 1 2 3 2 5 f 1 h 4 3 h 2 6 3 6 3 A N B

  18. Define Cospan Λ = ∐ λ ∈ Λ Cospan ( FinSet ) . Cospan Λ is the symmetric monoidal category with objects: Λ -typed finite sets t ∶ X → Λ . morphisms: cospans over Λ . f 1 f 2 X N Y s u t Λ monoidal product: disjoint union ⊕ x x x y y y z z z

  19. Define Cospan Λ = ∐ λ ∈ Λ Cospan ( FinSet ) . Cospan Λ is the symmetric monoidal category with objects: Λ -typed finite sets t ∶ X → Λ . morphisms: cospans over Λ . f 1 f 2 X N Y s u t Λ monoidal product: disjoint union ⊕ x x x f y y X Y Z g f y g z z z

  20. Let CospanAlg be the category with objects: lax symmetric monoidal functors A ∶( Cospan Λ , ⊕) � → ( Set , ×) Λ morphisms: monoidal natural transformations Cospan Λ Λ A f Cospan f ⇓ α Set List ( Λ ′ ) Cospan Λ ′ A ′

  21. III. The equivalence

  22. Theorem Hyp OF and CospanAlg are (1-)equivalent. Proof sketch: 1. Work over Λ . 2. Frobenius monoids define cospan algebra. 3. Cospan algebras define homsets of hypergraph categories.

  23. 1. Working over Λ Lemma There is a Grothendieck fibration Gens ∶ Hyp OF → Set List sending an objectwise-free hypergraph category to its set of generating objects. This implies Λ ∈ Set List Hyp OF ≅ ∫ Hyp OF ( Λ ) Note also CospanAlg = ∫ Λ ∈ Set List Lax ( Cospan Λ , Set )

  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 Cospan − Set List Hyp OF � Gens Given a hypergraph category H over Λ , we can construct a cospan algebra A H ∶ Cospan Λ � � → H H( I, − ) Frob � � � � → Set .

  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 H A over Λ with homsets H A ( X,Y ) = A ( X ⊕ Y ) .

  26. 3. Cospans define hypergraph structure The remaining structure is defined by certain cospans. X Y f X Y Z g f Z W g composition monoidal product identity braiding (co)multiplication (co)unit

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

Recommend


More recommend