-
-
Save maxsu/65ee89f6306fe2e62c5e8e519b635399 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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