Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions src/Categories/Category/Slice.agda
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ open HomReasoning
open Equiv

open import Level
open import Function.Base using (_$_)
open import Relation.Binary.Core using (Rel)

open import Categories.Morphism.Reasoning 𝒞
Expand Down Expand Up @@ -42,7 +41,7 @@ Slice A = record
; _≈_ = λ where
(slicearr {f} _) (slicearr {g} _) → f ≈ g
; id = slicearr identityʳ
; _∘_ = _∘′_
; _∘_ = λ (slicearr △) (slicearr △′) → slicearr (glueTrianglesʳ △ △′)
; assoc = assoc
; sym-assoc = sym-assoc
; identityˡ = identityˡ
Expand All @@ -55,8 +54,3 @@ Slice A = record
}
; ∘-resp-≈ = ∘-resp-≈
}
where _∘′_ : Slice⇒ Y Z → Slice⇒ X Y → Slice⇒ X Z
_∘′_ {Y = sliceobj y} {Z = sliceobj z} {X = sliceobj x} (slicearr {g} △) (slicearr {f} △′) = slicearr $ begin
z ∘ g ∘ f ≈⟨ pullˡ △ ⟩
y ∘ f ≈⟨ △′ ⟩
x ∎