<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>The Grothendieck Computability Model</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Luis Gambarte</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Iosif Petrakis</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Ludwig-Maximilians-Universität München</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Università di Verona</string-name>
        </contrib>
      </contrib-group>
      <abstract>
        <p>Translating notions and results from category theory to the theory of computability models of Longley and Normann, we introduce the Grothendieck computability model. We define the corresponding firstprojection-simulation, and we prove some of its basic properties. With the Grothendieck computability model the category of computability models is shown to be a type-category, in the sense of Pitts, a result that bridges the categorical interpretation of dependent types with the theory of computability models. We introduce the notion of a fibration and opfibration-simulation, and we show that the ifrst-projection-simulation is a split opfibration-simulation.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;Computability models</kwd>
        <kwd>Grothendieck construction</kwd>
        <kwd>Fibrations</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>between computability models, avoid equality too, involving certain forcing and tracking
relations instead.</p>
      <p>
        Working within the direction “from categories to computability models” in this paper too,
we “translate” the categorical Grothendieck construction and the categorical notion of split
(op)fibration to the partial and without equality, or relational framework of computability
models. The Grothendieck computability models become then the Sigma-objects, in the sense
of Pitts [
        <xref ref-type="bibr" rid="ref15">15</xref>
        ], in the category of computability models. We structure this paper as follows:
• In section 2 we include all basic definitions within the theory of computability models
necessary to the rest of this paper. Crucial to the definition of the Grothendieck model is
our introduction of the computability model Sets, the computability model-counterpart
to the category of sets and functions (Definition 2.2). The introduced
representablesimulations correspond to the representable presheaves (Example 2.5).
• In section 3 we define the Grothendieck computability model ∑︀C  and the corresponding
ifrst-projection-simulation pr1 : ∑︀C  _ C (Proposition 3.1). We prove basic properties
of the Grothendieck computability model, such as the existence of a full, faithful, and
essentially surjective functor from the category of simulations [︀ ∑︀C  , Sets ]︀ to the slice
category [C, Sets]/ , where  : C → Sets is a simulation (Proposition 3.4).
• In section 4 we show that the category of computability models CompMod is a
typecategory, in the sense of Pitts [
        <xref ref-type="bibr" rid="ref15">15</xref>
        ] (Theorem 4.3). With this result the categorical semantics
of dependent type theory are connected with the theory of computability models.
• In section 5 we introduce the notion of a (split) fibration and opfibration-simulation
and we show that the first-projection-simulation pr1 : ∑︀C  _ C is a (split)
opfibrationsimulation (Proposition 5.6 and Corollary 5.8).
      </p>
      <p>• In section 6 we include some questions and topics for future work.</p>
      <p>
        For all notions and results from category theory that are used here without explanation or
proof we refer to [
        <xref ref-type="bibr" rid="ref18">18</xref>
        ]. For various examples of computability models and simulations from
higher-order computability theory we refer to [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ].
      </p>
    </sec>
    <sec id="sec-2">
      <title>2. Basic definitions</title>
      <p>Definition 2.1. A (strict) computability model C consists of the following data: a class  ,
whose members are called type names; for each  ∈  a set C() of data types; for each ,  ∈ 
a class C[, ] of computable functions, i.e., partial functions from C() to C(). Moreover, for
every , ,  ∈  the following hold:
1. The identity 1C() is in C[, ].
2. For every  ∈ C[, ] and  ∈ C[, ] we have that  ∘  ∈ C[, ].</p>
      <p>Next, we describe the computability model of sets and partial functions Sets, as the
computability model-analogue to the category of sets and functions Sets.</p>
      <sec id="sec-2-1">
        <title>Definition 2.2.</title>
        <p>The computability model Sets has as type names the class of sets and as data
types the set  itself, for every type name  . If ,  are sets, the computable functions from 
to  is the class of partial functions from  to  .</p>
        <p>
          A partial arrow (,  ) :  ⇀  in a category  consists of a monomorphism  : dom() → 
and an arrow  : dom() →  in . Given a (covariant) presheaf  :  → Sets, we write (,  )
instead of (︀ (), ( ))︀ . In [
          <xref ref-type="bibr" rid="ref13">13</xref>
          ] computability models over categories and presheaves on them
were defined in a canonical way.
        </p>
      </sec>
      <sec id="sec-2-2">
        <title>Definition 2.3.</title>
        <p>Let  be a category and  :  → Sets a presheaf on . The total canonical
computability model CMtot(; ) over  and  has as type names the class of objects 0 of 
and data types the sets (), for every  ∈ 0. If 1, 2 ∈ 0, the (total) functions from (1)
to (2) is the class {( ) |  ∈ Hom(1, 2)}. The partial canonical computability model
CMprt(; ) over  and a pullback-preserving presheaf  has the same type names and data
types, while the partial functions from (1) to (2) is the class {(,  ) | (,  ) : 1 ⇀ 2}.</p>
        <p>The pullback-preserving property on  is necessary to prove that CMprt(; ) is a
