Zulip Chat Archive

Stream: Is there code for X?

Topic: the obvious monadic adjoint


Adam Topaz (Jun 30 2021 at 23:33):

Am I missing an import, or is this instance really missing?

import category_theory.monad.adjunction

open category_theory

variables {C : Type*} [category C] (F : monad C)

example : monadic_right_adjoint F.forget := by apply_instance -- fails

Adam Topaz (Jun 30 2021 at 23:33):

Ping @Bhavik Mehta

Bhavik Mehta (Jul 01 2021 at 01:37):

You're right! I think I'd noticed this before and found that it was easier to show if monads were bundled, so I made that PR and then forgot to add this too :| I'll make a fresh PR for it now

Adam Topaz (Jul 01 2021 at 01:41):

No rush! (Isn't it ~3am where you are?)

Bhavik Mehta (Jul 01 2021 at 01:48):

That hasn't stopped me before!


Last updated: Dec 20 2023 at 11:08 UTC