9.8 The structure identity principle
The structure identity principle is an informal principle that expresses that isomorphic structures are identical. We aim to prove a general abstract result which can be applied to a wide family of notions of structure, where structures may be many-sorted or even dependently-sorted, infinitary, or even higher order.
The simplest kind of single-sorted structure consists of a type with no additional structure. The univalence axiom expresses the structure identity principle for that notion of structure in a strong form: for types , the canonical function is an equivalence.
We start with a precategory . In our application to single-sorted first order structures, will be the category of -small sets, where is a univalent type universe.
Definition 9.8.1.
A notion of structure over consists of the following.
-
1.
A type family . For each the elements of are called -structures on .
- 2.
-
3.
For and , we have .
-
4.
For and , , , if , we have
When is a notion of structure, for we define
By 3 and 4, this is a preorder (\autorefct:orders) with its type of objects. We say that is a standard notion of structure if this preorder is in fact a partial order, for all .
Note that for a standard notion of structure, each type must actually be a set. We now define, for any notion of structure , a precategory of -structures, .
-
•
The type of objects of is the type . If , we may write .
-
•
For and , we define
The composition and identities are inherited from ; conditions 3 and 4 ensure that these lift to .
Theorem 9.8.2 (Structure identity principle).
If is a category and is a standard notion of structure over , then the precategory is a category.
Proof.
By the definition of equality in dependent pair types, to give an equality consists of
-
•
An equality , and
-
•
An equality .
Since is set-valued, the latter is a mere proposition. On the other hand, it is easy to see that an isomorphism in consists of
-
•
An isomorphism in , such that
-
•
and .
Of course, the second of these is also a mere proposition. And since is a category, the function is an equivalence. Thus, it will suffice to show that for any and for any , , we have if and only if both and .
As an example, this methodology gives an alternative way to express the proof of \autorefct:functor-cat.
Example 9.8.3.
Let be a precategory and a category. There is a precategory whose objects are functions , and whose set of morphisms from to is . Composition and identities are inherited directly from those in . It is easy to show that is an isomorphism exactly when each component is an isomorphism, so that we have . Moreover, the map of is equal to the composite
in which the first map is an equivalence by function extensionality, the second because it is a dependent product of equivalences (since is a category), and the third as remarked above. Thus, is a category.
Now we define a notion of structure on for which is the type of operations which extend to a functor (i.e. preserve composition and identities). This is a set since each is so. Given such and , we define to be a homomorphism if it forms a natural transformation. In \autorefct:functor-precat we essentially verified that this is a notion of structure. Moreover, if and are both structures on and the identity is a natural transformation from to , then for any we have . Applying function extensionality, we conclude . Thus, we have a standard notion of structure, and so by \autorefthm:sip, the precategory is a category.
As another example, we consider categories of structures for a first-order signature. We define a first-order signature, , to consist of sets and of function symbols, , and relation symbols, , each having an arity that is a set. An -structure consists of a set together with an assignment of an -ary function on to each function symbol, , and an assignment of an -ary relation on , assigning a mere proposition to each , to each relation symbol. And given -structures , a function is a homomorphism if it preserves the structure; i.e. if for each symbol of the signature and each ,
-
1.
if , and
-
2.
if .
Note that each is a function so that .
Now we assume given a (univalent) universe and a -small signature ; i.e. is a -small set and, for each , the set is -small. Then we have the category of -small sets. We want to define the precategory of -small -structures over and use \autorefthm:sip to show that it is a category.
We use the first order signature to give us a standard notion of structure over .
Definition 9.8.4.
-
1.
For each -small set define
Here
-
2.
For -small sets and , define
Here
It is now routine to check that is a standard notion of structure over and hence we may use \autorefthm:sip to get that the precategory is a category. It only remains to observe that this is essentially the same as the precategory of -small -structures over .
Title | 9.8 The structure identity principle |
\metatable |