computability model. We can also use the category Setsprt of sets and partial functions, and the
computability model CMtot(Setsprt, idSetsprt ) is the computability model Sets of Definition 2.2.
Next, we describe the arrows in the category of computability models CompMod. A notion
of contravariant simulation can also be defined, allowing the contravariant version of the
Grothendieck construction for computability models.</p>
      </sec>
      <sec id="sec-2-3">
        <title>Definition 2.4.</title>
        <p>A simulation  from C (over  ) to D (over  ) consists of a class-function
 :  →  and a relation ⊩  ⊆
subject to the following conditions:</p>
        <p>D︀(  ())︀ ×</p>
        <p>C(), for each  ∈  (a so-called forcing relation),
1. For each  ∈ C() there exists some  ∈ D( ()), such that  ⊩  .
2. For each  ∈ C[, ] there exists some  ′ ∈ D︀[  (),  ()]︀ such that</p>
        <p>∀∈C()∀∈D( ())︀(  ∈ dom( ) ∧  ⊩   ⇒  ∈ dom( ′) ∧  ′() ⊩   ())︀ .
In this case we say that  ′ tracks  , and we write  ′ ⊩ (,)  . We also write  : C _ D for a
︀(  ∘ , (⊩  ∘ 
)∈ ︀) , where the relation ⊩  ∘  ⊆</p>
        <p>E︀(  ( ()))︀ × C() is defined by
simulation  from C to D. We call a simulation  : C _
for every ′,  ∈
The identity simulation 1C : C _ C is the pair (︀ id , (⊩ C )∈ ︀) , where ′ ⊩ C  :⇔ ′ = ,
C(). If  : D _ E, the composite simulation  ∘  : C _ E is the pair</p>
        <sec id="sec-2-3-1">
          <title>Sets a (covariant) presheaf-simulation.</title>
          <p>⊩  ∘   :⇔ ∃∈D( ())︀(  ⊩  ()  ∧  ⊩  ︀) .</p>
          <p>The following presheaf-simulations on a computability model C correspond to the
representable functors Hom(, − ) over  in a category .</p>
          <p>Example 2.5. Let C be a locally-small computability model over  , i.e., the class C[, ] of
C[0, ], for every  ∈  , and the forcing relations ⊩  ⊆
C[0, ] ×
computable functions from C() to C() is a set, for every ,  ∈  . If 0 ∈  , the
representablesimulation  0 : C _ Sets consists of the class-function  0 :  → Sets, defined by  0 () :=</p>
        </sec>
        <sec id="sec-2-3-2">
          <title>C(), defined by</title>
          <p>0
 ⊩ 
 0  :⇔ ∃∈dom()︀(  () = )︀ .
To show that  0 is a simulation, we also need to suppose that C is left-regular i.e.,
∀∈ ∀∈C()∃∈C[0,]∃∈dom()︀(  () = )︀ .</p>
          <p>All computability models that include the constant functions are left-regular (such as Kleene’s
ifrst model 1 over  = {0} with C(0) = N, and C[0, 0] the Turing-computable partial
 0
functions from N to N). If  ∈ C[, ], it is easy to show that  * ⊩ (,)  , where  * is the
total function from C[0, ] to C[0, ], defined by  * () :=  ∘ , for every  ∈ C[0, ].
A right-regularity condition on a locally-small computability model is needed, to define the
contravariant representable-simulations  0 : C _ Sets, where  0 : C → Sets is defined by
 0 () := C[, 0], for every  ∈  .</p>
          <p>Next follows the notion of an arrow between simulations.</p>
          <p>Definition 2.6. If ,  : C _ D, then  is transformable to  , in symbols  ⪯  , if for every
 ∈  there is  ∈ D[ (),  ()] such that</p>
          <p>∀∈C()∀′∈D( ())︀( ′ ⊩   ⇒ ′ ∈ dom( ) &amp;  (′) ⊩  ︀) .
3. The Grothendieck computability model
The Grothendieck computability model is the categorical counterpart to the category of
elements, a special case of the general categorical Grothendieck construction. A category 
is replaced by a computability model C, and a (covariant) presheaf  :  → Sets by a
(covariant) simulation  : C _ Sets. Moreover, the first-projection functor is replaced by the
ifrst-projection-simulation.</p>
          <p>Proposition 3.1. Let C be a computability model over the class  together with a simulation
 : C _ Sets. The structure ∑︀C  with type names the class
