Abstract 1 Introduction 2 Effective Kan fibrations/complexes 3 W-types and variations 4 𝑷𝒇 on effective Kan fibrations 5 Main results 6 Future work 7 Conclusion References

Effective Kan Fibrations for W-Types in Homotopy Type Theory

Shinichiro Tanaka ORCID Institute for Logic, Language and Computation, University of Amsterdam, The Netherlands
Abstract

We investigate effective Kan fibrations in the context of the semantics of Homotopy Type Theory (HoTT). Effective Kan fibrations were proposed by Benno van den Berg and Eric Faber as constructive alternatives to classical Kan fibrations for modeling HoTT. Our work specifically explores their interaction with W-types in HoTT, which are inductive types representing well-founded trees, and extends this exploration to variants such as M-types. By using the categorical properties of W-types, we show that effective Kan fibrations model them. Additionally, we examine the behavior of quotient maps and discuss that certain cases can also be classified as effective Kan fibrations.

Keywords and phrases:
Homotopy Type Theory, Effective Kan Fibrations, W-types
Copyright and License:
[Uncaptioned image] © Shinichiro Tanaka; licensed under Creative Commons License CC-BY 4.0
2012 ACM Subject Classification:
Theory of computation Type theory
Acknowledgements:
I would like to thank Dr. Benno van den Berg for his insightful advice and support.
Editors:
Rasmus Ejlers Møgelberg and Benno van den Berg

1 Introduction

1.1 Background and motivation

Homotopy Type Theory (HoTT) started with the homotopy-theoretic interpretation of Martin-Löf’s dependent type theory and the discovery of the univalence axiom by Voevodsky in the 2000s [11] [12]. Awodey and Warren, and independently Voevodsky, provided this homotopy interpretation. A certain form of Martin-Löf type theory can be modeled in any Quillen model category [1], giving HoTT a semantics with topological intuition. The category of simplicial sets, one of the most significant model categories, models types as Kan complexes and dependent types as Kan fibrations, as proposed by Voevodsky.

Kan fibrations, a key construct in this model, possess a lifting property analogous to the homotopy lifting property in classical homotopy theory. However, the initial Kan fibration model is non-constructive, as closure under pushforward of Kan fibrations is unprovable [2].

To develop constructive models, cubical sets were proposed as an alternative to simplicial sets. Nevertheless, the original Kan fibration concept is still appealing, and there have been endeavors to create a constructive version that maintains Voevodsky’s ideas. Gambino and Sattler proposed a model treating Kan fibrations as structure rather than property [6]. Then, to overcome difficulties in this approach, van den Berg and Faber introduced effective Kan fibrations [2], which is the primary focus of our paper.

Verification of effective Kan fibrations modeling HoTT includes modeling all type formers, such as Π-types, and a primary focus of this thesis is W-types, which represent well-founded trees (e.g., natural numbers) introduced by Martin-Löf in [10]. W-types, already modeled by classical HoTT semantics using Kan fibrations [3], are examined here using effective Kan fibrations.

Prior research regarding this concept includes [5] and [7]. The latter defined a special case of effective Kan fibrations, called symmetric effective Kan fibrations. The primary difference between effective Kan fibrations and symmetric effective Kan fibrations lies in the fact that, except for certain exceptions, each horn problem in effective Kan fibrations has two solutions – positive and negative – whereas this distinction does not exist in symmetric effective Kan fibrations. This paper focuses on effective Kan fibrations and employs a slightly modified version of the framework introduced in [7] to incorporate the distinction between positive and negative solutions.

As will be mentioned, constructing W-types categorically involves transfinite induction. To ensure the entire argument is fully constructive, we must deal with this constructively, which is currently an open problem.

1.2 Outline

The first section introduces preliminary information about simplicial sets, providing essential foundational knowledge for the subsequent sections.

Then, based on the paper [3] on W-types in HoTT in the classical setting, we will extend this study using a constructive approach. We define the categories of effective Kan fibrations and their variants. This categorical framework is crucial for describing W-types and M-types as certain kinds of colimits and limits, respectively.

Next, we explore whether effective Kan fibrations can model W-types and M-types by examining the existence and behavior of filtered colimits and limits in these categories. We then explain how W-types are generated by polynomial functors, and investigate the role of these functors as maps in the categorical structures defined in previous sections.

Finally, we proceed to the main theorem: Effective Kan fibrations can indeed model W-types and their variants, providing a comprehensive conclusion to the theoretical framework developed.

Additionally, for future work, to explore potential applications of W-types in constructive mathematics, we will examine their role in defining quotients and discuss related challenges. Specifically, we address issues involving epimorphisms by introducing additional structures on effective Kan fibrations. A potential goal of this approach is to show that such structures could enable effective Kan complexes and fibrations to model quotient types and quotient maps, respectively, in a constructive framework.

2 Effective Kan fibrations/complexes

2.1 Simplicial sets

Definition 1.

The simplex category Δ is a category whose objects are the finite, non-empty, linearly ordered sets [n]={0,,n} for each n0, and whose morphisms [n][m] are nondecreasing maps.

For each n0, there are two important types of morphisms in Δ. An injection di:[n1][n] that omits the i-th element is called the i-th face map. A surjection si:[n+1][n] that maps two distinct elements to i is called the i-th degeneracy map. Specifically,

