One step closer to yoneda

This commit is contained in:
Frederik Hanghøj Iversen 2018-01-30 10:57:24 +01:00
parent eae441b659
commit 53816aeb74

View file

@ -58,35 +58,35 @@ module _ { : Level} { : Category } where
open Exponential open Exponential
private private
Cat = Cat Cat = Cat
prshf = presheaf { = }
-- Exp : Set (lsuc (lsuc )) -- Exp : Set (lsuc (lsuc ))
-- Exp = Exponential (Cat (lsuc ) ) -- Exp = Exponential (Cat (lsuc ) )
-- Sets (Opposite ) -- Sets (Opposite )
_⇑_ : (A B : Cat .Object) Cat .Object _⇑_ : (A B : Cat .Object) Cat .Object
A B = (exponent A B) .obj A B = (exponent A B) .obj
where where
open HasExponentials (Cat.hasExponentials ) open HasExponentials (Cat.hasExponentials )
-- private module _ {A B : .Object} (f : .Arrow A B) where
-- -- I need `Sets` to be a `Category ` but it simlpy isn't. :func→: : NaturalTransformation (prshf A) (prshf B)
-- Setz : Category :func→: = (λ C x ( ._⊕_ f x)) , λ f₁ funExt λ x lem
-- Setz = {!Sets!} where
-- :func*: : .Object (Setz Opposite ) .Object lem = ( .isCategory) .IsCategory.assoc
-- :func*: A = {!!} module _ {c : .Object} where
eqTrans : (:func→: ( .𝟙 {c})) .proj₁ (Fun .𝟙 {o = prshf c}) .proj₁
eqTrans = funExt λ x funExt λ x .isCategory .IsCategory.ident .proj₂
eqNat : (i : I) Natural (prshf c) (prshf c) (eqTrans i)
eqNat i f = {!!}
-- prsh = presheaf { = } :ident: : (:func→: ( .𝟙 {c})) (Fun .𝟙 {o = prshf c})
-- k = prsh {!!} :ident: i = eqTrans i , eqNat i
-- :func*:' : .Object Presheaf
-- :func*:' = prsh
-- module _ {A B : .Object} (f : .Arrow A B) where
-- open import Cat.Categories.Fun
-- :func→:' : NaturalTransformation (prsh A) (prsh B)
yoneda : Functor (Fun { = Opposite } {𝔻 = Sets {}}) yoneda : Functor (Fun { = Opposite } {𝔻 = Sets {}})
yoneda = record yoneda = record
{ func* = presheaf { = } { func* = prshf
; func→ = {!!} ; func→ = :func→:
; ident = {!!} ; ident = :ident:
; distrib = {!!} ; distrib = {!!}
} }