with data types, for every (, ) ∈ ∑︀∈  (), the sets
∑︁  () := {︀ (, ) |  ∈  and  ∈  ()}︀ ,
∈
︁( ∑︁  )︁ (, ) := {︀  ∈ C() |  ⊩  ︀} ,</p>
          <p>C
and computable functions from ︁( ∑︀C  ︁) (, ) to ︁( ∑︀C  ︁) (, ) the classes
{︁
 ∈ C[, ] | ∀∈dom()︁(  ∈ ︁( ∑︁  )︁ (, ) ⇒  () ∈ ︁( ∑︁  )︁ (, )︁)}︁ ,</p>
          <p>C</p>
          <p>C
is a computability model. The class-function pr1 : ∑︀∈  () →  , defined by the rule (, ) ↦→ ,
and the forcing relations, defined, for every (, ) ∈ ∑︀∈  (), by
determine the first-projection-simulation pr1 : ∑︀C  _ C.</p>
          <p>′ ⊩ (pr,1)  :⇔ ′ = ,
Proof. We show that the computable functions include the identities and are closed under
∑︀∈
composition. Notice that the defining property of the computable functions in the Grothendieck
model is equivalent to the condition  ⊩   ⇒  ⊩   (), for every  ∈ dom( ). If (, ) ∈
 (), then the identity on ∑︀C  (, ) is the identity on C(), i.e., 1C() is a computable
function from</p>
          <p>(, ) to itself: if  ∈ C(), then the implication  ⊩   ⇒  ⊩   holds
hence  ⊩  ( ()). Next, we show that pr1 is a simulation. If  ∈
trivially. If  is a computable function from ∑︀C  (, ) to ∑︀C  (, ) and  is a computable
function from ∑︀C  (, ) to ∑︀C  (, ), then  ∘  is a computable function from ∑︀C  (, )
to ∑︀C  (, ). For that, let  ∈ dom( ) and  () ∈ dom(). If  ⊩  , then  ⊩   (), and
∑︀C  (, ), then  ⊩ (pr,1) ,
pr1
and if  is a computable function from ∑︀C  (, ) to ∑︀C  (, ), then  ⊩ ((,),(,))  .</p>
          <p>The following proposition expresses that the Grothendieck construction on a computability
model obtained from a category with a presheaf can be presented as the canonical partial
computability model associated to the category of elements. The proof is omitted as it is
straightforward.
let [( )]() := . Then
Proposition 3.2. Let  be a category and  :  → Sets a pullback-preserving presheaf on . Let
  : 0 _ Sets be defined via  () = () and the relations ⊩   are simply the diagonal, and
let {pr2} : ∑︀  → Sets be defined by {pr2}(, ) := {} and if  : (, ) → (, ) in ∑︀ ,
∑︁
CMprt(;)
  = CMprt (︁ ∑︁ ; {pr2})︁ .</p>
          <p>
            id1 : 1 _ Sets, and show that
Remark 3.3. The functor C ↦→ sm(C), studied in [
            <xref ref-type="bibr" rid="ref10">10</xref>
            ], does not “preserve” the Grothendieck
construction. Namely, if 1 is a terminal computability model with type names {∅}, data type
1(∅) = {∅}, and as only computable function the identity, then one can define a presheaf
sm
︂( ∑︁ id1 ̸
︂)
          </p>
          <p>=
1</p>
          <p>∑︁
sm (1)
sm(id1).</p>
          <p>Next we show an analogous result to [6, Proposition 1.1.7]. Our goal is to show that for any
presheaf simulation  : C _ Sets we obtain an equivalence
We do this by exhibiting a full, faithful and essentially surjective functor</p>
          <p>C</p>
          <p>C
[︁ ∑︁  , Sets ]︁ ∼= [C, Sets]/ .
 : [︁ ∑︁  , Sets
]︁</p>
          <p>→ [C, Sets]/ .
Notice, that for both categories the morphism structure is thin and thus a preorder, thus we
only need to define our functor on morphisms and show that it preserves this preorder. More
explicitly the objects of [C, Sets]/ themselves are simply simulations  : C _ Sets such that
 ⪯  . For all simulations  : C _ Sets we have that for all  ∈  the set  () is nonempty.
This stems from the fact that otherwise ⊩  could not fulfil the first condition on simulations as
 () is empty so no  ∈  () with  ⊩   for any  ∈ C(). (There is the possibility that C()
is empty, but we shall exclude this from now on). Due to space restrictions the proof of the
following proposition is omitted.
( ) be the underlying class function ( ) :  → Sets, where, for every  ∈  ,
There is a functor  : [︀ ∑︀C  , Sets ]︀</p>
          <p>→ [C, Sets]/ defined as follows: if  : ∑︀C 
