Remove some cruft

This commit is contained in:
Frederik Hanghøj Iversen 2018-03-07 11:33:08 +01:00
parent 125123846e
commit aa64e01084

View file

@ -554,7 +554,7 @@ module _ {a b : Level} { : Category a b} where
Monoidal≃Kleisli : M.Monad K.Monad Monoidal≃Kleisli : M.Monad K.Monad
Monoidal≃Kleisli = forth , eqv Monoidal≃Kleisli = forth , eqv
module _ {a b : Level} { : Category a b} where module _ {a b : Level} ( : Category a b) where
private private
= a b = a b
module = Category module = Category
@ -644,18 +644,9 @@ module _ {a b : Level} { : Category a b} where
module _ {a b : Level} { : Category a b} where module _ {a b : Level} { : Category a b} where
private private
= a b
module = Category
open using (Object ; Arrow ; _∘_)
open NaturalTransformation
module M = Monoidal module M = Monoidal
module K = Kleisli module K = Kleisli
open voe-2-3 { = } open voe-2-3
forth
: {omap : Omap } {pure : {X : Object} Arrow X (omap X)}
voe-2-3-1 omap pure M.Monad
forth {omap} {pure} m = voe-2-3-1.toMonad omap pure m
voe-2-3-1-fromMonad : (m : M.Monad) voe-2-3-1 (M.Monad.Romap m) (λ {X} M.Monad.pureT m X) voe-2-3-1-fromMonad : (m : M.Monad) voe-2-3-1 (M.Monad.Romap m) (λ {X} M.Monad.pureT m X)
voe-2-3-1-fromMonad m = record voe-2-3-1-fromMonad m = record
@ -680,12 +671,6 @@ module _ {a b : Level} { : Category a b} where
; isMnd = K.Monad.isMonad m ; isMnd = K.Monad.isMonad m
} }
-- Unfortunately the two above definitions don't really give rise to a
-- bijection - at least not directly. Q: What to put in the indices for
-- `voe-2-3-1`?
equiv-2-3-1 : voe-2-3-1 {!!} {!!} M.Monad
equiv-2-3-1 = {!!}
module _ {a b : Level} { : Category a b} where module _ {a b : Level} { : Category a b} where
private private
= a b = a b
@ -696,7 +681,7 @@ module _ {a b : Level} { : Category a b} where
module K = Kleisli module K = Kleisli
module _ (omap : Omap ) (pure : {X : Object} Arrow X (omap X)) where module _ (omap : Omap ) (pure : {X : Object} Arrow X (omap X)) where
open voe-2-3 { = } omap pure open voe-2-3 omap pure
-- Idea: -- Idea:
-- We want to prove -- We want to prove
-- --