proposition: Proposition isaprop_is_hor_gregarious_equivalence (H : vertically_saturated B) (HB_2_1 : locally_univalent_verity_double_bicat B) {x y : B} (h : x --> y) : isaprop (is_hor_gregarious_equivalence h).
proof: Proof. use invproofirrelevance. intros φ₁ φ₂. use (path_is_hor_gregarious_equivalence 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. * use (square_between_companions φ₁). apply (pr12 φ₂). * use (square_between_companions φ₂). apply (pr12 φ₁). + 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.CategoryTheory.TwoSidedDisplayedCats.TwoSidedDispCat UniMath.CategoryTheory.TwoSidedDisplayedCats.Isos UniMath.CategoryTheory.TwoSidedDisplayedCats.Univalence UniMath.CategoryTheory.TwoSidedDisplayedCats.Discrete UniMath.Bicategories.Core.Bicat UniMath.Bicategories.Core.Unitors UniMath.Bicategories.Morphisms.Adjunctions UniMath.Bicategories.Core.AdjointUnique UniMath.Bicategories.Core.Univalence UniMath.Bicategories.DoubleCategories.DoubleBicat.VerityDoubleBicat UniMath.Bicategories.DoubleCategories.DoubleBicat.DerivedLaws UniMath.Bicategories.DoubleCategories.DoubleBicat.UnderlyingCats UniMath.Bicategories.DoubleCategories.DoubleBicat.CellsAndSquares UniMath.Bicategories.DoubleCategories.DoubleBicat.LocalUnivalence UniMath.Bicategories.DoubleCategories.DoubleBicat.CompanionPairs UniMath.Bicategories.DoubleCategories.DoubleBicat.CompanionPairUnique UniMath.Bicategories.DoubleCategories.DoubleBicat.CompanionPairAdjEquiv