Proposition 3.4. Let C over  be a computability model and  : C _ Sets be a simulation.
_ Sets, let
The tracking relation ⊩ 
( )⊆ (︀ ⋃︀
∈ ()  (, ))︀ × C() is defined as follows:
( )() =</p>
          <p>⋃︁  (, ).</p>
          <p>∈ ()
 ⊩ ( )  :⇔ ∃∈ ()︀(  ⊩ (,) ︀) .</p>
          <p>
            The functor  is full, faithful, and essentially surjective.
4. Computability models form a type-category
In this section we show that the category of computability models CompMod is a type-category,
in the sense of Pitts [
            <xref ref-type="bibr" rid="ref15">15</xref>
            ], pp. 110-111, a reformulation of Cartmell’s categories with attributes
in [
            <xref ref-type="bibr" rid="ref4">4</xref>
            ]. Type-categories are what we call (fam, Σ)-categories with a terminal object in [
            <xref ref-type="bibr" rid="ref14">14</xref>
            ], and
a simulation between the Grothendieck computability models ∑︀C( ∘  ) and ∑︀D  .
serve as categorical models of dependent type systems. First, we lift a simulation  : C _ D to
Lemma 4.1. Let C, D be computability models over the classes ,  respectively, and
pullback square
simulations. There is a simulation ∑︀  : ∑︀C( ∘  )
          </p>
          <p>∑︀D  , such that the following is a
 : C _ D,  : D _ Sets
defined by the rule
Proof. To define ∑︀  , let the underlying class-function ∑︀  : ∑︀∈</p>
          <p>() → ∑︀∈  () be
︀(  (), ). The corresponding forcing relations are defined by
′ ⊩ (∑︀,)  :⇔ ′ ⊩  . It is straightforward to show that ∑︀  is a simulation. Next we show

that the above square commutes. On the underlying classes this is immediate as
pr1 (︀ ∑︁  (, ))︀ = pr1 (︀  ())︀ =  (︀ pr1(, ))︀ .</p>
          <p>On the forcing relations we observe that if ′ ⊩ (,)
, which is also equivalent to ′ ⊩ (∘,p)r1 . Finally, we show the pullback property. Let a
computability model E over a class  with simulations ,   be given, such that the following
pr1 ∘ ∑︀  , then ′ ⊩ (∑︀,) , and thus ′ ⊩ 
rectangle commutes
We find a unique simulation  : E _
∑︀C( ∘  ) such that both following triangles
_</p>
          <p>E
C


_
∑︀D 
∑︀C( ∘  )</p>
          <p>_ pr1
_ C
∑︀  _</p>
          <p>_

∑︀D 
_</p>
          <p>D
Next we define the forcing relations. Let
commute. First we define  on the level of the underlying classes. If  ∈  , let  () = (︀  (), )︀ ,
where  ∈  ( ()) is the unique  such that  () = (, ) for some . Clearly,  is well-defined.</p>
          <p>′ ⊩   :⇔ ′ ⊩  .
 ∈  and ′′ ∈ E(), ′ ∈
︁( ∑︀D</p>
          <p>︁) (︀  ())︀ and  ∈ C︀(  ())︀ such that
This relations are well-defined and in conjunction with the aforementioned class-function they
constitute a simulation. Observe that the two triangles already commute on the level of the
underlying class-functions, so it remains to check the forcing relations. Assume we are given
′ ⊩  ′′ and  ⊩  ′′.</p>
          <p>By definition we have to show that there exist 1, 2 such that
′ ⊩ ∑(︀) 1 and 1 ⊩  ′′, and  ⊩ pr(1) 2 and 2 ⊩  ′′.</p>
          <p>pr1
We know that the square (1) commutes and ′ ⊩ (∑︀  )( ()) ′, thus from ′ ⊩  ′′ we conclude
that ′ ⊩ ∘  ′′. This in turn ensures that there is  such that ′ ⊩  ()  and  ⊩  ′′. By
definition of ∑︀  we then have that ′ ⊩ ∑︀( )  and thus  is our desired 1. For 2 we simply

choose  and it is easy to see that this fulfills the requirements. The above implications also
work in the reverse direction. It is immediate to show that  is the unique simulation making
the triangles commutative, as it is determined by the definition of  ,   .
(ii) ∑︀ ( ∘  ) = ∑︀  ∘ ∑︀( ∘  )  .</p>
          <p>Proof. (i) It sufices to observe that by its definition the simulation
underlying class takes a pair (, ) to (1E(), ) = (, ), so on the level of the underlying
class-functions the two simulations agree. For the forcing relations we see that both simulations
∑︀ 1E on the level of the
are the corresponding diagonal.
(ii) To verify this equation on the level of underlying classes we have that
∑︁( ∘  )(, ) = (︀ , ( ∘  )())︀ = ∑︁  (︀ ,  ())︀ = ∑︁  (︁



∑︁  )︁
 
