File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed
Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -135,7 +135,15 @@ split₂ˡ {f = f} {g} {h} = begin
135135 id ⊗₁ g ∘ f ⊗₁ h ∎
136136
137137-- The opposite, i.e. merge
138- merge₂ʳ : ∀ {X₁ Y₁ X₂ Y₂ Z₂} {f : X₁ ⇒ Y₁} {g : Y₂ ⇒ Z₂} {h : X₂ ⇒ Y₂} →
138+ merge₁ʳ : ∀ {X₁ Y₁ Z₁ X₂ Y₂} {f : Y₁ ⇒ Z₁} {g : X₁ ⇒ Y₁} {h : X₂ ⇒ Y₂} →
139+ f ⊗₁ h ∘ g ⊗₁ id ≈ (f ∘ g) ⊗₁ h
140+ merge₁ʳ = Equiv.sym split₁ʳ
141+
142+ merge₁ˡ : ∀ {X₁ Y₁ Z₁ X₂ Y₂} {f : Y₁ ⇒ Z₁} {g : X₁ ⇒ Y₁} {h : X₂ ⇒ Y₂} →
143+ f ⊗₁ id ∘ g ⊗₁ h ≈ (f ∘ g) ⊗₁ h
144+ merge₁ˡ = Equiv.sym split₁ˡ
145+
146+ merge₂ʳ : ∀ {X₁ Y₁ X₂ Y₂ Z₂} {f : X₁ ⇒ Y₁} {g : Y₂ ⇒ Z₂} {h : X₂ ⇒ Y₂} →
139147 f ⊗₁ g ∘ id ⊗₁ h ≈ f ⊗₁ (g ∘ h)
140148merge₂ʳ = Equiv.sym split₂ʳ
141149
Original file line number Diff line number Diff line change @@ -309,8 +309,8 @@ pull-first {f = f} {g = g} {a = a} {h = h} {i = i} eq = begin
309309pull-center : g ∘ h ≈ a → f ∘ (g ∘ (h ∘ i)) ≈ f ∘ (a ∘ i)
310310pull-center eq = ∘-resp-≈ʳ (pullˡ eq)
311311
312- push-center : g ∘ h ≈ a → f ∘ (a ∘ i) ≈ f ∘ (g ∘ (h ∘ i))
313- push-center eq = Equiv.sym (pull-center eq )
312+ push-center : a ≈ g ∘ h → f ∘ (a ∘ i) ≈ f ∘ (g ∘ (h ∘ i))
313+ push-center eq = Equiv.sym (pull-center (Equiv.sym eq) )
314314
315315intro-first : a ∘ b ≈ id → f ∘ g ≈ a ∘ ((b ∘ f) ∘ g)
316316intro-first {a = a} {b = b} {f = f} {g = g} eq = begin
You can’t perform that action at this time.
0 commit comments