proposition: Proposition isaprop_companion_pair {B : verity_double_bicat} (H : vertically_saturated B) (HB_2_1 : locally_univalent_verity_double_bicat B) {x y : B} (h : x --> y) : isaprop (∑ (v : x -|-> y), are_companions h v).
proof: Proof. use invproofirrelevance. intros φ₁ φ₂. use (eq_companion_of_hor H HB_2_1). - use (v_sq_isotoid_2_1 H HB_2_1). use make_invertible_vertical_square. + use make_invertible_vertical_square_data. * exact (square_between_companions (pr2 φ₁) (pr2 φ₂)). * exact (square_between_companions (pr2 φ₂) (pr2 φ₁)). + split. * apply comp_square_between_companions. * apply comp_square_between_companions. - rewrite v_sq_idtoiso_isotoid_2_1 ; cbn. apply square_between_companions_unit. - rewrite v_sq_idtoiso_isotoid_2_1 ; cbn. apply square_between_companions_counit. Qed.
imports: UniMath.MoreFoundations.All UniMath.CategoryTheory.Core.Prelude UniMath.Bicategories.Core.Bicat UniMath.Bicategories.Core.Unitors UniMath.Bicategories.Core.Invertible_2cells UniMath.Bicategories.Core.Univalence UniMath.Bicategories.Core.BicategoryLaws UniMath.Bicategories.Morphisms.Adjunctions UniMath.Bicategories.DoubleCategories.DoubleBicat.VerityDoubleBicat UniMath.Bicategories.DoubleCategories.DoubleBicat.DerivedLaws UniMath.Bicategories.DoubleCategories.DoubleBicat.CellsAndSquares UniMath.Bicategories.DoubleCategories.DoubleBicat.UnderlyingCats UniMath.Bicategories.DoubleCategories.DoubleBicat.LocalUnivalence UniMath.Bicategories.DoubleCategories.DoubleBicat.CompanionPairs