Monadic instances for ULift
and PLift
#
In this file we define Monad
and IsLawfulMonad
instances on PLift
and ULift
.
@[simp]
theorem
PLift.bind_up
{α : Sort u}
{β : Sort v}
(a : α)
(f : α → PLift β)
:
PLift.bind { down := a } f = f a
@[simp]
theorem
ULift.bind_up
{α : Type u}
{β : Type v}
(a : α)
(f : α → ULift β)
:
ULift.bind { down := a } f = f a