Skip to content

Commit 6cac456

Browse files
committed
Add variants of the right-unitor coherence law
1 parent d103a77 commit 6cac456

File tree

1 file changed

+25
-1
lines changed

1 file changed

+25
-1
lines changed

src/Categories/Bicategory/Extras.agda

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,4 +427,28 @@ module UnitorCoherence where
427427
(f ▷ ρ⇒ ∘ᵥ α⇒) ◁ id₁ ≈˘⟨ refl⟩⊚⟨ id.identity ⟩
428428
(f ▷ ρ⇒ ∘ᵥ α⇒) ⊚₁ id.F₁ _ ∎)
429429

430-
open UnitorCoherence public using (unitorˡ-coherence; unitorʳ-coherence)
430+
unitorʳ-coherence-var₁ : [ (f ⊚₀ g) ⊚₀ id₁ ⇒ f ⊚₀ g ⊚₀ id₁ ]⟨
431+
α⇒
432+
≈ ρ⇒ ⇒⟨ f ⊚₀ g ⟩
433+
f ▷ ρ⇐
434+
435+
unitorʳ-coherence-var₁ {f = f} = switch-fromtoˡ (f ▷ᵢ unitorʳ) (⟺ unitorʳ-coherence)
436+
437+
unitorʳ-coherence-var₂ : [ f ⊚₀ g ⇒ f ⊚₀ g ⊚₀ id₁ ]⟨
438+
f ▷ ρ⇐
439+
≈ ρ⇐ ⇒⟨ (f ⊚₀ g) ⊚₀ id₁ ⟩
440+
α⇒
441+
442+
unitorʳ-coherence-var₂ = switch-fromtoʳ unitorʳ (⟺ unitorʳ-coherence-var₁)
443+
444+
unitorʳ-coherence-inv : [ f ⊚₀ g ⇒ (f ⊚₀ g) ⊚₀ id₁ ]⟨
445+
f ▷ ρ⇐ ⇒⟨ f ⊚₀ g ⊚₀ id₁ ⟩
446+
α⇐
447+
≈ ρ⇐
448+
449+
unitorʳ-coherence-inv = ⟺ (switch-fromtoˡ associator (⟺ unitorʳ-coherence-var₂))
450+
451+
open UnitorCoherence public
452+
using (unitorˡ-coherence; unitorˡ-coherence-inv;
453+
unitorʳ-coherence; unitorʳ-coherence-var₁;
454+
unitorʳ-coherence-var₂; unitorʳ-coherence-inv)

0 commit comments

Comments
 (0)