Homotopy type theory as a language for diagrams of \(\infty\)-logoses


Abstract

We show that certain diagrams of \(\infty\)-logoses are reconstructed in homotopy type theory extended with some lex, accessible modalities, which enables us to use plain homotopy type theory to reason about not only a single \(\infty\)-logos but also a diagram of \(\infty\)-logoses. This also provides a higher dimensional version of Sterling’s synthetic Tait computability—a type theory for higher dimensional logical relations.

1 Introduction↩︎

An \(\infty\)-logos, also known as an \(\infty\)-topos [1], [2]1, is an \((\infty, 1)\)-category that looks like the \((\infty, 1)\)-category of spaces, among other aspects of it. An \(\infty\)-logos is a place where one can do homotopy theory just as an ordinary logos is a place where one can do set-level mathematics.

Homotopy type theory [3] is another place to do homotopy theory. It is a type theory in the style of Martin-Löf [4] extended by the univalence axiom and higher inductive types. The former forces types to behave like spaces rather than sets, and the latter allow us to build types representing spaces such as spheres and tori.

\(\infty\)-logoses are conjectured to admit interpretations of homotopy type theory so that theorems proved in homotopy type theory can be translated in an arbitrary \(\infty\)-logos. Although the conjecture has not yet been fully solved (see, for example, [5] for substantial progress), homotopy type theory has brought insight to \(\infty\)-logos theory. For example, the proof of the Blakers-Massey connectivity theorem in homotopy type theory [6] has led to a new generalized Blakers-Massey theorem that holds in an arbitrary \(\infty\)-logos [7].

An \(\infty\)-logos, however, does not live alone. \(\infty\)-logoses are often connected by functors which are also connected by natural transformations. Plain homotopy type theory is, at first sight, not sufficient to reason about a diagram of \(\infty\)-logoses, because the actions of the functors and natural transformations are not internalized to type theory. Even worse, it is impossible to naively internalize some diagrams: some internal adjunction leads a contradiction [8]; there are only trivial internal idempotent comonads [9]. While there is no chance of naive internalization of such interesting but problematic diagrams to plain homotopy type theory, some other diagrams can be internalized in a clever way pointed out by Shulman2. A minimal non-trivial example is a diagram consisting of two \(\infty\)-logoses and a lex, accessible functor between them in one direction. The two \(\infty\)-logoses are lex, accessible localizations of another \(\infty\)-logos obtained by the Artin gluing for the functor, and the functor is reconstructed by composing the inclusion from one localization and the reflector to the other. Moreover, this reconstruction is internal to the glued \(\infty\)-logos, because lex, accessible localizations of an \(\infty\)-logos are expected to correspond to lex, accessible modalities in its internal language. Hence, plain homotopy type theory as a language for the glued \(\infty\)-logos is sufficient to reason about the original diagram.

In this paper, we propose a class of shapes of diagrams of \(\infty\)-logoses for which the internal reconstruction technique explained in the previous paragraph works. We call shapes in the proposed class mode sketches. Our main results are summarized as follows. Let \(\modesketch\) be a mode sketch.

  1. We associate to \(\modesketch\) certain axioms in type theory, one of which is to postulate some lex, accessible modalities from which one can construct a diagram of \(\infty\)-logoses internally to type theory ([sec:modes] [sec:mode-sketches-1]).

  2. We show that the \((\infty,1)\)-category of models of the axioms associated to \(\modesketch\) in \(\infty\)-logoses is equivalent to the \((\infty,1)\)-category of diagrams of \(\infty\)-logoses indexed over \(\modesketch\) ([thm:main-theorem]), where \(\modesketch\) is regarded as a presentation of an \((\infty, 2)\)-category. The right to left construction is given by oplax limits, a generalization of the Artin gluing [10], [11].

In [sec:synth-tait-comp-1] [sec:modal-local] [sec:oplax-limits-1] below, we explain other new results ([prop:canonical-join-accessible] [thm:equiv-two-mode-sketch-axioms] [prop:logos-accessible-oplax-limit] [prop:oplax-univalence] [prop:mate-correspondence]).

This paper is an extended version of our conference paper [12]. The conference version presents [prop:canonical-join-accessible] and proof sketches of [thm:main-theorem] [thm:equiv-two-mode-sketch-axioms]. The current version includes every detail of those results. The statement of [thm:main-theorem] is modified not to rely on an interpretation of type theory in \(\infty\)-logoses.

1.1 Modalities in homotopy type theory↩︎

A modality in homotopy type theory [13][15] is a subuniverse satisfying certain conditions. A modality that is moreover lex and accessible is expected to correspond to a sub-\(\infty\)-topos or a localization of a \(\infty\)-logos [16], [17]. The fracture and gluing theorem of Rijke, Shulman, and Spitters [13] Theorem 3.50 gives a construction of the join \(\mode \lor \modeI\) of two lex modalities \(\mode\) and \(\modeI\) under some assumption. The join obtained by this theorem satisfies that every type \(\ty\) in \(\mode \lor \modeI\) is canonically fractured into a type \(\ty_{\modeI}\) in \(\modeI\) and a type family \(\ty_{\mode}\) on \(\ty_{\modeI}\) valued in \(\mode\), and \(\ty\) is reconstructed as \(\ty \simeq \ilexists_{\var : \ty_{\modeI}} \ty_{\mode}(\var)\).

In this paper, we improve the fracture and gluing theorem. We show that the construction of joins of lex modalities preserves accessibility as well ([prop:canonical-join-accessible]).

1.2 Synthetic Tait computability↩︎

The fracture and gluing theorem is used in Sterling’s synthetic Tait computability [18], [19]. It is a technique of working with logical relations, which are used in the study of type theories and programming languages, in an internal language for the Artin gluing and has applications to, for example, normalization theorems for complex type theories [20], [21]. There the fracture and gluing theorem is instantiated by the closed and open modalities associated to a proposition. Then every type in the internal language is canonically fractured into an open type and a closed (unary, proof-relevant) relation on it which are glued back together. The internal language for the Artin gluing is thus a type theory with an indeterminate proposition in which types are relations and provides a synthetic method of working with logical relations.

In this paper, we relate synthetic Tait computability and mode sketches. The core axiom for synthetic Tait computability is to postulate some indeterminate propositions. We show that part of the axioms associated to a mode sketch is equivalent to postulating a lattice of propositions ([thm:equiv-two-mode-sketch-axioms]).

Mode sketches thus provide a synthetic method of working with logical relations that is alternative to and generalizes synthetic Tait computability. This is also natural from Shulman’s point of view [11] that interpretations of type theory in oplax limits are generalized logical relations. Since we work in homotopy type theory, what we get is actually higher-dimensional logical relations, and our primary application of mode sketches in upcoming paper(s) [22] will be normalization for \(\infty\)-type theories introduced by Nguyen and Uemura [23] as a higher-dimensional generalization of type theories.

1.3 Oplax limits of \((\infty, 1)\)-categories↩︎

Oplax limits are special \((\infty, 2)\)-categorical limits and analogous to oplax limits in \(2\)-category theory [24][26]. Oplax limits indexed over \((\infty, 1)\)-categories are studied by Gepner, Haugseng, and Nikolaus [27] and generalized to arbitrary indexing \((\infty, 2)\)-categories by Gagna, Harpaz, and Lanari [28].

Oplax limits of \(\infty\)-logoses are of our interest. Wraith [10] shows that the oplax limit of a diagram of (elementary) logoses and lex functors is a logos. Lurie [1] Proposition 6.3.2.3 shows that the conical limit of a diagram of \(\infty\)-logoses is an \(\infty\)-logos.

The oplax limit of a diagram classifies oplax natural transformations from a constant diagram to the given diagram just as a (conical) limit classifies natural transformations from a constant diagram. It is known [29] Theorem 3.8.1 that natural transformations between diagrams of \((\infty ,1)\)-categories correspond to fibered functors between the \((\infty, 2)\)-categories of elements of the diagrams. Oplax natural transformations between diagrams of \((\infty, 1)\)-categories are to correspond to not necessarily fibered functors between the \((\infty, 2)\)-categories of elements. Some special cases of this have already been proved: Haugseng et al. [30] Theorem E show the case when the diagrams are indexed over an \((\infty ,1)\)-category; Gagna, Harpaz, and Lanari [28] Corollary 4.4.3 show the case when the domain is constant on the point.

The mate correspondence is a useful source of oplax natural transformations. In the \(2\)-categorical case [31], it asserts that given two diagrams \(\fun\) and \(\funI\) of categories, oplax natural transformations \(\fun \to \funI\) that are point-wise left adjoints correspond to lax natural transformations \(\funI \to \fun\) that are point-wise right adjoints. An \((\infty, 2)\)-categorical version is proved by Haugseng et al. [30] Corollary F in the form of an equivalence between the \((\infty, 1)\)-categories of oplax/lax natural transformations in the special case when the diagrams are indexed over an \((\infty, 1)\)-category.

In this paper, we show some new results on oplax limits of \((\infty, 1)\)-categories. All of them are consequences of results in the literature, but it is worth stating them explicitly. We prove an \(\infty\)-analogue of the result of Wraith [10]: the oplax limit of a diagram of \(\infty\)-logoses and lex, accessible functors is an \(\infty\)-logos ([prop:logos-accessible-oplax-limit]). We show that oplax natural transformations between diagrams of \((\infty, 1)\)-categories correspond to arbitrary functors between the \((\infty, 2)\)-categories of elements ([prop:oplax-univalence]) by reducing it to the special cases proved by Haugseng et al. [30] and Gagna, Harpaz, and Lanari [28]. We show the mate correspondence for diagrams indexed over an arbitrary \((\infty, 2)\)-category in the form of an equivalence between the spaces of oplax/lax natural transformations ([prop:mate-correspondence]).

1.4 Organization↩︎

The paper is split into two parts. The first part ([sec:modal-homot-type] [sec:mode-sketches] [sec:mode-sketch-synth]) provides the theory of mode sketches internally to type theory. The second part ([sec:high-categ-theory] [sec:semant-mode-sketch]) is devoted to semantics of mode sketches in \(\infty\)-logoses. The two parts are independent of each other on a technical level.

In 2, we review the theory of modalities in homotopy type theory [13]. Our focus is on the poset of lex, accessible modalities and on the open and closed modalities associated to propositions.

[sec:mode-sketches,sec:mode-sketch-synth] are the core of the paper. We introduce the notion of a mode sketch ([def:mode-sketch]). For every mode sketch, we introduce two equivalent sets of axioms to encode a certain diagram of universes. One postulates some lex, accessible modalities while the other postulates a lattice of propositions. The open and closed modalities give a construction of the former from the latter which we show is an equivalence ([thm:equiv-two-mode-sketch-axioms]). The latter is a higher dimensional analogue of Sterling’s synthetic Tait computability [19].

5 is a preliminary section needed for the semantics of mode sketches.

Finally in 6, we show our main result ([thm:main-theorem]): for any mode sketch, the \((\infty,1)\)-category of models of the axioms associated to the mode sketch in \(\infty\)-logoses is equivalent to the \((\infty,1)\)-category of diagrams of \(\infty\)-logoses and lex, accessible functors indexed over the mode sketch.

1.5 Related work↩︎

An earlier version of cohesive homotopy type theory [32] uses modalities in plain homotopy type theory to internalize a series of adjunctions that arises in Lawvere’s axiomatic cohesion [33]. However, because naive internalization of adjunctions do not work well [8], [9], the axiomatization is tricky and not ideal to work with. The newer version of cohesive homotopy type theory [9] instead extends homotopy type theory by another layer of context and new modal operators. The resulting type theory works well for axiomatic cohesion but is complicated compared to plain homotopy type theory. It is also too optimized for axiomatic cohesion.

A more general framework for internal diagrams is multimodal dependent type theory [34]. It is roughly a family of type theories related to each other via modal operators and interpreted in a diagram of presheaf categories. The shape of diagram is specified directly by an arbitrary \(2\)-category which is called a mode theory in this context. Our terminology “mode sketch” is chosen to mean a sketch of a mode theory. Multimodal dependent type theory is potentially an internal language for diagrams of \(\infty\)-logoses, but for this one would have to rectify not only \(\infty\)-logoses but also functors and natural transformations between them.

Our work brings back the ideas of earlier cohesive homotopy type theory. Although it might not be the best type theory, it has a lot of advantages: modalities are internal to plain homotopy type theory, and thus all results are ready to formalize in existing proof assistants; keeping type theory simple is also important in informal use of type theory in which the correctness of application of inference rules is not checked by computer; the semantics is no more complicated than the \(\infty\)-logos semantics of homotopy type theory; it also opens the door to internalization of more general diagrams in a uniform way, which is the motivation for the current work.

2 Modalities in homotopy type theory↩︎

We review the theory of modalities in homotopy type theory [13]. In this section, we work in homotopy type theory. By homotopy type theory we mean dependent type theory with (dependent) function types, (dependent) pair types, a unit type, identity types (without equality reflection), at least two univalent universes $ : ,$ an empty type, pushouts, and localizations [13, Sec. 2.2]. Note that truncations are instances of localization. We mainly follow the HoTT Book [3] for terminologies and notations in homotopy type theory.

A modality is in short a reflective subuniverse closed under pair types.

A subuniverse \(\mode\) is a function \(\ilIn_{\mode} : \univ \to \enlarge \univ\) such that \(\ilIn_{\mode}(\ty)\) is a proposition for all \(\ty : \univ\). A type \(\ty\) satisfying \(\ilIn_{\mode}(\ty)\) is called \(\mode\)-modal. We define a subtype \(\univ_{\mode} \subset \univ\) to be \(\{\ty : \univ \mid \ilIn_{\mode}(\ty)\}\).

A subuniverse \(\mode\) is reflective if it is equipped with functions \(\opModality_{\mode} : \univ \to \univ_{\mode}\) and \(\unitModality_{\mode} : \ilforall_{\ty : \univ} \ty \to \opModality_{\mode} \ty\) such that that the precomposition \(\ilAbs \map. \map \comp \unitModality_{\mode}(\ty) : (\opModality_{\mode} \ty \to \tyI) \to (\ty \to \tyI)\) is an equivalence for any \(\tyI : \univ_{\mode}\). Note that such a pair \((\opModality_{\mode}, \unitModality_{\mode})\) is unique.

A reflective subuniverse \(\mode\) is a modality if \(\ilIn_{\mode}\) is closed under pair types, that is, for \(\ty : \univ\) and \(\tyI : \ty \to \univ\), if \(\ilIn_{\mode}(\ty)\) and \(\ilforall_{\el : \ty} \ilIn_{\mode}(\tyI(\el))\), then \(\ilIn_{\mode}(\ilexists_{\el : \ty} \tyI(\el))\).

An important class of modalities is accessible modalities which are roughly modalities “presented by small data”.

For types \(\ty, \tyI : \univ\), we say \(\ty\) is left orthogonal to \(\tyI\) or \(\tyI\) is right orthogonal to \(\ty\) and write \(\ty \relOrth \tyI\) if the function \(\ilAbs (\elI : \tyI). \ilAbs (\blank : \ty). \elI : \tyI \to (\ty \to \tyI)\) is an equivalence. For a subuniverse \(\mode\), we define subuniverses \(\mode^{\orthMark}\) and \({}^{\orthMark}\mode\) by \[\begin{align} \begin{autobreak} \ilIn_{\mode^{\orthMark}}(\tyI) \defeq \ilforall_{\ty : \univ_{\mode}} \ty \relOrth \tyI \end{autobreak} \\ \begin{autobreak} \ilIn_{{}^{\orthMark}\mode}(\ty) \defeq \ilforall_{\tyI : \univ_{\mode}} \ty \relOrth \tyI. \end{autobreak} \end{align}\]

A null generator \(\nullgen\) consists of \(\idxNullGen_{\nullgen} : \univ\) and \(\tyNullGen_{\nullgen} : \idxNullGen_{\nullgen} \to \univ\). We write \(\ilNullGen\) for the type of null generators. Given a null generator \(\nullgen\), we define a subuniverse \(\modeNull(\nullgen)\) by $ {()}() {: {}} {}() .None$ It is shown that \(\modeNull(\nullgen)\) is a modality using a higher inductive type [13] Theorem 2.19. A modality \(\mode\) is accessible if it is in the image of \(\modeNull\), that is, $ .None$

Another important class of modalities is lex modalities.

For a modality \(\mode\), a type \(\ty : \univ\) is \(\mode\)-connected if \(\opModality_{\mode} \ty\) is contractible. This is equivalent to \(\ilIn_{{}^{\orthMark}\mode}(\ty)\) by [13] Corollary 1.37.

A modality \(\mode\) is lex if for any \(\mode\)-connected type \(\ty : \univ\), the identity type \(\el_{1} = \el_{2}\) is \(\mode\)-connected for any \(\el_{1}, \el_{2} : \ty\).

Modalities that are both lex and accessible are of particular importance because they correspond to subtoposes of an \(\infty\)-topos under the interpretation of types as sheaves on the \(\infty\)-topos. From now on, we are mostly interested lex, accessible modalities, so we give them a short name.

Terminology 1. is an acronym for lex, accessible modality.

Fundamental examples of are open and closed modalities which correspond to open and closed, respectively, subtoposes.

Construction 1. Let \(\propo\) be a proposition. We define the open modality \(\modeOpen(\propo)\) by $ {()} ()None$ and $ {()}(, ) . .None$ It is lex and accessible by [13] Example 2.24 and Example 3.10. We also define the closed modality \(\modeClosed(\propo)\) by $ _{()}() (()).None$ It is lex and accessible by [13] Example 2.25 and Example 3.14. Note that \(\modeClosed(\propo) = {}^{\orthMark} \modeOpen(\propo)\) [13] Example 1.31.

2.1 The poset of lex, accessible modalities↩︎

Let \(\ilSU\) denote the poset of subuniverses where \(\mode \le \modeI\) if \(\ilIn_{\mode}(\ty) \to \ilIn_{\modeI}(\ty)\) for every \(\ty : \univ\). We have the full subposets of \(\ilSU\) \[\ilRSU \supset \ilModality \supset \ilAccModality \supset \ilLexAcc\] consisting of reflective subuniverses, modalities, accessible modalities, and lex, accessible modalities, respectively. We also have the full subposet $ $ of lex modalities. By definition, \(\ilLexAcc = \ilLex \cap \ilAccModality\). We study the poset \(\ilLexAcc\) in more detail.

Let \(\idxsh : \univ\) and \(\mode : \idxsh \to \ilLexAcc\). A canonical meet \(\bigland_{\idx : \idxsh} \mode(\idx)\) is a that is the meet of \(\mode(\idx)\)’s in \(\ilSU\). A canonical join \(\biglor_{\idx : \idxsh} \mode(\idx)\) is a satisfying that a type \(\ty : \univ\) is \((\biglor_{\idx : \idxsh} \mode(\idx))\)-connected if and only if it is \(\mode(\idx)\)-connected for all \(\idx : \idxsh\). Note that a canonical join is the join in \(\ilModality\).

The top modality \(\modeTop\), for which all the types are modal, is the canonical meet of the empty family. The bottom modality \(\modeBottom\), for which only the contractible types are modal, is the canonical join of the empty family.

The canonical meet of an arbitrary family of exists [13] Theorem 3.29 and Remark 3.23. Canonical joins are less understood than canonical meets. One important case when canonical joins exist and can be computed is the following.

Let \(\mode\) and \(\modeI\) be . \(\modeI\) is strongly disjoint from \(\mode\) if any \(\mode\)-modal type is \(\modeI\)-connected or equivalently if \(\mode \le {}^{\orthMark}\modeI\) in \(\ilSU\).

Let \(\mode\) and \(\modeI\) be such that \(\mode \leq {}^{\orthMark}\modeI\).

  1. The canonical join \(\mode \lor \modeI\) exists.

  2. A type \(\ty\) is \((\mode \lor \modeI)\)-modal if and only if the function \(\unitModality_{\modeI}(\ty) : \ty \to \opModality_{\modeI} \ty\) has \(\mode\)-modal fibers.

  3. \(\univ_{\mode \lor \modeI} \simeq \ilexists_{\ty : \univ_{\mode}} \ilexists_{\tyI : \univ_{\modeI}} \ty \to \opModality^{\modeI}_{\mode} \tyI\).

In the special case when \(\mode = {}^{\orthMark} \modeI\), we have \(\mode \lor \modeI = \modeTop\).

Proof. All but the accessibility of \(\mode \lor \modeI\) are proved by Rijke, Shulman, and Spitters [13] Theorem 3.50. We will prove the accessibility of \(\mode \lor \modeI\) in [prop:canonical-join-accessible] below using an open modality. ◻

The distributive law holds in some special cases.

Fact 1 ([13]). Let \(\mode\) and \(\modeI\) be . If \(\opModality_{\mode}\) preserves \(\modeI\)-modal types, then $ {} = {} _{} .None$

Let \(\mode_{1}\), \(\mode_{2}\), and \(\mode_{3}\) be . Suppose \(\mode_{1} \le {}^{\orthMark} \mode_{3}\) and \(\mode_{2} \le {}^{\orthMark} \mode_{3}\). Then $ ({1} {3}) ({2} {3}) = ({1} {2}) _{3}.None$

Proof. Note that the right side exists as \(\mode_{1} \land \mode_{2} \le \mode_{1} \le {}^{\orthMark} \mode_{3}\). Let \(\ty : \univ\). By [prop:join-strongly-disjoint], \(\ty\) is \(((\mode_{1} \lor \mode_{3}) \land (\mode_{2} \lor \mode_{3}))\)-modal if and only if fibers of \(\unitModality_{\mode_{3}}(\ty)\) are both \(\mode_{1}\)-modal and \(\mode_{2}\)-modal, but this is equivalent to that \(\ty\) is \((\mode_{1} \land \mode_{2}) \lor \mode_{3}\)-modal again by [prop:join-strongly-disjoint]. ◻

Let \(\mode_{1}\), \(\mode_{2}\), and \(\mode_{3}\) be . Suppose that \(\mode_{1} \le {}^{\orthMark}\mode_{2}\) and that \(\opModality_{\mode_{2}}\) preserves \(\mode_{3}\)-modal types. Then \((\mode_{1} \lor \mode_{2}) \land \mode_{3} = (\mode_{1} \land \mode_{3}) \lor (\mode_{2} \land \mode_{3})\).

Proof. Note that the right side exists as $ {1} {3} {1} ^{} {2} ^{} ({2} {3}).None$ Let \(\ty\) be a \(((\mode_{1} \lor \mode_{2}) \land \mode_{3})\)-modal type. We show that \(\ty\) is \(((\mode_{1} \land \mode_{3}) \lor (\mode_{2} \land \mode_{3}))\)-modal, which is by [prop:join-strongly-disjoint] equivalent to that \(\unitModality_{\mode_{2} \land \mode_{3}}(\ty) : \ty \to \opModality_{\mode_{2} \land \mode_{3}} \ty\) has \((\mode_{1} \land \mode_{3})\)-modal fibers. Since \(\opModality_{\mode_{2}}\) preserves \(\mode_{3}\)-modal types and since \(\ty\) is \(\mode_{3}\)-modal, \(\unitModality_{\mode_{2} \land \mode_{3}}(\ty)\) is equivalent to \(\unitModality_{\mode_{2}}(\ty) : \ty \to \opModality_{\mode_{2}} \ty\) by 1. The fibers of \(\unitModality_{\mode_{2}}(\ty)\) are \(\mode_{1}\)-modal by [prop:join-strongly-disjoint] and \(\mode_{3}\)-modal since both domain and codomain are \(\mode_{3}\)-modal. ◻

2.2 Accessibility of the canonical join↩︎

Let us fill the gap in the proof of [prop:join-strongly-disjoint].

Let \(\mode\) and \(\modeI\) be such that \(\mode \le {}^{\orthMark} \modeI\). Then the canonical join \(\mode \lor \modeI\) (in \(\ilLex\)) is accessible.

We have to find a null generator for \(\mode \lor \modeI\). A natural guess is the following.

Construction 1. Let \(\nullgen\) and \(\nullgenI\) be null generators. We define a null generator \(\nullgen \join \nullgenI\) by $ {} {} {}None$ and $ {}(, ) {}() {}() {}() +{{}() {}()} _{}().None$

Let \(\mode\) and \(\modeI\) be , and let \(\nullgen\) and \(\nullgenI\) be null generators for \(\mode\) and \(\modeI\), respectively. Then \(\tyNullGen_{\nullgen \join \nullgenI}(\idx, \idxI)\) is both \(\mode\)-connected and \(\modeI\)-connected for all \(\idx : \idxNullGen_{\nullgen}\) and \(\idxI : \idxNullGen_{\nullgenI}\).

Proof. Recall that a function is \(\mode\)-connected if its fibers are \(\mode\)-connected and that the class of \(\mode\)-connected functions is the left class of a (stable) orthogonal factorization system [13] Theorem 1.34. Then the claim follows by the pushout stability and the right cancellability of \(\mode\)-connected and \(\modeI\)-connected functions. ◻

[lem:nullgen-join-connected] shows \(\mode \lor \modeI \le \modeNull(\nullgen \join \nullgenI)\) for arbitrary accessible modalities \(\mode\) and \(\modeI\) and for arbitrary choices of \(\nullgen\) and \(\nullgenI\). We know neither if the other direction holds in general for some choices of \(\nullgen\) and \(\nullgenI\) nor if \(\modeNull(\nullgen \join \nullgenI)\) is independent of \(\nullgen\) and \(\nullgenI\). Note that Finster [35] observed that \(\modeNull(\nullgen \join \nullgenI)\) is lex whenever \(\modeNull(\nullgen)\) and \(\modeNull(\nullgenI)\) are lex. In the special case when \(\mode \le {}^{\orthMark} \modeI\), the idea of the proof of \(\mode \lor \modeI = \modeNull(\nullgen \join \nullgenI)\) is to show that \(\modeI\) is an open modality within the subuniverse of \(\modeNull(\nullgen \join \nullgenI)\)-modal types.

Let \(\mode\) and \(\modeI\) be such that \(\mode \le {}^{\orthMark} \modeI\). Then \(\modeI \le \modeOpen(\opModality_{\mode} \ilEmpty)\).

Proof. This is because \(\opModality_{\mode} \ilEmpty\) is \(\modeI\)-connected by assumption. ◻

Let \(\mode\) and \(\modeI\) be such that \(\mode \le {}^{\orthMark} \modeI\). Suppose that \(\nullgen\) and \(\nullgenI\) are null generators for \(\mode\) and \(\modeI\), respectively, and that \(\nullgen\) admits a function \(\map : \opModality_{\mode} \ilEmpty \to \idxNullGen_{\nullgen}\) such that \(\ilEmpty \simeq \tyNullGen_{\nullgen}(\map(\idx))\) for all \(\idx : \opModality_{\mode} \ilEmpty\). Then \(\opModality_{\modeOpen(\opModality_{\mode} \ilEmpty)} \ty\) is \(\modeI\)-modal for any \(\modeNull(\nullgen \join \nullgenI)\)-modal type \(\ty\). Consequently, the canonical function $ {({} )} _{} $ induced by [lem:disjoint-mode-open] is an equivalence for any \(\modeNull(\nullgen \join \nullgenI)\)-modal type \(\ty\).

Proof. We show that \(\opModality_{\modeOpen(\opModality_{\mode} \ilEmpty)} \ty \defeq (\opModality_{\mode} \ilEmpty \to \ty)\) is \(\modeI\)-modal. Since \(\nullgenI\) is a null generator for \(\modeI\), it suffices to show that \(\tyNullGen_{\nullgenI}(\idxI) \relOrth (\opModality_{\mode} \ilEmpty \to \ty)\) for all \(\idxI : \idxNullGen_{\nullgenI}\). This is equivalent to that \(\tyNullGen_{\nullgenI}(\idxI) \relOrth \ty\) under an assumption \(\idx : \opModality_{\mode} \ilEmpty\). This holds since $ {}() {}() {}(()) {}()None$ and since \(\ty\) is \(\modeNull(\nullgen \join \nullgenI)\)-modal. ◻

Let \(\mode\) and \(\modeI\) be such that \(\mode \le {}^{\orthMark} \modeI\). Suppose that \(\nullgen\) and \(\nullgenI\) are null generators for \(\mode\) and \(\modeI\), respectively, and that \(\nullgenI\) has an element \(\idxI : \idxNullGen_{\nullgenI}\) such that \(\tyNullGen_{\nullgenI}(\idxI) \simeq \opModality_{\mode} \ilEmpty\). Then, if a type \(\ty\) is \(\modeNull(\nullgen \join \nullgenI)\)-modal and \(\modeOpen(\opModality_{\mode} \ilEmpty)\)-connected, then it is \(\mode\)-modal.

