Skip to content

Instantly share code, notes, and snippets.

@maxsu
Created October 31, 2021 09:14
Show Gist options
  • Save maxsu/65ee89f6306fe2e62c5e8e519b635399 to your computer and use it in GitHub Desktop.
Save maxsu/65ee89f6306fe2e62c5e8e519b635399 to your computer and use it in GitHub Desktop.
instance
=> MonoidalAction ob_m hom_m πŸ‘» 🧟 ob_c hom_c ✝️
=> MonoidalAction ob_m hom_m πŸ‘» 🧟 ob_d hom_d πŸŽƒ
=> ob_c πŸ‘Ή
=> ob_d πŸ”₯
=> Tambara ob_c hom_c
ob_d hom_d
ob_m hom_m πŸ‘» 🧟
✝️
πŸŽƒ
(Optic ob_c hom_c
ob_d hom_d
ob_m hom_m πŸ‘» 🧟
✝️ πŸŽƒ πŸ‘Ή πŸ”₯)
where
tambara (Optic l r)
= Optic
(comp @ob_c @hom_c
(multiplicator @ob_m @hom_m @πŸ‘» @🧟
@ob_c @hom_c
@✝️)
(bimap @ob_m @hom_m
@ob_c @hom_c
@ob_c @hom_c
(unit @ob_m @hom_m)
l))
(comp @ob_d @hom_d
(bimap @ob_m @hom_m
@ob_d @hom_d
@ob_d @hom_d
(unit @ob_m @hom_m)
r)
(multiplicatorinv @ob_m @hom_m @πŸ‘» @🧟
@ob_d @hom_d
@πŸŽƒ))
-- ^ A Tambara module defined over the category of hell.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment