Definition 1.2.12. Let \(C\) be an \(\infty \)-category.

(1)

An object of \(C\) is a functor \(x\colon [0] \to C\);

(2)

A morphism of \(C\) is a functor \(f\colon [1] \to C\). We write \(f(0)\) for its source/domain and \(f(1)\) for its target/codomain, which are defined as the following composites: \[ f(0)\colon [0] \xrightarrow {d_1} [1] \xrightarrow {f} C \qquadtext { and } f(1)\colon [0] \xrightarrow {d_0} [1] \xrightarrow {f} C. \] We will also write \(f\colon x \to y\) to indicate that \(f\) comes with identifications \(x = f(0)\) and \(y = f(1)\).

(3)

A commutative triangle in \(C\) is a functor \(\sigma \colon [2] \to C\). We will frequently denote commutative triangles by

Commutative triangle with vertices y, x, z and arrows labeled g, f, h.

where \(f = \sigma \circ d_2\), \(g = \sigma \circ d_0\) and \(h = \sigma \circ d_1\). We will often leave commutative triangles unnamed, and only label their three edges.