Definition rwhisker_profunctor_square {C₁ C₂ D₁ D₂ : category} {F : C₁ ⟶ C₂} {G : D₁ ⟶ D₂} {P : D₁ ↛ C₁} {Q Q' : D₂ ↛ C₂} (τ : profunctor_nat_trans Q Q') (θ : profunctor_square F G P Q) : profunctor_square F G P Q'. Proof. use make_profunctor_square. - exact (λ y x h, τ (F y) (G x) (θ y x h)). - abstract (intros y₁ y₂ x₁ x₂ g f h ; cbn -[lmap rmap] ; rewrite profunctor_square_lmap_rmap ; rewrite profunctor_nat_trans_lmap_rmap ; apply idpath). Defined.
Require Import UniMath.Foundations.All. Require Import UniMath.MoreFoundations.All. Require Import UniMath.CategoryTheory.Core.Prelude. Require Import UniMath.CategoryTheory.Categories.HSET.All. Require Import UniMath.CategoryTheory.Categories.HSET.SetCoends. Require Import UniMath.CategoryTheory.Profunctors.Core. Require Import UniMath.CategoryTheory.Profunctors.Examples. Require Import UniMath.CategoryTheory.Profunctors.Transformation.