A biproduct in a category is an operation that is both a product and a coproduct. Finite biproducts are best known from additive categories and their generalisations.
Morphisms between finite biproducts are encoded in a matrix calculus.
Let be a category with zero morphisms; that is, is enriched over pointed sets (for example, might have a zero object). For two objects in , suppose a product and a coproduct both exist. Then consider the canonical morphism
defined by
where is the zero morphism from to .
If this morphism is an isomorphism, then the isomorphic objects and are called the biproduct of and . This object is often denoted , alluding to the direct sum (which is often an example).
The above definition has a straightforward generalization to biproducts of any number of objects (although this requires extra structure on the category in constructive mathematics if the set indexing these objects might not have decidable equality). A zero object is the biproduct of no objects.
Mike: Can anyone give a definition of a biproduct that doesn’t require the category to be presupposed to have a zero object, but which specializes to a zero object in the 0-ary case?
Toby Bartels: Actually, our current definition does this; I just wrote it badly. Of course, now the category starts with an enriched structure … but at least it is a weaker requirement.
Mike: The reason I ask is that I’m trying to work out an indexed version of biproducts. In a fibration or indexed category, coproducts are left adjoint to reindexing and products are right adjoint , so having -indexed biproducts should mean that some canonical map is an isomorphism. But I’m not having much luck constructing such a canonical map. Perhaps this is related to the need for decidable equality?
Toby: If it helps, here is a bit more on that subject, which I wrote at direct sum:
An arbitrary index set will still work if is enriched over the category of sets and partial functions; this may be embedded as a full subcategory of the category of pointed sets, and the embedding is an equivalence of categories if and only if the law of excluded middle holds. But the usual examples of are not (constructively) so enriched.
Mike: Was that what you had in mind for the “extra structure” above? It occurred to me that it could also mean the existence of “subzero objects,” i.e. is an isomorphism whenever is a subsingleton—which is also, I think, not constructively true in the usual examples.
Toby: Yes, that's what I had in mind. (Although you could also do a more local version, letting the requirement that the index set be discrete and the requirement the hom-sets be enriched over meet halfway, if you see what I mean.)
A category with all finite biproducts is called a semiadditive category. More precisely, this means that has all finite products and coproducts, that the unique map is an isomorphism (hence has a zero object), and that the canonical maps defined above are isomorphisms.
Amusingly, for to be semiadditive, it actually suffices to assume that has finite products and coproducts and that there exists any natural family of isomorphisms — not necessarily the canonical maps constructed above. A proof can be found in
An additive category, although normally defined through the theory of enriched categories, may also be understood as a semiadditive category with an extra property, as explained below.
A semiadditive category is automatically enriched over the monoidal category of abelian monoids with the usual tensor product, as follows.
Given two morphisms in , let their sum be
One proves that is associative and commutative. Of course, the zero morphism is the usual zero morphism given by the zero object:
One proves that is the neutral element for and that this matches the morphism that we began with in the definition.
If additionally every morphism has an inverse , then is enriched over the category of abelian groups and is therefore (precisely) an additive category.
If, on the other hand, the addition of morphisms is idempotent (), then is enriched over the category of semilattices (and is therefore a kind of 2-poset).
Conversely, if is already known to be enriched over abelian monoids, then a binary biproduct may be defined purely diagrammatically as an object together with injections and projections such that (the Kronecker delta?) and . It is easy to check that makes a biproduct, and that any binary biproduct must be of this form. Similarly, an object of such a category is a zero object precisely when , its identity is equal to the zero morphism. It follows that functors enriched over abelian monoids must automatically preserve finite biproducts, so that finite biproducts are a type of Cauchy colimit?. Moreover, any product or coproduct in a category enriched over abelian monoids is actually a biproduct.
For categories enriched over suplattices, this extends to all small biproducts, with the condition replaced by . In particular, the category of suplattices has all small biproducts.