nLab hom type

Redirected from "hom types".

Contents

Idea

In dependent type theory, a hom type on a type AA is a dependent type hom A(x,y)\mathrm{hom}_A(x, y) which models the hom spaces of โˆž \infty -categories.

Definition

In simplicial homotopy type theory

There are multiple different formalisms of simplicial homotopy type theory; two of them are given in Gratzer, Weinberger, & Buchholtz 2024 and in Riehl & Shulman 2017, and in each formalism there is a different way to define the hom type.

Directed interval via axioms

In simplicial homotopy type theory where the directed interval primitive ๐Ÿš\mathbb{2} is defined via axioms as a bounded total order, the hom type is defined as the dependent sum type

hom A(x,y)โ‰”โˆ‘ f:๐Ÿšโ†’A(f(0)= Ax)ร—(f(1)= Ay)\mathrm{hom}_A(x, y) \coloneqq \sum_{f:\mathbb{2} \to A} (f(0) =_A x) \times (f(1) =_A y)

Type theory with shapes formalism

In simplicial homotopy type theory in the type theory with shapes formalism, the hom type is defined as the extension type

hom A(x,y)โ‰”โŸจฮ” 1โ†’A| [x,y] โˆ‚ฮ” 1โŸฉ\mathrm{hom}_A(x, y) \coloneqq \langle \Delta^1 \to A \vert_{[x,y]}^{\partial \Delta^1} \rangle

where ฮ” 1\Delta^1 is the directed interval primitive ๐Ÿš\mathbb{2} and โˆ‚ฮ” 1\partial \Delta^1 is the boundary of ฮ” 1\Delta^1.

References

Last revised on August 9, 2024 at 15:39:22. See the history of this page for a list of all contributions to it.