proposition: Lemma presheaf_lambda_theory_aux {m n : nat} (f : stn m → (L _ : hSet)) : extend_tuple (λ i : stn m, f i • (λ j, pr (dni lastelement j))) (pr lastelement) = (λ i, let c := invmap (stnweq) i in coprod_rect (λ _, (L (1 + n) : hSet)) (λ i', f i' • (λ j, pr (stnweq (inl j)))) (λ i', pr (stnweq (inr i'))) c).
proof: Proof. apply extend_tuple_eq. - intro i. symmetry. exact (maponpaths _ (homotinvweqweq _ _)). - exact (!maponpaths (λ x, let c := x in _) (homotinvweqweq _ _)). 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