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 n≥0, and whose morphisms [n]→[m] are nondecreasing maps.

For each n≥0, there are two important types of morphisms in Δ. An injection di:[n−1]→[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 ⁢j≥i,si⁢(j)={jif ⁢j≤i,j−1if ⁢j>i.

These maps satisfy the simplicial identities:

sj∘dk={dk−1∘sjif ⁢k>j+1,idif ⁢k∈{j,j+1},dk∘sj−1if ⁢k<j,

dj∘dk=dk+1∘dj (if k≥j), and sj∘sk=sk∘sj+1 (if j≥k).

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):Xn→Xn−1 and X⁢(si):Xn→Xn+1, respectively. For any locally small category 𝒞 and C∈ob⁢(𝒞), the Yoneda lemma identifies the natural bijection HomSet𝒞op⁡(yC,F)≅F⁢C 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 dk∈HomΔ⁡([n−1],[n]). This corresponds to a face map dk:Δn−1→Δn in sSet. Similarly, we have degeneracy maps in sSet.

Definition 4.

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

∂Δn=⋃i=0ndi⁢(Δn−1).
Definition 5.

Let n≥1 and 0≤m≤n. The m-th horn of Δn is the simplicial subset:

Λmn=⋃0≤i≤ni≠mdi⁢(Δn−1)

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:Λmn→S, if f∘dk=g∘dk for all k with 0≤k≤n and k≠m, then f=g, i.e., (dk)k≠m 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,ϵ)=(m−1,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 dm−1 (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 p⁢x=y⁢i 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 0≤j≤n as in (4), a horn map sj∗⁢(x):(Λm∗n+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={x∘sj∘dkif ⁢k≠j,j+1,m∗𝗅𝗂𝖿𝗍p⁢(x,y)if ⁢k∈{j,j+1}and ⁢k≠m∗. (3)
Definition 11.

A map p:X→Y in 𝐬𝐒𝐞𝐭 is an effective Kan fibration if it comes equipped with 𝗅𝗂𝖿𝗍p, and satisfies the compatibility (or uniformity) condition: 𝗅𝗂𝖿𝗍p⁢(sj∗⁢(x),y⁢sj)=𝗅𝗂𝖿𝗍p⁢(x,y)∘sj for every 0≤j≤n, 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 (φ,ψ):p→q is a pair of maps φ:X→Y and ψ:A→B such that q∘φ=ψ∘p, and for an arbitrary horn (Λmn, ±), a map x:(Λmn,±)→X and a map a:Δn→A such that p⁢x=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 i→k and j→k of ℐ, (3) for each pair i,j∈ℐ and each pair a,b:i→j, there is a morphism c:j→k of ℐ such that F⁢(c∘a)=F⁢(c∘b) 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 colimi∈ℐFi=(∐i∈ℐFi)/∼, where xi∼xj if and only if there exist k∈ℐ,φ:i→k and ψ:j→k such that F⁢(φ)⁢(xi)=F⁢(ψ)⁢(xj), for i,j∈I, xi∈Fi and xj∈Fj.

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,−):sSet→Set preserves all small colimits, i.e., for any small diagram F:ℐ→sSet, we have HomsSet⁡(Δn,colimi∈ℐ⁡Fi)≅colimi∈ℐ⁡HomsSet⁡(Δ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,−):sSet→Set 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:Xi→X for the coprojections. For each n≥1 and each 0≤m≤n, every morphism x:Λmn⟶X into the colimit factors through a coprojection: there exists i∈ℐ and a map xi:Λmn→Xi such that x=βi∘xi.

Lemma 17.

With the same notation, suppose a map x:Λmn→X admits two factorizations x=βi∘xi and x=βj∘xj through Xi and Xj. Then there exists k∈ℐ and morphisms f:i→k and g:j→k in ℐ such that xk=F⁢(f)∘xi=F⁢(g)∘xj and x=βk∘xk.

Let us rewrite the maps of the form F⁢(f) or F⁢(g) in the Lemma 17 as φi⁢k or φj⁢k, 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 U∘F). 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:Λmn→X. 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∘φi⁢k=xj∘φj⁢k as follows:

Then, since φi⁢k and φj⁢k are morphisms in 𝐄𝐟𝐟𝐊𝐚𝐧𝐂𝐩𝐥𝐱, we have φi⁢k∘𝗅𝗂𝖿𝗍Xi⁢(xi)=𝗅𝗂𝖿𝗍Xk⁢(xk)=φj⁢k∘𝗅𝗂𝖿𝗍Xj⁢(xj). From this, we can observe that βi∘𝗅𝗂𝖿𝗍Xi⁢(xi)=βk∘φi⁢k∘𝗅𝗂𝖿𝗍Xi⁢(xi)=βk∘φj⁢k∘𝗅𝗂𝖿𝗍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 0≤p≤n, and we also consider sp∗⁢(x):Λm∗n+1→X 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)=βi∘sp∗⁢(xi). To see this, it suffices to show that sp∗⁢(x)∘dq=βi∘sp∗⁢(xi)∘dq for all q∈[n]∖{m∗} by Lemma 7. By Definition 10,

sp∗⁢(x)∘dq={x∘sp∘dqif ⁢q≠p,p+1,m∗𝗅𝗂𝖿𝗍X⁢(x)if ⁢q∈{p,p+1}∖{m∗},

and also

βi∘sp∗⁢(xi)∘dq={βi∘xi∘sp∘dqif ⁢q≠p,p+1,m∗βi∘𝗅𝗂𝖿𝗍Xi⁢(xi)if ⁢q∈{p,p+1}∖{m∗}.

Now, comparing both cases for q, we see that x∘sp∘dq=βi∘xi∘sp∘dq for the first case, since x=βi∘xi. 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¯:Λmn→Xi, we have 𝗅𝗂𝖿𝗍X⁢(βi∘xi¯)=βi∘𝗅𝗂𝖿𝗍Xi⁢xi¯ by definition, meaning exactly that βi is in EffKanCplx.

Finally, we show that the cocone ((X,𝗅𝗂𝖿𝗍X),{βi:Xi→X}i∈I) is colimiting. Let ((Y,𝗅𝗂𝖿𝗍Y),{γi:Xi→Y}i∈I) 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 U∘F. Since X=colimi∈I⁡Xi in 𝐬𝐒𝐞𝐭, the universal property of the colimit gives a unique map θ:X→Y such that θ∘βi=γi for all i∈ℐ. Then θ preserves lifts as follows: θ∘𝗅𝗂𝖿𝗍X⁢(x)=θ∘βi∘𝗅𝗂𝖿𝗍Xi⁢(xi)=γi∘𝗅𝗂𝖿𝗍Xi⁢(xi)=𝗅𝗂𝖿𝗍Y⁢(γi∘xi)=𝗅𝗂𝖿𝗍Y⁢(θ∘βi∘xi)=𝗅𝗂𝖿𝗍Y⁢(θ∘x). Hence θ is a morphism in 𝐄𝐟𝐟𝐊𝐚𝐧𝐂𝐩𝐥𝐱. For the uniqueness, suppose ψ:X→Y 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}i∈I) 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 U∘F), and each Xi has the structure of an effective Kan complex (Xi,𝗅𝗂𝖿𝗍Xi), then so does X.

For each i∈ℐ, let πi:X→Xi denote the projection. Fix an arbitrary horn problem x:Λmn→X. For each Xi, the composition πi∘x:Λmn→Xi admits a lift 𝗅𝗂𝖿𝗍Xi⁢(πi∘x):Δn→Xi. Now, since each φi⁢i′:Xi→Xi′ is a morphism in 𝐄𝐟𝐟𝐊𝐚𝐧𝐂𝐩𝐥𝐱, we have φi⁢i′∘𝗅𝗂𝖿𝗍Xi⁢(πi∘x)=𝗅𝗂𝖿𝗍Xi′⁢(φi⁢i′∘πi∘x)=𝗅𝗂𝖿𝗍Xi′⁢(πi′∘x) for all i,i′∈ℐ. Hence, the collection of maps 𝗅𝗂𝖿𝗍Xk⁢(πk∘x) over k∈ℐ forms a cone over the diagram F. By the universal property of X, there exists the unique map ⟨𝗅𝗂𝖿𝗍Xk⁢(πk∘x)⟩k∈ℐ:Δn→X such that πj∘⟨𝗅𝗂𝖿𝗍Xk⁢(πk∘x)⟩k∈ℐ=𝗅𝗂𝖿𝗍Xj⁢(πj∘x) for all j∈ℐ.

We claim that 𝗅𝗂𝖿𝗍X⁢(x):=⟨𝗅𝗂𝖿𝗍Xk⁢(πk∘x)⟩k∈ℐ gives the desired structure. We need to show its compatibility. Consider Λm∗n+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⁢(πk∘sp∗⁢(x))⟩k∈ℐ=⟨𝗅𝗂𝖿𝗍Xk⁢(πk∘x)⟩k∈ℐ∘sp.

First, we claim sp∗⁢(πj∘x)=πj∘sp∗⁢(x) for each j∈ℐ. As before, we examine all possible faces dq to see sp∗⁢(πj∘x)∘dq=πj∘sp∗⁢(x)∘dq.

sp∗⁢(πj∘x)∘dq={πj∘x∘sp∘dqif ⁢q≠p,p+1,m∗𝗅𝗂𝖿𝗍X⁢(πj∘x)if ⁢q∈{p,p+1}∖{m∗}.
πj∘sp∗⁢(x)∘dq={πj∘x∘sp∘dqif ⁢q≠p,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⁢(πk∘x)⟩k∈I=𝗅𝗂𝖿𝗍X⁢(πj∘x). 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∗⁢(πj∘x))⟩k∈ℐ=⟨𝗅𝗂𝖿𝗍Xk⁢(πk∘x)⟩k∈ℐ∘sp. By the compatibility condition for Xi, we have 𝗅𝗂𝖿𝗍Xi⁢(sp∗⁢(πi∘x))=𝗅𝗂𝖿𝗍Xi⁢(πi∘x)∘sp. Then by the universal property of X, we see that ⟨𝗅𝗂𝖿𝗍Xk⁢(sp∗⁢(πj∘x))⟩k∈ℐ=⟨𝗅𝗂𝖿𝗍Xk⁢(πk∘x)⟩k∈ℐ∘sp, 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⁢(πk∘x)⟩k∈I=𝗅𝗂𝖿𝗍Xi⁢(πi∘x) by the definition of our lift 𝗅𝗂𝖿𝗍X.

Let ((Y,𝗅𝗂𝖿𝗍Y),{τi:Y→Xi}i∈I) be any other cone in 𝐄𝐟𝐟𝐊𝐚𝐧𝐂𝐩𝐥𝐱 over F. Forgetting fillers, the maps {τi} form a cone in sSet over U∘F, so the universal property of the limit gives a unique map θ:Y→X such that πi∘θ=τi for all i∈ℐ. To show that θ preserves lifts, we have πi∘θ∘𝗅𝗂𝖿𝗍Y⁢(x)=τi∘𝗅𝗂𝖿𝗍Y⁢(x)=𝗅𝗂𝖿𝗍Xi⁢(τi∘x)=𝗅𝗂𝖿𝗍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 ψ:Y→X 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}i∈I) 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 α:F⁢X→X, 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:A→B, the pullback functor f∗:ℰ/B→ℰ/A has left and right adjoints, Σf and Πf, forming Σf⊣f∗⊣Πf. In particular, for the unique morphism !:A→1, the adjunction Σ!⊣!∗⊣Π! is written as ΣA⊣A∗⊣ΠA. Note that A∗ is also written as −×A.

