File tree Expand file tree Collapse file tree 1 file changed +58
-0
lines changed
src/Categories/Bicategory Expand file tree Collapse file tree 1 file changed +58
-0
lines changed Original file line number Diff line number Diff line change 1+ {-# OPTIONS --without-K --safe #-}
2+
3+ module Categories.Bicategory.Adjunction where
4+
5+ open import Categories.Bicategory
6+ import Categories.Bicategory.Extras as Extras
7+ open import Categories.Category
8+ open import Level
9+
10+ private
11+ variable
12+ o ℓ e t : Level
13+
14+ module _ (𝒞 : Bicategory o ℓ e t) where
15+ open Bicategory 𝒞
16+
17+ record Adjunction (A B : Obj) : Set (o ⊔ ℓ ⊔ e ⊔ t) where
18+ private
19+ module C = Extras 𝒞
20+
21+ field
22+ L : A ⇒₁ B
23+ R : B ⇒₁ A
24+
25+ field
26+ unit : id₁ ⇒₂ R ⊚₀ L
27+ counit : L ⊚₀ R ⇒₂ id₁
28+
29+ private
30+ {-
31+ L 1 → L (R L) → (L R) L
32+ ↓ L 1
33+ 1 ∘ L ~ ↓
34+ ↓ L
35+ L
36+
37+ -}
38+ l-triangle-l : L ⊚₀ id₁ ⇒₂ L
39+ l-triangle-l = C.unitorˡ.from ∘ᵥ (counit ⊚₁ id₂) ∘ᵥ C.associator.to ∘ᵥ (id₂ ⊚₁ unit)
40+
41+ l-triangle-r : L ⊚₀ id₁ ⇒₂ L
42+ l-triangle-r = C.unitorʳ.from
43+ {-
44+ 1 R → (R L) R → R (L R)
45+ ↓ L 1
46+ R ∘ id ~ ↓
47+ ↓ L
48+ R
49+
50+ -}
51+ r-triangle-l : id₁ ⊚₀ R ⇒₂ R
52+ r-triangle-l = C.unitorʳ.from ∘ᵥ (id₂ ⊚₁ counit) ∘ᵥ C.associator.from ∘ᵥ (unit ⊚₁ id₂)
53+
54+ r-triangle-r : id₁ ⊚₀ R ⇒₂ R
55+ r-triangle-r = C.unitorˡ.from
56+ field
57+ l-triangle : l-triangle-l C.≈ l-triangle-r
58+ r-triangle : r-triangle-l C.≈ r-triangle-r
You can’t perform that action at this time.
0 commit comments