the1lab / 1lab

A formalised, cross-linked reference resource for mathematics done in Homotopy Type Theory
https://1lab.dev
GNU Affero General Public License v3.0
348 stars 68 forks source link

Kleisli Categories, Kleisli maps #403

Closed TOTBWF closed 4 months ago

TOTBWF commented 4 months ago

Description

This PR defines the Kleisli category of a monad, and proves that the category of Kleisli maps is weakly equivalent to the Kleisli category.

There are also a couple of chores in here: I've fixed some naming inconsistencies with lemmas for fully faithful functors. I've also refactored EM categories to be displayed.

Checklist

Before submitting a merge request, please check the items below:

If your change affects many files without adding substantial content, and you don't want your name to appear on those pages (for example, treewide refactorings or reformattings), start the commit message and PR title with chore:.

Lavenza commented 4 months ago

Pull request preview

plt-amy commented 4 months ago

I've also refactored EM categories to be displayed.

:heart: