Categorical Logic and Type Theory
The category of PERs is consist of
- Each object is a PER
- Morphisms are functions between the quotient sets, which are tracked, i.e. for some code , one has where stands for Kleene application: apply -th partial function to .
terminal object [local-1]
and both are terminal objects of the category.
Proof [local-0]
For , we can see the unique function is
since the only element of is , just need to be a constant function maps to . In fact, it's easy to see why for each , the relation is a terminal object.
For , we can see the unique function is
can be any function that codomain is , because for all , the is the same.