Skip to content

Commit

Permalink
more idiomatic reasoning
Browse files Browse the repository at this point in the history
  • Loading branch information
maxsnew committed Sep 20, 2024
1 parent 2141871 commit d031d10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Cubical/Categories/Displayed/Instances/Functor.agda
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,19 @@ module _ {C : Category ℓC ℓC'}{D : Category ℓD ℓD'}
open NatTransᴰ
open NatTrans
open Functor
open import Cubical.Categories.Displayed.Reasoning Dᴰ

private
module Cᴰ = Categoryᴰ Cᴰ
module Dᴰ = Categoryᴰ Dᴰ
module C = Category C
module D = Category D
import Cubical.Categories.Displayed.Reasoning Dᴰ as R

idTransᴰ : (F : Functor C D)(Fᴰ : Functorᴰ F Cᴰ Dᴰ)
NatTransᴰ (idTrans F) Fᴰ Fᴰ
idTransᴰ F Fᴰ .N-obᴰ {x = c} cᴰ = Dᴰ .idᴰ
idTransᴰ F Fᴰ .N-homᴰ {x = c} {y = c'} {f = f} {xᴰ = cᴰ} {yᴰ = c'ᴰ} fᴰ =
rectify (≡out (≡in (Dᴰ. ⋆IdRᴰ _) ∙ (sym (≡in (Dᴰ .⋆IdLᴰ _)))))
R.rectify (R.≡out (R.⋆IdR _ ∙ (sym (R.⋆IdL _))))

makeNatTransPathᴰ : {F G : Functor C D}{α β : NatTrans F G}
{Fᴰ : Functorᴰ F Cᴰ Dᴰ}{Gᴰ : Functorᴰ G Cᴰ Dᴰ}
Expand Down

0 comments on commit d031d10

Please sign in to comment.