used presheaf as first component of yoneda

This commit is contained in:
Andrea Vezzosi 2018-01-25 17:04:00 +00:00
parent ee2e84edfe
commit 2295022619

View file

@ -52,6 +52,8 @@ module _ { : Level} { : Category } where
open import Cat.Category
open Category
open import Cat.Categories.Cat using (Cat)
open import Cat.Categories.Fun
open import Cat.Categories.Sets
module Cat = Cat.Categories.Cat
open Exponential
private
@ -66,12 +68,12 @@ module _ { : Level} { : Category } where
where
open HasExponentials (Cat.hasExponentials )
private
-- I need `Sets` to be a `Category ` but it simlpy isn't.
Setz : Category
Setz = {!Sets!}
:func*: : .Object (Setz Opposite ) .Object
:func*: A = {!!}
-- private
-- -- I need `Sets` to be a `Category ` but it simlpy isn't.
-- Setz : Category
-- Setz = {!Sets!}
-- :func*: : .Object (Setz Opposite ) .Object
-- :func*: A = {!!}
-- prsh = presheaf { = }
-- k = prsh {!!}
@ -81,9 +83,9 @@ module _ { : Level} { : Category } where
-- open import Cat.Categories.Fun
-- :func→:' : NaturalTransformation (prsh A) (prsh B)
yoneda : Functor (Setz (Opposite ))
yoneda : Functor (Fun { = Opposite } {𝔻 = Sets {}})
yoneda = record
{ func* = :func*:
{ func* = presheaf { = }
; func→ = {!!}
; ident = {!!}
; distrib = {!!}