proposition: Lemma L_to_presheaf_preserves_comp (m n : nat) (f : (L m : hSet)) (g : stn m → (L n : hSet)) : mor_comp_ax L_to_presheaf m n f g.
proof: Proof. apply (presheaf_morphism_eq (P := PO n) (P' := theory_presheaf L)). intro l. refine (_ @ !presheaf_mor_comp (P'' := theory_presheaf L) _ _ _). apply funextfun. intro t. refine (comp_comp _ f g _ @ !_). apply (maponpaths (comp f)). apply funextfun. intro i. exact (maponpaths (λ x, x t) (!presheaf_mor_comp _ _ _) @ maponpaths (λ x, pr1 x l t) (ProductPrCommutes _ _ _ (pow m) _ _ i)). Qed.
imports: UniMath.Foundations.All UniMath.MoreFoundations.All UniMath.CategoryTheory.Adjunctions.Core UniMath.CategoryTheory.Categories.HSET.Core UniMath.CategoryTheory.Categories.HSET.Limits UniMath.CategoryTheory.Core.Categories UniMath.CategoryTheory.Core.Functors UniMath.CategoryTheory.Core.Isos UniMath.CategoryTheory.Core.NaturalTransformations UniMath.CategoryTheory.DisplayedCats.Core UniMath.CategoryTheory.DisplayedCats.Examples.Cartesian UniMath.CategoryTheory.DisplayedCats.Examples.Sigma UniMath.CategoryTheory.DisplayedCats.Fiber UniMath.CategoryTheory.DisplayedCats.Total UniMath.CategoryTheory.exponentials UniMath.CategoryTheory.FunctorCategory UniMath.CategoryTheory.Limits.BinProducts UniMath.CategoryTheory.Limits.Graphs.Colimits UniMath.CategoryTheory.Limits.Graphs.Limits UniMath.CategoryTheory.Limits.Products UniMath.CategoryTheory.Limits.Terminal UniMath.Combinatorics.StandardFiniteSets UniMath.Combinatorics.Tuples UniMath.AlgebraicTheories.AlgebraicTheories UniMath.AlgebraicTheories.AlgebraicTheoryCategory UniMath.AlgebraicTheories.AlgebraicTheoryCategoryCore UniMath.AlgebraicTheories.AlgebraicTheoryMorphisms UniMath.AlgebraicTheories.Examples.EndomorphismTheory UniMath.AlgebraicTheories.Examples.Plus1Presheaf UniMath.AlgebraicTheories.LambdaTheories UniMath.AlgebraicTheories.LambdaTheoryCategory UniMath.AlgebraicTheories.LambdaTheoryCategoryCore UniMath.AlgebraicTheories.LambdaTheoryMorphisms UniMath.AlgebraicTheories.PresheafCategory UniMath.AlgebraicTheories.PresheafCategoryCore UniMath.AlgebraicTheories.PresheafMorphisms UniMath.AlgebraicTheories.Presheaves