Proof. We show that \(\tyNullGen_{\nullgen}(\idx) \relOrth \ty\) for all \(\idx : \idxNullGen_{\nullgen}\). By the definition of \({\join}\), we have the following pullback square. \[\begin{tikzcd} (\tyNullGen_{\nullgen}(\idx) \join \opModality_{\mode} \ilEmpty \to \ty) \arrow[r, "\simeq"] \arrow[d] \arrow[dr, pbMark] & (\tyNullGen_{\nullgen}(\idx) \to \ty) \arrow[d] \\ (\opModality_{\mode} \ilEmpty \to \ty) \arrow[r, "\simeq"'] & (\tyNullGen_{\nullgen}(\idx) \to \opModality_{\mode} \ilEmpty \to \ty) \end{tikzcd}\] Since \(\ty\) is \(\modeOpen(\opModality_{\mode} \ilEmpty)\)-connected, the domain and codomain of the bottom function are contractible, and thus the bottom function is an equivalence. It then follows that the top function is also an equivalence. Since \(\ty\) is \(\modeNull(\nullgen \join \nullgenI)\)-modal and since \(\tyNullGen_{\nullgenI}(\idxI) \simeq \opModality_{\mode} \ilEmpty\), we have $ ({}() {} ) (_{}() ),None$ and thus \(\tyNullGen_{\nullgen}(\idx) \relOrth \ty\). ◻

Proof of [prop:canonical-join-accessible]. Let \(\nullgen\) and \(\nullgenI\) be null generators for \(\mode\) and \(\modeI\), respectively. Note that the null generator obtained from a null generator for \(\mode\) by adjoining a family of \(\mode\)-connected types yields the same modality \(\mode\). Under an assumption \(\idx : \opModality_{\mode} \ilEmpty\), the empty type \(\ilEmpty\) becomes \(\mode\)-connected, and thus we may assume that \(\nullgen\) includes the type family \(\ilAbs (\blank : \opModality_{\mode} \ilEmpty). \ilEmpty\). Since \(\opModality_{\mode} \ilEmpty\) is \(\modeI\)-connected by assumption, we may assume that \(\nullgenI\) includes the type family \(\ilAbs (\blank : \ilUnit). \opModality_{\mode} \ilEmpty\).

We show that \(\modeNull(\nullgen \join \nullgenI) = \mode \lor \modeI\). By [lem:nullgen-join-connected], \(\mode \lor \modeI \le \modeNull(\nullgen \join \nullgenI)\). For the other direction, suppose that \(\ty\) is a \(\modeNull(\nullgen \join \nullgenI)\)-modal type. By [13] Theorem 3.50, it suffices to show that \(\unitModality_{\mode}(\ty) : \ty \to \opModality_{\modeI} \ty\) has \(\mode\)-modal fibers. By [lem:relative-partition-open-modality], \(\opModality_{\modeI} \ty \simeq \opModality_{\modeOpen(\opModality_{\mode} \ilEmpty)} \ty\). Then the fibers of \(\unitModality_{\mode}(\ty)\) are \(\modeOpen(\opModality_{\mode} \ilEmpty)\)-connected. Since both \(\ty\) and \(\opModality_{\modeI} \ty\) are \(\modeNull(\nullgen \join \nullgenI)\)-modal, the fibers of \(\unitModality_{\mode}(\ty)\) are also \(\modeNull(\nullgen \join \nullgenI)\)-modal. Thus, by [lem:relative-partition-closed-modality], \(\unitModality_{\mode}(\ty)\) has \(\mode\)-modal fibers. ◻

As a by-product, we have the following.

Let \(\mode\) and \(\modeI\) be such that \(\mode \le {}^{\orthMark} \modeI\). If \(\mode \lor \modeI = \modeTop\), then \(\mode\) and \(\modeI\) are the closed and open, respectively, modalities associated to the proposition \(\opModality_{\mode} \ilEmpty\). 0◻

2.3 Open and closed modalities↩︎

We collect some properties of open modalities and closed modalities.

The function \(\modeClosed : \ilProp \to \ilLexAcc\) is a contravariant full embedding of posets and takes arbitrary joins to canonical meets.

Proof. \(\modeClosed\) takes joins to canonical meets by [13] Example 3.27. It then follows that \(\modeClosed\) contravariantly preserves ordering. To see that \(\modeClosed\) reflects ordering, let \(\propo\) and \(\propoI\) be propositions and suppose that \(\modeClosed(\propoI) \le \modeClosed(\propo)\). By definition, \(\propoI\) is \(\modeClosed(\propoI)\)-modal and thus \(\modeClosed(\propo)\)-modal, but this implies that \(\propo \to \propoI\). ◻

The function \(\modeOpen : \ilProp \to \ilLexAcc\) is a covariant full embedding of posets and takes finite meets to canonical meets and arbitrary joins to canonical joins.

Proof. Since \(\modeClosed(\propo) = {}^{\orthMark} \modeOpen(\propo)\), the function \(\modeOpen\) is a covariant full embedding of posets and takes arbitrary joins to canonical joins by [prop:closed-modality-embedding]. \(\modeOpen\) takes finite meets to canonical meets by [13] Example 3.26. ◻

Let \(\propo\) be a proposition and \(\mode\) a . \(\opModality_{\modeOpen(\propo)}\) preserves \(\mode\)-modal types, and \(\opModality_{\mode}\) preserves \(\modeClosed(\propo)\)-types.

Proof. Let \(\ty : \univ\). If \(\ty\) is \(\mode\)-modal, then \(\opModality_{\modeOpen(\propo)} \ty \defeq \propo \to \ty\) is \(\mode\)-modal by [13] Lemma 1.26. If \(\ty\) is \(\modeClosed(\propo)\)-modal, then \(\opModality_{\mode} \ty\) is \(\modeClosed(\propo)\)-modal by [13] Lemma 1.27. ◻

$ = (()) (())None$ for any \(\mode\) and any proposition \(\propo\).

Proof. $ = (() ()) = (()) (()),None$ where the first identification is by [prop:join-strongly-disjoint] and the second is by [prop:meet-preserves-modal-distribute-disjoint] [prop:meet-open-closed]. ◻

3 Mode sketches↩︎

We introduce mode sketches as shapes of diagrams of subuniverses definable internally to type theory. We work in homotopy type theory through the section.

3.1 Internal diagrams induced by modalities↩︎

We consider postulating some to encode some diagram of subuniverses. The fundamental observation is that a pair of induces a canonical functor between them.

Construction 1. Let \(\mode\) and \(\modeI\) be . We define a function \(\opModality^{\modeI}_{\mode} : \univ_{\modeI} \to \univ_{\mode}\) to be the composite of the inclusion \(\univ_{\modeI} \subset \univ\) and \(\opModality_{\mode} : \univ \to \univ_{\mode}\).

We can say that \(\opModality^{\modeI}_{\mode}\) is a functor externally: we can construct a function $ {, : {}} () (^{}{} ^{}{} )None$ and every instance of the coherence laws. However, it is not known how to state that \(\opModality^{\modeI}_{\mode}\) is a functor internally to type theory, because defining the type of \((\infty, 1)\)-categories in plain homotopy type theory is still an open problem.

We have two functors \(\opModality^{\mode}_{\modeI} : \univ_{\mode} \to \univ_{\modeI}\) and \(\opModality^{\modeI}_{\mode} : \univ_{\modeI} \to \univ_{\mode}\) for every pair of \(\mode\) and \(\modeI\), but we are often interested in only one direction. It is thus useful to cut off one direction by postulating that \(\mode \le {}^{\orthMark}\modeI\): by the definition of \(\modeI\)-connectedness, \(\opModality^{\mode}_{\modeI}\) becomes constant at the unit type. The other direction \(\opModality^{\modeI}_{\mode} : \univ_{\modeI} \to \univ_{\mode}\) remains non-trivial. Therefore, a pair \((\mode, \modeI)\) of such that \(\mode \le {}^{\orthMark}\modeI\) encodes a functor \(\univ_{\modeI} \to \univ_{\mode}\). When \(\modeI \le {}^{\orthMark} \mode\) is also assumed, \(\univ_{\mode}\) and \(\univ_{\modeI}\) are considered unrelated.

Given more than two , we have canonical natural transformations between the canonical functors.

Construction 1. Let \(\mode_{0}, \mode_{1}, \mode_{2}\) be . We define \[\unitModality_{\mode_{1}}^{\mode_{0}; \mode_{2}} : \ilforall_{\ty : \univ_{\mode_{2}}} \opModality^{\mode_{2}}_{\mode_{0}} \ty \to \opModality^{\mode_{1}}_{\mode_{0}} \opModality^{\mode_{2}}_{\mode_{1}} \ty\] by $ {{1}}^{{0}; {2}}() {{0}} {{1}}().None$ This is well-typed as follows. \(\ty : \univ_{\mode_{2}}\) and \(\opModality_{\mode_{1}} \ty : \univ_{\mode_{1}}\) are implicitly coerced along the inclusions \(\univ_{\mode_{2}} \subset \univ\) and \(\univ_{\mode_{1}} \subset \univ\) respectively, and then \(\opModality_{\mode_{0}} \unitModality_{\mode_{1}}(\ty)\) has type \(\opModality_{\mode_{0}} \ty \to \opModality_{\mode_{0}} \opModality_{\mode_{1}} \ty\). By the definition of \(\opModality^{\modeI}_{\mode}\), this type is definitionally equal to \(\opModality^{\mode_{2}}_{\mode_{0}} \ty \to \opModality^{\mode_{1}}_{\mode_{0}} \opModality^{\mode_{2}}_{\mode_{1}} \ty\). The family of functions \(\unitModality^{\mode_{0}; \mode_{2}}_{\mode_{1}}\) is natural in the sense that for any \(\ty, \tyI : \univ_{\mode_{2}}\) and \(\map : \ty \to \tyI\), we have a homotopy filling the following square. \[\begin{tikzcd} \opModality^{\mode_{2}}_{\mode_{0}} \ty \arrow[r, "\unitModality^{\mode_{0}; \mode_{2}}_{\mode_{1}}(\ty)"] \arrow[d, "\opModality^{\mode_{2}}_{\mode_{0}} \map"'] & [6ex] \opModality^{\mode_{1}}_{\mode_{0}} \opModality^{\mode_{2}}_{\mode_{1}} \ty \arrow[d, "\opModality^{\mode_{1}}_{\mode_{0}} \opModality^{\mode_{2}}_{\mode_{1}} \map"] \\ \opModality^{\mode_{2}}_{\mode_{0}} \tyI \arrow[r, "\unitModality^{\mode_{0}; \mode_{2}}_{\mode_{1}}(\tyI)"'] & \opModality^{\mode_{1}}_{\mode_{0}} \opModality^{\mode_{2}}_{\mode_{1}} \tyI \end{tikzcd}\]

Let \(\mode_{0}, \mode_{1}, \mode_{2}, \mode_{3}\) be . By naturality, the following diagram commutes. \[\begin{tikzcd} \opModality^{\mode_{3}}_{\mode_{0}} \arrow[r, "\unitModality^{\mode_{0}; \mode_{3}}_{\mode_{1}}"] \arrow[d, "\unitModality^{\mode_{0}; \mode_{3}}_{\mode_{2}}"'] & [8ex] \opModality^{\mode_{1}}_{\mode_{0}} \opModality^{\mode_{3}}_{\mode_{1}} \arrow[d, "\opModality^{\mode_{1}}_{\mode_{0}} \unitModality^{\mode_{1}; \mode_{3}}_{\mode_{2}}"] \\ [2ex] \opModality^{\mode_{2}}_{\mode_{0}} \opModality^{\mode_{3}}_{\mode_{2}} \arrow[r, "\unitModality^{\mode_{0}; \mode_{2}}_{\mode_{1}} \opModality^{\mode_{3}}_{\mode_{2}}"'] & \opModality^{\mode_{1}}_{\mode_{0}} \opModality^{\mode_{2}}_{\mode_{1}} \opModality^{\mode_{3}}_{\mode_{2}} \end{tikzcd}\] For more than four , higher coherence laws are also satisfied. Hence, a tuple $ ({0}, , {})$ of such that \(\mode_{\idx} \le {}^{\orthMark}\mode_{\idxI}\) for all \(\idx < \idxI\) encodes an \(\nat\)-simplex with vertices \(\univ_{\mode_{\idx}}\), edges \(\opModality^{\mode_{\idxI}}_{\mode_{\idx}} : \univ_{\mode_{\idxI}} \to \univ_{\mode_{\idx}}\) for \(\idx < \idxI\), triangles \[\begin{tikzcd} \univ_{\mode_{\idx}} & [3ex] & [3ex] \univ_{\mode_{\idxII}} \arrow[dl, "\opModality^{\mode_{\idxII}}_{\mode_{\idxI}}"] \arrow[ll, "\opModality^{\mode_{\idxII}}_{\mode_{\idx}}"', "\phantom{a}"{name = a0}] \arrow[from = a0, dl, Rightarrow, "\unitModality^{\mode_{\idx}; \mode_{\idxII}}_{\mode_{\idxI}}"{near start}, end anchor = {[yshift = 1ex]}] \\ & \univ_{\mode_{\idxI}} \arrow[ul, "\opModality^{\mode_{\idxI}}_{\mode_{\idx}}"] \end{tikzcd}\] for \(\idx < \idxI < \idxII\), and higher homotopies.

Shapes other than simplices are expressed by postulating invertibility of some of \(\unitModality^{\mode_{\idx}; \mode_{\idxII}}_{\mode_{\idxI}}\)’s. For example, let \(\mode_{0}, \mode_{1}, \mode_{2}, \mode_{3}\) be and suppose that \(\mode_{\idx} \le {}^{\orthMark}\mode_{\idxI}\) for all \(\idx < \idxI\), that \(\mode_{2} \le {}^{\orthMark}\mode_{1}\), and that \(\unitModality^{\mode_{0}; \mode_{3}}_{\mode_{1}}\) is invertible. We have a diagram \[\begin{tikzcd}[column sep = 14ex, row sep = 8ex] & \univ_{\mode_{1}} \arrow[dl, "\opModality^{\mode_{1}}_{\mode_{0}}"'] \\ \univ_{\mode_{0}} & & \univ_{\mode_{3}} \arrow[ul, "\opModality^{\mode_{3}}_{\mode_{1}}"'] \arrow[dl, "\opModality^{\mode_{3}}_{\mode_{2}}"] \arrow[ll, "\opModality^{\mode_{3}}_{\mode_{0}}"{description}, "\phantom{a}"'{name = a0}, "\phantom{a}"{name = a1}] \arrow[from = a0, to = ul, To, "\unitModality^{\mode_{0}; \mode_{3}}_{\mode_{1}}"', "\simeq", start anchor = {[yshift = 1ex]}, end anchor = {[yshift = -1ex]}] \arrow[from = a1, to = dl, To, "\unitModality^{\mode_{0}; \mode_{3}}_{\mode_{2}}", start anchor = {[yshift = -1ex]}, end anchor = {[yshift = 1ex]}] \\ & \univ_{\mode_{2}} \arrow[ul, "\opModality^{\mode_{2}}_{\mode_{0}}"] \end{tikzcd}\] which is equivalent to a diagram of the form \[\begin{tikzcd} & \univ_{\mode_{1}} \arrow[dl, "\opModality^{\mode_{1}}_{\mode_{0}}"'] \arrow[dd, To, start anchor = {[yshift = -2ex]}, end anchor = {[yshift = 2ex]}] \\ \univ_{\mode_{0}} & & \univ_{\mode_{3}}. \arrow[ul, "\opModality^{\mode_{3}}_{\mode_{1}}"'] \arrow[dl, "\opModality^{\mode_{3}}_{\mode_{2}}"] \\ & \univ_{\mode_{2}} \arrow[ul, "\opModality^{\mode_{2}}_{\mode_{0}}"] \end{tikzcd}\] We cannot, however, naively postulate some properties of the functors \(\opModality^{\modeI}_{\mode}\)’s such as conservativity, fullness, faithfulness, adjointness, and invertibility. This is because the internal statements of these conditions are too strong due to stability under substitution, and indeed some “no-go” theorems on internalizing properties of functors are known [[8] Theorem 5.1][9] Theorem 4.1.

It is possible to postulate arbitrary properties of \(\opModality^{\mode_{\idxI}}_{\mode_{\idx}}\)’s in the following way. We first postulate a “base” \(\modeBase\) and assume \(\modeBase \le {}^{\orthMark} \mode_{\idx}\) for all \(\idx\). The universe \(\univ_{\modeBase}\) is intended to be interpreted as the \((\infty, 1)\)-category of spaces, so statements in \(\univ_{\modeBase}\) will correspond to external statements. Since \(\opModality_{\modeBase} : \univ \to \univ_{\modeBase}\) preserves finite limits, it takes \((\infty, 1)\)-categories to \((\infty, 1)\)-categories and functors to functors. We can then postulate any property on the induced functor \(\opModality_{\modeBase} \univ_{\mode_{\idxI}} \to \opModality_{\modeBase} \univ_{\mode_{\idx}}\). In fact, cohesive homotopy type theory [32] was first formulated in a similar fashion where the \(\sharp\) modality plays the role of \(\modeBase\). However, since we only know that \(\opModality_{\modeBase} \univ_{\mode_{\idx}}\) is an \((\infty, 1)\)-category externally, this approach is not so convenient to work with especially for formalization in proof assistants. For this and some other reasons, the newer version of cohesive homotopy type theory [9] is a proper extension of homotopy type theory. Nevertheless, this adding-base approach is attractive since it keeps type theory simple and works for any kind of diagram.

3.2 Mode sketches↩︎

We introduce mode sketches as shapes of diagrams definable by the methodology explained in 3.1.

A mode sketch \(\modesketch\) consists of the following data:

  • a decidable finite poset \(\idxModesketch_{\modesketch}\);

  • a subset \(\triModesketch_{\modesketch}\) of triangles in \(\idxModesketch_{\modesketch}\).

Here, by a decidable poset we mean a poset whose ordering relation \(\le\) is decidable. A type is finite if it is merely equivalent to the coproduct of \(\nat\) copies of \(\ilUnit\) for some \(\nat : \ilNat\) [36] Definition 16.3.1. The identity type on a finite type is decidable [36] Remark 16.3.2. The strict ordering relation \(\idx < \idxI\) defined as \((\idx \le \idxI) \land (\idx \neq \idxI)\) is also decidable. By a triangle in \(\idxModesketch_{\modesketch}\) we mean an ordered triple \((\idx_{0} < \idx_{1} < \idx_{2})\) of elements of \(\idxModesketch_{\modesketch}\). A triangle in \(\triModesketch_{\modesketch}\) is called thin.

The definition of mode sketches also makes sense in the metatheory. Every mode sketch \(\modesketch\) in the metatheory can be encoded in type theory since it is finite.

Let \(\modesketch\) be a mode sketch and \(\mode : \modesketch \to \ilLexAcc\) a function. We consider the following axioms.

Axiom 1. \(\mode(\idx) \le {}^{\orthMark} \mode(\idxI)\) for any \(\idxI \not\le \idx\) in \(\modesketch\).

Axiom 2. For any thin triangle \((\idx_{0} < \idx_{1} < \idx_{2})\) in \(\modesketch\), the natural transformation \(\unitModality^{\mode(\idx_{0}); \mode(\idx_{2})}_{\mode(\idx_{1})} : \opModality^{\mode(\idx_{2})}_{\mode(\idx_{0})} \To \opModality^{\mode(\idx_{1})}_{\mode(\idx_{0})} \opModality^{\mode(\idx_{2})}_{\mode(\idx_{1})}\) is invertible.

Assuming 1, if \(\idx < \idxI\), then \(\mode(\idx) \le {}^{\orthMark} \mode(\idxI)\). The converse is not true: when neither \(\idx \le \idxI\) nor \(\idxI \le \idx\), we still get \(\mode(\idx) \le {}^{\orthMark} \mode(\idxI)\).

[axm:mode-sketch-disjoint,axm:mode-sketch-invertible] are motivated by the observation made in 3.1. That is, when \(\idxI \not\leq \idx\), the functor in the direction \(\univ_{\mode(\idx)} \to \univ_{\mode(\idxI)}\) is cut off.

A mode sketch \(\modesketch\) is regarded as a presentation of an \((\infty, 2)\)-category \(\realize{\modesketch}\). The strict ordering relation generates \(1\)-cells \((\idx < \idxI) : \idx \to \idxI\), and the triangles \((\idx < \idxI < \idxII)\) generate \(2\)-cells in the direction \[\begin{tikzcd} & \idxI \arrow[dr] \\ \idx \arrow[ur] \arrow[rr, "\phantom{a}"{name = a0}] & \arrow[from = u, to = a0, To, start anchor = {[yshift = -1ex]}] & \idxII. \end{tikzcd}\] When the triangle is thin, the corresponding \(2\)-cell is made invertible. Longer chains \((\idx_{0} < \idx_{1} < \dots < \idx_{\nat})\) present homotopies filling certain diagrams. A formal account is given in 1. A function \(\mode : \modesketch \to \ilLexAcc\) satisfying 1 2 is then considered as a diagram of subuniverses indexed over \(\realize{\modesketch}^{\opMark(1, 2)}\), the \((\infty, 2)\)-category obtained from \(\realize{\modesketch}\) by reversing the directions of \(1\)-cells and \(2\)-cells.

Every decidable finite poset is a mode sketch where no triangle is thin. The \((\infty, 2)\)-category presented by it is obtained from the left adjoint of the Duskin nerve [37] by reversing \(2\)-cells.

The mode sketch for functors is drawn as \[\begin{tikzcd} 0 \arrow[r] & 1. \end{tikzcd}\] 1 asserts $ (0) ^{} (1).None$ 2 is empty since there is no triangle. Thus, we get the following diagram. \[\begin{tikzcd} \univ_{\mode(0)} & [2ex] \univ_{\mode(1)} \arrow[l, "\opModality^{\mode(1)}_{\mode(0)}"'] \end{tikzcd}\]

The mode sketch for triangles is drawn as \[\begin{tikzcd} 0 \arrow[rr, ""'{name = a0}] \arrow[dr] & \arrow[from = a0, to = d, phantom, "\simeq"{description}] & 2 \\ & 1 \arrow[ur] \end{tikzcd}\] where “\(\simeq\)” indicates that the triangle is thin. 1 asserts \(\mode(0) \le {}^{\orthMark} \mode(1)\), \(\mode(0) \le {}^{\orthMark} \mode(2)\), and \(\mode(1) \le {}^{\orthMark} \mode(2)\). 2 asserts that \(\unitModality^{\mode(0); \mode(2)}_{\mode(1)}\) is invertible. Thus, we have the following commutative triangle. \[\begin{tikzcd} \univ_{\mode(0)} & & \univ_{\mode(2)} \arrow[ll, "\opModality^{\mode(2)}_{\mode(0)}"'] \arrow[ld, "\opModality^{\mode(2)}_{\mode(1)}"] \\ & \univ_{\mode(1)} \arrow[ul, "\opModality^{\mode(1)}_{\mode(0)}"] \end{tikzcd}\]

3.3 Intended models, internally↩︎

Let \(\modesketch\) be a mode sketch. In this subsection, we see, internally to type theory, what kind of an \(\infty\)-logos is a model of \(\modesketch\). Here, by a model of \(\modesketch\) we mean an \(\infty\)-logos that admits an interpretation of a postulated function \(\mode : \modesketch \to \ilLexAcc\) satisfying 1 2 and the following additional axiom.

Axiom 3. The top modality is the canonical join $ _{} .None$

3 roughly asserts that the whole universe \(\univ\) is reconstructed from the subuniverses \(\univ_{\mode(\idx)}\)’s. This is meant to exclude models other than intended models.

Consider the case when \(\modesketch\) is the mode sketch for functors ([exm:mode-sketch-for-functors]). 3 asserts \(\modeTop = \mode(0) \lor \mode(1)\). The equivalence \(\univ \simeq \ilexists_{\ty : \univ_{\mode(0)}} \ilexists_{\tyI : \univ_{\mode(1)}} \ty \to \opModality^{\mode(1)}_{\mode(0)} \tyI\) ([prop:join-strongly-disjoint]) suggests that \(\univ\) is the so-called Artin gluing for the functor \(\opModality^{\mode(1)}_{\mode(0)} : \univ_{\mode(1)} \to \univ_{\mode(0)}\). Therefore, our intended models of \(\modesketch\) are \(\infty\)-logoses obtained by the Artin gluing.

A generalization of the Artin gluing is oplax limits. In the setting of [exm:intended-model-mode-sketch-for-functors], \(\univ\) fits into the following universal oplax cone over the diagram \(\univ_{\mode(0)} \xleftarrow{\opModality^{\mode(1)}_{\mode(0)}} \univ_{\mode(1)}\). \[\labelX[diagram]{eq:gluing-as-oplax-limit} \begin{tikzcd} & \univ \arrow[dl, "\phantom{a}"{name = a0}] \arrow[dr, "\phantom{a}"'{name = a1}] \arrow[from = a0, to = a1, To] \\ \univ_{\mode(0)} & & \univ_{\mode(1)} \arrow[ll, "\opModality^{\mode(1)}_{\mode(0)}"] \end{tikzcd}\] An oplax cone over a diagram is a kind of cone but every triangle formed by two projections and a functor in the diagram is only filled by a not necessarily invertible natural transformation in the direction of [eq:gluing-as-oplax-limit]. The universal oplax cone or oplax limit is the terminal object in the \((\infty, 1)\)-category of oplax cones.

Consider the case when \(\modesketch\) is the mode sketch \(\{0 \to 1 \to 2\}\) with no thin triangle. 3 asserts \(\modeTop = \mode(0) \lor \mode(1) \lor \mode(2)\). Iterating [prop:join-strongly-disjoint], we see that every type \(\ty : \univ\) is fractured into \(\ty_{0} : \univ_{\mode(0)}\), \(\ty_{1} : \univ_{\mode(1)}\), \(\ty_{2} : \univ_{\mode(2)}\), \(\map_{01} : \ty_{0} \to \opModality^{\mode(1)}_{\mode(0)} \ty_{1}\), \(\map_{02} : \ty_{0} \to \opModality^{\mode(2)}_{\mode(0)} \ty_{2}\), \(\map_{12} : \ty_{1} \to \opModality^{\mode(2)}_{\mode(1)} \ty_{2}\), and \(\pth_{012} : \opModality^{\mode(1)}_{\mode(0)} \map_{12} \comp \map_{01} = \unitModality^{\mode(0); \mode(2)}_{\mode(1)}(\ty_{2}) \comp \map_{02}\). Indeed, we have

\[\begin{align} & \term{\univ} \\ \simeq & \by{\ref{prop:join-strongly-disjoint} for \(\mode(0)\) and \(\mode(1) \lor \mode(2)\)} \\ & \term{\ilexists_{\ty_{0} : \univ_{\mode(0)}} \ilexists_{\ty_{12} : \univ_{\mode(1) \lor \mode(2)}} \ty_{0} \to \opModality_{\mode_{0}} \ty_{12}} \\ \simeq & \by{\ref{prop:join-strongly-disjoint} for \(\mode(1)\) and \(\mode(2)\)} \\ & \term{\ilexists_{\ty_{0} : \univ_{\mode(0)}} \ilexists_{\ty_{1} : \univ_{\mode(1)}} \ilexists_{\ty_{2} : \univ_{\mode(2)}} \ilexists_{\map_{12} : \ty_{1} \to \opModality_{\mode(1)} \ty_{2}} \ty_{0} \to \opModality_{\mode(0)}(\ty_{1} \times_{\opModality_{\mode(1)} \ty_{2}} \ty_{2})} \end{align}\]

where the pullback is taken for \(\map_{12} : \ty_{1} \to \opModality_{\mode(1)} \ty_{2}\) and \(\unitModality_{\mode(1)}(\ty_{2}) : \ty_{2} \to \opModality_{\mode(1)} \ty_{2}\). Since \(\opModality_{\mode(0)}\) preserves pullbacks, the component \(\ty_{0} \to \opModality_{\mode(0)}(\ty_{1} \times_{\opModality_{\mode(1)} \ty_{2}} \ty_{2})\) corresponds to the components \(\map_{01}\), \(\map_{02}\), and \(\pth_{012}\). Then \(\univ\) is the oplax limit of the diagram \[\labelX[diagram]{eq:canonical-triangle} \begin{tikzcd}[column sep = 12ex] \univ_{\mode(0)} & & \univ_{\mode(2)}. \arrow[ll, "\opModality^{\mode(2)}_{\mode(0)}"', "\phantom{a}"{name = a0}] \arrow[dl, "\opModality^{\mode(2)}_{\mode(1)}"]\\ & \univ_{\mode(1)} \arrow[ul, "\opModality^{\mode(1)}_{\mode(0)}"] \arrow[from = a0, To, "\unitModality^{\mode(0); \mode(2)}_{\mode(1)}", end anchor = {[yshift = 1ex]}] \end{tikzcd}\] That is, we have projections \(\univ \to \univ_{\mode(\idx)}\) for all \(\idx\), natural transformations \[\begin{tikzcd} & \univ \arrow[dl, "\phantom{a}"{name = a0}] \arrow[dr, "\phantom{a}"'{name = a1}] \arrow[from = a0, to = a1, To] \\ \univ_{\mode(\idx)} & & \univ_{\mode(\idxI)} \arrow[ll, "\opModality^{\mode(\idxI)}_{\mode(\idx)}"] \end{tikzcd}\] for all \(\idx < \idxI\), and a homotopy \[\begin{tikzcd} & \univ \arrow[dl, "\phantom{a}"{name = a0, near end}] \arrow[dr, "\phantom{a}"'{name = a1, near end}] \arrow[dd, "\phantom{a}"'{name = a2}, "\phantom{a}"{name = a3}] \arrow[from = a0, to = a2, To] \arrow[from = a3, to = a1, To] \\ \univ_{\mode(0)} & & \univ_{\mode(2)} \arrow[dl, "\opModality^{\mode(2)}_{\mode(1)}"] \\ & \univ_{\mode(1)} \arrow[ul, "\opModality^{\mode(1)}_{\mode(0)}"] \end{tikzcd} = \begin{tikzcd}[column sep = 10ex] & \univ \arrow[dl, "\phantom{a}"{name = a0}] \arrow[dr, "\phantom{a}"'{name = a1}] \arrow[from = a0, to = a1, To] \\ \univ_{\mode(0)} & & \univ_{\mode(2)}, \arrow[ll, "\opModality^{\mode(2)}_{\mode(0)}"{description}, "\phantom{a}"{name = a2}] \arrow[dl, "\opModality^{\mode(2)}_{\mode(1)}"] \\ & \univ_{\mode(1)} \arrow[ul, "\opModality^{\mode(1)}_{\mode(0)}"] \arrow[from = a2, To, "\unitModality^{\mode(0); \mode(2)}_{\mode(1)}", end anchor = {[yshift = 1ex]}] \end{tikzcd}\] and these data form a universal oplax cone over [eq:canonical-triangle].

Let us make the triangle \((0 < 1 < 2)\) thin so that the natural transformation becomes invertible. In this setting, \(\univ\) is still the oplax limit of [eq:canonical-triangle], but the presentation can be simplified since the type of data \((\map_{02}, \pth_{012})\) is contractible.

For a general mode sketch \(\modesketch\), we apply [prop:join-strongly-disjoint] for a minimal element \(\mode(\idx_{0})\) and the rest \(\biglor_{\idx : \modesketch \setminus \idx_{0}} \mode(\idx)\) and repeat this for \(\modesketch \setminus \idx_{0}\) to fracture types into modal types. [exm:intended-model-mode-sketch-for-functors,exm:intended-model-mode-sketch-for-trans] suggest that \(\univ\) is the oplax limit of the diagram formed by \(\univ_{\mode(\idx)}\)’s explained in [rem:2-cat-mode-sketch]. Thus, our intended models of \(\modesketch\) are oplax limits of \(\infty\)-logoses indexed over the \((\infty, 2)\)-category presented by \(\modesketch\). The formal account of this is described in 6.

4 Mode sketches and synthetic Tait computability↩︎

We give an alternative set of axioms for mode sketches and exhibit a connection between mode sketches and synthetic Tait computability of Sterling [19]. The core axiom of synthetic Tait computability is to postulate a proposition. The proposition induces the open and closed modalities, and then every type is fractured into an open type equipped with a closed type family and behaves like a logical relation. In this story, the open and closed modalities seem more essential than the postulated proposition, so we aim to formulate synthetic Tait computability purely in terms of modalities. We work in homotopy type theory.

4.1 Alternative mode sketch axioms↩︎

The \(\infty\)-logoses obtained by the Artin gluing can be characterized as \(\infty\)-logoses equipped with a subterminal object (cf. [38, p. A4.5.6]). We generalize this from the Artin gluing to oplax limits indexed by mode sketches, internally to type theory: the type of functions \(\modesketch \to \ilLexAcc\) satisfying 1 3 is equivalent to the type of lattice morphisms \(\ilCosieve(\modesketch) \to \ilProp\) ([thm:equiv-two-mode-sketch-axioms]).

A cosieve on a decidable poset \(\idxsh\) is an upward-closed decidable subset of it. Let \(\ilCosieve(\idxsh)\) denote the poset of cosieves on \(\idxsh\) ordered by inclusion. Note that cosieves are closed under finite meets and joins, so \(\ilCosieve(\idxsh)\) is a lattice.

For \(\idx : \modesketch\), let \((\idx \downarrow \modesketch)\) denote the cosieve \(\{\idxI : \modesketch \mid \idx \le \idxI\}\) and \(\boundary (\idx \downarrow \modesketch)\) the cosieve \((\idx \downarrow \modesketch) \setminus \{\idx\}\).

Construction 1. Let \(\propo : \ilCosieve(\modesketch) \to \ilProp\) be a function. We define a function $ {} : $ by $ {}() (()) ((())).None$

1 is restricted to an equivalence between the following types:

  1. the type of lattice morphisms \(\propo : \ilCosieve(\modesketch) \to \ilProp\);

  2. the type of functions \(\mode : \modesketch \to \ilLexAcc\) satisfying 1 3.

We write \(\propCanonical_{\mode} : \ilCosieve(\modesketch) \to \ilProp\) for the lattice morphism corresponding to \(\mode\).

Before giving a proof of [thm:equiv-two-mode-sketch-axioms], let us relate [thm:equiv-two-mode-sketch-axioms] to synthetic Tait computability [18], [19], [39]. The core axiom of synthetic Tait computability is to postulate some propositions. One can work with those propositions directly but also with the induced open and closed modalities. [thm:equiv-two-mode-sketch-axioms] says that synthetic Tait computability can, in fact, be formulated completely in terms of modalities. The simplest version of synthetic Tait computability postulates a single proposition. The corresponding mode sketch is \(\{0 \to 1\}\) as follows.

Let \(\modesketch\) be the mode sketch for functors ([exm:mode-sketch-for-functors]). Then $ () = {{}, {1}, {0, 1}}None$ is the free lattice generated by the single element \(\{1\}\). We thus have $ {} .None$

The rest of this subsection is devoted to the proof of [thm:equiv-two-mode-sketch-axioms]. We first show that 1 is restricted to a function $ .$

Let \(\propo : \ilCosieve(\modesketch) \to \ilProp\) be a function.

  1. If \(\propo\) preserves binary meets, then \(\modeFromProp_{\propo}\) satisfies 1.

  2. If \(\propo\) preserves top elements and finite joins, then \(\modeFromProp_{\propo}\) satisfies 3.

We prepare a couple of lemmas.

If a function \(\propo : \ilCosieve(\modesketch) \to \ilProp\) preserves finite joins, then \(\modeOpen(\propo(\sieve)) = \biglor_{\sieve} \modeFromProp_{\propo}\) for any cosieve \(\sieve \subset \modesketch\).

Proof. By induction on the size of \(\sieve\). By assumption and by [prop:open-modality-embedding], we have \(\modeOpen(\propo(\sieve)) = \biglor_{\idx : \sieve} \modeOpen(\propo(\idx \downarrow \modesketch))\). Thus, it is enough to show the case when \(\sieve\) is of the form \((\idx \downarrow \modesketch)\). By [prop:open-closed-decomposition], we have $ (()) = ((()) ((()))) ((()) ((()))) = _{}() ((())).None$ Then apply the induction hypothesis for \(\boundary (\idx \downarrow \modesketch)\). ◻

Let \(\mode\) and \(\modeI\) be . If \(\opModality_{\modeI}\) preserves \(\mode\)-modal types, then \(\mode \land {}^{\orthMark}(\modeI \land \mode) = \mode \land {}^{\orthMark} \modeI\).

Proof. By 1. ◻

Proof of [prop:mode-sketch-axioms-comparison]. If \(\propo\) preserves binary meets, then for any \(\idxI \not\le \idx\) in \(\modesketch\),

\[\begin{align} & \term{\modeFromProp_{\propo}(\idx)} \\ = & \by{definition} \\ & \term{\modeOpen(\propo(\idx \downarrow \modesketch)) \land {}^{\orthMark} \modeOpen(\propo(\boundary (\idx \downarrow \modesketch)))} \\ \le & \by{\((\idxI \downarrow \modesketch) \cap (\idx \downarrow \modesketch) \subset \boundary (\idx \downarrow \modesketch)\) as \(\idxI \not\le \idx\)} \\ & \term{\modeOpen(\propo(\idx \downarrow \modesketch)) \land {}^{\orthMark} \modeOpen(\propo((\idxI \downarrow \modesketch) \cap (\idx \downarrow \modesketch)))} \\ = & \by{\ref{prop:open-modality-embedding}, and \(\propo\) preserves binary meets} \\ & \term{\modeOpen(\propo(\idx \downarrow \modesketch)) \land {}^{\orthMark} (\modeOpen(\propo(\idxI \downarrow \modesketch)) \land \modeOpen(\propo(\idx \downarrow \modesketch)))} \\ = & \by{\ref{prop:meet-connected-cancel-1} \ref{prop:meet-open-closed}} \\ & \term{\modeOpen(\propo(\idx \downarrow \modesketch)) \land {}^{\orthMark} \modeOpen(\propo(\idxI \downarrow \modesketch))} \\ \le & \by{definition} \\ & \term{{}^{\orthMark} \modeFromProp_{\propo}(\idxI)}, \end{align}\]

and thus 1 is satisfied. If \(\propo\) preserves top elements and finite joins, then \(\modeFromProp_{\propo}\) satisfies 3 by [lem:join-mode-from-prop]. ◻

We then construct the inverse function $ .$ The key observation is that canonical joins of \(\mode(\idx)\)’s exist and are well-behaved under 1.

If a function \(\mode : \modesketch \to \ilLexAcc\) satisfies 1, then the canonical join $ _{} $ exists for any decidable subset \(\sieve \subset \modesketch\).

Proof. By induction on the size of \(\sieve\). If \(\sieve\) is empty, then \(\biglor_{\emptyset} \mode\) is the bottom modality. Suppose that \(\sieve\) is non-empty. Since \(\modesketch\) is finite, there is an element \(\idx_{0}\) minimal in \(\sieve\). Then \(\sieve \setminus \{\idx_{0}\}\) admits a canonical join by the induction hypothesis. Since \(\idx_{0}\) is minimal, \(\mode(\idx_{0}) \le {}^{\orthMark}\mode(\idx)\) for any \(\idx : \sieve \setminus \{\idx_{0}\}\) by 1, and thus \(\mode(\idx_{0}) \le {}^{\orthMark} (\biglor_{\sieve \setminus \{\idx_{0}\}} \mode)\). Then we have the canonical join $ {} ({0}) ({({{0}})} )None$ by [prop:join-strongly-disjoint]. ◻

Let \(\mode_{0}\), \(\mode_{1}\), and \(\mode_{2}\) be such that \(\mode_{\idx} \le {}^{\orthMark} \mode_{\idxI}\) for any \(\idx < \idxI\). Then \(\mode_{0} \lor \mode_{1} \le {}^{\orthMark} \mode_{2}\).

Proof. Let \(\ty\) be a \((\mode_{0} \lor \mode_{1})\)-modal type. By [prop:join-strongly-disjoint], \(\unitModality_{\mode_{1}}(\ty) : \ty \to \opModality_{\mode_{1}} \ty\) has \(\mode_{0}\)-modal fibers. Then, by assumption, \(\opModality_{\mode_{1}} \ty\) and the fibers of \(\unitModality_{\mode_{1}}(\ty)\) are made contractible by \(\opModality_{\mode_{2}}\). Thus, \(\opModality_{\mode_{2}} \ty\) is contractible. ◻

If a function \(\mode : \modesketch \to \ilLexAcc\) satisfies 1, then $ {} ^{} ({} )None$ for any cosieve \(\sieve \subset \modesketch\).

Proof. Since \(\sieve\) is upward-closed, \(\idxI \not\le \idx\) for any \(\idx : \modesketch \setminus \sieve\) and \(\idxI : \sieve\). Thus, by 1, \(\mode(\idx) \le {}^{\orthMark} \mode(\idxI)\) for any \(\idx : \modesketch \setminus \sieve\) and \(\idxI : \sieve\). The claim follows from [cor:join-strongly-disjoint-in-susigma] and the construction of the canonical join in [prop:mode-sketch-canonical-join]. ◻

Fact 1 ([13]). Let \(\mode\) and \(\modeI\) be . If \(\mode \le {}^{\orthMark} \modeI\), then \(\mode \land \modeI = \modeBottom\).

Construction 1. Let \(\mode : \modesketch \to \ilLexAcc\) be a function satisfying 1 3. We define a lattice morphism $ {} : () $ by $ {}() {{} } .None$ By [cor:partition-open-modality] and by [prop:mode-sketch-partition-by-sieve], \(\propCanonical_{\mode}(\sieve)\) is the unique proposition such that \(\modeOpen(\propCanonical_{\mode}(\sieve)) = \biglor_{\sieve} \mode\). Because \(\sieve \mapsto \biglor_{\sieve} \mode\) preserves finite joins by definition, \(\propCanonical_{\mode}\) preserves finite joins. By 3, \(\propCanonical_{\mode}\) preserves top elements. For preservation of binary meets, let \(\sieve_{1}\) and \(\sieve_{2}\) be cosieves on \(\modesketch\). We have to show that $ {{1} {2}} = ({{1}} ) ({_{2}} ).None$ Let \(\sieve_{3} \defeq \sieve_{1} \cap \sieve_{2}\), \(\sieve_{1}' \defeq \sieve_{1} \setminus \sieve_{3}\), and \(\sieve_{2}' \defeq \sieve_{2} \setminus \sieve_{3}\). By [prop:mode-sketch-partition-by-sieve], \(\biglor_{\sieve_{1}'} \mode \le {}^{\orthMark} (\biglor_{\sieve_{2}} \mode)\) and \(\biglor_{\sieve_{2}'} \mode \le {}^{\orthMark} (\biglor_{\sieve_{1}} \mode)\). Then,

\[\begin{align} & \term{\textstyle(\biglor_{\sieve_{1}} \mode) \land (\biglor_{\sieve_{2}} \mode)} \\ = & \by{definition} \\ & \term{\textstyle((\biglor_{\sieve_{1}'} \mode) \lor (\biglor_{\sieve_{3}} \mode)) \land ((\biglor_{\sieve_{2}'} \mode) \lor (\biglor_{\sieve_{3}} \mode))} \\ = & \by{\ref{prop:join-strongly-disjoint-distributive}} \\ & \term{\textstyle((\biglor_{\sieve_{1}'} \mode) \land (\biglor_{\sieve_{2}'} \mode)) \lor (\biglor_{\sieve_{3}} \mode)} \\ = & \by{\ref{prop:meet-strongly-disjoint}} \\ & \term{\textstyle\biglor_{\sieve_{3}} \mode}. \end{align}\]

Proof of [thm:equiv-two-mode-sketch-axioms]. It remains to show that the constructions \(\propo \mapsto \modeFromProp_{\propo}\) and \(\mode \mapsto \propCanonical_{\mode}\) are mutually inverses. [lem:join-mode-from-prop] implies that \(\propCanonical_{\modeFromProp_{\propo}} = \propo\). For the other identification, we have

\[\begin{align} & \term{\textstyle\modeFromProp_{\propCanonical_{\mode}}(\idx)} \\ = & \by{definition} \\ & \term{\textstyle\modeOpen(\propCanonical_{\mode}(\idx \downarrow \modesketch)) \land \modeClosed(\propCanonical_{\mode}(\boundary (\idx \downarrow \modesketch)))} \\ = & \by{\ref{lem:join-mode-from-prop}} \\ & \term{\textstyle(\biglor_{(\idx \downarrow \modesketch)} \mode) \land \modeClosed(\propCanonical_{\mode}(\boundary (\idx \downarrow \modesketch)))} \\ = & \by{\ref{prop:meet-preserves-modal-distribute-disjoint} \ref{prop:meet-open-closed}} \\ & \term{\textstyle\biglor_{\idxI : (\idx \downarrow \modesketch)} \mode(\idxI) \land \modeClosed(\propCanonical_{\mode}(\boundary (\idx \downarrow \modesketch)))} \\ = & \by{\ref{lem:join-mode-from-prop}} \\ & \term{\textstyle\biglor_{\idxI : (\idx \downarrow \modesketch)} \mode(\idxI) \land (\bigland_{\idxII : \boundary(\idx \downarrow \modesketch)} {}^{\orthMark} \mode(\idxII))} \\ = & \by{\(\mode(\idxII) \land {}^{\orthMark} \mode(\idxII) = \modeBottom\) for \(\idxII : \boundary(\idx \downarrow \modesketch)\) by \ref{prop:meet-strongly-disjoint}} \\ & \term{\textstyle\mode(\idx) \land (\bigland_{\idxII : \boundary(\idx \downarrow \modesketch)} {}^{\orthMark} \mode(\idxII))} \\ = & \by{\ref{axm:mode-sketch-disjoint}} \\ & \term{\textstyle\mode(\idx)}. \qedhere \end{align}\]

 ◻

4.2 Logical relations as types↩︎

We have seen in 4.1 that synthetic Tait computability is reformulated in terms of . The slogan of synthetic Tait computability is “logical relations as types” [18]. This is also formulated purely in terms of .

Fact 1 ([13]). For any \(\mode\), the universe of \(\mode\)-modal types $ {} {: {}()}None$ is \(\mode\)-modal.

Let \(\mode\) and \(\modeI\) be such that \(\mode \le {}^{\orthMark} \modeI\). Then we have an equivalence \[\univ_{\mode \lor \modeI} \simeq \ilexists_{\tyI : \univ_{\modeI}}\tyI \to \univ_{\mode}\] whose right-to-left function sends a \((\tyI, \ty)\) to \(\ilexists_{\var : \tyI}\ty(\var)\).

Proof. For any \(\tyI : \univ_{\modeI}\), we have

\[\begin{align} & \term{\ilexists_{\ty : \univ_{\mode}}\ty \to \opModality_{\mode} \tyI} \\ \simeq& \by{equivalence between fibrations and type families} \\ & \term{\opModality_{\mode} \tyI \to \univ_{\mode}} \\ \simeq& \by{\ref{fact:universe-of-modal-types}} \\ & \term{\tyI \to \univ_{\mode}}. \end{align}\]

Then apply [prop:join-strongly-disjoint]. ◻

[prop:fracture-and-gluing-alt] asserts that a type in \(\univ_{\mode \lor \modeI}\) is a \(\modeI\)-modal type equipped with a \(\mode\)-modal unary (proof-relevant) relation on it, so types (in \(\univ_{\mode \lor \modeI}\)) are relations. More generally, for a mode sketch \(\modesketch\) and a function \(\mode : \modesketch \to \ilLexAcc\) satisfying 1, types in \(\univ_{\biglor_{\modesketch}\mode}\) are fractured into a sort of generalized relations by iterated applications of [prop:fracture-and-gluing-alt]. Intuitively, the ordering on \(\modesketch\) is understood as “dependency”: every type \(\ty : \univ_{\biglor_{\modesketch} \mode}\) is fractured into a family of type families \(\{\ty_{\mode(\idx)}\}_{\idx : \modesketch}\) such that \(\ty_{\mode(\idx)}\) depends on \(\ty_{\mode(\idxI)}\) for all \(\idxI > \idx\). One may also regard the underlying finite poset of \(\modesketch\) as a FOLDS signature [40].

When \(\modesketch\) is the mode sketch \(\{0 \leftarrow 01 \rightarrow 1\}\), we have an equivalence \[\begin{align} \begin{autobreak} \MoveEqLeft \univ_{\mode(01) \lor \mode(1) \lor \mode(0)} \simeq \ilexists_{\ty_{0} : \univ_{\mode(0)}} \ilexists_{\ty_{1} : \univ_{\mode(1)}} \ty_{0} \to \ty_{1} \to \univ_{\mode(01)}. \end{autobreak} \end{align}\]

When \(\modesketch\) is the mode sketch \(\{0 \to 1 \to 2\}\) (with no thin triangle), we have an equivalence \[\begin{align} \begin{autobreak} \MoveEqLeft \univ_{\mode(0) \lor \mode(1) \lor \mode(2)} \simeq \ilexists_{\ty_{2} : \univ_{\mode(2)}} \ilexists_{\ty_{1} : \ty_{2} \to \univ_{\mode(1)}} \ilforall_{\var_{2}} \ty_{1}(\var_{2}) \to \univ_{\mode(0)}. \end{autobreak} \end{align}\]

The equivalence in [prop:fracture-and-gluing-alt] nicely interacts with type constructors, and we derive the logical relation translation (also called the parametricity translation) of dependent type theory [11], [41][43] as a theorem in type theory. Let \(\mode\) and \(\modeI\) be such that \(\mode \le {}^{\orthMark}\modeI\). Type constructors in \(\univ_{\mode \lor \modeI}\) behave in the same way as the definition of the logical relation translation of type constructors [43, Sec. 3] as follows.

  • \(\univ_{\mode \lor \modeI} : \enlarge \univ_{\mode \lor \modeI}\) corresponds to the pair $ ({}, . {});None$

  • \(\ilUnit : \univ_{\mode \lor \modeI}\) corresponds to the pair $ (, . );None$

  • Suppose that \(\ty : \univ_{\mode \lor \modeI}\) corresponds to a pair \((\ty_{\modeI}, \ty_{\mode})\). Then \((\ty \to \univ_{\mode \lor \modeI}) : \enlarge \univ_{\mode \lor \modeI}\) corresponds to the pair \[(\ty_{\modeI} \to \univ_{\modeI}, \ilAbs \tyI. \ilforall_{\var : \ty_{\modeI}}\ty_{\mode}(\var) \to \tyI(\var) \to \univ_{\mode}).\] Indeed,

    \[\begin{align} & \term{\ty \to \univ_{\mode \lor \modeI}} \\ \simeq& \by{fracture and gluing} \\ & \term{(\ilexists_{\var : \ty_{\modeI}}\ty_{\mode}(\var)) \to (\ilexists_{\tyI : \univ_{\modeI}}\tyI \to \univ_{\mode})} \\ \simeq& \by{\(\ilforall\) distributes over \(\ilexists\)} \\ & \term{\ilexists_{\tyI : \ilforall_{\var : \ty_{\modeI}}\ty_{\mode}(\var) \to \univ_{\modeI}}\ilforall_{\var}\ilforall_{\varI}\tyI(\var, \varI) \to \univ_{\mode}} \\ \simeq& \by{\(\univ_{\modeI} \simeq (\ty_{\mode}(\var) \to \univ_{\modeI})\) since \(\mode \le {}^{\orthMark}\modeI\)} \\ & \term{\ilexists_{\tyI : \ty_{\modeI} \to \univ_{\modeI}}\ilforall_{\var}\ty_{\mode}(\var) \to \tyI(\var) \to \univ_{\mode}}; \end{align}\]

  • Suppose that \(\ty : \univ_{\mode \lor \modeI}\) corresponds to a pair \((\ty_{\modeI}, \ty_{\mode})\) and that \(\tyI : \ty \to \univ_{\mode \lor \modeI}\) corresponds to a pair \((\tyI_{\modeI}, \tyI_{\mode})\). Then \(\ilforall_{\var : \ty}\tyI(\var) : \univ_{\mode \lor \modeI}\) corresponds to the pair \[(\ilforall_{\var_{\modeI} : \ty_{\modeI}}\tyI_{\modeI}(\var_{\modeI}), \ilAbs \map. \ilforall_{\var_{\modeI}}\ilforall_{\var_{\mode} : \ty_{\mode}(\var_{\modeI})}\tyI_{\mode}(\var_{\modeI}, \var_{\mode}, \map(\var_{\modeI})))\] by a similar calculation to the previous clause. \(\ilexists_{\var : \ty}\tyI(\var) : \univ_{\mode \lor \modeI}\) corresponds to the pair \[(\ilexists_{\var_{\modeI} : \ty_{\modeI}}\tyI_{\modeI}(\var_{\modeI}), \ilAbs (\el_{\modeI}, \elI_{\modeI}). \ilexists_{\var_{\mode} : \ty_{\mode}(\el_{\modeI})}\tyI_{\mode}(\el_{\modeI}, \var_{\mode}, \elI_{\modeI}));\]

  • Suppose that \(\ty : \univ_{\mode \lor \modeI}\) corresponds to a pair \((\ty_{\modeI}, \ty_{\mode})\), that \(\el : \ty\) corresponds to a pair \((\el_{\modeI}, \el_{\mode})\), and that \(\el' : \ty\) corresponds to a pair \((\el'_{\modeI}, \el'_{\mode})\). Then \(\el = \el' : \univ_{\mode \lor \modeI}\) corresponds to the pair \[(\el_{\modeI} = \el'_{\modeI}, \ilAbs \pth. \el_{\mode} =^{\ty_{\mode}}_{\pth} \el'_{\mode}).\]

Thus, any type \(\ty : \univ_{\mode \lor \modeI}\) constructed using these type constructors is fractured into a type \(\ty_{\modeI} : \univ_{\modeI}\) and a type family \(\ty_{\mode} : \ty_{\modeI} \to \univ_{\mode}\), and \(\ty_{\mode}\) is equivalent to the logical relation translation of \(\ty_{\modeI}\). In this sense, types in \(\univ_{\mode \lor \modeI}\) are logical relations. The interaction of the equivalences in [exm:fracture-span] [exm:fracture-0-1-2] and type constructors is similarly calculated. We thus conclude that types in \(\univ_{\biglor_{\modesketch} \mode}\) are generalized logical relations.

5 Higher category theory↩︎

We collect facts about higher categories needed to develop semantics of mode sketches in \(\infty\)-logoses.

We work with a model-independent language of \((\infty, 1)\)-category theory rather than choosing a specific model of \((\infty, 1)\)-categories. An \((\infty, 1)\)-category \(\cat\) consists of a space \(\Obj(\cat)\) of objects of \(\cat\), a space \(\Map_{\cat}(\obj, \objI)\) of morphisms from \(\obj\) to \(\objI\) for any objects \(\obj\) and \(\objI\), and composition operators unital and associative up to coherent homotopy. Concepts in category theory such as functors, natural transformations, equivalences, adjoints, (co)limits, and Kan extensions have \((\infty, 1)\)-categorical analogues. We refer the reader to [1], [44], [45] for general \((\infty, 1)\)-category theory.

At least two Grothendieck universes \(\setuniv \in \enlarge \setuniv\) are assumed to exist. By small we mean \(\setuniv\)-small and by large we mean \(\enlarge \setuniv\)-small. For an \((\infty,1)\)-category \(\cat\) of small objects of some kind, we write \(\enlarge \cat\) for the \((\infty,1)\)-category of large objects of the same kind. Let \(\Space\) denote the \((\infty, 1)\)-category of small spaces. Let \(\Cat\) denote the \((\infty, 1)\)-category of small \((\infty, 1)\)-categories. For \((\infty, 1)\)-categories \(\cat\) and \(\catI\), let \(\Fun(\cat, \catI)\) denote the \((\infty, 1)\)-category of functors from \(\cat\) to \(\catI\) and natural transformations between them. For a functor \(\obj : \idxsh \to \cat\), we write \(\{\proj_{\idx} : \lim_{\idxI \in \idxsh} \obj_{\idxI} \to \obj_{\idx}\}_{\idx \in \idxsh}\) for the limit cone if it exists and \(\{\inc_{\idx} : \obj_{\idx} \to \colim_{\idxI \in \idxsh} \obj_{\idxI}\}_{\idx \in \idxsh}\) for the colimit cocone if it exists.

Accessible and presentable \((\infty,1)\)-categories [1, Ch. 5] are important classes of \((\infty,1)\)-categories. We do not need precise definitions of them. Every presentable \((\infty,1)\)-category is accessible and has small colimits and limits.

5.1 \(\infty\)-logoses↩︎

We review the theory of \(\infty\)-logoses, also known as \(\infty\)-toposes. The standard reference is [1, Ch. 6].

An \(\infty\)-logos is a presentable \((\infty, 1)\)-category \(\logos\) such that, for any small \((\infty, 1)\)-category \(\idxsh\), any natural transformation \(\map : \shI \To \sh : \idxsh \to \logos\) where all the naturality squares are pullbacks, and for any cocone over \(\map\) of the form \[\labelX[diagram]{eq:descent-cocone} \begin{tikzcd} \shI_{\idx} \arrow[r, "\mapI_{\idx}"] \arrow[d, "\map_{\idx}"'] & \shI' \arrow[d, "\map'"] \\ \sh_{\idx} \arrow[r, "\inc_{\idx}"'] & \colim_{\idx \in \idxsh} \sh_{\idx}, \end{tikzcd}\] \(\shI'\) is the colimit of \(\shI_{\idx}\)’s if and only if [eq:descent-cocone] is a pullback for every \(\idx \in \idxsh\). A morphism of \(\infty\)-logoses is a functor preserving small colimits and finite limits. Note that any morphism of \(\infty\)-logoses has a right adjoint by the adjoint functor theorem [1] Corollary 5.5.2.9. We write \(\Logos \subset \enlarge \Cat\) for the subcategory spanned by the \(\infty\)-logoses and the morphisms of \(\infty\)-logoses.

The following are immediate from the definition.

Let \(\{\fun_{\idx} : \logos \to \logosI_{\idx}\}_{\idx \in \idxsh}\) be a family of functors between presentable \((\infty, 1)\)-categories preserving small colimits and finite limits. If all the \(\logosI_{\idx}\)’s are \(\infty\)-logoses and if \(\{\fun_{\idx}\}_{\idx \in \idxsh}\) is jointly conservative, then \(\logos\) is an \(\infty\)-logos. 0◻

Let \(\logos\) be an \(\infty\)-logos and let \(\sh \in \logos\) be an object. If there is a map \(\sh \to \objInitial\), then \(\sh \simeq \objInitial\). 0◻

in homotopy type theory are expected to correspond to (lex, accessible) localizations of \(\infty\)-logoses.

A morphism of \(\infty\)-logoses is a localization if its right adjoint is fully faithful. For an \(\infty\)-logos \(\logos\), let \(\LexAcc(\logos)\) denote the full subcategory of \((\Logos_{\logos /})^{\opMark}\) spanned by the localization morphisms \(\logos \to \logosI\). Note that \(\LexAcc(\logos)\) is a poset. We call an object in \(\LexAcc(\logos)\) a lex, accessible modality () in \(\logos\).

Let \(\logos\) be an \(\infty\)-logos. For a \(\mode\) in \(\logos\), we write \(\opModality_{\mode} : \logos \to \logos_{\mode}\) for the localization corresponding to \(\mode\) and \(\unitModality_{\mode}\) for its unit. For two \(\mode_{0}\) and \(\mode_{1}\) in \(\logos\), let \(\opModality^{\mode_{1}}_{\mode_{0}} : \logos_{\mode_{1}} \to \logos_{\mode_{0}}\) denote the restriction of \(\opModality_{\mode_{0}}\) along the inclusion \(\logos_{\mode_{1}} \subset \logos\). For three \(\mode_{0}\), \(\mode_{1}\), and \(\mode_{2}\) in \(\logos\), let \(\unitModality^{\mode_{0}; \mode_{2}}_{\mode_{1}} : \opModality^{\mode_{2}}_{\mode_{0}} \To \opModality^{\mode_{1}}_{\mode_{0}} \opModality^{\mode_{2}}_{\mode_{1}} : \logos_{\mode_{2}} \to \logos_{\mode_{0}}\) denote the natural transformation defined by \((\unitModality^{\mode_{0}; \mode_{2}}_{\mode_{1}})_{A} = \opModality_{\mode_{0}} (\unitModality_{\mode_{1}})_{A}\) for \(A \in \logos_{\mode_{2}}\).

\((\infty, 1)\)-categorical counterparts of open and closed modalities are open and closed, respectively, localizations (1).

Fact 1 ([1]). Let \(\logos\) be an \(\infty\)-logos. Then, for every object \(\sh \in \logos\), the slice \(\logos_{/ \sh}\) is an \(\infty\)-logos. Moreover, the pullback functor \(\sh^{\pbMark} : \logos \to \logos_{/ \sh}\) is a morphism of \(\infty\)-logoses.

Fact 1 ([16]). Let \(\logos\) be an \(\infty\)-logos and let \(\cls\) be a class of monomorphisms in \(\logos\). Let \(\logosI \subset \logos\) be the full subcategory spanned by those objects \(\sh\) such that \(\map^{\pbMark} : \Map(\shXI, \sh) \to \Map(\shX, \sh)\) is an equivalence for every pullback \(\map\) of a morphism in \(\cls\). Then \(\logosI\) is an \(\infty\)-logos, and the inclusion \(\logosI \to \logos\) has a left adjoint which is a localization of \(\infty\)-logoses.

Construction 1. Let \(\logos\) be an \(\infty\)-logos and let \(\propo \in \logos\) be a \((-1)\)-truncated object. The open localization associated to \(\propo\) is \(\propo^{\pbMark} : \logos \to \logos_{/ \propo}\). This is indeed a morphism of \(\infty\)-logoses by 1, and its right adjoint is fully faithful since \(\propo\) is \((-1)\)-truncated. The closed localization associated to \(\propo\) is the localization obtained by 1 for the singleton class of monomorphisms \(\{\objInitial \to \propo\}\). Let \(\logos \to \logosI\) be the closed localization associated to \(\propo\). Then an object \(\sh \in \logos\) belongs to \(\logosI\) if and only if \(\Map(\shX, \sh) \to \Map(\map^{\pbMark} \objInitial, A)\) is an equivalence for every \(\map : \shX \to \propo\). Since \(\map^{\pbMark} \objInitial \simeq \objInitial\) by [prop:logos-init-strict], \(\Map(\map^{\pbMark} \objInitial, \sh) \simeq \objFinal\). Therefore, \(\sh\) belongs to \(\logosI\) if and only if \(\propo^{\pbMark} \sh \in \logos_{/ \propo}\) is the final object, which is equivalent to that the projection \(\propo \times \sh \to \propo\) is an equivalence.

5.2 The language of \((\infty, 2)\)-category theory↩︎

We formulate concepts in \((\infty, 2)\)-category theory using the \((\infty, 1)\)-category \(\nPrefix{2}\Cat\) of \((\infty, 2)\)-categories axiomatized and proved to be equivalent to various models of \((\infty, 2)\)-categories by Barwick and Schommer-Pries [46].

A (strict) \(2\)-category \(\cat\) is said to be gaunt if only invertible \(1\)-cells and \(2\)-cells are the identities.

The walking \(\natI\)-cell \(\walkingCell_{\natI}\) for \(0 \le \natI \le 2\) is the \(2\)-category freely generated by a single \(\natI\)-cell and is gaunt.

Among Barwick and Schommer-Pries’s axioms, the following are important to us.

Fact 1 ([46]). \(\nPrefix{2}\Cat\) is presentable and contains finitely presentable gaunt \(2\)-categories as a full subcategory.

Fact 1 ([46]). $ {{0}, {1}, _{2}}None$ is a set of generators for \(\nPrefix{2}\Cat\).

Fact 1 ([46]). The \((\infty, 1)\)-category \(\nPrefix{2}\Cat\) (more generally \(\nPrefix{2}\Cat_{/ \walkingCell_{\natI}}\) for \(0 \le \natI \le 2\)) is cartesian closed. For \(\cat, \catI \in \nPrefix{2}\Cat\), let \(\Fun(\cat, \catI)\) denote the exponential in \(\nPrefix{2}\Cat\).

Fact 1 ([46]). \(\walkingCell_{0}\), \(\walkingCell_{1}\), and \(\walkingCell_{2}\) satisfy certain pushout formulas. We will recall them when needed.

Let us fix terminology and notation.

Objects in \(\nPrefix{2}\Cat\) are called \((\infty, 2)\)-categories. For an \((\infty, 2)\)-category \(\cat\), morphisms in \(\nPrefix{2}\Cat\) to \(\cat\) from \(\walkingCell_{0}\), \(\walkingCell_{1}\), and \(\walkingCell_{2}\) are called objects or \(0\)-cells, morphisms or \(1\)-cells, and \(2\)-morphisms or \(2\)-cells, respectively, in \(\cat\). Morphisms in \(\nPrefix{2}\Cat\) are called functors. For \((\infty, 2)\)-categories \(\cat\) and \(\catI\), \(1\)-cells in the \((\infty, 2)\)-category \(\Fun(\cat, \catI)\) are called natural transformations.

1 is particularly useful and mostly used in the following form.

Let \(\cls\) be a class of small \((\infty, 2)\)-categories. If \(\cls\) is closed under small colimits (that is, \(\colim_{\idx \in \idxsh} \cat_{\idx} \in \cls\) whenever \(\cat_{\idx} \in \cls\) for every \(\idx \in \idxsh\), for any small diagram \(\cat : \idxsh \to \nPrefix{2}\Cat\)) and if \(\cls\) contains \(\walkingCell_{0}\), \(\walkingCell_{1}\), and \(\walkingCell_{2}\), then \(\cls\) contains all small \((\infty, 2)\)-categories. 0◻

[cst:2-category-obj,cst:2-category-core,cst:2-category-dual] below are easily justified by using the 2-fold complete Segal spaces model [47].

Construction 1. Let \(\cat\) be an \((\infty, 2)\)-category. We define the space \(\Obj(\cat)\) of objects in \(\cat\) to be \(\Map_{\nPrefix{2}\Cat}(\walkingCell_{0}, \cat)\). For a pair of objects \((\obj, \objI)\), an \((\infty, 1)\)-category \(\Map_{\cat}(\obj, \objI)\) called the mapping \((\infty, 1)\)-category is constructed. It is defined by the pullbacks \[\begin{tikzcd} \Obj(\Map_{\cat}(\obj, \objI)) \arrow[r] \arrow[d] \arrow[dr, pbMark] & \Map_{\nPrefix{2}\Cat}(\walkingCell_{1}, \cat) \arrow[d, "{(\dom, \cod)}"] \\ \objFinal \arrow[r, "{(\obj, \objI)}"'] & \Obj(\cat) \times \Obj(\cat) \end{tikzcd}\] and \[\begin{tikzcd} \Map_{\Map_{\cat}(\obj, \objI)}(\mor, \morI) \arrow[r] \arrow[d] \arrow[dr, pbMark] & \Map_{\nPrefix{2}\Cat}(\walkingCell_{2}, \cat) \arrow[d, "{(\dom, \cod)}"] \\ \objFinal \arrow[r, "{(\mor, \morI)}"'] & \Obj(\Map_{\cat}(\obj, \objI)) \times \Obj(\Map_{\cat}(\obj, \objI)). \end{tikzcd}\] \(\cat\) also has a functorial composition operator between its mapping \((\infty, 1)\)-categories.

Construction 1. For an \((\infty, 2)\)-category \(\cat\), we define an \((\infty, 1)\)-category \(\Core_{\nMark{1}}(\cat)\) called the \((\infty, 1)\)-core of \(C\) by \(\Obj(\Core_{\nMark{1}}(\cat)) = \Obj(\cat)\) and \(\Map_{\Core_{\nMark{1}}(\cat)}(\obj, \objI) = \Obj(\Map_{\cat}(\obj, \objI))\). This defines a functor \(\Core_{\nMark{1}} : \nPrefix{2}\Cat \to \Cat\). It is shown that \(\Core_{\nMark{1}}\) has a fully faithful left adjoint, and thus we regard \(\Cat\) as a coreflective full subcategory of \(\nPrefix{2}\Cat\). An \((\infty, 2)\)-category \(\cat\) is an \((\infty, 1)\)-category if and only if it is locally discrete in the sense that \(\Map_{\cat}(\obj, \objI)\) is an \(\infty\)-groupoid for any \(\obj, \objI \in \cat\).

Let \(\cat\) be an \((\infty, 2)\)-category. A locally full subcategory of \(\cat\) is an \((\infty, 2)\)-category \(\cat'\) equipped with a functor \(\fun : \cat' \to \cat\) such that $ (’) ()None$ is mono and $ {’}(, ) {}((), ())None$ is fully faithful for any \(\obj, \objI \in \cat'\). A locally full subcategory of \(\cat\) is usually specified by a class \(\cat'_{0}\) of \(0\)-cells in \(\cat\) and a class \(\cat'_{1}\) of \(1\)-cells in \(\cat\) between objects in \(\cat'_{0}\) such that \(\cat'_{1}\) contains all the equivalences between objects in \(\cat'_{0}\) and is closed under composition.

The unicity theorem [46] Theorem 7.3 asserts that there are exactly \((\Integer/2 \Integer)^{2}\) automorphisms on \(\nPrefix{2}\Cat\). Those automorphisms are opposite constructions.

Construction 1. Let \(\cat\) be an \((\infty, 2)\)-category. \((\infty, 2)\)-categories \(\cat^{\opMark(1)}\) and \(\cat^{\opMark(2)}\) are defined by $ (^{(1)}) = (^{(2)}) = ()None$ and \[\begin{align} \Map_{\cat^{\opMark(1)}}(\obj, \objI) &= \Map_{\cat}(\objI, \obj) \\ \Map_{\cat^{\opMark(2)}}(\obj, \objI) &= \Map_{\cat}(\obj, \objI)^{\opMark}. \end{align}\] We abbreviate \((\cat^{\opMark(1)})^{\opMark(2)} \simeq (\cat^{\opMark(2)})^{\opMark(1)}\) as \(\cat^{\opMark(1, 2)}\).

The following is an \((\infty, 2)\)-categorical version of the fact that a natural transformation is invertible if it is point-wise invertible. It is proved without using a specific model.

For any \((\infty, 2)\)-categories \(\cat\) and \(\catI\), the restriction functor \[\Core_{\nMark{1}}(\Fun(\cat, \catI)) \to \Core_{\nMark{1}}(\Fun(\Obj(\cat), \catI))\] is conservative.

Proof. Let \(\cls\) be the class of \((\infty, 2)\)-categories \(\cat\) such that the functor $ {}((, )) {}(((), ))None$ is conservative for any \((\infty, 2)\)-category \(\catI\). We first show that \(\cls\) is closed under colimits. For a functor \(\cat : \idxsh \to \nPrefix{2}\Cat\), we have the following commutative diagram. \[\begin{tikzcd} \Core_{\nMark{1}}(\Fun(\colim_{\idx \in \idxsh} \cat_{\idx}, \catI)) \arrow[r] \arrow[d, "\simeq"'] & \Core_{\nMark{1}}(\Fun(\Obj(\colim_{\idx \in \idxsh} \cat_{\idx}), \catI)) \arrow[d] \\ \lim_{\idx \in \idxsh} \Core_{\nMark{1}}(\Fun(\cat_{\idx}, \catI)) \arrow[r] & \lim_{\idx \in \idxsh} \Core_{\nMark{1}}(\Fun(\Obj(\cat_{\idx}), \catI)) \end{tikzcd}\] The left functor is an equivalence as \(\Core_{\nMark{1}}\) preserves limits. If every \(\cat_{\idx}\) belongs to \(\cls\), then the bottom functor is conservative, and so is the top.

It remains to show that \(\cls\) contains \(\walkingCell_{0}\), \(\walkingCell_{1}\), and \(\walkingCell_{2}\). Note that when \(\cat\) is locally discrete, we have $ {}((, )) (, {}()),None$ and \((\infty, 1)\)-category theory applies. The only non-trivial case is when \(\cat = \walkingCell_{2}\). We recall the following pushout in \(\nPrefix{2}\Cat\) [46] Axiom C.4. \[\begin{tikzcd} \walkingCell_{2} \arrow[r] \arrow[d] \arrow[dr, poMark] & \walkingCell_{1} +_{\walkingCell_{0}} \walkingCell_{2} \arrow[d] \\ \walkingCell_{2} +_{\walkingCell_{0}} \walkingCell_{1} \arrow[r] & \walkingCell_{2} \times \walkingCell_{1} \end{tikzcd}\] \(\walkingCell_{2} \times \walkingCell_{1}\) should be a cylinder \[\begin{tikzcd} \bullet \arrow[r] \arrow[d, bend right = 9ex, ""{name = a0}] \arrow[d, bend left = 9ex, ""'{name = a1}] \arrow[from = a0, to = a1, To] & \bullet \arrow[d, bend right = 9ex, ""{name = a2}] \arrow[d, bend left = 9ex, ""'{name = a3}] \arrow[from = a2, to = a3, To] \\ \bullet \arrow[r] & \bullet, \end{tikzcd}\] and the above pushout formula asserts that this is the case because the cylinder is obtained by gluing the lower-left part $ {2} +{{0}} {1} = ( )None$ and the upper-right part $ {1} +{{0}} {2} = (

).None$ A functor $ {}({1}, ({2}, )) {}({2} {1}, )None$ is thus a diagram in \(\catI\) of the form \[\begin{tikzcd} \fun(0, 0) \arrow[r, "{\fun(0, 01)}"] \arrow[d, bend right = 9ex, ""{name = a0}] \arrow[d, bend left = 9ex, ""'{name = a1}] \arrow[from = a0, to = a1, To] & [3ex] \fun(0, 1) \arrow[d, bend right = 9ex, ""{name = a2}] \arrow[d, bend left = 9ex, ""'{name = a3}] \arrow[from = a2, to = a3, To] \\ \fun(1, 0) \arrow[r, "{\fun(1, 01)}"'] & \fun(1, 1). \end{tikzcd}\] When the morphisms \(\fun(0, 01)\) and \(\fun(1, 01)\) are invertible, then one can construct an inverse of \(\fun\) in \(\Fun(\walkingCell_{2}, \catI)\). ◻

5.3 Scaled simplicial sets↩︎

We review one of models for \((\infty, 2)\)-categories, scaled simplicial sets [29]. This model is convenient for presenting \((\infty, 2)\)-categories by combinatorial data, provides computation of colimits of \((\infty, 2)\)-categories, and gives the \((\infty, 2)\)-category of \((\infty, 1)\)-categories a useful universal property.

A scaled simplicial set is a simplicial set \(\sh\) equipped with a class of \(2\)-simplices called thin \(2\)-simplices such that all the degenerate \(2\)-simplices are thin.

A scaled simplicial set \(\sh\) is thought of as a presentation of an \((\infty, 2)\)-category: the \(0\)-cells are the \(0\)-simplices of \(\sh\); the \(1\)-cells are generated by \(1\)-simplices of \(\sh\); the \(2\)-cells are generated by \(2\)-simplices of \(\sh\) in the following direction; \[\begin{tikzcd} \el_{0} \arrow[rr, "\phantom{a}"'{name = a0}] \arrow[dr] & \arrow[from = a0, to = d, To, end anchor = {[yshift = 1ex]}] & \el_{2} \\ & \el_{1} \arrow[ur] \end{tikzcd}\] thin \(2\)-simplices are made invertible \(2\)-cells; higher simplices presents homotopies filling certain diagrams.

There is a model structure on the category of scaled simplicial sets that presents \(\nPrefix{2}\Cat\).

Proof. See [29] for the model structure and comparison with other models for \((\infty, 2)\)-categories. Barwick and Schommer-Pries [46] show that the \((\infty, 1)\)-category presented by this model structure indeed satisfies their axioms. ◻

Let \(\idxsh\) be a (decidable) poset and we regard it as a scaled simplicial set with no non-degenerate thin \(2\)-simplex. It presents a gaunt \(2\)-category \(\freeBracket{\idxsh}\) defined as follows. The objects of \(\freeBracket{\idxsh}\) are the elements of \(\idxsh\). The mapping category \(\Map_{\freeBracket{\idxsh}}(\idx, \idxI)\) for \(\idx, \idxI \in \idxsh\) is the poset of totally ordered subsets \(\idxshI \subset \idxsh\) with least element \(\idx\) and largest element \(\idxI\). A morphism from \(\idx\) to \(\idxI\) is thus a chain $ = {0} < {1} < < _{} = .None$ It then follows that \(\Core_{\nMark{1}}(\freeBracket{\idxsh})\) is the free category over the strict ordering relation on \(\idxsh\). For any \(\idx < \idxI\) in \(\idxsh\), the chain \((\idx < \idxI)\) is the initial object in \(\Map_{\freeBracket{\idxsh}}(\idx, \idxI)\).

We can calculate colimits in \(\nPrefix{2}\Cat\) via homotopy colimits of scaled simplicial sets. We do not need much details, but a useful consequence is the following.

For any functor \(\cat : \idxsh \to \nPrefix{2}\Cat\), the map \[\colim_{\idx \in \idxsh} \Obj(\cat_{\idx}) \to \Obj(\colim_{\idx \in \idxsh} \cat_{\idx})\] is surjective. 0◻

Lurie [29, Sec. 4.5] shows that the \((\infty, 2)\)-category of \((\infty, 1)\)-categories is presented by the scaled simplicial set classifying locally cocartesian fibrations.

Let \(\sh\) be a scaled simplicial set and \(\shI\) a simplicial set. A map \(\mapProj : \shI \to \sh\) of simplicial sets is a locally cocartesian fibration if the following are satisfied:

  1. \(\mapProj\) is an inner fibration of simplicial sets;

  2. for every \(1\)-simplex \(\el : \stdsimp^{1} \to \sh\), the base change \(\el^{\pbMark} \mapProj : \el^{\pbMark} \shI \to \stdsimp^{1}\) is a cocartesian fibration of simplicial sets;

  3. for every thin \(2\)-simplex \(\el : \stdsimp^{2} \to \sh\), the base change \(\el^{\pbMark} \mapProj\) is a cocartesian fibration of simplicial sets.

Fact 1 ([29]). There exists a universal locally cocartesian fibration with small fibers $ : ^{} ^{}None$ in the following sense:

  1. \(\Cat^{\scaledMark}\) is a large fibrant scaled simplicial set, \(\ptCat^{\scaledMark}\) is a large simplicial set, and \(\proj\) is a locally cocartesian fibration whose fibers are small;

  2. for any locally cocartesian fibration with small fibers \(\mapProj\), there exists a unique, up to homotopy, homotopy pullback from \(\mapProj\) to \(\proj\).

Construction 1. Let \(\Cat^{\nMark{2}} \in \enlarge \nPrefix{2}\Cat\) be the \((\infty, 2)\)-category presented by \(\Cat^{\scaledMark}\). By the construction of \(\Cat^{\scaledMark}\) [29] Definition 4.5.1, we have $ (^{}) ()None$ and $ _{^{}}(, ) (, ).None$

The constructions of \(\Cat^{\scaledMark}\) and \(\Cat^{\nMark{2}}\) are parameterized by a universe. We use the notation \(\enlarge \Cat^{\scaledMark}\) and \(\enlarge \Cat^{\nMark{2}}\) for those constructions with respect to the larger universe \(\enlarge \setuniv\).

The notion of locally cocartesian fibration is, however, specific to the scaled simplicial sets model. A more model-independent notion is as follows.

A functor \(\funProj : \catI \to \cat\) between \((\infty, 2)\)-categories is a \(1\)-cocartesian \(2\)-right fibration if the following conditions are satisfied:

  1. \(\funProj\) is locally a right fibration in the sense that for any objects \(\obj, \objI \in \catI\), the functor $ : {}(, ) {}((), ())None$ is a right fibration;

  2. \(\Core_{\nMark{1}}(\funProj) : \Core_{\nMark{1}}(\catI) \to \Core_{\nMark{1}}(\cat)\) is a cocartesian fibration.

By duality, \(1\)-(cocartesian/cartesian) \(2\)-(right/left) fibrations are defined. (These are called inner/outer cocartesian/cartesian fibrations for the scaled simplicial set model [28].)

Assuming [item:2-right-fibration] in [def:1-cocartesian-2-right-fibration], any cocartesian morphism \(\mor : \obj \to \objI\) in \(\Core_{\nMark{1}}(\catI)\) is also cocartesian in the \(\Cat\)-enriched sense: for any object \(\objII \in \catI\), the square \[\begin{tikzcd} \Map_{\catI}(\objI, \objII) \arrow[r, "\blank \comp \mor"] \arrow[d, "\funProj"'] & [4ex] \Map_{\catI}(\obj, \objII) \arrow[d, "\funProj"] \\ \Map_{\cat}(\funProj(\objI), \funProj(\objII)) \arrow[r, "\blank \comp \funProj(\mor)"'] & \Map_{\cat}(\funProj(\obj), \funProj(\objII)) \end{tikzcd}\] is a pullback in \(\Cat\), because \(\Obj : \Cat \to \Space\) reflects pullbacks of right fibrations.

\(\Cat^{\nMark{2}}\) is part of a universal \(1\)-cocartesian \(2\)-right fibration with small fibers \(\ptCat^{\nMark{2}, \rightMark} \to \Cat^{\nMark{2}}\). For a functor \(\cat : \idxsh \to \Cat^{\nMark{2}}\), let \(\El_{\idxsh}(\cat) \to \idxsh\) denote the corresponding \(1\)-cocartesian \(2\)-right fibration.

Proof. This follows from the equivalence between locally cocartesian fibrations and inner cartesian fibrations of categories enriched over marked simplicial sets given by Gagna, Harpaz, and Lanari [28] Propositions 2.4.1 and 3.1.3. ◻

An object in \(\ptCat^{\nMark{2}, \rightMark}\) is a pair \((\cat, \obj)\) consisting of an \((\infty, 1)\)-category \(\cat\) and an object \(\obj \in \cat\). A morphism \((\cat, \obj) \to (\catI, \objI)\) in \(\ptCat^{\nMark{2}, \rightMark}\) is a pair \((\fun, \mor)\) consisting of a functor \(\fun : \cat \to \catI\) and a morphism \(\mor : \fun(\obj) \to \objI\). A \(2\)-morphism \((\fun, \mor) \To (\funI, \morI) : (\cat, \obj) \to (\catI, \objI)\) in \(\ptCat^{\nMark{2}, \rightMark}\) is a pair \((\trans, \pth)\) consisting of a natural transformation \(\trans : \fun \To \funI\) and a path \(\pth : \mor \sim \morI \comp \trans_{\obj}\).

For the purpose of 5.4, we introduce a variant of \(\ptCat^{\nMark{2}, \rightMark}\).

Construction 1. The equivalence of \((\infty, 1)\)-categories \(\Cat \ni \cat \mapsto \cat^{\opMark} \in \Cat\) extends to an equivalence of \((\infty, 2)\)-categories \[(\blank)^{\opMark} : \Cat^{\nMark{2}} \simeq (\Cat^{\nMark{2}})^{\opMark(2)}.\] Let \(\ptCat^{\nMark{2}, \leftMark} = ((\blank)^{\opMark})^{\pbMark} (\ptCat^{\nMark{2}, \rightMark})^{\opMark(2)}\). By construction, the functor \((\ptCat^{\nMark{2}, \leftMark})^{\opMark(1, 2)} \to (\Cat^{\nMark{2}})^{\opMark(1, 2)}\) classifies \(1\)-cartesian \(2\)-right fibrations with small fibers. For a functor \(\cat : \idxsh^{\opMark(1, 2)} \to \Cat^{\nMark{2}}\), let \(\El_{\idxsh}(\cat) \to \idxsh\) denote the corresponding \(1\)-cartesian \(2\)-right fibration.

In other words, \(\ptCat^{\nMark{2}, \leftMark}\) is the fiberwise opposite of \(\ptCat^{\nMark{2}, \rightMark}\). Thus, the objects of \(\ptCat^{\nMark{2}, \leftMark}\) are the same as \(\ptCat^{\nMark{2}, \rightMark}\), but a morphism \((\cat, \obj) \to (\catI, \objI)\) in \(\ptCat^{\nMark{2}, \leftMark}\) is a pair \((\fun, \mor)\) consisting of a functor \(\fun : \cat \to \catI\) and a morphism \(\mor : \objI \to \fun(\obj)\).

5.4 Oplax limits↩︎

Oplax limits in general \((\infty, 2)\)-categories are defined by Gagna, Harpaz, and Lanari [28]. In this paper, we only need oplax limits of \((\infty, 1)\)-categories which have the following simple construction [28] Example 5.3.12.

Construction 1. Let \(\idxsh\) be a small \((\infty, 2)\)-category and \(\cat : \idxsh^{\opMark(1, 2)} \to \Cat^{\nMark{2}}\) a functor. The oplax limit of \(\cat\) is defined to be the pullback \[\begin{tikzcd} \opLaxLim_{\idx \in \idxsh} \cat_{\idx} \arrow[r, dotted] \arrow[d, dotted] \arrow[dr, pbMark] & \Fun(\idxsh, (\ptCat^{\nMark{2}, \leftMark})^{\opMark(1, 2)}) \arrow[d] \\ \walkingCell_{0} \arrow[r, "\cat"'] & \Fun(\idxsh, (\Cat^{\nMark{2}})^{\opMark(1, 2)}). \end{tikzcd}\] Equivalently, it is the pullback \[\begin{tikzcd} \opLaxLim_{\idx \in \idxsh} \cat_{\idx} \arrow[r, dotted] \arrow[d, dotted] \arrow[dr, pbMark] & \Fun(\idxsh, \El_{\idxsh}(\cat)) \arrow[d] \\ \walkingCell_{0} \arrow[r, "\id_{\idxsh}"'] & \Fun(\idxsh, \idxsh). \end{tikzcd}\] In other words, \(\opLaxLim_{\idx \in \idxsh} \cat_{\idx}\) is the \((\infty, 2)\)-category of sections of \(\El_{\idxsh}(\cat) \to \idxsh\). Any functor \(\fun : \idxshI \to \idxsh\) induces a functor $ ^{} : {} {} {} {()}.None$

\(\opLaxLim_{\idx \in \idxsh} \cat_{\idx}\) is small and locally discrete. Indeed, the class of small \((\infty, 2)\)-categories \(\idxsh\) such that \(\opLaxLim_{\idx \in \idxsh} \cat_{\idx}\) is small and locally discrete for any \(\cat : \idxsh^{\opMark(1, 2)} \to \Cat^{\nMark{2}}\) is closed under small colimits, and the cases when \(\idxsh = \walkingCell_{0}, \walkingCell_{1}, \walkingCell_{2}\) are directly calculated in [exm:oplax-limit-cell-0] [exm:oplax-limit-cell-1] [exm:oplax-limit-cell-2] below. Hence, we regard \(\opLaxLim_{\idx \in \idxsh} \cat_{\idx}\) as a small \((\infty, 1)\)-category.

Concretely, an object \(\obj\) in \(\opLaxLim_{\idx \in \idxsh} \cat_{\idx}\) consists of: an object \(\obj_{\idx} \in \cat_{\idx}\) for any object \(\idx \in \idxsh\); a morphism \(\obj_{\moridx} : \obj_{\idx} \to \cat_{\moridx}(\obj_{\idxI})\) for any morphism \(\moridx : \idx \to \idxI\) in \(\idxsh\); some coherence data. A morphism \(\mor : \obj \to \objI\) in \(\opLaxLim_{\idx \in \idxsh} \cat_{\idx}\) consists of: a morphism \(\mor_{\idx} : \obj_{\idx} \to \objI_{\idx}\) for any object \(\idx \in \idxsh\); a homotopy \(\mor_{\moridx}\) filling the square \[\begin{tikzcd} \obj_{\idx} \arrow[r, "\mor_{\idx}"] \arrow[d, "\obj_{\moridx}"'] & [4ex] \objI_{\idx} \arrow[d, "\objI_{\moridx}"] \\ \cat_{\moridx}(\obj_{\idxI}) \arrow[r, "\cat_{\moridx}(\mor_{\idxI})"'] & \cat_{\moridx}(\objI_{\idxI}) \end{tikzcd}\] for any morphism \(\moridx : \idx \to \idxI\) in \(\idxsh\); some coherence data.

When \(\idxsh\) is an \(\infty\)-groupoid, we have $ {} {} {} {}.None$ For a general \(\idxsh\), we have the forgetful functor $ {} {} {()} {} {} {}None$ which is conservative by [prop:invertible-trans-pointwise].

When \(\idxsh = \walkingCell_{0}\), a functor \(\walkingCell_{0}^{\opMark(1, 2)} \to \Cat^{\nMark{2}}\) corresponds to an \((\infty, 1)\)-category \(\cat\), and its oplax limit is \(\cat\) itself.

When \(\idxsh = \walkingCell_{1}\), a functor \(\cat : \walkingCell_{1}^{\opMark(1, 2)} \to \Cat^{\nMark{2}}\) corresponds to a functor \(\fun : \cat_{1} \to \cat_{0}\). Its oplax limit is the \((\infty, 1)\)-category of triples \((\obj_{0}, \obj_{1}, \mor)\) consisting of objects \(\obj_{0} \in \cat_{0}\) and \(\obj_{1} \in \cat_{1}\) and a morphism \(\mor : \obj_{0} \to \fun(\obj_{1})\). In other words, we have the following pullback. \[\begin{tikzcd} \opLaxLim_{\idx \in \walkingCell_{1}} \cat_{\idx} \arrow[r] \arrow[d] \arrow[dr, pbMark] & \cat_{0}^{\to} \arrow[d, "\cod"] \\ \cat_{1} \arrow[r, "\fun"'] & \cat_{0} \end{tikzcd}\] This oplax limit is called the Artin gluing for \(\fun\) and denoted by \(\Glue(\fun)\).

When \(\idxsh = \walkingCell_{2}\), a functor \(\cat : \walkingCell_{2}^{\opMark(1, 2)} \to \Cat^{\nMark{2}}\) corresponds to a natural transformation \(\trans : \fun_{1} \To \fun_{0} : \cat_{1} \to \cat_{0}\). Since \((\ptCat^{\nMark{2}, \leftMark})^{\opMark(1, 2)} \to (\Cat^{\nMark{2}})^{\opMark(1, 2)}\) is locally a right fibration, a section of it over \(\cat\) is completely determined by the restriction along the codomain inclusion \(\walkingCell_{1} \to \walkingCell_{2}\). Therefore, $ {{2}} {} ({1}).None$

Let \(\idxshI\) be a small \((\infty, 1)\)-category and \(\idxsh : \idxshI \to \nPrefix{2}\Cat\) a functor. For any functor \(\cat : (\colim_{\idxI \in \idxshI} \idxsh_{\idxI})^{\opMark(1, 2)} \to \Cat^{\nMark{2}}\), we have a canonical equivalence \[\opLaxLim_{\idx \in \colim_{\idxI \in \idxshI} \idxsh_{\idxI}} \cat_{\idx} \simeq \lim_{\idxI \in \idxshI} \opLaxLim_{\idx \in \idxsh_{\idxI}} \cat_{\inc_{\idxI}(\idx)}.\] Hence, arbitrary oplax limits are constructed from [exm:oplax-limit-cell-0] [exm:oplax-limit-cell-1] [exm:oplax-limit-cell-2] using small limits.

We show that \(\infty\)-logoses are closed under oplax limits. For this, we consider a weaker notion of morphism of \(\infty\)-logoses.

A functor between accessible categories is accessible if it preserves small \(\card\)-filtered colimits for some regular cardinal \(\card\).

We define \(\Logos_{\LexAccMark}^{\nMark{2}} \subset \enlarge \Cat^{\nMark{2}}\) to be the locally full subcategory spanned by the \(\infty\)-logoses and the lex, accessible functors between \(\infty\)-logoses.

Let \(\idxsh\) be a small \((\infty, 2)\)-category and \(\logos : \idxsh^{\opMark(1, 2)} \to \Logos_{\LexAccMark}^{\nMark{2}}\) a functor. Then \(\opLaxLim_{\idx \in \idxsh} \logos_{\idx}\) is an \(\infty\)-logos. Moreover, the forgetful functor $ {} {} {} {}None$ preserves small colimits and finite limits.

The rest of this subsection is devoted to the proof of [prop:logos-accessible-oplax-limit].

Fact 1 ([1]). \(\Logos \subset \enlarge \Cat\) is closed under small limits.

Let \(\fun : \logos_{1} \to \logos_{0}\) be a lex, accessible functor between \(\infty\)-logoses. Then \(\Glue(\fun)\) is an \(\infty\)-logos, and the projections \(\Glue(\fun) \to \logos_{0}\) and \(\Glue(\fun) \to \logos_{1}\) preserve small colimits and finite limits.

Proof. We use a characterization of presentability: an \((\infty, 1)\)-category is presentable if and only if it is accessible and has small colimits [1] Definition 5.5.0.1. It follows from [1] Propositions 5.4.4.3 and 5.4.6.6 that \(\Glue(\fun)\) is accessible. By construction, \(\Glue(\fun)\) is the \((\infty, 1)\)-category of triples \((\sh_{0}, \sh_{1}, \map)\) consisting of objects \(\sh_{0} \in \logos_{0}\) and \(\sh_{1} \in \logos_{1}\) and a map \(\map : \sh_{0} \to \fun(\sh_{1})\). It follows from this description that the projection \(\Glue(\fun) \to \logos_{0} \times \logos_{1}\) creates small colimits and finite limits. In particular, \(\Glue(\fun)\) admits small colimits and thus is presentable. Since the projection \(\Glue(\fun) \to \logos_{0} \times \logos_{1}\) is conservative by [exm:oplax-limit-discrete], \(\Glue(\fun)\) is an \(\infty\)-logos by [prop:logos-descent-along-conservative]. ◻

Proof of [prop:logos-accessible-oplax-limit]. Let \(\cls\) be the class of small \((\infty, 2)\)-categories \(\idxsh\) such that for any functor \(\logos : \idxsh^{\opMark(1, 2)} \to \Logos_{\LexAccMark}^{\nMark{2}}\), the oplax limit \(\opLaxLim_{\idx \in \idxsh} \logos_{\idx}\) is an \(\infty\)-logos and the forgetful functor \(\opLaxLim_{\idx \in \idxsh} \logos_{\idx} \to \prod_{\idx \in \idxsh} \logos_{\idx}\) preserves small colimits and finite limits. It is enough to show that \(\cls\) is closed under small colimits and contains \(\walkingCell_{0}\), \(\walkingCell_{1}\), and \(\walkingCell_{2}\).

Let \(\idxsh : \idxshI \to \nPrefix{2}\Cat\) be a functor from a small \((\infty, 1)\)-category \(\idxshI\) and suppose that every \(\idxsh_{\idxI}\) belongs to \(\cls\). Let \(\logos : (\colim_{\idxI \in \idxshI}\idxsh_{\idxI})^{\opMark(1, 2)} \to \Logos_{\LexAccMark}^{\nMark{2}}\) be a functor. As in [exm:oplax-limit-colimit], we have \[\opLaxLim_{\idx \in \colim_{\idxI \in \idxshI} \idxsh_{\idxI}} \logos_{\idx} \simeq \lim_{\idxI \in \idxshI} \opLaxLim_{\idx \in \idxsh_{\idxI}} \logos_{\inc_{\idxI}(\idx)}.\] Since \(\idxsh_{\idxI} \in \cls\), small colimits and finite limits in \(\opLaxLim_{\idx \in \idxsh_{\idxI}} \logos_{\inc_{\idxI}(\idx)}\) are computed in \(\prod_{\idx \in \idxsh_{\idxI}} \logos_{\inc_{\idxI}(\idx)}\). Thus, for any morphism \(\idxI_{1} \to \idxI_{2}\) in \(\idxshI\), the functor $ {{{2}}} {{{1}}()} {{{1}}} {{{2}}()}None$ preserves small colimits and finite limits. It then follows from 1 that $ {} {{}} {{}()}None$ is an \(\infty\)-logos. Consider the following commutative square. \[\begin{tikzcd} \opLaxLim_{\idx \in \colim_{\idxI \in \idxshI} \idxsh_{\idxI}} \logos_{\idx} \arrow[r, "\simeq"] \arrow[d] & \lim_{\idxI \in \idxshI} \opLaxLim_{\idx \in \idxsh_{\idxI}} \logos_{\inc_{\idxI}(\idx)} \arrow[d] \\ \prod_{\idx \in \Obj(\colim_{\idxI \in \idxshI} \idxsh_{\idxI})} \logos_{\idx} \arrow[r] & \lim_{\idxI \in \idxshI} \prod_{\idx \in \Obj(\idxsh_{\idxI})} \logos_{\inc_{\idxI}(\idx)} \end{tikzcd}\] We have seen that the top functor is an equivalence. The right functor preserves small colimits and finite limits as every \(\idxsh_{\idxI}\) belongs to \(\cls\). The bottom functor is equivalent to the restriction along $ {} ({}) ({} _{})None$ and thus preserves small colimits and finite limits. By [lem:2-cat-colimit-surjective-on-objects], the bottom functor is conservative. We thus conclude that the left functor preserves small colimits and finite limits. Hence, \(\colim_{\idxI \in \idxshI} \idxsh_{\idxI}\) belongs to \(\cls\).

\(\walkingCell_{0}\) belongs to \(\cls\) by [exm:oplax-limit-cell-0]. \(\walkingCell_{1}\) belongs to \(\cls\) by [exm:oplax-limit-cell-1] [lem:gluing-logos]. \(\walkingCell_{2}\) belongs to \(\cls\) by [exm:oplax-limit-cell-2] and by the case of \(\walkingCell_{1}\). ◻

5.5 Oplax natural transformations↩︎

An alternative description of oplax limits is that they are \((\infty, 1)\)-categories of oplax natural transformations ([prop:oplax-limit-universal-property]).

Construction 1 ([48]). Let \(\sh\) and \(\shI\) be scaled simplicial sets. The Gray product \(\sh \tensorGray \shI\) is the scaled simplicial set whose underlying simplicial set is the cartesian product of \(\sh\) and \(\shI\) and whose \(2\)-simplex \((\el, \elI) : \stdsimp^{2} \to \sh \times \shI\) is thin if both \(\el\) and \(\elI\) are thin and either \(\el\) degenerates along \(\stdsimp^{\{1, 2\}}\) or \(\elI\) degenerates along \(\stdsimp^{\{0, 1\}}\).

Fact 1 ([48]). The Gray product is part of a left Quillen bifunctor on scaled simplicial sets. Consequently, it induces a functor \[\blank \tensorGray \blank : \nPrefix{2}\Cat \times \nPrefix{2}\Cat \to \nPrefix{2}\Cat\] preserving small colimits on each variable.

Construction 1. By 1 and by the adjoint functor theorem, for any \((\infty, 2)\)-category \(\cat\), the functors \((\blank \tensorGray \cat)\) and \((\cat \tensorGray \blank)\) have right adjoints \(\Fun(\cat, \blank)_{\LaxMark}\) and \(\Fun(\cat, \blank)_{\opLaxMark}\), respectively.

$ {0} ,None$ and thus $ ((, ){}) _{}(, ).None$ Dually, \(\Obj(\Fun(\cat, \catI)_{\LaxMark}) \simeq \Map_{\nPrefix{2}\Cat}(\cat, \catI)\).

Let \(\cat\) be a scaled simplicial set and \(\mor : \obj \to \objI\) a \(1\)-simplex in \(\cat\). Consider the following \(2\)-simplices in \(\cat \tensorGray \stdsimp^{1}\). \[\label{eq:gray-triangles-1} \begin{tikzcd} (\obj, 0) \arrow[r, "{(\obj, 0 \le 1)}"] \arrow[d, "{(\mor, 0)}"'] \arrow[dr, "{(\mor, 0 \le 1)}"{description}] & [4ex] (\obj, 1) \arrow[d, "{(\mor, 1)}"] \\ (\objI, 0) \arrow[r, "{(\objI, 0 \le 1)}"'] & (\objI, 1) \end{tikzcd}\tag{1}\] By definition, the lower \(2\)-simplex is thin, but the upper one is not (unless \(\mor\) is degenerate). Hence, these \(2\)-simplices compose and yields a \(2\)-cell \[\label{eq:gray-square-1} \begin{tikzcd} (\obj, 0) \arrow[r, "{(\obj, 0 \le 1)}"] \arrow[d, "{(\mor, 0)}"'] & [4ex] (\obj, 1) \arrow[d, "{(\mor, 1)}"]\\ (\objI, 0) \arrow[r, "{(\objI, 0 \le 1)}"'] \arrow[ur, To, end anchor = {[xshift = -1ex, yshift = -1ex]}, start anchor = {[xshift = 1ex, yshift = 1ex]}] & (\objI, 1) \end{tikzcd}\tag{2}\] in the \((\infty, 2)\)-category presented by \(\cat \tensorGray \stdsimp^{1}\). Then, a \(1\)-cell \(\trans : \fun \to \funI\) in \(\Fun(\cat, \catI)_{\opLaxMark}\) assigns: a \(1\)-cell \(\trans_{\obj} : \fun(\obj) \to \funI(\obj)\) to every \(0\)-cell \(\obj \in \cat\); a \(2\)-cell \[\begin{tikzcd} \fun(\obj) \arrow[r, "\trans_{\obj}"] \arrow[d, "\fun(\mor)"'] & [2ex] \funI(\obj) \arrow[d, "\funI(\mor)"] \\ [2ex] \fun(\objI) \arrow[r, "\trans_{\objI}"'] \arrow[ur, To, dotted, "\trans_{\mor}", start anchor = {[xshift = 1ex, yshift = 1ex]}, end anchor = {[xshift = -1ex, yshift = -1ex]}] & \funI(\objI) \end{tikzcd}\] to every \(1\)-cell \(\mor : \obj \to \objI\); and coherence data to higher cells. Such a structure is called an oplax natural transformation from \(\fun\) to \(\funI\). Dually, \(1\)-cells in \(\Fun(\cat, \catI)_{\LaxMark}\) are called lax natural transformations. For a lax natural transformation \(\trans : \fun \to \funI\), the \(2\)-cell \(\trans_{\mor}\) is in the opposite direction \(\funI(\mor) \comp \trans_{\obj} \To \trans_{\objI} \comp \fun(\mor)\).

By definition, we have a map \(\sh \tensorGray \shI \to \sh \times \shI\) of scaled simplicial sets which exhibits \(\sh \times \shI\) as the one obtained from \(\sh \tensorGray \shI\) by making the upper \(2\)-simplex in the diagram of the form thin. Thus, for \((\infty, 2)\)-categories \(\cat\) and \(\catI\), the cartesian product \(\cat \times \catI\) is obtained from the Gray product \(\cat \tensorGray \catI\) by making the \(2\)-cell in the diagram of the form invertible. By an adjoint argument, \(\Fun(\cat, \catI)\) is regarded as the locally full subcategory of \(\Fun(\cat, \catI)_{\LaxMark}\) whose \(1\)-cells are the lax natural transformations \(\trans\) such that the \(2\)-cell \(\trans_{\mor}\) is invertible for any \(1\)-cell \(\mor\) in \(\cat\). We may also regard \(\Fun(\cat, \catI)\) as a locally full subcategory of \(\Fun(\cat, \catI)_{\opLaxMark}\) in the same way.

Lax natural transformations correspond to functors between \(1\)-cocartesian \(2\)-right fibrations.

Let \(\idxsh\) be an \((\infty, 2)\)-category and let \(\cat, \catI : \idxsh \to \Cat^{\nMark{2}}\) be functors. We have an equivalence \[\Map_{\Core_{\nMark{1}}(\Fun(\idxsh ,\Cat^{\nMark{2}})_{\LaxMark})}(\cat, \catI) \simeq \Map_{\nPrefix{2}\Cat_{/ \idxsh}}(\El_{\idxsh}(\cat), \El_{\idxsh}(\catI))\] natural in \(\idxsh\).

[prop:lax-univalence] follows from the following special cases which are already known.

Fact 1 ([28]). Let \(\idxsh\) be an \((\infty, 2)\)-category. For any functor \(\catI : \idxsh \to \Cat^{\nMark{2}}\), we have an equivalence \[\Map_{\Fun(\idxsh, \Cat^{\nMark{2}})_{\LaxMark}}(\lambda \blank. \objFinal, \catI) \simeq \Map_{\nPrefix{2}\Cat^{\nMark{2}}_{/ \idxsh}}(\idxsh, \El_{\idxsh}(\catI)).\]

Fact 1 ([30]). Let \(\idxsh\) be an \((\infty, 1)\)-category. The map $ (: ^{}) _{}()None$ induces an equivalence between \(\Fun(\idxsh, \Cat^{\nMark{2}})_{\LaxMark}\) and the full subcategory of \(\Cat^{\nMark{2}}_{/ \idxsh}\) spanned by the cocartesian fibrations over \(\idxsh\). Dually, \(\Fun(\idxsh^{\opMark}, \Cat^{\nMark{2}})_{\opLaxMark}\) is equivalent to the full subcategory of \(\Cat^{\nMark{2}}_{/ \idxsh}\) spanned by the cartesian fibrations over \(\idxsh\).

Proof of [prop:lax-univalence]. We have a lax natural transformation \(\unit : (\lambda \blank. \objFinal) \to \cat \restrict_{\El_{\idxsh}(\cat)}\) corresponding to the diagonal functor \(\El_{\idxsh}(\cat) \to \El_{\idxsh}(\cat) \times_{\idxsh} \El_{\idxsh}(\cat)\) by 1. The precomposition with \(\unit\) induces a map \[\begin{align} \label{eq:lax-univalence-canonical-map} \begin{autobreak} \MoveEqLeft \Map_{\Core_{\nMark{1}}(\Fun(\idxsh, \Cat^{\nMark{2}})_{\LaxMark})}(\cat, \catI) \to \Map_{\Core_{\nMark{1}}(\Fun(\El_{\idxsh}(\cat), \Cat^{\nMark{2}})_{\LaxMark})}(\lambda \blank. \objFinal, \catI \restrict_{\El_{\idxsh}(\cat)}), \end{autobreak} \end{align}\tag{3}\] and the codomain is by 1 equivalent to $ {{/ {}()}}({}(), {}() {} {}()) {{/ }}({}(), _{}()).None$ One can verify that the map is an equivalence by reducing it to the cases when \(\cat\) is locally discrete (1) and when \(\cat = \walkingCell_{2}\). ◻

A dual argument shows the following.

Let \(\idxsh\) be an \((\infty, 2)\)-category and let \(\cat, \catI : \idxsh^{\opMark(1, 2)} \to \Cat^{\nMark{2}}\) be functors. We have an equivalence \[\Map_{\Core_{\nMark{1}}(\Fun(\idxsh^{\opMark(1, 2)} ,\Cat^{\nMark{2}})_{\opLaxMark})}(\cat, \catI) \simeq \Map_{\nPrefix{2}\Cat_{/ \idxsh}}(\El_{\idxsh}(\cat), \El_{\idxsh}(\catI))\] natural in \(\idxsh\). 0◻

Natural transformations correspond to functors preserving cocartesian morphisms.

The equivalence in [prop:lax-univalence] is restricted to an equivalence between $ {{}((, ^{}))}(, )None$ and the space of functors \(\El_{\idxsh}(\cat) \to \El_{\idxsh}(\catI)\) over \(\idxsh\) preserving cocartesian \(1\)-cells.

Proof. The equivalence between these mapping spaces is due to Lurie [29] Theorem 3.8.1. One can see that it coincides with the equivalence in [prop:lax-univalence]. ◻

Oplax limits are \((\infty, 1)\)-categories of oplax natural transformations in the following sense.

Let \(\cat : \idxsh^{\opMark(1, 2)} \to \Cat^{\nMark{2}}\) be a functor. For any \((\infty, 1)\)-category \(\catI\), we have a natural equivalence \[\Map_{\Cat}(\catI, \opLaxLim_{\idx \in \idxsh} \cat_{\idx}) \simeq \Map_{\Core_{\nMark{1}}(\Fun(\idxsh^{\opMark(1, 2)}, \Cat^{\nMark{2}})_{\opLaxMark})}(\lambda \blank. \catI, \cat).\]

Proof.

\[\begin{align} & \term{\Map_{\Cat}(\catI, \opLaxLim_{\idx \in \idxsh} \cat_{\idx})} \\ \simeq & \by{definition} \\ & \term{\Map_{\nPrefix{2}\Cat_{/ \idxsh}}(\idxsh \times \catI, \El_{\idxsh}(\cat))} \\ \simeq & \by{\ref{prop:oplax-univalence}} \\ & \term{\Map_{\Core_{\nMark{1}}(\Fun(\idxsh^{\opMark(1, 2)}, \Cat^{\nMark{2}})_{\opLaxMark})}(\lambda \blank. \catI, \cat).} \qedhere \end{align}\]

 ◻

A useful source of oplax natural transformations is the following mate correspondence whose special case when \(\cat\) is an \((\infty, 1)\)-category is shown by Haugseng et al. [30] Corollary F in a stronger form of an equivalence between \((\infty, 1)\)-categories of (op)lax natural transformations.

Let \(\cat\) be an \((\infty, 2)\)-category and \(\fun, \funI : \cat \to \Cat^{\nMark{2}}\) a functor. We have an equivalence natural in \(\cat\) between the following space:

  • the space of oplax natural transformations \(\trans : \fun \to \funI\) such that \(\trans_{\obj}\) is a left adjoint for every \(0\)-cell \(\obj \in \cat\);

  • the space of lax natural transformations \(\transI : \funI \to \fun\) such that \(\transI_{\obj}\) is a right adjoint for every \(0\)-cell \(\obj \in \cat\).

Moreover, when an oplax natural transformation \(\trans\) corresponds to a lax natural transformation \(\transI\) via this equivalence, \(\trans_{\obj} \adj \transI_{\obj}\) for any \(\obj \in \cat\).

Proof. By

\[\begin{align} & \term{\{\walkingCell_{1} \to \Fun(\cat, \Cat^{\nMark{2}})_{\opLaxMark} \mid \text{left adjoint at every \(\obj \in \cat\)}\}} \\ \simeq & \by{transpose} \\ & \term{\{\cat \to \Fun(\walkingCell_{1}, \Cat^{\nMark{2}})_{\LaxMark} \mid \text{valued in left adjoints}\}} \\ \simeq & \by{\ref{lem:lax-univalence-2}} \\ & \term{\{\cat \to \Cat^{\nMark{2}}_{/ \walkingCell_{1}} \mid \text{valued in \emph{bicartesian fibrations}}\}} \\ \simeq & \by{\ref{lem:lax-univalence-2}} \\ & \term{\{\cat \to \Fun(\walkingCell_{1}^{\opMark}, \Cat^{\nMark{2}})_{\opLaxMark} \mid \text{valued in right adjoints}\}} \\ \simeq & \by{transpose} \\ & \term{\{\walkingCell_{1}^{\opMark} \to \Fun(\cat, \Cat^{\nMark{2}})_{\LaxMark} \mid \text{right adjoint at every \(\obj \in \cat\)}\}.} \end{align}\]

Recall that a bicartesian fibration is a functor between \((\infty, 1)\)-categories that is is both a cocartesian fibration and a cartesian fibration. Because adjunctions are bicartesian fibrations over \(\walkingCell_{1}\) [1] Definition 5.2.2.1, the middle equivalences hold. ◻

6 Semantics of mode sketches↩︎

We show that models of a mode sketch \(\modesketch\) are equivalent to diagrams of \(\infty\)-logoses indexed over \(\modesketch\).

Let \(\modesketch\) be a mode sketch. A model of \(\modesketch\) is an \(\infty\)-logos \(\logos\) equipped with a function \(\mode : \modesketch \to \LexAcc(\logos)\) satisfying semantic counterparts of 1 2 3, that is:

A morphism \((\logos, \mode) \to (\logos', \mode')\) of models of \(\modesketch\) is a morphism of \(\infty\)-logoses \(\fun : \logos \to \logos'\) such that, for every \(\idx \in \modesketch\), there exists a morphism of \(\infty\)-logoses \(\fun_{\idx} : \logos_{\mode(i)} \to \logos'_{\mode'(i)}\) making the following diagram commute. \[\begin{tikzcd} \logos \arrow[r, "\fun"] \arrow[d, "\opModality_{\mode(\idx)}"'] & \logos' \arrow[d, "\opModality_{\mode'(\idx)}"] \\ \logos_{\mode(\idx)} \arrow[r, "\fun_{\idx}"', dotted] & \logos'_{\mode'(\idx)} \end{tikzcd}\] Note that such a morphism \(F_{\idx}\) is unique since \(\opModality_{\mode(\idx)}\) is a localization. The models of \(\modesketch\) and their morphisms form an \((\infty, 1)\)-category \(\Model(\modesketch)\) whose cells of dimension \(\ge 2\) are inherited from \(\Logos\).

[axm:model-disjoint,axm:model-invertible] are straightforward interpretations of 1 2, but [axm:model-top] might look different from 3. This is because an interpretation of a type-theoretic axiom must has the stability under base change, which corresponds to the stability under substitution in type theory. A naive interpretation of 3 would be that an object \(\sh \in \logos\) is contractible whenever \(\opModality_{\mode(\idx)} \sh\) is for every \(\idx \in \modesketch\), but this is not stable under base change in that it implies nothing about validity in slices \(\logos_{/ \shX}\). In contrast, [axm:model-disjoint] [axm:model-invertible] [axm:model-top] are stable under base change in the following sense. Every \(\mode\) in \(\logos\) induces a \(\mode_{\shX}\) in each slice \(\logos_{/ \shX}\) determined by \(\opModality_{\mode_{\shX}} \sh \simeq (\unitModality_{\mode})_{\shX}^{\pbMark} \opModality_{\mode} \sh\) for \(\sh \in \logos_{/ \shX}\). A function \(\mode : \modesketch \to \LexAcc(\logos)\) then induces a function \(\mode_{\shX} : \modesketch \to \LexAcc(\logos_{/ \shX})\) for every \(\shX \in \logos\) by \(\mode_{\shX}(\idx) = \mode(\idx)_{\shX}\). One can verify that if \(\mode\) satisfies [axm:model-disjoint] [axm:model-invertible] [axm:model-top], then so does \(\mode_{\shX}\). In fact, [axm:model-top] is equivalent to that the naive interpretation of 3 holds in all the slices \(\logos_{/ \shX}\).

Construction 1. Let \(\modesketch\) be a mode sketch. We construct an \((\infty, 2)\)-category \(\realize{\modesketch}\) as follows. We regard the underlying poset \(\idxModesketch_{\modesketch}\) as a simplicial set by taking its nerve. The set \(\triModesketch_{\modesketch}\) of thin triangles makes \(\idxModesketch_{\modesketch}\) a scaled simplicial set. Let \(\freeBracket{\idxModesketch_{\modesketch}, \triModesketch_{\modesketch}}\) denote the \((\infty, 2)\)-category presented by it. We set \(\realize{\modesketch} = \freeBracket{\idxModesketch_{\modesketch}, \triModesketch_{\modesketch}}^{\opMark(2)}\).

For any mode sketch \(\modesketch\), we have an equivalence between the following \((\infty, 1)\)-categories:

  • the \((\infty, 1)\)-category \(\Model(\modesketch)\) of models of \(\modesketch\);

  • the \((\infty, 1)\)-category \(\myDiagram(\modesketch) \subset \Core_{\nMark{1}}(\Fun(\realize{\modesketch}^{\opMark(1,2)}, \enlarge \Cat^{\nMark{2}})_{\opLaxMark})\) whose objects are the functors \(\realize{\modesketch}^{\opMark(1, 2)} \to \Logos_{\LexAccMark}^{\nMark{2}}\) and morphisms \(\logosI \to \logosI'\) are the oplax natural transformations \(\trans : \logosI \to \logosI'\) whose components \(\trans_{\idx} : \logosI_{\idx} \to \logosI'_{\idx}\) are all morphisms of \(\infty\)-logoses.

Moreover, when a model \((\logos, \mode)\) of \(\modesketch\) corresponds to a functor \(\logosI : \realize{\modesketch}^{\opMark(1, 2)} \to \Logos_{\LexAccMark}^{\nMark{2}}\), the following hold.

  1. $ {} {}None$

  2. \(\logosI_{i} \simeq \logos_{\mode(i)}\) for every \(\idx \in \modesketch\).

The rest of this section is devoted to the proof of [thm:main-theorem]. In 6.1, we give a construction of a model of \(\modesketch\) from a functor \(\realize{\modesketch}^{\opMark(1, 2)} \to \Logos^{\nMark{2}}_{\LexAccMark}\). In 6.2, we give an inverse construction.

6.1 Models of mode sketches in oplax limits↩︎

We first show that the oplax limit of a functor \(\realize{\modesketch}^{\opMark(1, 2)} \to \Logos_{\LexAccMark}^{\nMark{2}}\) is part of a model of \(\modesketch\). We fix a functor \(\logosI : \realize{\modesketch}^{\opMark(1, 2)} \to \Logos^{\nMark{2}}_{\LexAccMark}\).

Construction 1. For a cosieve \(\sieve\) on \(\modesketch\), we define an object \(\propCanonicalI(\sieve) \in \opLaxLim_{\idx \in \realize{\modesketch}} \logosI_{\idx}\) by \[\propCanonicalI(\sieve)_{\idx} = \left\{ \begin{array}{ll} \objFinal & \text{if \(\idx \in \sieve\)} \\ \objInitial & \text{otherwise}. \end{array} \right.\] The other components are uniquely determined by the universal properties of initial and final objects. This determines a lattice morphism \(\propCanonicalI\) from cosieves on \(\modesketch\) to \((-1)\)-truncated objects in \(\opLaxLim_{\idx \in \realize{\modesketch}} \logosI_{\idx}\).

Let \(\sieve \subset \modesketch\) be a subset. We regard \(\sieve\) as a mode sketch with the structure inherited from \(\modesketch\). Let \[\proj_{\sieve} : \opLaxLim_{\idx \in \realize{\modesketch}} \logosI_{\idx} \to \opLaxLim_{\idx \in \realize{\sieve}} \logosI_{\idx}\] denote the restriction functor.

For any cosieve \(\sieve\) on \(\modesketch\), the restriction functor $ _{}None$ is the closed localization associated to \(\propCanonicalI(\sieve)\).

Proof. Let \(\opLaxLim_{\idx \in \realize{\modesketch}} \logosI_{\idx} \to \logosII\) denote the closed localization associated to \(\propCanonicalI(\sieve)\). Recall that \(\logosII\) is the full subcategory of \(\opLaxLim_{\idx \in \realize{\modesketch}} \logosI_{\idx}\) spanned by those objects \(\sh\) such that \(\propCanonicalI(\sieve) \times \sh \simeq \propCanonicalI(\sieve)\). By the definition of \(\propCanonicalI(\sieve)\), this condition is equivalent to that \(\sh_{\idx} \simeq \objFinal\) for all \(\idx \in \sieve\). Then \(\proj_{\modesketch \setminus \sieve}\) induces an equivalence \(\logosII \simeq \opLaxLim_{\idx \in \realize{\modesketch \setminus \sieve}} \logosI_{\idx}\). ◻

For any cosieve \(\sieve\) on \(\modesketch\), the restriction functor $ _{}None$ is the open localization associated to \(\propCanonicalI(\sieve)\).

Proof. An object \(\sh \in(\opLaxLim_{\idx \in \realize{\modesketch}} \logosI_{\idx})_{/ \propCanonicalI(\sieve)}\) must satisfy that \(\sh_{\idx} \simeq \objInitial\) for all \(\idx \in \modesketch \setminus \sieve\) by the definition of \(\propCanonicalI(\sieve)\) and by [prop:logos-init-strict]. Then \(\proj_{\sieve}\) induces an equivalence $ ({} {}){/ ()} ({} {}){/ {}(())} {} _{}.None$ ◻

For any \(\idx \in \modesketch\), the projection $ {} : {} {} {}None$ is a localization.

Proof. \(\proj_{\idx}\) factors as \[\opLaxLim_{\idxI \in \realize{\modesketch}} \logosI_{\idxI} \xrightarrow{\proj_{(\idx \downarrow \modesketch)}} \opLaxLim_{\idxI \in \realize{(\idx \downarrow \modesketch)}} \logosI_{\idxI} \xrightarrow{\proj_{(\idx \downarrow \modesketch) \setminus \boundary (\idx \downarrow \modesketch)}} \logosI_{\idx},\] Thus, it is a composite of localizations by [lem:localization-projection-sieve] [cor:localization-projection-cosieve]. ◻

Construction 1. For \(\idx \in \modesketch\), we define \(\mymode_{\logosI}(\idx) \in \LexAcc(\opLaxLim_{\idx \in \realize{\modesketch}} \logosI_{\idx})\) to be the corresponding to the localization \(\proj_{\idx} : \opLaxLim_{\idx \in \realize{\modesketch}} \logosI_{\idx} \to \logosI_{\idx}\) ([prop:localization-projection]).

The pair \((\opLaxLim_{\idx \in \realize{\modesketch}} \logosI_{\idx}, \mymode_{\logosI})\) is a model of \(\modesketch\) for any functor \(\logosI : \realize{\modesketch}^{\opMark(1, 2)} \to \Logos_{\LexAccMark}^{\nMark{2}}\).

[thm:intended-model-mode-sketch] breaks into three parts ([thm:intended-model-mode-sketch-c] [thm:intended-model-mode-sketch-a] [thm:intended-model-mode-sketch-b]). [axm:model-top] is immediate from the construction.

\(\mymode_{\logosI}\) satisfies [axm:model-top]. 0◻

For [axm:model-disjoint] [axm:model-invertible], we calculate \(\opModality^{\mymode_{\logosI}(\idx)}_{\mymode_{\logosI}(\idxI)}\) and \(\unitModality^{\mymode_{\logosI}(\idxII); \mymode_{\logosI}(\idx)}_{\mymode_{\logosI}(\idxI)}\).

For \(\idxI < \idx\) in \(\modesketch\), let \((\idxI < \idx)\) denote the associated generating \(1\)-cell in \(\realize{\modesketch}\). For \(\idxII < \idxI < \idx\) in \(\modesketch\), let \((\idxII < \idxI < \idx)\) denote the associated generating \(2\)-cell \((\idxI < \idx) \comp (\idxII < \idxI) \To (\idxII < \idx)\) in \(\realize{\modesketch}\).

Let \(\modesketch'\) be the mode sketch with the same underlying poset as \(\modesketch\) but with no thin triangle. We have an equivalence $ {} {} {} {}None$

Proof. This is because \(\El_{\realize{\modesketch}}(\logosI) \to \realize{\modesketch}\) is locally a right fibration and thus locally conservative. ◻

Suppose that \(\modesketch\) has no thin triangle. Then \(\Core_{\nMark{1}}(\realize{\modesketch})\) is freely generated by the strict ordering relation, and \((\idxI < \idx)\) is the final object in \(\Map_{\realize{\modesketch}}(\idxI, \idx)\) for any \(\idxI < \idx\).

For any \(\idx \in \modesketch\), the right adjoint \(\idx_{\pbMark}\) is given by the following formula for \(\sh \in \logosI_{\idx}\) and \(\idxI \in \modesketch\). \[\idx_{\pbMark}(\sh)_{\idxI} \simeq \left\{ \begin{array}{ll} \logosI_{(\idxI < \idx)}(\sh) & \text{if \(\idxI < \idx\)} \\ \sh & \text{if \(\idxI = \idx\)} \\ \objFinal & \text{otherwise} \end{array} \right.\]

Proof. We first see that we may assume without loss of generality that \(\idx\) is the largest element of \(\modesketch\). Otherwise, factor \(\proj_{\idx}\) as $ {} {} {} {} _{},None$ where \((\modesketch \downarrow \idx) = \{\idxI \in \modesketch \mid \idxI \le \idx\}\). The first functor is a closed localization by [lem:localization-projection-sieve] because \(\modesketch \setminus (\modesketch \downarrow \idx)\) is a cosieve, and the second functor is an open localization by [cor:localization-projection-cosieve]. The right adjoint of \(\proj_{(\modesketch \downarrow \idx)}\) is then defined by extending \(\sh \in \opLaxLim_{\idxI \in \realize{(\modesketch \downarrow \idx)}} \logosI_{\idxI}\) by the final objects at all \(\idxI \in \modesketch \setminus (\modesketch \downarrow \idx)\). Therefore, the problem is reduced to the calculation of the right adjoint of \(\proj_{(\idx \downarrow \modesketch)}\), and in this case \(\idx\) is the largest element of \((\modesketch \downarrow \idx)\).

Let \(\idx_{\pbMark}'(\sh)_{\idxI}\) be defined by the displayed formula. We turn \(\idx_{\pbMark}'(\sh)\) into an object of \(\opLaxLim_{\idxI \in \realize{\modesketch}} \logosI_{\idxI}\). By [lem:oplax-limit-ignore-thin], we assume that \(\modesketch\) has no thin triangle. Since \(\El_{\realize{\modesketch}}(\logosI) \to \realize{\modesketch}\) is locally a right fibration, it follows from [lem:realization-mode-sketch-free] that an object \(\shI \in \opLaxLim_{\idxI \in \realize{\modesketch}} \logosI_{\idxI}\) is completely determined by \(\shI_{\idxI} \in \logosI_{\idxI}\) for all \(\idxI \in \modesketch\) and \(\shI_{(\idxII < \idxI)} : \shI_{\idxII} \to \logosI_{(\idxII < \idxI)}(\shI_{\idxI})\) for all \(\idxII < \idxI\) in \(\modesketch\). We can then extend \(\idx_{\pbMark}'(\sh)\) as follows. \[\idx_{\pbMark}'(\sh)_{(\idxII < \idxI)} = \left\{ \begin{array}{ll} \logosI_{(\idxII < \idxI < \idx)}(\sh) : \logosI_{(\idxII < \idx)}(\sh) \to \logosI_{(\idxII < \idxI)}(\logosI_{(\idxI < \idx)}(\sh)) & \text{if \(\idxI < \idx\)} \\ \id & \text{if \(\idxI = \idx\)} \end{array} \right.\]

Since \(\idx_{\pbMark}'(\sh)_{\idx} \simeq \sh\) by construction, we have a unique map \(\map : \idx_{\pbMark}'(\sh) \to \idx_{\pbMark}(\sh)\) whose \(\idx\)-th component is the identity on \(\sh\). To see that \(\map\) is invertible, it suffices to construct a retraction \(\mapI\) of \(\map\). Indeed, if \(\mapI \comp \map \simeq \id\), then the \(\idx\)-th component of \(\mapI\) must be the identity, and thus \(\map \comp \mapI \simeq \id\) follows by adjointness. Let \(\idxI \in \modesketch\). If \(\idxI = \idx\), then we must define \(\mapI_{\idx} = \id\). Suppose that \(\idxI < \idx\) and consider the following commutative diagram. \[\begin{tikzcd} \idx_{\pbMark}'(\sh)_{\idxI} \arrow[r, "\map_{\idxI}"] \arrow[d, "\idx_{\pbMark}'(\sh)_{(\idxI < \idx)}"', "\simeq"] & [6ex] \idx_{\pbMark}(\sh)_{\idxI} \arrow[d, "\idx_{\pbMark}(\sh)_{(\idxI < \idx)}"] \\ \logosI_{(\idxI < \idx)}(\idx_{\pbMark}'(\sh)_{\idx}) \arrow[r, "\logosI_{(\idxI < \idx)}(\map_{\idx})"', "\simeq"] & \logosI_{(\idxI < \idx)}(\idx_{\pbMark}(\sh)_{\idx}) \end{tikzcd}\] The left and bottom maps are invertible by definition. Hence, we have a unique retraction \(\mapI_{\idxI}\) of \(\map_{\idxI}\) commuting with \(\idx_{\pbMark}(\sh)_{\idxI < \idx}\). This defines a retraction of \(\map\). ◻

For any \(\idxI < \idx\) in \(\modesketch\), the functor $ ^{{}()}{{}()} : {} _{}None$ is equivalent to \(\logosI_{(\idxI < \idx)}\).

\(\mymode_{\logosI}\) satisfies [axm:model-disjoint].

For any \(\idxII < \idxI < \idx\) in \(\modesketch\), the natural transformation \(\unitModality^{\mymode_{\logosI}(\idxII); \mymode_{\logosI}(\idx)}_{\mymode_{\logosI}(\idxI)}\) is equivalent to \(\logosI_{(\idxII < \idxI < \idx)}\).

Proof. This is a consequence of [lem:localization-projection-morphism-part-1]. ◻

\(\mymode_{\logosI}\) satisfies [axm:model-invertible].

Construction 1. We extend the construction \(\logosI \mapsto (\opLaxLim_{\idx \in \realize{\modesketch}} \logosI_{\idx}, \mymode_{\logosI})\) to a functor \(\mymode : \myDiagram(\modesketch) \to \Model(\modesketch)\) as follows. Characterized by the universal property ([prop:oplax-limit-universal-property]), the oplax limit construction extends to a functor \[\Core_{\nMark{1}}(\Fun(I^{\opMark(1, 2)}, \Cat^{\nMark{2}})_{\opLaxMark}) \to \Cat^{\nMark{2}}.\] It then restricts to a functor $ () $ by [prop:logos-accessible-oplax-limit]. It further lifts to a functor $ () ()None$ by the construction of \(\mymode_{\logosI}\) (1).

6.2 Fracture and gluing↩︎

We show that any model of a mode sketch \(\modesketch\) induces a functor \(\realize{\modesketch}^{\opMark(1, 2)} \to \Logos^{\nMark{2}}_{\LexAccMark}\) and that this gives an inverse of the construction given in 6.1. This is an externalization and generalization of the fracture and gluing theorem ([prop:join-strongly-disjoint]).

Construction 1. Let \((\logos, \mode)\) be a model of \(\modesketch\). We define \(\mylogos_{\mode}\) to be the full subcategory of \(\realize{\modesketch}^{\opMark(1,2)} \times \logos\) spanned by those objects \((\idx, \sh)\) such that \(\sh\) belongs to \(\logos_{\mode(\idx)}\).

For any model \((\logos, \mode)\) of \(\modesketch\), the projection \(\mylogos_{\mode} \to \realize{\modesketch}^{\opMark(1,2)}\) is a \(1\)-cocartesian \(2\)-right fibration.

Proof. We work with the scaled simplicial sets model. It suffices to show that the pullback \(\mylogos'_{\mode}\) of \(\mylogos_{\mode}\) along the fibrant replacement \(\idxModesketch_{\modesketch}^{\opMark} \to \realize{\modesketch}^{\opMark(1, 2)}\) is a locally cocartesian fibration.

Let \((\idx_{0} \le \idx_{1}) : \stdsimp^{1} \to \idxModesketch_{\modesketch}^{\opMark}\) be a map which corresponds to an ordered pair \((\idx_{0} \le \idx_{1})\) in \(\idxModesketch_{\modesketch}^{\opMark}\). A morphism \((\idx_{0}, \sh_{0}) \to (\idx_{1}, \sh_{1})\) in \(\mylogos'_{\mode}\) over \((\idx_{0} \le \idx_{1})\) is a map \(\sh_{0} \to \sh_{1}\) in \(\logos\), but it corresponds to a map \(\opModality_{\mode(\idx_{1})} \sh_{0} \to \sh_{1}\) in \(\logos_{\mode(\idx_{1})}\). Hence, \((\idx_{0} \le \idx_{1})^{\pbMark} \mylogos'_{\mode} \to \stdsimp^{1}\) is the Grothendieck construction for the diagram $ {({0})} {({1})}None$ and thus a cocartesian fibration.

Let \((\idx_{0} \le \idx_{1} \le \idx_{2}) : \stdsimp^{2} \to \idxModesketch_{\modesketch}^{\opMark}\) be a thin \(2\)-simplex. By 2, the canonical natural transformation \[\label{eq:canonical-trans-1} \begin{tikzcd} \logos_{\mode(\idx_{0})} \arrow[rr, "\opModality^{\mode(\idx_{0})}_{\mode(\idx_{2})}", "\phantom{a}"'{name = a0}] \arrow[from = a0, dr, To, end anchor = {[yshift = 1ex]}, "\simeq"] \arrow[dr, "\opModality^{\mode(\idx_{0})}_{\mode(\idx_{1})}"'] & & \logos_{\mode(\idx_{2})} \\ & \logos_{\mode(\idx_{1})} \arrow[ur, "\opModality^{\mode(\idx_{1})}_{\mode(\idx_{2})}"'] \end{tikzcd}\tag{4}\] is invertible, and \((\idx_{0} \le \idx_{1} \le \idx_{2})^{\pbMark} \mylogos'_{\mode} \to \stdsimp^{2}\) is the Grothendieck construction for the diagram and thus a cocartesian fibration. ◻

Construction 1. Let \((\logos, \mode)\) be a model of \(\modesketch\). By [prop:mylogos-locally-cocartesian-fibration] [prop:universal-1-cocart-2-right-fib], the projection \(\mylogos_{\mode} \to \realize{\modesketch}^{\opMark(1,2)}\) is classified by a functor \[\mylogosI_{\mode} : \realize{\modesketch}^{\opMark(1, 2)} \to \enlarge \Cat^{\nMark{2}}.\] By construction, \(\mylogosI_{\mode}(\idx) \simeq \logos_{\mode(\idx)}\). As we have seen in the proof of [prop:mylogos-locally-cocartesian-fibration], \(\mylogosI_{\mode}\) maps a \(1\)-cell \(\idx_{0} \le \idx_{1}\) in \(\realize{\modesketch}\) to $ ^{({1})}{({0})} : {({1})} {(_{0})}None$ which is lex and accessible (but need not preserve all colimits). Therefore, \(\mylogosI_{\mode}\) factors through \(\Logos_{\LexAccMark}^{\nMark{2}}\).

We have constructed back and forth constructions between the \((\infty,1)\)-category of models of \(\modesketch\) and the \((\infty,1)\)-category of functors \(\realize{\modesketch}^{\opMark(1, 2)} \to \Logos^{\nMark{2}}_{\LexAccMark}\). We turn these constructions into an adjunction (1) and then show that its unit and counit are invertible ([thm:fracture-gluing] [thm:gluing-fracture]).

Construction 1. Let \((\logos, \mode)\) be a model of \(\modesketch\) and \(\logosI : \realize{\modesketch}^{\opMark(1, 2)} \to \Logos^{\nMark{2}}_{\LexAccMark}\) a functor. We construct an equivalence natural in \(\logosI \in \myDiagram(\modesketch)\) \[\label{eq:mylogos-universal-property} \Map_{\myDiagram(\modesketch)}(\mylogosI_{\mode}, \logosI) \simeq \Map_{\Model(\modesketch)}((\logos, \mode), (\opLaxLim_{\idx \in \realize{\modesketch}} \logosI_{\idx}, \mymode_{\logosI}))\tag{5}\] as follows. By [prop:mate-correspondence], a morphism \(\mylogosI_{\mode} \to \logosI\) corresponds to a lax natural transformation \(\logosI \to \mylogosI_{\mode}\) whose components are right adjoints of morphisms of \(\infty\)-logoses. It corresponds by [prop:lax-univalence] to a map \(\El_{\realize{\modesketch}^{\opMark(1,2)}}(\logosI) \to \mylogos_{\mode}\) over \(\realize{\modesketch}^{\opMark(1,2)}\) whose fibers are right adjoints of morphisms of \(\infty\)-logoses. By the definition of \(\mylogos_{\mode}\), it corresponds to a map \(\El_{\realize{\modesketch}^{\opMark(1,2)}}(\logosI) \to \realize{\modesketch}^{\opMark(1,2)} \times \logos\) over \(\realize{\modesketch}^{\opMark(1,2)}\) whose fiber over \(\idx \in \realize{\modesketch}\) is a right adjoint of a morphism of \(\infty\)-logos that factors through \(\logos_{\mode(\idx)}\). Again by [prop:lax-univalence] [prop:mate-correspondence], it corresponds to an oplax natural transformation \((\lambda \blank.\logos) \to \logosI\) whose component at \(\idx \in \realize{\modesketch}\) is a morphism of \(\infty\)-logoses that extends along \(\opModality_{\mode(i)} : \logos \to \logos_{\mode(i)}\). By [prop:oplax-limit-universal-property], it corresponds to a morphism \((\logos, \mode) \to (\opLaxLim_{\idx \in \realize{\modesketch}} \logosI_{\idx}, \mymode_{\logosI})\) in \(\Model(\modesketch)\). All of these correspondences are stated in the form of equivalence of spaces natural in \(\logosI \in \myDiagram(\modesketch)\), and thus we obtain 5 .

By 5 , the functor \(\mymode : \myDiagram(\modesketch) \to \Model(\modesketch)\) has the left adjoint \((\logos, \mode) \mapsto \mylogosI_{\mode}\). Let $ {} : (, ) ({} {}(), {{}})None$ and $ {} : {{}} $ be the unit and counit, respectively, of the adjunction.

Let \(\logos\) be an \(\infty\)-logos and let \(\mode\) and \(\modeI\) be in \(\logos\). Suppose that \(\opModality^{\modeI}_{\mode}\) is constant at \(\objFinal\). Then the functor \(\logos \to \Glue(\opModality^{\mode}_{\modeI})\) that sends \(\sh \in \logos\) to \((\opModality_{\modeI} \sh, \opModality_{\mode} \sh, \opModality_{\modeI} (\unitModality_{\mode})_{\sh}) \in \Glue(\opModality^{\mode}_{\modeI})\) is a localization.

Proof. Observe that the right adjoint of the functor \(\logos \to \Glue(\opModality^{\mode}_{\modeI})\) sends \((\shI', \shI, \mapI) \in \Glue(\opModality^{\mode}_{\modeI})\) to the pullback \[\begin{tikzcd} \unit_{\modeI}^{\pbMark} \shI' \arrow[r] \arrow[d] \arrow[dr, pbMark] & \shI' \arrow[d, "\mapI"] \\ \shI \arrow[r, "\unit_{\modeI}"'] & \opModality^{\mode}_{\modeI} \shI. \end{tikzcd}\] \(\opModality_{\modeI}\) inverts \(\unitModality_{\modeI}\), and thus \(\opModality_{\modeI} \unitModality_{\modeI}^{\pbMark} \shI' \simeq \shI'\). Since \(\opModality^{\modeI}_{\mode}\) is constant at \(\objFinal\), it sends \(\mapI\) to the identity on \(\objFinal\), and thus \(\opModality_{\mode} \unitModality_{\modeI}^{\pbMark} \shI' \simeq \shI\). Therefore, the counit for this adjunction is invertible. ◻

The unit $ = {} : (, ) ({} {}(), {_{}})None$ is an equivalence in \(\Model(\modesketch)\) for any model \((\logos, \mode)\) of \(\modesketch\).

Proof. Since \(\logos_{\mode(\idx)} \simeq \mylogosI_{\mode}(\idx)\), it remains to show that the underlying functor of \(\myfun\) is an equivalence. We show that, for any cosieve \(\sieve\) on \(\modesketch\), the composite \[\myfun_{\sieve} : \logos \xrightarrow{\myfun} \opLaxLim_{\idx \in \realize{\modesketch}} \mylogosI_{\mode}(\idx) \xrightarrow{\proj_{\sieve}} \opLaxLim_{\idx \in \realize{\sieve}} \mylogosI_{\mode}(\idx)\] is a localization. In particular, \(\myfun\) itself is a localization. Then, \(\myfun\) is an equivalence because it is conservative by [axm:model-top]. We proceed by induction on the size of \(\sieve\). The case when \(\sieve\) is empty is trivial. Suppose that \(\sieve\) is inhabited. There is an element \(\idx_{0} \in \sieve\) minimal in \(\sieve\). By induction hypothesis, \(\myfun_{\sieve \setminus \{\idx_{0}\}}\) is a localization, and let \(\modeI\) be the corresponding . By [axm:model-disjoint], it follows that \(\opModality^{\modeI}_{\mode(\idx_{0})}\) is constant at \(\objFinal\). By [lem:gluing-subtopos], \(\Glue(\opModality^{\modeI}_{\mode(\idx_{0})})\) is a localization of \(\logos\). Again by [lem:gluing-subtopos], we have the localization \(\opLaxLim_{\idx \in \realize{\sieve}} \mylogosI_{\mode}(\idx) \to \Glue(\opModality^{\modeI}_{\mode(\idx_{0})})\), but this is also conservative and thus an equivalence. Therefore, \(\myfun_{\sieve}\) is a localization. ◻

For any functor \(\logosI : \realize{\modesketch}^{\opMark(1, 2)} \to \Logos^{\nMark{2}}_{\LexAccMark}\), the unit \(\mytrans = \mytrans_{\logosI} : \mylogosI_{\mymode_{\logosI}} \to \logosI\) is an equivalence in \(\myDiagram(\modesketch)\).

Proof. It suffices to show that \(\sigma\) is an invertible natural transformation. It suffices to show that the corresponding lax natural transformation \(\mytrans' : \logosI \to \mylogosI_{\mymode_{\logosI}}\) by [prop:mate-correspondence] is an invertible natural transformation. To see that \(\mytrans'\) is a natural transformation, by [prop:strong-univalence], it suffices to check that the corresponding map \(\fun : \El_{\realize{\modesketch}^{\opMark(1,2)}}(\logosI) \to \mylogos_{\mymode_{\logosI}}\) over \(\realize{\modesketch}^{\opMark(1,2)}\) preserves cocartesian morphisms. Unfolding the definition (1), \(\fun : \El_{\realize{\modesketch}^{\opMark(1,2)}}(\logosI) \to \mylogos_{\mymode_{\logosI}} \subset \realize{\modesketch}^{\opMark(1,2)} \times \opLaxLim_{\idxI \in \realize{\modesketch}} \logosI_{\idxI}\) sends an object \((\idx, \sh)\) to \((\idx, \sh) \in \realize{\modesketch}^{\opMark(1,2)} \times \logosI_{\idx} \subset \realize{\modesketch}^{\opMark(1,2)} \times \opLaxLim_{\idxI \in \realize{\modesketch}} \logosI_{\idxI}\) and a morphism \((\idx \ge \idx', \map) : (\idx, \sh) \to (\idx', \sh')\) in \(\El_{\realize{\modesketch}^{\opMark(1,2)}}(\logosI)\) to \((\idx \ge \idx', \map') : (\idx, \sh) \to (\idx', \sh')\) in \(\realize{\modesketch}^{\opMark(1,2)} \times \opLaxLim_{\idxI \in \realize{\modesketch}} \logosI_{\idxI}\), where \(\map'\) is the composite $ {{}(’)} _{(’ )}() ’.None$ When \((\idx \ge \idx', \map)\) is cocartesian, \(f\) is invertible, and then \((\idx \ge \idx', \map')\) is a cocartesian morphism in \(\mylogos_{\mymode_{\logosI}}\). By construction, \(\mytrans'\) is point-wise invertible and thus invertible by [prop:invertible-trans-pointwise]. ◻

Proof of [thm:main-theorem]. The functor \(\mymode : \myDiagram(\modesketch) \to \Model(\modesketch)\) gives an equivalence by 1 [thm:fracture-gluing] [thm:gluing-fracture]. ◻

Acknowledgements↩︎

The author thanks Jonathan Sterling for useful conversations on the current work. The author was supported by KAW Grant “Type Theory for Mathematics and Computer Science” investigated by Thierry Coquand and Peter LeFanu Lumsdaine.

References↩︎

[1]
Jacob Lurie. Higher Topos Theory, volume 170 of Annals of Mathematics Studies. Princeton University Press, 2009. URL: https://www.math.ias.edu/ lurie/papers/HTT.pdf.
[2]
Mathieu Anel and André Joyal. Topo-logie, volume 1, pages 155–257. Cambridge University Press, 2021. https://doi.org/10.1017/9781108854429.007.
[3]
The Univalent Foundations Program. Homotopy Type Theory: Univalent Foundations of Mathematics. Institute for Advanced Study, 2013. URL: http://homotopytypetheory.org/book/.
[4]
Per Martin-Löf. . Studies in Logic and the Foundations of Mathematics, 80:73–118, 1975. https://doi.org/10.1016/S0049-237X(08)71945-1.
[5]
Michael Shulman. All \((\infty,1)\)-toposes have strict univalent universes, 2019. https://arxiv.org/abs/1904.07004v2.
[6]
Kuen-Bang Hou (Favonia), Eric Finster, Daniel R. Licata, and Peter LeFanu Lumsdaine. . In Proceedings of the 31st Annual ACM/IEEE Symposium on Logic in Computer Science, LICS ’16, pages 565–574, New York, NY, USA, 2016. ACM. https://doi.org/10.1145/2933575.2934545.
[7]
Mathieu Anel, Georg Biedermann, Eric Finster, and André Joyal. A generalized Blakers-Massey theorem. Journal of Topology, 13(4):1521–1553, 2020. https://doi.org/10.1112/topo.12163.
[8]
Daniel R. Licata, Ian Orton, Andrew M. Pitts, and Bas Spitters. . In Hélène Kirchner, editor, 3rd International Conference on Formal Structures for Computation and Deduction (FSCD 2018), volume 108 of Leibniz International Proceedings in Informatics (LIPIcs), pages 22:1–22:17, Dagstuhl, Germany, 2018. Schloss Dagstuhl–Leibniz-Zentrum fuer Informatik. https://doi.org/10.4230/LIPIcs.FSCD.2018.22.
[9]
Michael Shulman. Brouwer’s fixed-point theorem in real-cohesive homotopy type theory. Mathematical Structures in Computer Science, 28(6):856–941, 2018. https://doi.org/10.1017/S0960129517000147.
[10]
Gavin Wraith. Artin glueing. Journal of Pure and Applied Algebra, 4:345–348, 1974. https://doi.org/10.1016/0022-4049(74)90014-0.
[11]
Michael Shulman. . Mathematical Structures in Computer Science, 25(05):1203–1277, 2015. https://doi.org/10.1017/s0960129514000565.
[12]
Taichi Uemura. . In Marco Gaboardi and Femke van Raamsdonk, editors, 8th International Conference on Formal Structures for Computation and Deduction (FSCD 2023), volume 260 of Leibniz International Proceedings in Informatics (LIPIcs), pages 5:1–5:19, Dagstuhl, Germany, 2023. Schloss Dagstuhl – Leibniz-Zentrum für Informatik. https://doi.org/10.4230/LIPIcs.FSCD.2023.5.
[13]
Egbert Rijke, Michael Shulman, and Bas Spitters. Modalities in homotopy type theory. Logical Methods in Computer Science, 16(1):2:1–2:79, 2020. https://doi.org/10.23638/LMCS-16(1:2)2020.
[14]
J. Daniel Christensen, Morgan Opie, Egbert Rijke, and Luis Scoccola. Localization in homotopy type theory. Higher Structures, 4(1):1–32, 2020. https://doi.org/10.21136/HS.2020.01.
[15]
J. Daniel Christensen and Egbert Rijke. Characterizations of modalities and lex modalities. Journal of Pure and Applied Algebra, 226(3):106848, 2022. https://doi.org/10.1016/j.jpaa.2021.106848.
[16]
Mathieu Anel, Georg Biedermann, Eric Finster, and André Joyal. Left-exact localizations of \(\infty\)-topoi I: Higher sheaves. Advances in Mathematics, 400:108268, 2022. https://doi.org/10.1016/j.aim.2022.108268.
[17]
Marco Vergura. Localization theory in an \(\infty\)-topos, 2019. https://arxiv.org/abs/1907.03836v1.
[18]
Jonathan Sterling and Robert Harper. . J. ACM, 68(6):41:1–41:47, 2021. https://doi.org/10.1145/3474834.
[19]
Jonathan Sterling. , 2021. URL: https://www.jonmsterling.com/pdfs/sterling:2021:thesis.pdf.
[20]
Jonathan Sterling and Carlo Angiuli. . In 2021 36th Annual ACM/IEEE Symposium on Logic in Computer Science (LICS), pages 1–15, 2021. https://doi.org/10.1109/LICS52264.2021.9470719.
[21]
Daniel Gratzer. . In Christel Baier and Dana Fisman, editors, LICS ’22: 37th Annual ACM/IEEE Symposium on Logic in Computer Science, Haifa, Israel, August 2 - 5, 2022, pages 2:1–2:13. ACM, 2022. https://doi.org/10.1145/3531130.3532398.
[22]
Taichi Uemura. Normalization and coherence for \(\infty\)-type theories, 2022. https://arxiv.org/abs/2212.11764v1.
[23]
Hoang Kim Nguyen and Taichi Uemura. \(\infty\)-type theories. Higher Structures, 9(1):179–226, 2025. https://doi.org/10.21136/HS.2025.04.
[24]
Ross Street. . Journal of Pure and Applied Algebra, 8(2):149–181, 1976. https://doi.org/10.1016/0022-4049(76)90013-X.
[25]
G. M. Kelly. Elementary observations on 2-categorical limits. Bulletin of the Australian Mathematical Society, 39(2):301–317, 1989. https://doi.org/10.1017/S0004972700002781.
[26]
Niles Johnson and Donald Yau. 2-dimensional categories. Oxford University Press, Oxford, 2021. https://doi.org/10.1093/oso/9780198871378.001.0001.
[27]
David Gepner, Rune Haugseng, and Thomas Nikolaus. . Documenta Mathematica, 22:1225–1266, 2017. https://doi.org/10.25537/dm.2017v22.1225-1266.
[28]
Andrea Gagna, Yonatan Harpaz, and Edoardo Lanari. Fibrations and lax limits of \((\infty,2)\)-categories, 2021. https://arxiv.org/abs/2012.04537v2.
[29]
Jacob Lurie. , 2009. https://arxiv.org/abs/0905.0462v2.
[30]
Rune Haugseng, Fabian Hebestreit, Sil Linskens, and Joost Nuiten. Lax monoidal adjunctions, two-variable fibrations and the calculus of mates. Proceedings of the London Mathematical Society, 127(4):889–957, 2023. https://doi.org/10.1112/plms.12548.
[31]
Ross Street. . Cahiers de Topologie et Géométrie Différentielle Catégoriques, 13(3):217–264, 1972.
[32]
Urs Schreiber and Michael Shulman. . In Ross Duncan and Prakash Panangaden, editors, Proceedings 9th Workshop on Quantum Physics and Logic, QPL 2012, Brussels, Belgium, 10-12 October 2012, volume 158 of EPTCS, pages 109–126, 2012. https://doi.org/10.4204/EPTCS.158.8.
[33]
F. William Lawvere. Axiomatic cohesion. Theory and Applications of Categories, 19(3):41–49, 2007. URL: http://www.tac.mta.ca/tac/volumes/19/3/19-03abs.html.
[34]
Daniel Gratzer, G. A. Kavvos, Andreas Nuyts, and Lars Birkedal. . Logical Methods in Computer Science, 17(3):11:1–11:67, Jul 2021. https://doi.org/10.46298/lmcs-17(3:11)2021.
[35]
Eric Finster. . URL: https://ericfinster.github.io/files/lmhtt.pdf.
[36]
Egbert Rijke. , 2022. https://arxiv.org/abs/2212.11082v1.
[37]
John W. Duskin. Simplicial matrices and the nerves of weak \(n\)-categories. I. Nerves of bicategories. volume 9, pages 198–308. 2001/02. CT2000 Conference (Como). URL: http://www.tac.mta.ca/tac/volumes/9/n10/9-10abs.html.
[38]
Peter T. Johnstone. Sketches of an Elephant : A Topos Theory Compendium Volume 1, volume 43 of Oxford Logic Guides. Oxford University Press, 2002.
[39]
Jonathan Sterling and Robert Harper. . In Amy P. Felty, editor, 7th International Conference on Formal Structures for Computation and Deduction (FSCD 2022), volume 228 of Leibniz International Proceedings in Informatics (LIPIcs), pages 5:1–5:19, Dagstuhl, Germany, 2022. Schloss Dagstuhl – Leibniz-Zentrum für Informatik. https://doi.org/10.4230/LIPIcs.FSCD.2022.5.
[40]
Michael Makkai. , 1995. URL: http://www.math.mcgill.ca/makkai/folds/foldsinpdf/FOLDS.pdf.
[41]
Jean-Philippe Bernardy, Patrik Jansson, and Ross Paterson. . Journal of Functional Programming, 22(2):107–152, 003 2012. https://doi.org/10.1017/S0956796812000056.
[42]
Taichi Uemura. . In 2017 32nd Annual ACM/IEEE Symposium on Logic in Computer Science (LICS), pages 1–12, June 2017. https://doi.org/10.1109/LICS.2017.8005084.
[43]
Marc Lasson. . Electronic Notes in Theoretical Computer Science, 308:229–244, 2014. https://doi.org/10.1016/j.entcs.2014.10.013.
[44]
Denis-Charles Cisinski. Higher Categories and Homotopical Algebra. Cambridge Studies in Advanced Mathematics. Cambridge University Press, 2019. https://doi.org/10.1017/9781108588737.
[45]
Emily Riehl and Dominic Verity. Elements of \(\infty\)-Category Theory. Cambridge Studies in Advanced Mathematics. Cambridge University Press, 2022. https://doi.org/10.1017/9781108936880.
[46]
Clark Barwick and Christopher Schommer-Pries. On the unicity of the theory of higher categories. Journal of the American Mathematical Society, 34(4):1011–1058, 2021. https://doi.org/10.1090/jams/972.
[47]
Clark Barwick. , 2005. URL: https://repository.upenn.edu/dissertations/AAI3165639/.
[48]
Andrea Gagna, Yonatan Harpaz, and Edoardo Lanari. Gray tensor products and Lax functors of \((\infty,2)\)-categories. Advances in Mathematics, 391:107986, 2021. https://doi.org/10.1016/j.aim.2021.107986.

  1. The term \(\infty\)-logos is Anel and Joyal’s terminology [2] for \(\infty\)-topos considered as an algebraic structure rather than a geometric object. A morphism of \(\infty\)-logoses is always considered in the direction of the inverse image functor. We use this terminology to clarify the direction of morphisms when speaking about (co)limits of \(\infty\)-logoses.↩︎

  2. https://golem.ph.utexas.edu/category/2011/11/internalizing_the_external_or.html↩︎