∘
(, ) .</p>
          <p>︁)
For the forcing relations we simply remark that  ⊩ (,)

we have that  ⊩ (∑︀,)  if and only if  ⊩  , and  ⊩ (,)

∑︀ ∘    if and only if  ⊩  . Hence,
 ⊩ (,)
∑︀  ∘ ∑︀ ∘    if and only if  ⊩  ∘  , which by the above is equivalent to  ⊩ (,)
∑︀  ∘  .</p>
          <p>∑︀  ∘   if and only if  ⊩  ∘  . Similarly,
Theorem 4.3. The category CompMod is a type-category.</p>
          <p>Proof. This follows immediately from Lemma 4.1, Lemma 4.2, and the fact that CompMod has
a terminal object, as explained in Remark 3.3.</p>
          <p>This result bridges the categorical interpretation of dependent types with the theory of
computability models. In section 6 we discuss its importance and its role in our future work.
5. Fibration-simulations and opfibration-simulations
The (covariant) Grothendieck construction allows the generation of fibrations (opfibrations),
as the first-projection functor
pr1 : ∑︀</p>
          <p>→  is a (split) opfibration, if  is a covariant
presheaf, or a (split) fibration, if  is a contravariant presheaf. In this section we introduce
the notion of a fibration and opfibration-simulation and we show that the
first-projectionsimulation pr1 : ∑︀C 
presheaf-simulations. The dual result is shown similarly.</p>
          <p>_ C is a (split) opfibration-simulation, as we work with covariant
In this section, E is a computability model over  and B a computability model over  .
Moreover, the pair
 :=
︂(
 : :  → , (︀ ⊩  )︀
∈
︂)
is a simulation of type E _ B.</p>
          <p>In contrast to what it holds for functors, for simulations  : E _
 in E is tracked, in general, by a multitude of maps  ′ in B. Thus, for each opspan</p>
        </sec>
        <sec id="sec-2-3-3">
          <title>B each computable function</title>
          <p>E(1)
_</p>
          <p>E(2)</p>
          <p>E(3)
we have a whole class, in general, of opspans</p>
          <p>B( (2))
B( (1))</p>
          <p>′_
such that  ′ tracks  and ′ tracks .</p>
          <p>B( (3))
1–13
E(′′)</p>
          <p>B((′′))

⊩ ′′</p>
          <p>E()</p>
          <p />
          <p>E(′)</p>
          <p>⊩ ′′
E()
E(′)
⊩ 
⊩ ′
⊩ 
⊩ ′
ℎ</p>
          <p>′
′
ℎ</p>
          <p>B(())</p>
          <p>′
B((′))
B(())
B((′))
Definition 5.1 (Cartesian computable function). Let  ′ ∈ B[, ′] and ′ ∈  , such that (′) =
′ be given. We call a computable function  ∈ E[, ′] cartesian for  ′ and ′, if  ′ ⊩ (,′)  , and
given computable functions  ∈ E[′′, ′], ′ ∈ B[(′′), (′)], and ℎ ∈ B[(′′), ()] as in
the following diagram
that is ′ tracks , there is some  ∈ E[′′, ] satisfying the following property: ℎ ⊩ (′′,) ,
and for every  ∈ E(′′),  ∈ B((′′)), such that  ⊩ ′′ ,  ∈ dom( ′ ∘ ℎ) ∩ dom(′), and
 ′(ℎ()) = ′(), then  ∈ dom( ∘ ) ∩ dom() and () =  (()).</p>
          <p>Definition 5.2 (Opcartesian computable function). Let  ′ ∈ B[′, ] and ′ ∈  , such that
(′) = ′ be given We call a computable function  ∈ E[′, ] opcartesian for  ′ and ′, if
 ′ ⊩ (′,′)  , and given computable functions  ∈ E[′, ′′], ′ ∈ B[(′), (′′)] and ℎ ∈
B[(), (′′)] as in the following diagram</p>
          <p>E(′′)</p>
          <p>B((′′))
′
that is ′ tracks , there is some  ∈ E[, ′′] satisfying the following property: ℎ tracks ,
and for every  ∈ E(′),  ∈ B((′)), such that  ⊩ ′ ,  ∈ dom(ℎ ∘  ′) ∩ dom(′), and
 ′(ℎ()) = ′(), then  ∈ dom( ∘  ) ∩ dom() and () = ( ()).</p>
          <p>Note that the computable functions  ∈ E[′′, ] and  ∈ E[, ′′] in the above two definitions,
