proposition: Proposition disp_univalent_2_1_disp_bicat_comp_cat : disp_univalent_2_1 disp_bicat_comp_cat.
proof: Proof. use fiberwise_local_univalent_is_univalent_2_1. refine (λ (C₁ C₂ : cat_with_terminal_cleaving) (F : functor_with_terminal_cleaving C₁ C₂) (χ₁ : comprehension_functor C₁) (χ₂ : comprehension_functor C₂) (Fχ₁ Fχ₂ : comprehension_nat_trans χ₁ χ₂ F), _). use isweqimplimpl. - intros p ; cbn. use disp_nat_trans_eq. intros x xx. use subtypePath. { intro. apply homset_property. } refine (_ @ pr1 p x xx @ _) ; cbn. + refine (!_). refine (_ @ id_right _). apply maponpaths. apply comprehension_functor_mor_id. + apply id_left. - cbn -[isaprop]. unfold comprehension_nat_trans in *. use (isaset_disp_nat_trans _ (disp_functor_composite χ₁ (disp_codomain_functor F)) (disp_functor_composite (comp_cat_type_functor F) χ₂)). - use isaproptotal2. + intro. apply isaprop_is_disp_invertible_2cell. + intros. apply isaprop_comprehension_nat_trans_eq. Qed.
imports: UniMath.Foundations.All UniMath.MoreFoundations.All UniMath.CategoryTheory.Core.Prelude UniMath.CategoryTheory.DisplayedCats.Core UniMath.CategoryTheory.DisplayedCats.Functors UniMath.CategoryTheory.DisplayedCats.NaturalTransformations UniMath.CategoryTheory.DisplayedCats.Fibrations UniMath.CategoryTheory.DisplayedCats.Isos UniMath.CategoryTheory.DisplayedCats.Univalence UniMath.CategoryTheory.DisplayedCats.Codomain UniMath.CategoryTheory.DisplayedCats.Codomain.CodFunctor UniMath.CategoryTheory.DisplayedCats.DisplayedFunctorEq UniMath.CategoryTheory.DisplayedCats.ComprehensionC UniMath.CategoryTheory.Limits.Terminal UniMath.CategoryTheory.Limits.Preservation UniMath.Bicategories.Core.Bicat UniMath.Bicategories.Core.Examples.BicatOfUnivCats UniMath.Bicategories.ComprehensionCat.BicatOfCompCat.DispCatTerminal UniMath.Bicategories.ComprehensionCat.BicatOfCompCat.FibTerminal UniMath.Bicategories.DisplayedBicats.DispBicat UniMath.Bicategories.DisplayedBicats.DispAdjunctions UniMath.Bicategories.DisplayedBicats.DispInvertibles UniMath.Bicategories.DisplayedBicats.DispUnivalence UniMath.Bicategories.DisplayedBicats.Examples.Sub1Cell UniMath.Bicategories.DisplayedBicats.Examples.DisplayedCatToBicat