Definition
A type family is a function from an index type to a universe:
This assigns a type to every term .
Remarks
In (and analogous topoi), there is an equivalence of categories:
- LHS (Functor view): The indexed family .
- RHS (Slice view): A Bundle .
The domain of the bundle in the slice category is isomorphic to the coproduct,
The indexed family corresponds to the fibers of the map , not just the coproduct object itself. The coproduct alone forgets which element belongs to which index unless equipped with the projection to .
Summary Table
| Concept | Type Theory | Category Theory |
|---|---|---|
| Family | Functor (discrete ) | |
| Total Space | Coproduct | |
| Bundle Map | Projection | |
| Relationship | ”Fibration” (Dependent Sum) | Grothendieck Construction () |