Skip to content

Commit

Permalink
update to cubical HEAD (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
maxsnew committed Jul 14, 2023
1 parent 38cd7d4 commit d7a0db1
Show file tree
Hide file tree
Showing 42 changed files with 997 additions and 3,196 deletions.
16 changes: 8 additions & 8 deletions Cubical/Categories/Adjoint/2Var.agda
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,17 @@ open Category
(E : Category ℓE ℓE')
(F : Bifunctor C D E) Type _
2VarRightAdjointR C D E F =
ParamUnivElt ((C ^op) ×C E) D
(ForgetPar (assoc-bif (HomBif E ∘Fl
(rec D C (Sym F) ^opF) ∘F
×-op-commute⁻ {C = D}{D = C})))
UniversalElements ((C ^op) ×C E) D
(assoc-bif (HomBif E ∘Fl
(rec D C (Sym F) ^opF) ∘F
×-op-commute⁻ {C = D}{D = C}))

2VarRightAdjointL : (C : Category ℓC ℓC')
(D : Category ℓD ℓD')
(E : Category ℓE ℓE')
(F : Bifunctor C D E) Type _
2VarRightAdjointL C D E F =
ParamUnivElt ((D ^op) ×C E) C
(ForgetPar (assoc-bif (HomBif E ∘Fl
(rec C D F ^opF) ∘F
×-op-commute⁻ {C = C}{D = D})))
UniversalElements ((D ^op) ×C E) C
(assoc-bif (HomBif E ∘Fl
(rec C D F ^opF) ∘F
×-op-commute⁻ {C = C}{D = D}))
4 changes: 2 additions & 2 deletions Cubical/Categories/Adjoint/UniversalElements.agda
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ open Category
RightAdjoint : (C : Category ℓC ℓC')
(D : Category ℓD ℓD')
(F : Functor C D) Type _
RightAdjoint C D F = ParamUnivElt D C (Functor→Profo-* C D F)
RightAdjoint C D F = UniversalElements D C (Functor→Profo-* C D F)

RightAdjointAt : (C : Category ℓC ℓC')
(D : Category ℓD ℓD')
(F : Functor C D)
(d : D .ob) Type _
RightAdjointAt C D F = RepresentableAt D C (Functor→Profo-* C D F)
RightAdjointAt C D F = UniversalElementAt D C (Functor→Profo-* C D F)

LeftAdjoint : (C : Category ℓC ℓC')
(D : Category ℓD ℓD')
Expand Down
6 changes: 6 additions & 0 deletions Cubical/Categories/Bifunctor/Redundant.agda
Original file line number Diff line number Diff line change
Expand Up @@ -461,6 +461,12 @@ HomBif C = mkBifunctorSep Hom where
Hom .Bif-R-seq f' f'' = funExt λ f sym (C .⋆Assoc f f' f'')
Hom .SepBif-RL-commute f g = funExt (λ h sym (C .⋆Assoc f h g))

BifunctorToParFunctor : Bifunctor C D E Functor (C ×C D) E
BifunctorToParFunctor F .F-ob (c , d) = F .Bif-ob c d
BifunctorToParFunctor F .F-hom (f , g) = F .Bif-hom× f g
BifunctorToParFunctor F .F-id = F .Bif-×-id
BifunctorToParFunctor F .F-seq f g = F .Bif-×-seq _ _ _ _

open Separate.Bifunctor
ForgetPar : Bifunctor C D E Separate.Bifunctor C D E
ForgetPar F .Bif-ob = F .Bif-ob
Expand Down
164 changes: 0 additions & 164 deletions Cubical/Categories/Constructions/BinProduct/AsLeftAdjoint.agda

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ import Cubical.Categories.Constructions.BinProduct.Redundant.Assoc.ToRight
import Cubical.Categories.Constructions.BinProduct.Redundant.Assoc.ToLeft
as ToLeft
open import Cubical.Categories.Constructions.BinProduct.Redundant.Base as BP
open import Cubical.Categories.Constructions.Free.Category as Free hiding (rec)
open import Cubical.Categories.Constructions.Free.Category.Quiver as Free
hiding (rec)
open import Cubical.Categories.Constructions.Presented as Presented hiding (rec)
open import Cubical.Categories.Bifunctor.Redundant

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ open import Cubical.Data.Sum as Sum hiding (rec)
open import Cubical.Data.Sigma

open import Cubical.Categories.Constructions.BinProduct.Redundant.Base as BP
open import Cubical.Categories.Constructions.Free.Category as Free hiding (rec)
open import Cubical.Categories.Constructions.Free.Category.Quiver as Free
hiding (rec)
open import Cubical.Categories.Constructions.Presented as Presented hiding (rec)
open import Cubical.Categories.Bifunctor.Redundant as Bif

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ open import Cubical.Data.Sum as Sum hiding (rec)
open import Cubical.Data.Sigma

open import Cubical.Categories.Constructions.BinProduct.Redundant.Base as BP
open import Cubical.Categories.Constructions.Free.Category as Free hiding (rec)
open import Cubical.Categories.Constructions.Free.Category.Quiver as Free
hiding (rec)
open import Cubical.Categories.Constructions.Presented as Presented hiding (rec)
open import Cubical.Categories.Bifunctor.Redundant

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ open import Cubical.Data.Sum as Sum hiding (rec)
open import Cubical.Data.Sigma

import Cubical.Categories.Constructions.BinProduct as BP
open import Cubical.Categories.Constructions.Free.Category as Free hiding (rec)
open import Cubical.Categories.Constructions.Free.Category.Quiver as Free
hiding (rec)
open import Cubical.Categories.Constructions.Presented as Presented hiding (rec)
open import Cubical.Categories.Bifunctor.Redundant

Expand Down
37 changes: 0 additions & 37 deletions Cubical/Categories/Constructions/Elements/More.agda

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
-- This time not using a graph as the presentation of the generators
{-# OPTIONS --safe #-}

module Cubical.Categories.Constructions.Free.Category where
module Cubical.Categories.Constructions.Free.Category.Quiver where

open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Path
Expand Down
Loading

0 comments on commit d7a0db1

Please sign in to comment.