respectively, are not unique.</p>
        </sec>
        <sec id="sec-2-3-4">
          <title>In this case, we call  a lift of  .</title>
          <p>tDioenfin,iitfiofonr 5ev.3ery(Fcoibmraptuiotanb-lsei mfuunlacttiioonn). W∈eBc︀[ all, (:E)]︀ _there is  ∈ E[′, ] cartesian for  and .</p>
          <p>B a
fibration-simulacase, we call  a lift of  .</p>
          <p>Definition 5.4 (Opfibration-simulation) . We call  : E → B an opfibration-simulation, if for
every computable function  ∈ B︀[ (), ︀] , there is  ∈ E[, ′] opcartesian for  and . In this
Example 5.5. Let ℰ , ℬ be categories with presheaves , ′ and let  : ℰ → ℬ be a fibration,
such that ′ ∘  = . Then,   : CMtot(ℰ ; )
_ CMtot(ℬ; ′) is a fibration-simulation.</p>
          <p>To see this, assume we are given a computable function in CMtot(ℬ; ′), that is a function
′( ) : ′() → ′(′), and  ∈ ℰ such that  (′) = ′. As  is a fibration, we find an arrow
′( ) and (′). For this, let functions (ℎ), (ℎ2), (2) as in the following diagram,
 :  → ′ cartesian over  and ′ . We show that () is the desired cartesian function over
()
(′′)
()</p>
          <p>⊩ ′′
(2) ()
(′)
⊩</p>
          <p>′(′′)</p>
          <p>⊩ ′
′(ℎ)
′()</p>
          <p>′()
′(ℎ2)
′(′)
over ′( ) and (′).
be given, where we used that CMprt(ℰ ; )() = () and CMprt(ℬ; ′)() = (), for every
 and , respectively. As  is cartesian over  and ′, we obtain an arrow  : ′′ → , such that
 ∘  = 2 and  () = ℎ2. Obviously, () is the function needed, and hence () is cartesian
Proposition 5.6. If C is a computability model and  : C
ifrst-projection-simulation pr1 : ∑︀C 
_ C is an opfibration-simulation.</p>
          <p>→ Sets a simulation, then the
Proof. Assume we are given a computable function  ∈
C[, ′] and pr1(, ) = . We
need to find some  ∈
︁) [︀ (, ), (′, ′)]︀ , such that  ⊩ ((,),(′,′))  ′. By definition we know that  ⊩ ((,),(′,′))
pr1 pr1</p>
          <p>C(′), such that pr1(′, ′) = ′, and a computable function  ′ ∈
 ′ if and only if  =  ′, so we have to find</p>
          <p>∈ C(′), such that  () = ′. For this, we simply
take ′ :=  (). To show that  is opcartesian for  and , we consider the following diagram</p>
          <p>C()</p>
          <p>C(′)
and we observe that ℎ fills also the triangle on the left, as we have that  = ℎ ∘  whenever they
are defined, so in particular  () = ℎ︀( ())︀ , and thus ′ = ℎ(′′). Hence, ℎ is a computable
function from</p>
          <p>Next we define split fibration-simulations and split opfibration-simulations.</p>
          <p>Definition 5.7. A splitting for a fibration-simulation  : E _ B is a rule △ that corresponds
a pair (, ), where  ∈ B[1, 2] and () = 2, to a function  ′ ∈ E[, ′] cartesian for 
and . This rule △ is subject to the following conditions:
• For every  ∈ B[1, 2] and every  ∈ B[2, 3] we have that</p>
          <p>△( ∘ , 1) = △(, 1) ∘ △(, 2).</p>
          <p>• For every  ∈  we have that △(1B(), ) = (1E(), ).</p>
          <p>A splitting for an opfibration-simulation  : E _ B is a rule △ that corresponds a pair (, ),
where  ∈ B[1, 2] and () = 1, to a function  ′ ∈ E[, ′] opcartesian over  and . This
rule △ is subject to the following conditions:
• For every  ∈ B[1, 2] and every  ∈ B[2, 3] we have that</p>
          <p>△( ∘ , 1) = △(, 2) ∘ △(, 1).</p>
          <p>• For every  ∈  we have that △(1B(), ) = (1E(), ).</p>
          <p>A (op)fibration-simulation  is split, if it admits a splitting △.</p>
          <p>
            Corollary 5.8. The simulation pr1 : ∑︀C  _ C is a split opfibration-simulation.
Proof. We can simply take pr1△ to be defined by the rule pr1△(, ) := (, ).
6. Conclusions and future work
In [
            <xref ref-type="bibr" rid="ref10">10</xref>
            ] many concepts and results from category theory were translated to the theory of
