Documentation

Mathlib.Topology.Category.CompHausLike.Cartesian

Cartesian monoidal structure on CompHausLike #

If the predicate P is preserved under taking type-theoretic products and PUnit satisfies it, then CompHausLike P is a cartesian monoidal category.

If the predicate P is preserved under taking type-theoretic sums, we provide an explicit coproduct cocone in CompHausLike P. When we have the dual of CartesianMonoidalCategory, this can be used to provide an instance of that on CompHausLike P.

def CompHausLike.productCone {P : TopCat → Prop} (X Y : CompHausLike P) [HasProp P (↑X.toTop × ↑Y.toTop)] :

Explicit binary fan in CompHausLike P, given that the predicate P is preserved under taking type-theoretic products.

Instances For
    def CompHausLike.productIsLimit {P : TopCat → Prop} (X Y : CompHausLike P) [HasProp P (↑X.toTop × ↑Y.toTop)] :

    When the predicate P is preserved under taking type-theoretic products, that product is a category-theoretic product in CompHausLike P.

    Instances For
      @[implicit_reducible]
      def CompHausLike.cartesianMonoidalCategory {P : TopCat → Prop} [∀ (X Y : CompHausLike P), HasProp P (↑X.toTop × ↑Y.toTop)] [HasProp P PUnit.{u + 1}] :

      When the predicate P is preserved under taking type-theoretic products and PUnit satisfies it, then CompHausLike P is a cartesian monoidal category.

      This could be an instance but that causes some slowness issues with typeclass search, therefore we keep it as a def and turn it on as an instance for the explicit examples of CompHausLike as needed.

      Instances For
        def CompHausLike.coproductCocone {P : TopCat → Prop} (X Y : CompHausLike P) [HasProp P (↑X.toTop ⊕ ↑Y.toTop)] :

        Explicit binary cofan in CompHausLike P, given that the predicate P is preserved under taking type-theoretic sums.

        Instances For
          def CompHausLike.coproductIsColimit {P : TopCat → Prop} (X Y : CompHausLike P) [HasProp P (↑X.toTop ⊕ ↑Y.toTop)] :

          When the predicate P is preserved under taking type-theoretic sums, that sum is a category-theoretic coproduct in CompHausLike P.

          Instances For