Rename Opposite to opposite

This commit is contained in:
Frederik Hanghøj Iversen 2018-02-25 15:23:33 +01:00
parent cd98736d02
commit f0beec1530
5 changed files with 6 additions and 6 deletions

View file

@ -108,7 +108,7 @@ module Fun {c c' d d' : Level} ( : Category c c') (𝔻 : C
module _ { ' : Level} ( : Category ') where
open import Cat.Categories.Sets
open NaturalTransformation (Opposite ) (𝓢𝓮𝓽 ')
open NaturalTransformation (opposite ) (𝓢𝓮𝓽 ')
-- Restrict the functors to Presheafs.
RawPresh : RawCategory ( lsuc ') ( ')

View file

@ -88,7 +88,7 @@ module _ {a b : Level} where
-- Contravariant Presheaf
Presheaf : Set (a lsuc b)
Presheaf = Functor (Opposite ) (𝓢𝓮𝓽 b)
Presheaf = Functor (opposite ) (𝓢𝓮𝓽 b)
-- The "co-yoneda" embedding.
representable : { : Category a b} Category.Object Representable
@ -106,7 +106,7 @@ module _ {a b : Level} where
open Category
-- Alternate name: `yoneda`
presheaf : { : Category a b} Category.Object (Opposite ) Presheaf
presheaf : { : Category a b} Category.Object (opposite ) Presheaf
presheaf { = } B = record
{ raw = record
{ func* = λ A [ A , B ] , arrowsAreSets

View file

@ -336,4 +336,4 @@ module Opposite {a b : Level} where
Category.raw (oppositeIsInvolution i) = rawInv i
Category.isCategory (oppositeIsInvolution x) = {!!}
open Opposite public renaming (opposite to Opposite)
open Opposite public

View file

@ -22,7 +22,7 @@ module _ { : Level} { : Category } (unprovable : IsCategory (RawCat
open import Cat.Category.Exponential
open Functor
𝓢 = Sets
open Fun (Opposite ) 𝓢
open Fun (opposite ) 𝓢
private
Cat : Category _ _
Cat = record { raw = RawCat ; isCategory = unprovable}

View file

@ -22,7 +22,7 @@ module _ {a b : Level} where
Substitutions = Arrow
field
-- A functor T
T : Functor (Opposite ) (Fam a b)
T : Functor (opposite ) (Fam a b)
-- Empty context
[] : Terminal
private