Corollary unit_triangle {a b c : C} (f : C⟦a, b⟧) (g : C⟦b, c⟧) : rassociator f (identity b) g • id2 f ⋆ lunitor g = runitor f ⋆ id2 g. Proof. unfold hcomp. rewrite id2_rwhisker. rewrite lwhisker_id2. rewrite id2_right. rewrite id2_left. apply lunitor_lwhisker. Qed.
Require Import UniMath.Foundations.All. Require Import UniMath.MoreFoundations.All. Require Import UniMath.CategoryTheory.Core.Categories. Require Import UniMath.CategoryTheory.Core.Isos. Require Import UniMath.CategoryTheory.Core.Functors. Require Import UniMath.CategoryTheory.Core.NaturalTransformations. Require Import UniMath.CategoryTheory.PrecategoryBinProduct.