nLab walking morphism

Redirected from "directed interval category".

Context

Category theory

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

Contents

Definition

The walking morphism (Ozornova & Rovelli 2024, Cisinski et al.), free-standing morphism, or free-living morphism – often denoted 22 or II or Δ[1]\Delta[1] – is the category with two objects and precisely one nontrivial morphism connecting them:

I={01}. I = \left\{ 0 \to 1 \right\} \,.

The walking morphism serves as a combinatorial model for the directed interval, hence the notation II. It is the directed canonical interval object in Cat. As a result, it may be called the directed interval or directed interval category. It may also be called the interval or interval category, although both terms are overloaded:

It is also commonly called the interval preorder or the interval poset (since it is indeed a poset).

The walking morphism might also be called the “arrow category” although that term is also used for a category of functors out of II.

The notation 22 comes from the fact that the walking morphism is also the ordinal number 22 regarded as a poset, regarded as a category.

It also appears as

Since every category is also an (n,r)-category for n,r1n,r \geq 1, we may regard II also as some (n,r)(n,r)-category. For instance regarded as a (∞,1)-category and modeled as a quasi-category, the walking morphism is the simplicial set Δ[1]\Delta[1].

Properties

Relation to the boolean domain

The boolean domain 𝟚\mathbb{2} is the discrete category consisting of two objects 0,1𝟚0, 1 \in \mathbb{2}. The boolean domain is the groupoid core of the walking morphism, and it is a fully faithful subcategory of the walking morphism.

Directed univalence

Since the groupoid core of the walking morphism is the boolean domain, using the recursion principle of the boolean domain, we can recursively define a family of sets B:ISetB:I \to \mathrm{Set} by B 0=B_0 = \emptyset and B 1={*}B_1 = \{*\} (Note that BB is not a functor as it doesn’t preserve morphisms).

The walking morphism satisfies directed univalence: for all objects x,yIx, y \in I, we have a bijection between the function set B y B xB_y^{B_x} and the hom-set hom I(x,y)\mathrm{hom}_I(x, y).

Relation to the walking commutative triangle

The functor category I II^I is equivalent to the walking commutative triangle Δ[2]\Delta[2] consisting of three objects 0,1,2Δ[2]0, 1, 2 \in \Delta[2] and three morphisms h 01:hom Δ[2](0,1)h_{01}:\mathrm{hom}_{\Delta[2]}(0, 1), h 02:hom Δ[2](0,2)h_{02}:\mathrm{hom}_{\Delta[2]}(0, 2), h 12:hom Δ[2](1,2)h_{12}:\mathrm{hom}_{\Delta[2]}(1, 2), such that h 02=h 12h 01h_{02} = h_{12} \circ h_{01}. This is equivalently Phoa's principle for 𝕀\mathbb{I} as a poset.

Relation to the walking isomorphism

Inverting the single non-identity arrow of the walking morphism, we obtain the walking isomorphism, which is an (undirected) interval object in Cat and Grpd.

 In dependent type theory

There are many dependent type theories which have a directed interval type 𝕀\mathbb{I} representing the walking morphism in the sense that given a type AA, we have an equivalence of types between the function type from 𝕀\mathbb{I} to AA and the fibered hom type in AA.

(𝕀A)( x:A y:Ahom A(x,y))\left(\mathbb{I} \to A\right) \simeq \left(\sum_{x:A} \sum_{y:A} \mathrm{hom}_A(x, y)\right)

In simplicial type theory

In simplicial type theory, the directed interval type (Riehl & Shulman 2017) is a bounded total order 𝕀\mathbb{I}. In Gratzer, Weinberger & Buchholtz 2024 and Gratzer, Weinberger & Buchholtz 2025, the directed interval type additionally satisfies synthetic quasi-coherence for finitely generated 𝕀\mathbb{I}-algebras, which is sufficient to prove that 𝕀\mathbb{I} is a synthetic category in the sense of being a simplicial Rezk complete Segal type, and the axiom that 𝕀bool\flat \mathbb{I} \simeq \mathrm{bool} which says that the core of the directed interval is the type of booleans.

