Module docstring
{"# Categorical (co)products
This file defines (co)products as special cases of (co)limits.
A product is the categorical generalization of the object Π i, f i where f : ι → C. It is a
limit cone over the diagram formed by f, implemented by converting f into a functor
Discrete ι ⥤ C.
A coproduct is the dual concept.
Main definitions
- a
Fanis a cone over a discrete category Fan.mkconstructs a fan from an indexed collection of maps- a
Piis alimit (Discrete.functor f)
Each of these has a dual.
Implementation notes
As with the other special shapes in the limits library, all the definitions here are given as
abbreviations of the general statements for limits, so all the simp lemmas and theorems about
general limits can be used.
","(Co)products over a type with a unique term.
"}