Definition make_enrichment_over_struct_data : enrichment_data C (monoidal_cat_of_hset_struct P). Proof. simple refine (_ ,, _ ,, _ ,, _ ,, _). - exact (λ x y, _ ,, SC x y). - refine (λ x, (λ _, identity _) ,, _). abstract (cbn ; apply hset_struct_const). - simple refine (λ x y z, _ ,, _) ; cbn in *. + exact (λ fg, pr2 fg · pr1 fg). + apply struct_enrichment_comp. - refine (λ x y f, (λ _, f) ,, _). apply hset_struct_const. - exact (λ x y f, pr1 f tt). Defined.
Require Import UniMath.Foundations.All. Require Import UniMath.MoreFoundations.All. Require Import UniMath.CategoryTheory.Core.Categories. Require Import UniMath.CategoryTheory.Core.Isos. Require Import UniMath.CategoryTheory.Core.Functors. Require Import UniMath.CategoryTheory.Core.NaturalTransformations. Require Import UniMath.CategoryTheory.Core.Univalence. Require Import UniMath.CategoryTheory.DisplayedCats.Structures.CartesianStructure. Require Import UniMath.CategoryTheory.DisplayedCats.Structures.StructureLimitsAndColimits. Require Import UniMath.CategoryTheory.Monoidal.WhiskeredBifunctors. Require Import UniMath.CategoryTheory.Monoidal.Categories. Require Import UniMath.CategoryTheory.Monoidal.Structure.Cartesian. Require Import UniMath.CategoryTheory.Monoidal.Examples.StructuresMonoidal. Require Import UniMath.CategoryTheory.EnrichedCats.Enrichment. Require Import UniMath.CategoryTheory.EnrichedCats.EnrichmentFunctor. Section FromStructEnrichment. End FromStructEnrichment.