proposition: Proposition make_poset_enrichment_laws : poset_enrichment_laws make_poset_enrichment_data.
proof: Proof. repeat split. - intros x y z f₁ f₂ g p ; cbn. rewrite !enriched_from_arr_comp ; cbn. pose (Ef₁ := enriched_from_arr E f₁ : monotone_function _ _). pose (Ef₂ := enriched_from_arr E f₂ : monotone_function _ _). pose (Eg := enriched_from_arr E g : monotone_function _ _). use (pr2 (enriched_comp E x y z) (Eg tt ,, Ef₁ tt) (Eg tt ,, Ef₂ tt)). split. + apply refl_PartialOrder. + exact p. - intros x y z f g₁ g₂ p ;cbn. rewrite !enriched_from_arr_comp ; cbn. pose (Ef := enriched_from_arr E f : monotone_function _ _). pose (Eg₁ := enriched_from_arr E g₁ : monotone_function _ _). pose (Eg₂ := enriched_from_arr E g₂ : monotone_function _ _). use (pr2 (enriched_comp E x y z) (Eg₁ tt ,, Ef tt) (Eg₂ tt ,, Ef tt)). split. + exact p. + apply refl_PartialOrder. Qed.
imports: UniMath.Foundations.All UniMath.MoreFoundations.All UniMath.OrderTheory.Posets UniMath.CategoryTheory.Core.Categories UniMath.CategoryTheory.Core.Isos UniMath.CategoryTheory.Core.Functors UniMath.CategoryTheory.Core.NaturalTransformations UniMath.CategoryTheory.Core.Univalence UniMath.CategoryTheory.DisplayedCats.Examples.CategoryOfPosets UniMath.CategoryTheory.Monoidal.WhiskeredBifunctors UniMath.CategoryTheory.Monoidal.Categories UniMath.CategoryTheory.Monoidal.Structure.Cartesian UniMath.CategoryTheory.Monoidal.Examples.PosetsMonoidal UniMath.CategoryTheory.EnrichedCats.Enrichment UniMath.CategoryTheory.EnrichedCats.EnrichmentFunctor