computability models, where equalities between arrows are replaced by certain relations between
type names and (partial) computable functions. In this paper we extended the work initiated
in [
            <xref ref-type="bibr" rid="ref12 ref13">12, 13</xref>
            ] by translating the Grothendieck construction and the notions of fibration and
opfibration within computability models. The category CompMod was shown to be a
typecategory, a fact that allows the transport of concepts and facts from the theory of type-categories
to the theory of computability models.
          </p>
          <p>Table 1 includes the correspondences between categorical and computability model
theorynotions presented here. It is natural to ask whether the category of presheaves, or more generally
of all functors between two categories, can be translated within computability models. As a
consequence, a Yoneda-type embedding and a corresponding Yoneda lemma for computability
models and appropriate presheaf-simulations can be formulated. In such a framework the
Grothendieck computability model is expected to have the same crucial role to the proof of
a corresponding density theorem with that of the Grothendieck category to the proof of the
categorical density theorem. For that, we need to introduce forcing and tracking-moduli in
(op)cartesian arrow
(op)fibration  : ℰ → ℬ
split (op)fibration
pr1 : ∑︁  _ C</p>
          <p>C
(op)cartesian computable function
(op)fibration-simulation  : E _ B
split (op)fibration-simulation
the definition of a simulation i.e., realisers for the forcing and tracking relations. We hope to
elaborate these concepts in subsequent work.</p>
          <p>
            In [
            <xref ref-type="bibr" rid="ref15">15</xref>
            ], Proposition 6.11, it is shown that the classifying category of a dependently typed
algebraic theory Th i.e., the category that contains the most general model of this theory, is a
type category. Moreover, a model of Th in any type-category is defined in [
            <xref ref-type="bibr" rid="ref15">15</xref>
            ], pp. 117-118.
Theorem 4.3 allows the seemingly unexpected connection between dependently type algebraic
theories and the theory of computability models. It is a result that bridges dependent type
theory with computability models, where the theory of the latter was introduced by Longley and
Normann independently from type-theoretic system with dependent features1. In subsequent
work we plan to study models of various dependently typed algebraic theories within CompMod.
In [
            <xref ref-type="bibr" rid="ref15">15</xref>
            ] it is defined when a type-category has dependent products (Definition 6.23). We need
to examine whether the type-category CompMod has dependent objects, in the sense of Pitts,
and, if yes, to relate them to the canonical dependent arrows that every type-category has (see
Theorem 4.6 in [
            <xref ref-type="bibr" rid="ref14">14</xref>
            ]). Namely, the simulations
 : C _ ∑︁  ,
          </p>
          <p>C</p>
          <p>with pr1 ∘  = 1C
are the canonical dependent functions over C and  .</p>
          <p>
            Our approach to (op)fibration-simulations and (op)cartesian functions is diferent from the
2-categorical approach to fibrations in [
            <xref ref-type="bibr" rid="ref17 ref19">17, 19</xref>
            ]. In a subsequent work we will explain the exact
relation between our approach and the 2-categorical one in detail. Namely, we will show that our
approach to cartesian arrows yields a diferent notion from the 2-categorical one. Nonetheless,
we prove that by adding the weak assumption that all computability models include all constant
functions, every fibration in our sense is a 2-categorical fibration.
1As Longley and Normann remark in [
            <xref ref-type="bibr" rid="ref10">10</xref>
            ], p. 544, “there is unexplored territory here, e.g. in combining constructive