di(j)={jif j<i,j+1if ji,si(j)={jif ji,j1if j>i.

These maps satisfy the simplicial identities:

sjdk={dk1sjif k>j+1,idif k{j,j+1},dksj1if k<j,

djdk=dk+1dj (if kj), and sjsk=sksj+1 (if jk).

Definition 2.

A contravariant functor Δ𝐒𝐞𝐭, namely a presheaf on Δ, is called a simplicial set. The category of simplicial sets is denoted by 𝐬𝐒𝐞𝐭.

Given a simplicial set X, we write Xn:=X([n]), making X a graded set {Xn}n. Since X is contravariant, the face maps and degeneracy maps induce actions X(di):XnXn1 and X(si):XnXn+1, respectively. For any locally small category 𝒞 and Cob(𝒞), the Yoneda lemma identifies the natural bijection HomSet𝒞op(yC,F)FC for every presheaf F with the representable presheaf yC=Hom𝒞(,C). Setting 𝒞=Δ, we have:

Definition 3.

In 𝐬𝐒𝐞𝐭, for each [n], the representable functor is called the n-standard simplex and denoted by Δn instead of y[n], i.e., Δn([m])=HomΔ([m],[n]).

A face map dkHomΔ([n1],[n]). This corresponds to a face map dk:Δn1Δn in sSet. Similarly, we have degeneracy maps in sSet.

Definition 4.

The boundary Δn of Δn is the union of all its (n1)-dimensional faces:

Δn=i=0ndi(Δn1).
Definition 5.

Let n1 and 0mn. The m-th horn of Δn is the simplicial subset:

Λmn=0inimdi(Δn1)

If 0<m<n, Λmn is called an inner horn, and if m{0,n}, it is called an outer horn.

By the density theorem, every presheaf is a colimit of representable presheaves. That is, a horn Λmn is a colimit of standard simplices. This is expressed as follows [8]:

Lemma 6.

A horn Λmn can be expressed by the following coequalizer in the following commutative “fork”.

Besides this lemma, we will also see another perspective of constructing horns in the next section. The following lemma will be used frequently, so we state it here for reference. The proof follows from the universal property of the coequalizer and coproduct in Lemma 6.

Lemma 7.

In 𝐬𝐒𝐞𝐭, given f,g:ΛmnS, if fdk=gdk for all k with 0kn and km, then f=g, i.e., (dk)km are jointly epic.

2.2 Preliminaries on effective Kan fibrations/complexes

Now, let us see an alternative construction of a horn described in [7].

Construction 8.

Let ϵ{0,1}. In the commutative squares (1) each of which is a pullback square, a horn Λi+1ϵn+1 is alternatively constructed as the pushout of the left square.

(1)

Notice that except for the edge cases (m=0 or m=n+1), there are two ways to obtain Λmn+1, since two pairs (i,ϵ)=(m1,0) and (m,1) satisfy i+1ϵ=m for 0<m<n+1. At the edge cases, however, only one pair satisfies the condition: (i,ϵ)=(0,1) when m=0 and (i,ϵ)=(n,0) when m=n+1. Thus Λmn+1 for 0<m<n+1 is created by dm1 (when ϵ=0) or dm+1 (when ϵ=1) in (1). We call a horn negative if ϵ=0 and positive if ϵ=1, and denote it by (Λmn+1,±). Note that at the edges, (Λ0n+1,+) and (Λn+1n+1,) do not exist.

Definition 9.

In 𝐬𝐒𝐞𝐭, let p be a Kan fibration, i.e., for every horn inclusion i:(Λmn,±)Δn, every pair of maps x and y with px=yi as in the right square in (4), there exists a lift. For each such p, we can define a function 𝗅𝗂𝖿𝗍p that assigns a lift 𝗅𝗂𝖿𝗍p(x,y) for each lifting problem which is represented as a pair (x,y).

As mentioned in the introduction, this paper uses a framework from [7], which is described below, with a modification to distinguish between positive and negative solutions discussed above.

Definition 10.

Let p be a Kan fibration equipped with 𝗅𝗂𝖿𝗍p. For every lifting problem (x,y) and sj:Δn+1Δn with 0jn as in (4), a horn map sj(x):(Λmn+1,±)X, where m is as given in (2), is defined by (3).

m{{m}if m<j{m,m+1}if m=j{m+1}if m>j, (2)
sj(x)dk={xsjdkif kj,j+1,m𝗅𝗂𝖿𝗍p(x,y)if k{j,j+1}and km. (3)
Definition 11.

A map p:XY in 𝐬𝐒𝐞𝐭 is an effective Kan fibration if it comes equipped with 𝗅𝗂𝖿𝗍p, and satisfies the compatibility (or uniformity) condition: 𝗅𝗂𝖿𝗍p(sj(x),ysj)=𝗅𝗂𝖿𝗍p(x,y)sj for every 0jn, m, and sj(x). In (4), two horns have the same ± signs.

(4)

When Y={}, the one-point simplicial set, the lower triangle is trivial and X is called an effective Kan complex.

The ± distinction is important for bookkeeping since mere existence of a lift is not sufficient anymore in the effective setting. However, for simplicity, we will mostly drop + and signs from horns throughout the rest of this paper.

 Remark 12.

Formally, an effective Kan fibration is a pair (p,𝗅𝗂𝖿𝗍p). Also, in the case of an effective Kan complex, the fibration is the unique map !X:X{} but we write it (X,𝗅𝗂𝖿𝗍X) instead of (!X,𝗅𝗂𝖿𝗍!X). Also, we just denote 𝗅𝗂𝖿𝗍X(x) instead of 𝗅𝗂𝖿𝗍!X(x,!Δn).

By a slight abuse of notation, we sometimes refer to X in the pair (X,𝗅𝗂𝖿𝗍X) simply as an effective Kan complex, and we say that X is in 𝐄𝐟𝐟𝐊𝐚𝐧𝐂𝐩𝐥𝐱. Similarly, the same convention applies in the case of fibrations.

Definition 13.

𝐄𝐟𝐟𝐊𝐚𝐧𝐅𝐢𝐛 is the category of effective Kan fibrations whose objects and morphisms are as follows.

    • Objects:

      Effective Kan fibrations (p,𝗅𝗂𝖿𝗍p).

    • Morphisms:

      A morphism (φ,ψ):pq is a pair of maps φ:XY and ψ:AB such that qφ=ψp, and for an arbitrary horn (Λmn, ±), a map x:(Λmn,±)X and a map a:ΔnA such that px=aι, each triangle of the following diagram commutes. In particular, φ𝗅𝗂𝖿𝗍p(x,a)=𝗅𝗂𝖿𝗍q(φx,ψa).

Note that the classical Kan fibrations are maps in 𝐬𝐒𝐞𝐭. This 𝐄𝐟𝐟𝐊𝐚𝐧𝐅𝐢𝐛 is further endowed with additional structures.

Definition 14.

The category 𝐄𝐟𝐟𝐊𝐚𝐧/A of effective Kan fibrations whose codomain is a simplicial set A is defined in a similar way to Definition 13. In that definition, let B:=A and ψ:=1A.

Definition 15.

The category 𝐄𝐟𝐟𝐊𝐚𝐧𝐂𝐩𝐥𝐱 of effective Kan complexes is defined as 𝐄𝐟𝐟𝐊𝐚𝐧/1.

As mentioned in Remark12, we just regard the objects in 𝐄𝐟𝐟𝐊𝐚𝐧𝐂𝐩𝐥𝐱 as (X,𝗅𝗂𝖿𝗍X) instead of (!X,𝗅𝗂𝖿𝗍!X).

2.3 Properties of effective Kan fibrations/complexes

In this section, we will examine filtered colimits and limits in the categories in the previous section, as they play important roles in the construction of W-types and the variants later. Recall that a filtered diagram F:𝒞 satisfies that (1) has at least one object, (2) for each pair i,j, there is k with a pair of morphisms ik and jk of , (3) for each pair i,j and each pair a,b:ij, there is a morphism c:jk of such that F(ca)=F(cb) in 𝒞. And a filtered colimit is the colimit of a filtered diagram. Also, in Set, filtered colimits can be explicitly calculated: For a filtered diagram F:Set, we have colimiFi=(iFi)/, where xixj if and only if there exist k,φ:ik and ψ:jk such that F(φ)(xi)=F(ψ)(xj), for i,jI, xiFi and xjFj.

Applying the above calculation to hom-sets, we can obtain useful facts for sSet. First, more generally, recall that we have HomsSet(Δn,X)Xn by the Yoneda lemma, and colimits in sSet are computed degree-wise. Thus, every evaluation functor HomsSet(Δn,):sSetSet preserves all small colimits, i.e., for any small diagram F:sSet, we have HomsSet(Δn,colimiFi)colimiHomsSet(Δn,Fi). Moreover, suppose F is also filtered. A horn Λmn is a finite colimit of standard n-simplices, namely finitely presentable, and thus the functor HomsSet(Λmn,):sSetSet preserves all filtered colimits. In particular, we have the following.

Lemma 16.

Let F:𝐬𝐒𝐞𝐭 be a filtered diagram with filtered colimit X. Denote F(i)=Xi for i and write βi:XiX for the coprojections. For each n1 and each 0mn, every morphism x:ΛmnX into the colimit factors through a coprojection: there exists i and a map xi:ΛmnXi such that x=βixi.

Lemma 17.

With the same notation, suppose a map x:ΛmnX admits two factorizations x=βixi and x=βjxj through Xi and Xj. Then there exists k and morphisms f:ik and g:jk in such that xk=F(f)xi=F(g)xj and x=βkxk.

Let us rewrite the maps of the form F(f) or F(g) in the Lemma 17 as φik or φjk, respectively. Also, let us call them mediating maps.

The next proposition is an important tool for our main theorem. Similar results hold for 𝐄𝐟𝐟𝐊𝐚𝐧/A and for 𝐄𝐟𝐟𝐊𝐚𝐧𝐅𝐢𝐛 in place of 𝐄𝐟𝐟𝐊𝐚𝐧𝐂𝐩𝐥𝐱. While the result for 𝐄𝐟𝐟𝐊𝐚𝐧𝐅𝐢𝐛 would immediately imply the results for 𝐄𝐟𝐟𝐊𝐚𝐧𝐂𝐩𝐥𝐱 and 𝐄𝐟𝐟𝐊𝐚𝐧/A, since the core idea behind the proofs of all three versions is essentially the same, we choose to focus on the simplest case for 𝐄𝐟𝐟𝐊𝐚𝐧𝐂𝐩𝐥𝐱.

Proposition 18.

The forgetful functor 𝐄𝐟𝐟𝐊𝐚𝐧𝐂𝐩𝐥𝐱𝐬𝐒𝐞𝐭 creates small filtered colimits.

Proof.

Let F:𝐄𝐟𝐟𝐊𝐚𝐧𝐂𝐩𝐥𝐱 be a small filtered diagram. Let F(i):=(Xi,𝗅𝗂𝖿𝗍Xi). Let U:𝐄𝐟𝐟𝐊𝐚𝐧𝐂𝐩𝐥𝐱sSet denote the forgetful functor that sends (Xi,𝗅𝗂𝖿𝗍Xi) to Xi. Suppose X is the filtered colimit of (Xi:i) in sSet (under UF). Our goal is to equip X with a horn-filler operation 𝗅𝗂𝖿𝗍X, thereby obtaining an effective Kan complex (X,𝗅𝗂𝖿𝗍X) and showing that it is a filtered colimit in 𝐄𝐟𝐟𝐊𝐚𝐧𝐂𝐩𝐥𝐱.

Fix an arbitrary horn Λmn and a map x:ΛmnX. First, let us define 𝗅𝗂𝖿𝗍X(x) for x. By Lemma 16, we observed that x factors through some Xi with the coprojection βi. We define

𝗅𝗂𝖿𝗍X(x):=βi𝗅𝗂𝖿𝗍Xi(xi). (5)

As discussed earlier, the factorization is not unique. However, this is well-defined, since we can show that it does not depend on the particular choice. For, suppose there are two different factorizations via Xi and Xj. By Lemma 17, there is Xk with xk=xiφik=xjφjk as follows:

Then, since φik and φjk are morphisms in 𝐄𝐟𝐟𝐊𝐚𝐧𝐂𝐩𝐥𝐱, we have φik𝗅𝗂𝖿𝗍Xi(xi)=𝗅𝗂𝖿𝗍Xk(xk)=φjk𝗅𝗂𝖿𝗍Xj(xj). From this, we can observe that βi𝗅𝗂𝖿𝗍Xi(xi)=βkφik𝗅𝗂𝖿𝗍Xi(xi)=βkφjk𝗅𝗂𝖿𝗍Xj(xj)=βj𝗅𝗂𝖿𝗍Xj(xj). That is, the definition of 𝗅𝗂𝖿𝗍X(x) is not dependent on the particular factorization.

To verify the compatibility condition, we pull back the horn along sp for any 0pn, and we also consider sp(x):Λmn+1X defined in Definition 10, and we will show 𝗅𝗂𝖿𝗍X(sp(x))=𝗅𝗂𝖿𝗍X(x)sp as in Definition 11. For any i, consider the map sp(xi) of xi along sp as shown in the diagram below. We claim that sp(x) factors through Xi with sp(x)=βisp(xi). To see this, it suffices to show that sp(x)dq=βisp(xi)dq for all q[n]{m} by Lemma 7. By Definition 10,

sp(x)dq={xspdqif qp,p+1,m𝗅𝗂𝖿𝗍X(x)if q{p,p+1}{m},

and also

βisp(xi)dq={βixispdqif qp,p+1,mβi𝗅𝗂𝖿𝗍Xi(xi)if q{p,p+1}{m}.

Now, comparing both cases for q, we see that xspdq=βixispdq for the first case, since x=βixi. Also, 𝗅𝗂𝖿𝗍X(x)=βi𝗅𝗂𝖿𝗍Xi(xi) for the second case by the definition of 𝗅𝗂𝖿𝗍X(x) provided earlier in (5). Hence, this proves the claim about the factorization.

Due to this factorization, we can use (5) to define 𝗅𝗂𝖿𝗍X(sp(x))=βi𝗅𝗂𝖿𝗍Xi(sp(xi)) independently of i. Then, using the compatibility for Xi, we have 𝗅𝗂𝖿𝗍X(sp(x))=βi𝗅𝗂𝖿𝗍Xi(sp(xi))=βi𝗅𝗂𝖿𝗍Xi((xi)sp)=𝗅𝗂𝖿𝗍X(x)sp, which is the compatibility for X, and thus (X,𝗅𝗂𝖿𝗍X) is an effective Kan complex.

Next, we check the coprojections are maps in EffKanCplx. For each βi and each xi¯:ΛmnXi, we have 𝗅𝗂𝖿𝗍X(βixi¯)=βi𝗅𝗂𝖿𝗍Xixi¯ by definition, meaning exactly that βi is in EffKanCplx.

Finally, we show that the cocone ((X,𝗅𝗂𝖿𝗍X),{βi:XiX}iI) is colimiting. Let ((Y,𝗅𝗂𝖿𝗍Y),{γi:XiY}iI) be any cocone of the morphisms in 𝐄𝐟𝐟𝐊𝐚𝐧𝐂𝐩𝐥𝐱 over F. Forgetting the data regarding the lifting structure, the maps γi form a cocone of simplicial-set maps over UF. Since X=colimiIXi in 𝐬𝐒𝐞𝐭, the universal property of the colimit gives a unique map θ:XY such that θβi=γi for all i. Then θ preserves lifts as follows: θ𝗅𝗂𝖿𝗍X(x)=θβi𝗅𝗂𝖿𝗍Xi(xi)=γi𝗅𝗂𝖿𝗍Xi(xi)=𝗅𝗂𝖿𝗍Y(γixi)=𝗅𝗂𝖿𝗍Y(θβixi)=𝗅𝗂𝖿𝗍Y(θx). Hence θ is a morphism in 𝐄𝐟𝐟𝐊𝐚𝐧𝐂𝐩𝐥𝐱. For the uniqueness, suppose ψ:XY is another morphism with ψβi=γi for all i. But then U(ψ)=U(θ) implies ψ=θ by the faithfulness of U.

Consequently the cocone ((X,𝗅𝗂𝖿𝗍X),{βi}iI) is colimiting in 𝐄𝐟𝐟𝐊𝐚𝐧𝐂𝐩𝐥𝐱, and thus (X,𝗅𝗂𝖿𝗍X) is a filtered colimit in 𝐄𝐟𝐟𝐊𝐚𝐧𝐂𝐩𝐥𝐱.

 Remark 19.

As mentioned before, using analogous reasoning, this proposition can be extended to the category 𝐄𝐟𝐟𝐊𝐚𝐧/A easily, and further generalized to 𝐄𝐟𝐟𝐊𝐚𝐧𝐅𝐢𝐛, provided that similar assumptions hold for the mediating maps in both cases, although we only require the cases for 𝐄𝐟𝐟𝐊𝐚𝐧𝐂𝐩𝐥𝐱 and 𝐄𝐟𝐟𝐊𝐚𝐧/A in this paper.

Let us also look at limits.

Proposition 20.

The forgetful functor 𝐄𝐟𝐟𝐊𝐚𝐧𝐂𝐩𝐥𝐱𝐬𝐒𝐞𝐭 creates small limits.

Proof.

Let F:𝐄𝐟𝐟𝐊𝐚𝐧𝐂𝐩𝐥𝐱 be a diagram for a small category . Denote F(i)=(Xi,𝗅𝗂𝖿𝗍Xi). Using the forgetful functor U:𝐄𝐟𝐟𝐊𝐚𝐧𝐂𝐩𝐥𝐱sSet that sends (Xi,𝗅𝗂𝖿𝗍Xi) to Xi, we want to show that if X is the limit of (Xi:i) in sSet (under UF), and each Xi has the structure of an effective Kan complex (Xi,𝗅𝗂𝖿𝗍Xi), then so does X.

For each i, let πi:XXi denote the projection. Fix an arbitrary horn problem x:ΛmnX. For each Xi, the composition πix:ΛmnXi admits a lift 𝗅𝗂𝖿𝗍Xi(πix):ΔnXi. Now, since each φii:XiXi is a morphism in 𝐄𝐟𝐟𝐊𝐚𝐧𝐂𝐩𝐥𝐱, we have φii𝗅𝗂𝖿𝗍Xi(πix)=𝗅𝗂𝖿𝗍Xi(φiiπix)=𝗅𝗂𝖿𝗍Xi(πix) for all i,i. Hence, the collection of maps 𝗅𝗂𝖿𝗍Xk(πkx) over k forms a cone over the diagram F. By the universal property of X, there exists the unique map 𝗅𝗂𝖿𝗍Xk(πkx)k:ΔnX such that πj𝗅𝗂𝖿𝗍Xk(πkx)k=𝗅𝗂𝖿𝗍Xj(πjx) for all j.

We claim that 𝗅𝗂𝖿𝗍X(x):=𝗅𝗂𝖿𝗍Xk(πkx)k gives the desired structure. We need to show its compatibility. Consider Λmn+1 and an arbitrary sp. We need to show 𝗅𝗂𝖿𝗍X(sp(x))=𝗅𝗂𝖿𝗍X(x)sp, i.e., using the definition of 𝗅𝗂𝖿𝗍X that we have just given, we need to show 𝗅𝗂𝖿𝗍Xk(πksp(x))k=𝗅𝗂𝖿𝗍Xk(πkx)ksp.

First, we claim sp(πjx)=πjsp(x) for each j. As before, we examine all possible faces dq to see sp(πjx)dq=πjsp(x)dq.

sp(πjx)dq={πjxspdqif qp,p+1,m𝗅𝗂𝖿𝗍X(πjx)if q{p,p+1}{m}.
πjsp(x)dq={πjxspdqif qp,p+1,mπj𝗅𝗂𝖿𝗍Xj(x)if q{p,p+1}{m}.

In the first case they coincide. In the second case, using 𝗅𝗂𝖿𝗍X defined earlier, we have πj𝗅𝗂𝖿𝗍X(x)=πj𝗅𝗂𝖿𝗍Xk(πkx)kI=𝗅𝗂𝖿𝗍X(πjx). Thus, both sides are equal for all possible faces and the claim follows.

Now, because of this claim, our goal is to show 𝗅𝗂𝖿𝗍Xk(sp(πjx))k=𝗅𝗂𝖿𝗍Xk(πkx)ksp. By the compatibility condition for Xi, we have 𝗅𝗂𝖿𝗍Xi(sp(πix))=𝗅𝗂𝖿𝗍Xi(πix)sp. Then by the universal property of X, we see that 𝗅𝗂𝖿𝗍Xk(sp(πjx))k=𝗅𝗂𝖿𝗍Xk(πkx)ksp, as desired. Thus, (X,𝗅𝗂𝖿𝗍X) is an effective Kan complex.

It is immediate that the projections are morphisms in EffKanCplx, as πi𝗅𝗂𝖿𝗍X(x)=πi𝗅𝗂𝖿𝗍Xk(πkx)kI=𝗅𝗂𝖿𝗍Xi(πix) by the definition of our lift 𝗅𝗂𝖿𝗍X.

Let ((Y,𝗅𝗂𝖿𝗍Y),{τi:YXi}iI) be any other cone in 𝐄𝐟𝐟𝐊𝐚𝐧𝐂𝐩𝐥𝐱 over F. Forgetting fillers, the maps {τi} form a cone in sSet over UF, so the universal property of the limit gives a unique map θ:YX such that πiθ=τi for all i. To show that θ preserves lifts, we have πiθ𝗅𝗂𝖿𝗍Y(x)=τi𝗅𝗂𝖿𝗍Y(x)=𝗅𝗂𝖿𝗍Xi(τix)=𝗅𝗂𝖿𝗍Xi(πiθx)=πi𝗅𝗂𝖿𝗍X(θx). Since the projections are jointly monic in 𝐬𝐒𝐞𝐭, we have θ𝗅𝗂𝖿𝗍Y(x)=𝗅𝗂𝖿𝗍X(θx). Thus, θ is a morphism in 𝐄𝐟𝐟𝐊𝐚𝐧𝐂𝐩𝐥𝐱. For the uniqueness, if ψ:YX is another morphism in 𝐄𝐟𝐟𝐊𝐚𝐧𝐂𝐩𝐥𝐱 with πiψ=τi, then U(ψ)=U(θ) by the uniqueness of the limit in 𝐬𝐒𝐞𝐭, and by the faithfulness of U, we have ψ=θ. Therefore, the cone ((X,𝗅𝗂𝖿𝗍X),{πi}iI) is limiting in 𝐄𝐟𝐟𝐊𝐚𝐧𝐂𝐩𝐥𝐱, and thus (X,𝗅𝗂𝖿𝗍X) is a limit in 𝐄𝐟𝐟𝐊𝐚𝐧𝐂𝐩𝐥𝐱.

3 W-types and variations

We introduce the categorical definition of W-types to show that effective Kan complexes model them. While our primary goal is this categorical perspective, a brief note about the type-theoretic development is as follows: W-types were introduced by Martin-Löf in the late 1970s in [10], and most recently their type-theoretic aspects are summarized in “the HoTT book” [12]. These types generalize structures such as natural numbers, lists, and binary trees, encapsulating the recursive properties of inductive types.

3.1 W-types

We summarize the categorical formulation of W-types as described in [3]. For an endofunctor F:, an algebra is a pair (X,α) with α:FXX, and morphisms φ:(X,α)(Y,β) satisfy φα=βFφ. The initial algebra is the initial object in this category of F-algebras, if it exists.

In a locally cartesian closed category , for every f:AB, the pullback functor f:/B/A has left and right adjoints, Σf and Πf, forming ΣffΠf. In particular, for the unique morphism !:A1, the adjunction Σ!!Π! is written as ΣAAΠA. Note that A is also written as ×A.

Definition 21.

In a locally cartesian closed category , given f:AB, the polynomial functor Pf is the composite ΣAΠfB.

Pf:B/BΠf/AΣA, (6)

The W-type W(f) is the initial algebra of Pf, if it exists.

To describe W-types in sSet, it suffices to describe them in presheaves.

3.1.1 W-types in Set

Given a polynomial functor Pf(X)=aAXBa, where Ba=f1(a), a W-type consists of labeled, well-founded trees with edges directed towards the root. Each aA is a node, and bBa is an edge leading to the node a. Each A with B= is the end of a branch (namely, a leaf node) in the tree. Thus, for example, a branch would look like 𝑏aba𝑏ar with the root r being some non-leaf node.

For a Pf-algebra (X,μ) with structure map μ:Pf(X)X, restricting μ to the a-th summand induces the component map μa:XBaX. With this in mind, we see how an important structure map called sup is obtained. The collection W(f) of well-founded trees is inductively constructed as follows: Each tree is of the form supa(t), where aA and t:BaW(f) assigns subtrees to branches labeled by Ba. The base case includes trees with no branches (Ba=). Larger trees are constructed by attaching t(b)W(f) for each bBa. The map sup:Pf(W(f))W(f) given by supa:W(f)BaW(f) equips W(f) with a Pf-algebra structure. Then, inductively we can see that for any other Pf-algebra (X,μ), there is a unique map φ:W(f)X with φ(supa(t))=μa(φt) for any aA and tW(f)Ba, which shows that W(f) is the W-type associated to f. Concretely, the rank function rk:W(f)Ord assigns ordinals to trees based on their well-foundedness: rk(supa(t))=sup{rk(t(b))+1bBa}. Furthermore, we define W(f)<α:={wW(f):rk(w)<α}. Then, W(f)<0=, W(f)<α+1Pf(W(f)<α), and W(f)<λ=colimα<λW(f)<α, for limit ordinals λ. By transfinite induction on wW(f), we can show that rk(w)<κ for some sufficiently large regular cardinal κ, implying W(f)=W(f)<κ. This transfinite chain of sets:

0!Pf(0)Pf(!)Pf(Pf(0))Pf(Pf(!))Pf(Pf(Pf(0)))Pf(Pf(Pf(!))) (7)

converges to W(f). Here, 0 denotes the initial object, which is in Set. Note that Pfα(0)=W(f)<α.

3.1.2 W-types in Set𝓒op

We show that the category of presheaves 𝐒𝐞𝐭𝒞op, where 𝒞 is a small category, has all W-types. Given a map f:BA in 𝐒𝐞𝐭𝒞op, define A^={(C,a)C𝒞,aA(C)} and B^(C,a)={(α:DC,bB(D))fD(b)=α(a)}, where α(a):=Aα(a). Let f^:(C,a)A^B^(C,a)A^ be the projection. Since A^ and B^(C,a) are sets, we consider W(f^). Since (W(f^),sup) is the initial Pf^-algebra, by Lambek’s lemma, the structure map sup:Pf^W(f^)W(f^) is an isomorphism, so every wW(f^) is uniquely of the form sup(C,a)(t) with tW(f^)B^(C,a). We give W(f^) a presheaf structure over 𝒞. On objects, W(f^)(C) consists of trees rooted at C. On morphisms, for α:DC, define α(sup(C,a)(t))=sup(D,α(a))(αt), where αt is defined by (αt)(β,b)=t(αβ,b). Then, we can see that this is functorial, so W(f^) is a presheaf. Assign ranks to elements by rk(sup(C,a)(t))=sup{rk(t(β,b))+1(β,b)B^(C,a)}. Define subpresheaves as W(f^)<α={wW(f^)rk(w)<α}. To obtain W(f), select hereditarily natural trees: A tree sup(C,a)(t) is natural if for all (α:DC,b)B^(C,a) and β:ED, it lives in the fiber over dom(α), and t(αβ,β(b))=β(t(α,b)). A tree is hereditarily natural if all its subtrees are natural. These hereditarily natural trees form a subpresheaf W(f)W(f^), and W(f)<α:=W(f^)<αW(f) is also a presheaf. Then, again, W(f)<0=0, W(f)<α+1=Pf(W(f)<α) and W(f)<λ=colimα<λW(f)<α(for limit λ). This chain, the same as (7), converges to W(f), since W(f)=W(f)<κ for large enough κ.

Setting 𝒞=Δ, we view W-types W(f) in sSet as filtered colimits, which motivated our prior investigation.

 Remark 22.

The categorical construction of W-types matches their definition in HoTT [12]. Given a type A and a type family B:A𝒰, the inductive type W-type 𝖶(a:A)B(a) is defined by the constructor 𝗌𝗎𝗉 and induction principle. The constructor is specified as follows: For each a:A and function f:B(a)𝖶(a:A)B(a), there exists a term 𝗌𝗎𝗉(a,f):𝖶(a:A)B(a).

3.2 Initial algebras for dependent polynomial functors

Now let us introduce the first variation. As seen above, a W-type is the initial algebra for a polynomial functor. We can generalize the notion of polynomial functors as follows:

Definition 23.

Suppose we are given a diagram of the form

in a locally cartesian closed category . Then this diagram determines an endofunctor on /C, the dependent polynomial functor

Df:/Ch/BΠf/AΣg/C.

In Set, it behaves as Df(X)c=aAcbBaXh(b). The initial algebra for Df is a subset of W(f), defined by the condition that an edge labeled by bB with source node labeled by aA satisfies g(a)=h(b). The concept of rank extends naturally from W-types, and this initial algebra generalizes from 𝐒𝐞𝐭 to presheaves, in particular sSet.

3.3 M-types

As a dual to a W-type, an M-type is defined as the final coalgebra of a polynomial functor associated with a morphism f:BA in a locally cartesian closed category .

In both Set and sSet, this final coalgebra, denoted M(f), captures both well-founded and non-well-founded trees labeled according to f. The construction of M(f) can be understood as the limit of the following chain:

where Pf is the polynomial functor associated with f, and 1 denotes the terminal object. Notably, this sequence stabilizes at the ordinal ω, leading to the isomorphism M(f)limnPfn(1). Thus, unlike certain W-types which require transfinite recursion to generate new well-founded trees, M-types do not require it.

4 𝑷𝒇 on effective Kan fibrations

Before stating the main theorem, we lift each functor in the composite Df from a functor on the slice categories of sSet to a functor on the categories of 𝐄𝐟𝐟𝐊𝐚𝐧/(). In particular, we obtain the result for Pf. Recall that Df is of the form ΣgΠfh. First let us look at the second component, Πf. The result was established by van den Berg and Faber [2]:

Lemma 24.

The functor Πf:𝐬𝐒𝐞𝐭/B𝐬𝐒𝐞𝐭/A lifts to Πf:𝐄𝐟𝐟𝐊𝐚𝐧/B𝐄𝐟𝐟𝐊𝐚𝐧/A with an effective Kan fibration f:BA.

For the first component (the pullback functor) of Df, we first

Lemma 25.

Effective Kan fibrations are stable under pullbacks along any map.

Proof.

Let (p,𝗅𝗂𝖿𝗍p) with p:XA be an effective Kan fibration, and a:BA be any simplicial map. Consider an arbitrary horn problem (x,b) against the map ap. Then, we have the lift 𝗅𝗂𝖿𝗍p(φx,ab), which we denote by γ.

In the inner left commutative square below, by the universal property of B×AX, there exists a unique morphism γ,b, as shown in the diagram. We claim 𝗅𝗂𝖿𝗍ap(x,b):=γ,b is well-defined.

First, to see it is a lift, clearly the lower triangle commutes (apγ,b=b). For the upper triangle, we have φγ,bι=γι=φx, and apγ,bι=bι=apx. Then, by universal property of B×AX, we obtain γ,bι=x.

Next, we need to show this lift satisfies the compatibility condition. For every possible j and m, we have the following diagram.

By the compatibility of p, 𝗅𝗂𝖿𝗍p(φsj(x),absj)=γsj. Then, by the universal property of B×AX, we obtain γsj,bsj, and 𝗅𝗂𝖿𝗍ap(sj(x),bsj)=γsj,bsj for the same reason as above. Now, since φγsj,bsj=γsj=φγ,bsj and apγsj,bsj=bsj=apγ,bsj, by the universal property, we obtain γsj,bsj=γ,bsj, which shows the compatibility of ap.

Lemma 26.

For a simplicial-set map h:BC, the functor h:𝐬𝐒𝐞𝐭/C𝐬𝐒𝐞𝐭/B lifts to h:𝐄𝐟𝐟𝐊𝐚𝐧/C𝐄𝐟𝐟𝐊𝐚𝐧/B.

Proof.

First, let us see how it is defined on objects. Given an effective Kan fibration (k,𝗅𝗂𝖿𝗍k) with k:XC, let us define h((k,𝗅𝗂𝖿𝗍k)):=(hk,𝗅𝗂𝖿𝗍hk), where 𝗅𝗂𝖿𝗍hk is described in Lemma 25, by extending h:sSet/CsSet/B. This is well-defined: The first component is inherited from the underlying simplicial sets, and the second component is uniquely determined by the universal property of the pullback.

Next, we see that it is well-defined on morphisms. Take (k,𝗅𝗂𝖿𝗍k),(l,𝗅𝗂𝖿𝗍l)𝐄𝐟𝐟𝐊𝐚𝐧/C. Suppose we are given a pair of maps φ:XY and 1C:CC which together form a morphism (k,𝗅𝗂𝖿𝗍k)(l,𝗅𝗂𝖿𝗍l) in 𝐄𝐟𝐟𝐊𝐚𝐧/C . We need to show that a pair of maps hφ and 1B is a morphism in 𝐄𝐟𝐟𝐊𝐚𝐧/B. That is, for an arbitrary horn problem as in the following, we need to show hφL1=L2, where L1=𝗅𝗂𝖿𝗍hk(x,b) and L2=𝗅𝗂𝖿𝗍hl(hφx,b).

As a prism diagram, each face of this cube is commutative. We see that

lhhφ𝗅𝗂𝖿𝗍hk(x,b) =φkh𝗅𝗂𝖿𝗍hk(x,b) (top face of the cube)
=φ𝗅𝗂𝖿𝗍k(khx,hb) (by Lemma 25)
=𝗅𝗂𝖿𝗍l(φkhx,hb) (φ is a map in 𝐄𝐟𝐟𝐊𝐚𝐧/C)
=𝗅𝗂𝖿𝗍l(lhhφx,hb) (top face of the cube)
=lh𝗅𝗂𝖿𝗍hl(hφx,b) (by Lemma 25).

Also,

hlhφ𝗅𝗂𝖿𝗍hk(x,b) =hk𝗅𝗂𝖿𝗍hk(x,b) (front face of the cube)
=b (by Lemma 25)
=hl𝗅𝗂𝖿𝗍hl(hφx,b). (by Lemma 25)

Thus, by the universal property of B×CY, we have hφ𝗅𝗂𝖿𝗍hk(x,b)=𝗅𝗂𝖿𝗍hl(hφx,b) as desired, and h preserves a morphism in 𝐄𝐟𝐟𝐊𝐚𝐧/B. It obviously preserves the identity. Also, for ψ:YZ, we have h((φ,1C)(ψ,1C))=h(φ,1C)h(ψ,1C), especially because φ and ψ are morphisms in 𝐄𝐟𝐟𝐊𝐚𝐧/C, and they respect lifts. Setting C=1, we have the following.

Corollary 27.

We obtain the functor B:𝐄𝐟𝐟𝐊𝐚𝐧𝐂𝐩𝐥𝐱𝐄𝐟𝐟𝐊𝐚𝐧/B.

For the last component Σ() of Df, we first show this lemma.

Lemma 28.

Effective Kan fibrations are stable under composition.

Proof.

Let (p,𝗅𝗂𝖿𝗍p) with p:XA be an effective Kan fibration, and g:AC be an effective Kan fibration. Consider an arbitrary horn problem (x,c) against the map gp. Using 𝗅𝗂𝖿𝗍g we have 𝗅𝗂𝖿𝗍g(px,c). Then we obtain the lift 𝗅𝗂𝖿𝗍p(x,𝗅𝗂𝖿𝗍g(px,c)), which we call α in the diagram.

Then, this α is also a lift for gp, since the lower triangle commutes: gpα=g𝗅𝗂𝖿𝗍g(px,c)=x. Thus, we can define 𝗅𝗂𝖿𝗍gp(x,c):=α. The compatibility follows from the compatibility of 𝗅𝗂𝖿𝗍p and 𝗅𝗂𝖿𝗍q: for every possible j and m, we have 𝗅𝗂𝖿𝗍gp(x,c)sj=𝗅𝗂𝖿𝗍p(x,𝗅𝗂𝖿𝗍g(px,c))sj=𝗅𝗂𝖿𝗍p(sj(x),𝗅𝗂𝖿𝗍g(px,c)sj)=𝗅𝗂𝖿𝗍p(sj(x),𝗅𝗂𝖿𝗍g(psj(x),csj))=𝗅𝗂𝖿𝗍gp(sj(x),csj). The last equation is by our definition of 𝗅𝗂𝖿𝗍gp.

Corollary 29.

Given an effective Kan fibration p:XA, if A is an effective Kan complex, then so is X.

Proof.

By Lemma 28, the unique map !Ap=!X is effective Kan, i.e., X is effective Kan.

Lemma 30.

Σg:𝐄𝐟𝐟𝐊𝐚𝐧/A𝐄𝐟𝐟𝐊𝐚𝐧/C for an effective Kan fibration g:AC is a functor.

Proof.

For objects in 𝐄𝐟𝐟𝐊𝐚𝐧/A, Σg is defined by postcomposition with g. Thus, Σg is well-defined on objects as seen in Lemma 28.

For morphisms, let (p,𝗅𝗂𝖿𝗍p),(p,𝗅𝗂𝖿𝗍p)𝐄𝐟𝐟𝐊𝐚𝐧/A. Suppose we have maps φ:XY and 1A:AA such that (φ,1A) is a morphism in 𝐄𝐟𝐟𝐊𝐚𝐧/A from (p,𝗅𝗂𝖿𝗍p) to (p,𝗅𝗂𝖿𝗍p). We need to show that Σg(φ,1A) is a morphism in 𝐄𝐟𝐟𝐊𝐚𝐧/C. This follows immediately. By construction, as established in Lemma 28, the lifts associated with gp and gp are created by p and p, respectively. Also it is immediate that Σg preserves the identities and respects composition. Setting C=1, we have the following.

Corollary 31.

We obtain the functor ΣA:𝐄𝐟𝐟𝐊𝐚𝐧/A𝐄𝐟𝐟𝐊𝐚𝐧𝐂𝐩𝐥𝐱 for an effective Kan complex A.

Due to the functoriality of each component of Pf in Lemma 24, Corollary 27, and Corollary 31, a polynomial functor Pf on sSet is extended to a functor on 𝐄𝐟𝐟𝐊𝐚𝐧𝐂𝐩𝐥𝐱, preserving morphisms in 𝐄𝐟𝐟𝐊𝐚𝐧𝐂𝐩𝐥𝐱 in particular.

Corollary 32.

We have a functor Pf:𝐄𝐟𝐟𝐊𝐚𝐧𝐂𝐩𝐥𝐱𝐄𝐟𝐟𝐊𝐚𝐧𝐂𝐩𝐥𝐱 for an effective Kan fibration f:BA.

Let us observe the following as well.

Lemma 33.

The map Pf(X)A, where f:BA is an effective Kan fibration and X and A are effective Kan complexes, is an effective Kan fibration.

Proof.

The composite Πf!B preserves effective Kan fibrations, and Πf!B(X1)=Pf(X)A.

Then, by Corollary 29, the following holds.

Corollary 34.

For an effective Kan fibration f:BA between effective Kan complexes, if X is an effective Kan complex, so is Pf(X).

5 Main results

5.1 W-types

Now, we present the main theorem in this paper. However, readers are advised to refer to Remark 36 following the proof, which offers additional considerations on the limitations of the argument presented.

Theorem 35.

If f:BA is an effective Kan fibration between effective Kan complexes, then, for any ordinal α, the map W(f)<αA is also an effective Kan fibration with W(f)<α being an effective Kan complex; in particular, W(f)A is an effective Kan fibration with W(f) being an effective Kan complex.

Proof.

We argue by transfinite induction. For the base case α=0, the claim vacuously holds. Also, the unique mediating map !:0Pf(0), which is trivially a morphism in 𝐄𝐟𝐟𝐊𝐚𝐧𝐂𝐩𝐥𝐱, is carried to the morphism ΠfB(!) in 𝐄𝐟𝐟𝐊𝐚𝐧/A.

For a successor ordinal α+1, suppose Pfα(0)A is effective Kan, and Pfα(!):Pfα(0)Pfα+1(0) is a morphism in 𝐄𝐟𝐟𝐊𝐚𝐧𝐂𝐩𝐥𝐱. Then, by Lemma 33 and Corollary 34, Pf(Pfα(0))A, namely W(f)<α+1A, is an effective Kan fibration with W(f)<α+1 being an effective Kan complex. Also Pfα+1(!) is a morphism in 𝐄𝐟𝐟𝐊𝐚𝐧𝐂𝐩𝐥𝐱 by Corollary 32, so the mediating map ΠfB(Pfα+1(!)) is in 𝐄𝐟𝐟𝐊𝐚𝐧/A.

For a limit ordinal α, suppose Pfλ(0)A is effective Kan for all λ<α, and all the relevant mediating maps are in 𝐄𝐟𝐟𝐊𝐚𝐧/A. Then, by Remark 19, the filtered colimit W(f)<αA in 𝐄𝐟𝐟𝐊𝐚𝐧/A is also an effective Kan fibration, with W(f)<α being an effective Kan complex.

As a result of this transfinite induction, since W(f)=W(f)<κ for a large enough κ as seen in the construction of W-types, W(f)A is an effective Kan fibration and W(f) is an effective Kan complex, as desired.

 Remark 36.

As will be discussed in the conclusion, the transfinite induction employed here relies on the classical concept of ordinals. Therefore, a future challenge is to develop a constructive approach in this context.

5.2 Initial algebras for dependent polynomial functors

Proposition 37.

If we have a diagram

of Kan fibrations in 𝐄𝐟𝐟𝐊𝐚𝐧/C, then the initial Df-algebra is in 𝐄𝐟𝐟𝐊𝐚𝐧/C.

Proof.

We saw that this endofunctor Df is well-defined on 𝐄𝐟𝐟𝐊𝐚𝐧/C in the previous section (each component of the composite Df preserves morphisms in its category, which is by Lemma 24, 26 and 30). 𝐄𝐟𝐟𝐊𝐚𝐧/C has a filtered colimit by Remark 19, and it has an initial algebra which can be built as the filtered colimit of a sufficiently long chain of Df(0). Thus, this initial algebra is in 𝐄𝐟𝐟𝐊𝐚𝐧/C.

5.3 M-types

Theorem 38.

If f:BA is an effective Kan fibration between effective Kan complexes, then M(f) is an effective Kan complex as well.

Proof.

We have Pf(1)A, which is in 𝐄𝐟𝐟𝐊𝐚𝐧𝐂𝐩𝐥𝐱 by assumption. We know M(f)limnPfn(1) as mentioned in section 3.3, and Pf is an endofunctor on 𝐄𝐟𝐟𝐊𝐚𝐧𝐂𝐩𝐥𝐱. Thus, by Proposition 20 this M(f) is in 𝐄𝐟𝐟𝐊𝐚𝐧𝐂𝐩𝐥𝐱, i.e., it is an effective Kan complex.

6 Future work

Constructively extending the scope of the original research on W-types [3], we focused on the modeling of W-types using Kan fibrations. As an application of W-types, the original research discussed quotients. Specifically, it addressed the universal Kan fibration π:EU, characterized by the property that any other Kan fibration can be obtained as a pullback of π. Then, it explored the application of W-types associated with π, namely W(π). As discussed in [3], quotients are required in this application (under certain conditions, quotient types and maps are modeled by fibrant objects and fibrations, respectively). Inspired by this, our potential application would be to develop similar arguments within a constructive framework. Also, regardless of the context, considering quotient types still remain significant. However, this poses challenges, because dealing with epimorphisms in sSet requires selecting individual elements from their fibers, a process that depends on the axiom of choice. To avoid this, one must establish constructive rules for such selections. These rules, however, need to be carefully designed to maintain consistency across all dimensions while remaining compatible with the constructive model we adopt.

The most challenging part is to show the constructive version of the following proposition.

Proposition 39.

In 𝐬𝐒𝐞𝐭, suppose in a commutative triangle

where p is an epi, and both p and g are Kan fibrations. Then f is also a Kan fibration.

The proof for this can be found in [3]. However, in a constructive setting, unless we impose additional structures on the fibrations, it is likely that this cannot even be proven for effective Kan fibrations. As mentioned above, this p needs to be equipped with some structured way to have a section. For this, [5] and [7] formulated the following version of effective Kan fibrations with additional structures:

Definition 40.

Let (p,𝗅𝗂𝖿𝗍p) be an effective Kan fibration. We say that 𝗅𝗂𝖿𝗍p gives the structure of a degenerate-preferring Kan fibration, if for all n, all gXn, all possible j in sj and m in Λmn+1 that makes the following diagram commute, the lift satisfies 𝗅𝗂𝖿𝗍p(gsjι,pgsj)=gsj. We say a fibration with such lifting structure is in D-pkf (for the case of fibrant objects X we say X is in D-pkf).

If we give the maps in Proposition 39 D-pkf structure, we can prove the constructive version of this proposition [5].

Proposition 41.

Suppose in a commutative triangle

where p is an epi, and both p and g are D-pkf. Also, suppose p has a section p~0:Y0X0 at the vertices level. Then f is also D-pkf.

Since we need more results besides Proposition 39 for quotient types, first we need to define the following (by [7]).

Definition 42.

Let q:XY be a map of simplicial sets. Let q~=(q~n:YnXn)n be a collection of functions. We call q~ a degeneracy-section of q if and only if

  • q has a right inverse q~ such that qq~=1Y.

  • for all n and all 0jn, we have q~n+1(sj(y))=sj(q~n(y)).

Here, y is a map y:ΔnY identified as yYn by Yoneda lemma (and by abuse of notation).

Note that the second condition can be also viewed just as q~n+1(ysj)=q~n(y)sj.

Definition 43.

If an effective Kan fibration p has this degeneraracy-section, we say that p is in DS.

First of all, even with the assumption of degeneracy-sections alone, we can at least prove that quotient maps are modeled by effective Kan fibrations.

Proposition 44.

If R is an equivalence relation on X, q:XX/R is in DS with a degeneracy-section q~ and both projections πi:RX (i=1,2) are effective Kan fibrations (with structures 𝗅𝗂𝖿𝗍π1 and 𝗅𝗂𝖿𝗍π2, respectively), then so is XX/R.

For the proof, we can modify the proof of the classical version in [3]. This extra assumption of degeneracy-sections allows us to check the compatibility condition of effective Kan fibrations.

However, to see that the quotient type X/R is modeled by a fibrant object, we need the constructive version of Proposition 39, and as mentioned earlier, at least D-pkf proves it. Thus, let us first consider the following.

Definition 45.

In Definition 40, if the D-pkf map p has a degeneracy-section p~, we call it D-pkfDS (also we use this notation for other instances).

Using this, we could attempt to prove the constructive version of the corollary for X/R (originally it is “Corollary 4.4.” in [3]).

First recall that a pseudo-equivalence relation (s,t):RX×X satisfies:

  • Reflexivity: There exists ρ:XR such that (s,t)ρ is the diagonal map ΔX.

  • Symmetry: There exists σ:RR with sσ=t and tσ=s.

  • Transitivity: In the pullback diagram below, there exists τ:PR such that sτ=sp12 and tτ=tp23.

The constructive version of “Corollary 4.4.” in [3] would then be formulated as follows:

[𝖰𝗎𝗈𝗍𝗂𝖾𝗇𝗍:𝖣-𝗉𝗄𝖿𝖣𝖲] “Suppose R is a pseudo-equivalence relation on X, the quotient map q:XX/R has a degeneracy-section q~, and RX×X is an effective Kan fibration. Moreover, suppose that X is in D-pkf. Then the quotient map X𝑞X/R is in D-pkfDS, and X/R is in D-pkf.”

Once we can show that q is in D-pkfDS in this statement, the last part about X/R being in D-pkf is immediate by setting A=1 in Proposition 41. However, it may not be possible to show q is in D-pkf (while showing that it is effective Kan is immediate by Proposition 44, showing that it is degenerate-preferring is not). Thus, to achieve more ideal conditions, we try to weaken the assumptions of Proposition 41, thereby establishing a more comprehensive result.

Then, we propose yet another version of effective Kan fibrations with additional structure as follows:

Definition 46.

Assume (p,𝗅𝗂𝖿𝗍p) is an effective Kan fibration with a degeneracy-section p~. (p,𝗅𝗂𝖿𝗍p) is said to be degeneracy-section-preferring, if 𝗅𝗂𝖿𝗍p(p~n+1(ysj)ι,ysj)=p~n+1(ysj) for a horn problem as in the following commutative diagram for all n, all possible j in sj and m in Λmn+1. We call this DS-pkf.

Note that it is straightforward to check that this 𝗅𝗂𝖿𝗍p indeed satisfies the compatibility condition of effective Kan fibrations. It is also straightforward to see that any D-pkfDS is DS-pkf, although D-pkfDS-pkf and DS-pkfD-pkf.

We have checked that if we assume a similar statement to Proposition 41 where we replace D-pkf with DS-pkf instead of holds, then we are able to show the constructive version of “Corollary 4.4.” in [3], which would be formulated as follows:

[𝖰𝗎𝗈𝗍𝗂𝖾𝗇𝗍:𝖣𝖲-𝗉𝗄𝖿]“Suppose R is a pseudo-equivalence relation on X, the quotient map q:XX/R has a degeneracy-section q~, and R𝜋X×X is an effective Kan fibration. Moreover, suppose that X is in DS-pkf. Then the quotient map X𝑞X/R is in DS-pkf, and X/R is in DS-pkf.”

We have also defined even more general structures which do not depend on degeneracy-sections as follows:

Definition 47.

Assume (p,𝗅𝗂𝖿𝗍p) is an effective Kan fibration with a section p0~:Y0X0 at vertices. (p,𝗅𝗂𝖿𝗍p) is called vertex-section-preferring, if 𝗅𝗂𝖿𝗍p(p0~(y),ys0)=p0~(y)s0 for a horn problem of the following commutative diagram with m=0,1. We call this VS-pkf (and VS-pkc for the case of fibrant objects).

Note that although Λm1=Δ0 for both m=0,1, the inclusion ι depends on m. Also, it is immediate that any DS-pkf is VS-pkf.

In this way, we can broaden our search for the candidate in the constructive version of “Corollary 4.4.” in [3]. However, it is also required that those maps have to satisfy Proposition 41 too.

To sum up, we have

Under the condition of D-pkf, we can prove Proposition 41. However, this degenerate-preferring structure is quite strong, making it hard to solve [𝖰𝗎𝗈𝗍𝗂𝖾𝗇𝗍:𝖣-𝗉𝗄𝖿𝖣𝖲]. On the other hand, VS-pkf might be too general for the condition in Proposition 41. The condition of D-pkf with a section on vertices in Proposition 41 is vastly generalized, and that would make the proof more combinatorially complicated. However, it is still expected to be achievable: it has a section only at the vertices level, but a lift construction algorithm is expected to work from the vertices level to higher levels using the compatibility condition of the fibrations and the universal properties of horn construction. It would then improve [𝖰𝗎𝗈𝗍𝗂𝖾𝗇𝗍:𝖣𝖲-𝗉𝗄𝖿] by replacing DS-pkf by VS-pkf.

7 Conclusion

In this paper, we have demonstrated that effective Kan fibrations indeed model W-types as expected. The transition from classical to constructive proofs was generally smooth, though certain challenges arose. In particular, constructively, choices can be subtle. In Proposition 18, we addressed the issue of arbitrariness in the choice of factorizations by imposing conditions such that the mediating maps are in 𝐄𝐟𝐟𝐊𝐚𝐧𝐂𝐩𝐥𝐱 or 𝐄𝐟𝐟𝐊𝐚𝐧/A. Fortunately, these conditions posed no issues for W-types, as their categorical interpretation ensures that all the relevant mediating maps in W-types are such maps.

One significant challenge is that as mentioned in Remark 36, the W-types employed here are non-constructive due to their reliance on linearly ordered transfinite ordinals, invoking the Law of Excluded Middle (𝖫𝖤𝖬). Addressing this issue was beyond the scope of this paper, leading us to adopt a classical transfinite argument. Constructive alternatives to ordinals remain a promising avenue for future work. Various attempts, such as those in [9] and more recently in [4], focus on countable ordinals. However, there are difficulties representing other limit ordinals. Nevertheless, our strategy of interpreting W-types as certain filtered colimits suggests that it may apply to constructive ordinals, which, though not linearly ordered, are anticipated to form a filtered poset. In this context, Proposition 18 and the result that polynomial functors can be set on the category of effective Kan complexes are expected to remain relevant.

Also, for future work, we discussed various additional structures on effective Kan fibrations, such as D-pkf, DS-pkf, and VS-pkf, to constructively model quotient types and establish key propositions in constructive settings. This direction is beneficial not only for applications of W-types but also for broadening the applicability of these methods within the related fields of constructive semantics for HoTT.

References

  • [1] Steve Awodey and Michael A. Warren. Homotopy theoretic models of identity types. Math. Proc. Cambridge Philos. Soc., 146(1): pp. 45–55, 2009. doi:10.1017/S0305004108001783.
  • [2] Benno van den Berg and Eric Faber. Effective Kan Fibrations in Simplicial Sets. Springer, 2022. doi:10.1007/978-3-031-18900-5.
  • [3] Benno van den Berg and Ieke Moerdijk. W-types in homotopy type theory. Mathematical Structures in Computer Science, 25(5): pp. 1100–1115, 2015. doi:10.1017/S0960129514000516.
  • [4] Thierry Coquand, Henri Lombardi, and Stefan Neuwirth. Constructive theory of ordinals. arXiv, 2022. arXiv preprint arXiv:2201.04352. doi:10.48550/arXiv.2201.04352.
  • [5] Storm Diephuis. Effective kan fibrations for simplicial groupoids, semisimplicial sets and ex, 2023. https://eprints.illc.uva.nl/id/eprint/2247/1/MoL-2023-06.text.pdf.
  • [6] Nicola Gambino and Christian Sattler. The Frobenius Condition, Right Properness, and Uniform Fibrations. Journal of Pure and Applied Algebra, 221(12): pp. 3027–3068, 2017. doi:10.1016/j.jpaa.2017.02.013.
  • [7] Freek Geerligs. Symmetric effective and degenerate-preferring kan complexes, 2023. https://studenttheses.uu.nl/handle/20.500.12932/43910.
  • [8] Paul Goerss and John F. Jardine. Simplicial homotopy theory. Birkhäuser, 1999. doi:10.1007/978-3-0348-8707-6.
  • [9] Per Martin-Löf. Notes on constructive mathematics. Almqvist & Wiksell, Stockholm, 1970. URL: https://worldcat.org/oclc/472257944.
  • [10] Per Martin-Löf. Constructive mathematics and computer programming. In Logic, Methodology and Philosophy of Science VI, volume VI, pages pp. 153–175. Elsevier, 1982. doi:10.1016/S0049-237X(09)70189-2.
  • [11] Egbert Rijke. Introduction to homotopy type theory. Cambridge University Press, 2022. doi:10.48550/arXiv.2212.11082.
  • [12] Univalent Foundations Project. Homotopy type theory -– univalent foundations of mathematics, 2013. Accessed: 2025-05-02. URL: https://homotopytypetheory.org/book/.