nLab hom type

Context

(,1)(\infty,1)-Category theory

Internal (,1)(\infty,1)-Categories

Directed homotopy type theory

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 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{I} 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{I} \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)Δ 1A| [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.

In dependent type theory

More generally, hom types can be defined for any type AA and any bounded poset II with a bottom element 0:I0:I and a top element 1:I1:I, as the type

hom A,I(x,y) f:IA(f(0)= Ax)×(f(1)= Ay)\mathrm{hom}_{A, I}(x, y) \coloneqq \sum_{f:I \to A} (f(0) =_A x) \times (f(1) =_A y)

References

Last revised on April 10, 2025 at 23:18:14. See the history of this page for a list of all contributions to it.