In binary parametric observational type theory

In parametric observational type theory with binary internal parametricity or modal parametricity, bridge types behave as hom types and heterogeneous bridge types behave as heterogeneous hom types, and one can define the directed interval type as a higher inductive type. The inference rules are the same as that of the homotopical interval type, except one uses the bridge types Br A(x,y)\mathrm{Br}_A(x, y) instead of the identity types Id A(x,y)\mathrm{Id}_A(x, y) for path constructors and the induction principle.

Definition

The directed interval type is a type 𝕀\mathbb{I} with elements 0:𝕀0:\mathbb{I} and 1:𝕀1:\mathbb{I} and bridge h:Br 𝕀(0,1)h:\mathrm{Br}_\mathbb{I}(0, 1) such that for any type family (P(x)) x:𝕀(P(x))_{x:\mathbb{I}} with elements p 0:P(0)p_0:P(0) and p 1:P(1)p_1:P(1) and heterogeneous bridge p h:hBr P h(p 0,p 1)p_h:\mathrm{hBr}_P^h(p_0, p_1), one can construct a dependent function p: x:𝕀P(x)p:\prod_{x:\mathbb{I}} P(x) such that

p(0)p 0:P(0)p(1)p 1:P(1)apd P(p,0,1,h)p h:hBr P h(p 0,p 1)p(0) \equiv p_0:P(0) \qquad p(1) \equiv p_1:P(1) \qquad \mathrm{apd}_P(p, 0, 1, h) \equiv p_h:\mathrm{hBr}_P^h(p_0, p_1)

In the event that the bridge types are identity types, such as in higher observational type theory, this results in the usual notion of a homotopical interval type. However, one can also postulate that 010 \neq 1 in the directed interval, making the directed interval 𝕀\mathbb{I} different from the homotopical interval type.

Applications

The walking morphism is one of those diagram category that are not terribly interesting in themselves, but that serve an important role in category theory as a whole.

For instance a natural transformation η:FG\eta : F \Rightarrow G between two functors F,G:CDF,G : C \to D is precisely the same as a strictly commuting diagram

C×{0} F C×I η D G C×{1} \array{ C \times \{0\} \\ \downarrow & \searrow^{\mathrlap{F}} \\ C \times I &\stackrel{\eta}{\to}& D \\ \uparrow & \nearrow_{\mathrlap{G}} \\ C \times \{1\} }

in Cat, where on the left we have the cartesian product of CC with II.

Accordingly, for I isoI_{iso} the walking isomorphism, a natural isomorphism η:FG\eta : F \Rightarrow G is the same as a diagram

C×{0} F C×I iso η D G C×{1}. \array{ C \times \{0\} \\ \downarrow & \searrow^{\mathrlap{F}} \\ C \times I_{iso} &\stackrel{\eta}{\to}& D \\ \uparrow & \nearrow_{\mathrlap{G}} \\ C \times \{1\} } \,.

This is a left homotopy in CatCat.

Dually, forming the functor category

Arr(D):=[I,D] Arr(D) := [I,D]

from the walking morphism produces the arrow category of DD, and a natural transformation η\eta is also the same as a diagram

D×{0} F C η [I,D] G D×{1}. \array{ && D \times \{0\} \\ & {}^{\mathllap{F}}\nearrow & \uparrow \\ C &\stackrel{\eta}{\to}& [I,D] \\ & {}_{\mathllap{G}}\searrow & \downarrow \\ && D \times \{1\} } \,.

With II replaced by I isoI_{iso} this is again a natural isomorphism, now represented as a right homotopy in Cat.

The analogous statements are true in higher category theory.

References

The phrase “walking morphism” appears in:

The phrase “directed interval” appears in

The phrase “interval” appears in

Last revised on June 1, 2025 at 03:26:59. See the history of this page for a list of all contributions to it.