Lemma is_functor_from_cleaving_data : is_functor fiber_functor_from_cleaving_data. Proof. split. - intro d; cbn. apply pathsinv0. apply path_to_ctr. etrans; [apply id_left_disp |]. apply pathsinv0. etrans. { apply maponpaths. apply id_right_disp. } etrans; [ apply transport_f_f |]. unfold transportb. apply maponpaths_2. apply homset_property. - intros d'' d' d ff' ff; cbn. apply pathsinv0. apply path_to_ctr. etrans; [apply mor_disp_transportf_postwhisker |]. apply pathsinv0. etrans. { apply maponpaths; apply mor_disp_transportf_prewhisker. } etrans; [apply transport_f_f |]. apply transportf_comp_lemma. apply pathsinv0. etrans; [apply assoc_disp_var |]. apply pathsinv0. apply transportf_comp_lemma. apply pathsinv0. etrans ; [ apply maponpaths, cartesian_factorisation_commutes |]. etrans ; [ apply mor_disp_transportf_prewhisker |]. apply pathsinv0. apply transportf_comp_lemma. apply pathsinv0. etrans; [ apply assoc_disp |]. apply pathsinv0. apply transportf_comp_lemma. apply pathsinv0. etrans; [ apply maponpaths_2, cartesian_factorisation_commutes |]. etrans; [ apply mor_disp_transportf_postwhisker |]. etrans. { apply maponpaths. apply assoc_disp_var. } etrans. { apply transport_f_f. } apply maponpaths_2, homset_property. Qed.
Require Import UniMath.Foundations.Sets. Require Import UniMath.MoreFoundations.All. Require Import UniMath.CategoryTheory.Core.Categories. Require Import UniMath.CategoryTheory.Core.Isos. Require Import UniMath.CategoryTheory.Core.NaturalTransformations. Require Import UniMath.CategoryTheory.Core.Univalence. Require Import UniMath.CategoryTheory.Core.Functors. Require Import UniMath.CategoryTheory.Categories.HSET.Core. Require Import UniMath.CategoryTheory.Categories.HSET.MonoEpiIso. Require Import UniMath.CategoryTheory.Categories.HSET.Univalence. Require Import UniMath.CategoryTheory.Limits.Pullbacks. Require Import UniMath.CategoryTheory.Adjunctions.Core. Require Import UniMath.CategoryTheory.Equivalences.Core. Require Import UniMath.CategoryTheory.FunctorCategory. Require Import UniMath.CategoryTheory.opp_precat. Require Import UniMath.CategoryTheory.Presheaf. Require Import UniMath.CategoryTheory.DisplayedCats.Core. Require Import UniMath.CategoryTheory.DisplayedCats.Functors. Require Import UniMath.CategoryTheory.DisplayedCats.NaturalTransformations. Require Import UniMath.CategoryTheory.DisplayedCats.Fiber. Require Import UniMath.CategoryTheory.DisplayedCats.Isos. Require Import UniMath.CategoryTheory.DisplayedCats.Univalence. Require Import UniMath.CategoryTheory.DisplayedCats.Examples.Opposite. Section IsoCleavingFromOpcleaving. End IsoCleavingFromOpcleaving.