type theory and set theory with classical approaches to functional algorithms”.
          </p>
        </sec>
      </sec>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>R.</given-names>
            <surname>Cockett</surname>
          </string-name>
          : Categories and Computability, Lecture Notes,
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>R.</given-names>
            <surname>Cockett</surname>
          </string-name>
          , P. Hofstra:
          <article-title>Introduction to Turing categories</article-title>
          ,
          <source>Annals of Pure and Applied Logic</source>
          <volume>156</volume>
          (
          <issue>2-3</issue>
          ),
          <year>2008</year>
          ,
          <fpage>183</fpage>
          -
          <lpage>209</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>R.</given-names>
            <surname>Cockett</surname>
          </string-name>
          , P. Hofstra:
          <article-title>Categorical simulations</article-title>
          ,
          <source>Journal of Pure and Applied Algebra</source>
          <volume>214</volume>
          (
          <issue>10</issue>
          ),
          <year>2010</year>
          ,
          <fpage>1835</fpage>
          -
          <lpage>1853</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>J.</given-names>
            <surname>Cartmell</surname>
          </string-name>
          :
          <article-title>Generalised algebraic theories and contextual categories</article-title>
          ,
          <source>Annals of Pure and Applied Logic</source>
          ,
          <volume>32</volume>
          ,
          <year>1986</year>
          ,
          <fpage>209</fpage>
          -
          <lpage>243</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>L.</given-names>
            <surname>Gambarte</surname>
          </string-name>
          ,
          <string-name>
            <surname>I.</surname>
          </string-name>
          <article-title>Petrakis: Categories with a base of computability</article-title>
          , in preparation,
          <year>2024</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>P.</given-names>
            <surname>Johnstone</surname>
          </string-name>
          <article-title>: Sketches of an elephant: A topos theory compendium</article-title>
          , Oxford University Press,
          <year>2002</year>
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>J.</given-names>
            <surname>Longley</surname>
          </string-name>
          <article-title>: Realizability Toposes and Language Semantics</article-title>
          ,
          <source>PhD Thesis</source>
          ECS-LFCS-
          <volume>95</volume>
          -332, University of Edinbourgh,
          <year>1995</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>J.</given-names>
            <surname>Longley</surname>
          </string-name>
          :
          <article-title>On the ubiquity of certain total type structures</article-title>
          ,
          <source>Mathematical Structures in Computer Science</source>
          <volume>17</volume>
          (
          <issue>5</issue>
          ),
          <year>2007</year>
          ,
          <fpage>841</fpage>
          -
          <lpage>953</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>J.</given-names>
            <surname>Longley</surname>
          </string-name>
          :
          <article-title>Computability structures, simulations and realizability</article-title>
          ,
          <source>Mathematical Structures in Computer Science</source>
          <volume>24</volume>
          (
          <issue>2</issue>
          ),
          <year>2014</year>
          ,
          <fpage>E240201</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>J.</given-names>
            <surname>Longley</surname>
          </string-name>
          , D. Normann:
          <string-name>
            <surname>Higher-Order</surname>
            <given-names>Computability</given-names>
          </string-name>
          , Springer,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <surname>I. Petrakis</surname>
          </string-name>
          :
          <article-title>Computability models over categories</article-title>
          ,
          <source>arXiv:2105.06933v1</source>
          ,
          <year>2021</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <surname>I. Petrakis</surname>
          </string-name>
          :
          <article-title>Computability models over categories and presheaves</article-title>
          ,
          <source>Logical Foundations of Computer Science</source>
          <year>2022</year>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Artemov</surname>
          </string-name>
          ,
          <string-name>
            <surname>A</surname>
          </string-name>
          . Nerode (Eds.), Springer, LNCS
          <volume>13137</volume>
          ,
          <year>2022</year>
          ,
          <fpage>253</fpage>
          -
          <lpage>265</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <surname>I. Petrakis</surname>
          </string-name>
          :
          <article-title>Strict computability models over categories and presheaves</article-title>
          ,
          <source>Journal of Logic and Computation</source>
          , exac077,
          <year>2022</year>
          , https://doi.org/10.1093/logcom/exac077.
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <surname>I.</surname>
          </string-name>
          <article-title>Petrakis: Categories with dependent arrows</article-title>
          ,
          <source>arXiv:2303.14754v1</source>
          ,
          <year>2023</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <string-name>
            <surname>A. M.</surname>
          </string-name>
          <article-title>Pitts: Categorical logic</article-title>
          , in S. Abramsky,
          <string-name>
            <given-names>D. M.</given-names>
            <surname>Gabbay</surname>
          </string-name>
          , T. S. E. Maibaum (Eds.) Handbook of Logic in Computer Science, Vol.
          <volume>5</volume>
          ,
          <string-name>
            <surname>Clarendon</surname>
            <given-names>Press</given-names>
          </string-name>
          , Oxford,
          <year>2000</year>
          ,
          <fpage>39</fpage>
          -
          <lpage>128</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [16]
          <string-name>
            <given-names>G.</given-names>
            <surname>Rosolini</surname>
          </string-name>
          <article-title>: Continuity and efectiveness in topoi</article-title>
          ,
          <source>PhD Thesis</source>
          , University of Oxford,
          <year>1986</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          [17]
          <string-name>
            <given-names>E.</given-names>
            <surname>Riehl</surname>
          </string-name>
          <article-title>: Two-sided discrete fibrations in 2-categories</article-title>
          and bicategories ,
          <year>2010</year>
          , available at https://math.jhu.edu/~eriehl/fibrations.pdf.
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          [18]
          <string-name>
            <given-names>E.</given-names>
            <surname>Riehl</surname>
          </string-name>
          <article-title>: Category Theory in Context, Dover Publications Inc</article-title>
          .,
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          [19]
          <string-name>
            <surname>L. Z.</surname>
          </string-name>
          <article-title>Wong: The Grothendieck Construction in Enriched, Internal and</article-title>
          ∞-Category
          <string-name>
            <surname>Theory</surname>
          </string-name>
          ,
          <source>PhD Thesis</source>
          , University of Washington,
          <year>2019</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>