Documentation

Cedar.Thm.Data.Applicative

theorem applicative_none {α β : Type} (f : Option (αβ)) (o : Option α) :
f = nonef <*> o = none
theorem applicative_of_none {α β : Type} (f : Option (αβ)) (o : Option α) :
o = nonef <*> o = none
theorem applicative_some {α β : Type} (f' : αβ) (v : α) :
some f' <*> some v = some (f' v)
theorem applicative_step {α β : Type} (f : αβ) (x : α) :
some f <*> some x = some (f x)