The aim of this blog is to explain why the and operators on are natural from a categorical point of view.
Let us consider the category of finite sets, .
It has an initial object and a final object , finite products , and coproducts , exponential object . Here .
It is not hard to see the correspondence between and . I would like to say that and are the most natural two binary operations you can define. Why? If you want to define a binary operator on a set or something similar, you have to pass through . Since a binary operator is a function from to .
The next proposition will claim that and actually come from the adjoint of .
Proposition.. Here, is the diagonal functor. Coproduct and product are binary functors from to , if the coproduct and product exist in .
Proof.
We need to prove that:
and
Both follow directly from the universal property (draw the diagram then see).
This adjunction tells us that in the category of finite sets,
Since if is a locally small category, then the target of , are !
We also have the product-exponential adjunction (or tensor-hom adjunction if you view as a tensor category):
Hence we have .
Obviously, and are associative and commutative by the property of product and coproduct.
The distributive law:
holds since is a left adjoint of and hence preserves colimits.
The natural isomorphism tells us that . being the final object tells us that .
The empty set is the initial object, hence . There is no function . Hence .
Obviously, and are associative and commutative by the property of products and coproducts.
The distributive law:
holds since is a left adjoint of and hence preserves colimits.
The natural isomorphism tells us that . being the final object tells us that .
The empty set is the initial object, hence . There is no function . Hence .
since , and there exists a unique homomorphism from to since is the initial object. Hence . Hence is initial object as well. Hence .
Similarly, since . By Yoneda lemma, .
As you can see, the adherence of these arithmetic laws is not due to magic or coincidence. The operations , , and even the exponential are defined by the adjoint functor. These arithmetic laws either stem from the isomorphism of two functors or from the properties of the adjoint functor, i.e., their ability to preserve colimits. The specific values of are determined by the universal properties of initial and final objects. The cardinality gives us the natural number semantic meaning. But, as you can see, lots of the argument do not depend on the properties of . We will generalize it to cartesian closed category dive in to topos theory.