-
Notifications
You must be signed in to change notification settings - Fork 82
Dualize limits, right Kan extensions, and monads #1442
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
I've made your suggested changes for both left and right (Kan) extensions. |
src/category-theory/copointed-endofunctors-precategories.lagda.md
Outdated
Show resolved
Hide resolved
src/category-theory/right-kan-extensions-precategories.lagda.md
Outdated
Show resolved
Hide resolved
src/category-theory/coalgebras-comonads-on-precategories.lagda.md
Outdated
Show resolved
Hide resolved
I forgot that I also needed pushouts, so I dualized them from pullbacks as well. I made some changes to pullbacks since a couple of the names didn't match conventions; these weren't used anywhere else in the library. I dualized pushouts using pullbacks in the opposite category: same as for coproducts/products dualizing the definition explicitly gives something judgementally equal to the concept in the opposite category, and this way there's only one definition/proof in the library. |
src/category-theory/pointed-endofunctors-precategories.lagda.md
Outdated
Show resolved
Hide resolved
src/category-theory/precategory-of-coalgebras-comonads-on-precategories.lagda.md
Outdated
Show resolved
Hide resolved
I removed the pushout and pullback business, they're in #1448. |
Sorry for being so slow to review this one. I'll try and finish my review today, so hang tight! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great!
Co-authored-by: Fredrik Bakke <fredrbak@gmail.com>
This explicitly dualizes limits, right Kan extensions, and monads. The definitions and proofs are exactly dual, save for certain parts of cocones where re-use of
coherence-triangle-hom-Precategory
meant a rotation was needed.This also fixes a minor indendation problem in monads.