Definition 21.

In a locally cartesian closed category ℰ, given f:A→B, the polynomial functor Pf is the composite ΣA∘Πf∘B∗.

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)=∑a∈AXBa, where Ba=f−1⁢(a), a W-type consists of labeled, well-founded trees with edges directed towards the root. Each a∈A is a node, and b∈Ba 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 ℓ→𝑏a→b′a′→𝑏a⁢⋯→r 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:XBa→X. 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 a∈A and t:Ba→W⁢(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 b∈Ba. The map sup:Pf⁢(W⁢(f))→W⁢(f) given by supa:W⁢(f)Ba→W⁢(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 a∈A and t∈W⁢(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))+1∣b∈Ba}. Furthermore, we define W⁢(f)<α:={w∈W⁢(f):rk⁢(w)<α}. Then, W⁢(f)<0=∅, W⁢(f)<α+1≅Pf⁢(W⁢(f)<α), and W⁢(f)<λ=colimα<λ⁢W⁢(f)<α, for limit ordinals λ. By transfinite induction on w∈W⁢(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:B→A in 𝐒𝐞𝐭𝒞op, define A^={(C,a)∣C∈𝒞,a∈A⁢(C)} and B^(C,a)={(α:D→C,b∈B(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 w∈W⁢(f^) is uniquely of the form sup(C,a)(t) with t∈W⁢(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 α:D→C, 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^)<α={w∈W⁢(f^)∣rk⁡(w)<α}. To obtain W⁢(f), select hereditarily natural trees: A tree sup(C,a)⁡(t) is natural if for all (α:D→C,b)∈B^(C,a) and β:E→D, 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:ℰ/C→h∗ℰ/B→Πfℰ/A→Σgℰ/C.

In Set, it behaves as Df⁢(X)c=∑a∈Ac∏b∈BaXh⁢(b). The initial algebra for Df is a subset of W⁢(f), defined by the condition that an edge labeled by b∈B with source node labeled by a∈A 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:B→A 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)≅limn∈ℕPfn⁢(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⁢Πf⁢h∗. 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:B→A.

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:X→A be an effective Kan fibration, and a:B→A be any simplicial map. Consider an arbitrary horn problem (x,b) against the map a∗⁢p. Then, we have the lift 𝗅𝗂𝖿𝗍p⁢(φ∘x,a∘b), 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 𝗅𝗂𝖿𝗍a∗⁢p⁢(x,b):=⟨γ,b⟩ is well-defined.

First, to see it is a lift, clearly the lower triangle commutes (a∗⁢p∘⟨γ,b⟩=b). For the upper triangle, we have φ∘⟨γ,b⟩∘ι=γ∘ι=φ∘x, and a∗⁢p∘⟨γ,b⟩∘ι=b∘ι=a∗⁢p∘x. 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),a∘b∘sj)=γ∘sj. Then, by the universal property of B×AX, we obtain ⟨γ∘sj,b∘sj⟩, and 𝗅𝗂𝖿𝗍a∗⁢p⁢(sj∗⁢(x),b∘sj)=⟨γ∘sj,b∘sj⟩ for the same reason as above. Now, since φ∘⟨γ∘sj,b∘sj⟩=γ∘sj=φ∘⟨γ,b⟩∘sj and a∗⁢p∘⟨γ∘sj,b∘sj⟩=b∘sj=a∗⁢p∘⟨γ,b⟩∘sj, by the universal property, we obtain ⟨γ∘sj,b∘sj⟩=⟨γ,b⟩∘sj, which shows the compatibility of a∗⁢p. ◀

Lemma 26.

For a simplicial-set map h:B→C, 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:X→C, let us define h∗⁢((k,𝗅𝗂𝖿𝗍k)):=(h∗⁢k,𝗅𝗂𝖿𝗍h∗⁢k), where 𝗅𝗂𝖿𝗍h∗⁢k is described in Lemma 25, by extending h∗:sSet/C→sSet/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 φ:X→Y and 1C:C→C 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=𝗅𝗂𝖿𝗍h∗⁢k⁢(x,b) and L2=𝗅𝗂𝖿𝗍h∗⁢l⁢(h∗⁢φ∘x,b).

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

l∗⁢h∘h∗⁢φ∘𝗅𝗂𝖿𝗍h∗⁢k⁢(x,b) =φ∘k∗⁢h∘𝗅𝗂𝖿𝗍h∗⁢k⁢(x,b) (top face of the cube)
=φ∘𝗅𝗂𝖿𝗍k⁢(k∗⁢h∘x,h∘b) (by Lemma 25)
=𝗅𝗂𝖿𝗍l⁢(φ∘k∗⁢h∘x,h∘b) (φ is a map in 𝐄𝐟𝐟𝐊𝐚𝐧/C)
=𝗅𝗂𝖿𝗍l⁢(l∗⁢h∘h∗⁢φ∘x,h∘b) (top face of the cube)
=l∗⁢h∘𝗅𝗂𝖿𝗍h∗⁢l⁢(h∗⁢φ∘x,b) (by Lemma 25).

Also,

h∗⁢l∘h∗⁢φ∘𝗅𝗂𝖿𝗍h∗⁢k⁢(x,b) =h∗⁢k∘𝗅𝗂𝖿𝗍h∗⁢k⁢(x,b) (front face of the cube)
=b (by Lemma 25)
=h∗⁢l∘𝗅𝗂𝖿𝗍h∗⁢l⁢(h∗⁢φ∘x,b). (by Lemma 25)

Thus, by the universal property of B×CY, we have h∗⁢φ∘𝗅𝗂𝖿𝗍h∗⁢k⁢(x,b)=𝗅𝗂𝖿𝗍h∗⁢l⁢(h∗⁢φ∘x,b) as desired, and h∗ preserves a morphism in 𝐄𝐟𝐟𝐊𝐚𝐧/B. It obviously preserves the identity. Also, for ψ:Y→Z, 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:X→A be an effective Kan fibration, and g:A→C be an effective Kan fibration. Consider an arbitrary horn problem (x,c) against the map g∘p. Using 𝗅𝗂𝖿𝗍g we have 𝗅𝗂𝖿𝗍g⁢(p∘x,c). Then we obtain the lift 𝗅𝗂𝖿𝗍p⁢(x,𝗅𝗂𝖿𝗍g⁢(p∘x,c)), which we call α in the diagram.

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

Corollary 29.

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

Proof.

By Lemma 28, the unique map !A∘p=!X is effective Kan, i.e., X is effective Kan. ◀

Lemma 30.

Σg:𝐄𝐟𝐟𝐊𝐚𝐧/A→𝐄𝐟𝐟𝐊𝐚𝐧/C for an effective Kan fibration g:A→C 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 φ:X→Y and 1A:A→A 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 g∘p and g∘p′ 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:B→A.

Let us observe the following as well.

Lemma 33.

The map Pf⁢(X)→A, where f:B→A 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∗⁢(X→1)=Pf⁢(X)→A. ◀

Then, by Corollary 29, the following holds.

Corollary 34.

For an effective Kan fibration f:B→A 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:B→A 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 !:0→Pf(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)<α+1→A, 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:B→A 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)≅limn∈ℕ⁡Pfn⁢(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 π:E→U, 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 g∈Xn, all possible j in sj and m in Λmn+1 that makes the following diagram commute, the lift satisfies 𝗅𝗂𝖿𝗍p⁢(g⁢sj⁢ι,p⁢g⁢sj)=g⁢sj. 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:Y0→X0 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:X→Y be a map of simplicial sets. Let q~=(q~n:Yn→Xn)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 q∘q~=1Y.

  • ■

    for all n∈ℕ and all 0≤j≤n, we have q~n+1⁢(sj∗⁢(y))=sj∗⁢(q~n⁢(y)).

Here, y is a map y:Δn→Y identified as y∈Yn by Yoneda lemma (and by abuse of notation).

Note that the second condition can be also viewed just as q~n+1⁢(y∘sj)=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:X→X/R is in DS with a degeneracy-section q~ and both projections πi:R→X (i=1,2) are effective Kan fibrations (with structures 𝗅𝗂𝖿𝗍π1 and 𝗅𝗂𝖿𝗍π2, respectively), then so is X→X/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-pkf∩DS (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):R→X×X satisfies:

  • ■

    Reflexivity: There exists ρ:X→R such that (s,t)⁢ρ is the diagonal map ΔX.

  • ■

    Symmetry: There exists σ:R→R with s⁢σ=t and t⁢σ=s.

  • ■

    Transitivity: In the pullback diagram below, there exists τ:P→R such that s⁢τ=s⁢p12 and t⁢τ=t⁢p23.

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:X→X/R has a degeneracy-section q~, and R↪X×X is an effective Kan fibration. Moreover, suppose that X is in D-pkf. Then the quotient map X→𝑞X/R is in D-pkf∩DS, and X/R is in D-pkf.”

Once we can show that q is in D-pkf∩DS 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⁢(y⁢sj)⁢ι,y⁢sj)=p~n+1⁢(y⁢sj) 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-pkf∩DS is DS-pkf, although D-pkf⊄DS-pkf and DS-pkf⊄D-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:X→X/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~:Y0→X0 at vertices. (p,𝗅𝗂𝖿𝗍p) is called vertex-section-preferring, if 𝗅𝗂𝖿𝗍p⁢(p0~⁢(y),y⁢s0)=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/.