Effective Kan Fibrations for W-Types in Homotopy Type Theory
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-types2012 ACM Subject Classification:
Theory of computation Type theoryAcknowledgements:
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 BergSeries and Publisher:
Leibniz International Proceedings in Informatics, Schloss Dagstuhl – Leibniz-Zentrum für Informatik
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 fibrationscomplexes
2.1 Simplicial sets
Definition 1.
The simplex category is a category whose objects are the finite, non-empty, linearly ordered sets for each , and whose morphisms are nondecreasing maps.
For each , there are two important types of morphisms in . An injection that omits the -th element is called the -th face map. A surjection that maps two distinct elements to is called the -th degeneracy map. Specifically,
These maps satisfy the simplicial identities:
(if ), and (if ).
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 , we write , making a graded set . Since is contravariant, the face maps and degeneracy maps induce actions and , respectively. For any locally small category and , the Yoneda lemma identifies the natural bijection for every presheaf with the representable presheaf . Setting , we have:
Definition 3.
In , for each , the representable functor is called the -standard simplex and denoted by instead of , i.e., .
A face map . This corresponds to a face map in sSet. Similarly, we have degeneracy maps in sSet.
Definition 4.
The boundary of is the union of all its -dimensional faces:
Definition 5.
Let and . The -th horn of is the simplicial subset:
If , is called an inner horn, and if , it is called an outer horn.
By the density theorem, every presheaf is a colimit of representable presheaves. That is, a horn is a colimit of standard simplices. This is expressed as follows [8]:
Lemma 6.
A horn 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 , if for all with and , then , i.e., are jointly epic.
2.2 Preliminaries on effective Kan fibrationscomplexes
Now, let us see an alternative construction of a horn described in [7].
Construction 8.
Let . In the commutative squares (1) each of which is a pullback square, a horn is alternatively constructed as the pushout of the left square.
| (1) |
Notice that except for the edge cases ( or ), there are two ways to obtain , since two pairs and satisfy for . At the edge cases, however, only one pair satisfies the condition: when and when . Thus for is created by (when ) or (when ) in (1). We call a horn negative if and positive if , and denote it by . Note that at the edges, and do not exist.
Definition 9.
In , let be a Kan fibration, i.e., for every horn inclusion , every pair of maps and with as in the right square in (4), there exists a lift. For each such , we can define a function that assigns a lift for each lifting problem which is represented as a pair .
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.
| (2) |
| (3) |
Definition 11.
A map in is an effective Kan fibration if it comes equipped with , and satisfies the compatibility (or uniformity) condition: for every , , and . In (4), two horns have the same signs.
| (4) |
When , the one-point simplicial set, the lower triangle is trivial and 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 . Also, in the case of an effective Kan complex, the fibration is the unique map but we write it instead of . Also, we just denote instead of .
By a slight abuse of notation, we sometimes refer to in the pair simply as an effective Kan complex, and we say that 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 .
-
Morphisms:
A morphism is a pair of maps and such that , and for an arbitrary horn (, ), a map and a map such that , each triangle of the following diagram commutes. In particular, .
-
Objects:
Note that the classical Kan fibrations are maps in . This is further endowed with additional structures.
Definition 14.
The category of effective Kan fibrations whose codomain is a simplicial set is defined in a similar way to Definition 13. In that definition, let and .
Definition 15.
The category of effective Kan complexes is defined as .
As mentioned in Remark12, we just regard the objects in as instead of .
2.3 Properties of effective Kan fibrationscomplexes
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 satisfies that (1) has at least one object, (2) for each pair , there is with a pair of morphisms and of , (3) for each pair and each pair , there is a morphism of such that 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 , we have , where if and only if there exist and such that , for , and .
Applying the above calculation to hom-sets, we can obtain useful facts for sSet. First, more generally, recall that we have by the Yoneda lemma, and colimits in sSet are computed degree-wise. Thus, every evaluation functor preserves all small colimits, i.e., for any small diagram , we have . Moreover, suppose is also filtered. A horn is a finite colimit of standard -simplices, namely finitely presentable, and thus the functor preserves all filtered colimits. In particular, we have the following.
Lemma 16.
Let be a filtered diagram with filtered colimit . Denote for and write for the coprojections. For each and each , every morphism into the colimit factors through a coprojection: there exists and a map such that .
Lemma 17.
With the same notation, suppose a map admits two factorizations and through and . Then there exists and morphisms and in such that and .
Let us rewrite the maps of the form or in the Lemma 17 as or , respectively. Also, let us call them mediating maps.
The next proposition is an important tool for our main theorem. Similar results hold for and for in place of . While the result for would immediately imply the results for and , 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 be a small filtered diagram. Let . Let denote the forgetful functor that sends to . Suppose is the filtered colimit of in sSet (under ). Our goal is to equip with a horn-filler operation , thereby obtaining an effective Kan complex and showing that it is a filtered colimit in .
Fix an arbitrary horn and a map . First, let us define for . By Lemma 16, we observed that factors through some with the coprojection . We define
| (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 and . By Lemma 17, there is with as follows:
Then, since and are morphisms in , we have . From this, we can observe that . That is, the definition of is not dependent on the particular factorization.
To verify the compatibility condition, we pull back the horn along for any , and we also consider defined in Definition 10, and we will show as in Definition 11. For any , consider the map of along as shown in the diagram below. We claim that factors through with . To see this, it suffices to show that for all by Lemma 7. By Definition 10,
and also
Now, comparing both cases for , we see that for the first case, since . Also, for the second case by the definition of provided earlier in (5). Hence, this proves the claim about the factorization.
Due to this factorization, we can use (5) to define independently of . Then, using the compatibility for , we have , which is the compatibility for , and thus is an effective Kan complex.
Next, we check the coprojections are maps in EffKanCplx. For each and each , we have by definition, meaning exactly that is in EffKanCplx.
Finally, we show that the cocone is colimiting. Let be any cocone of the morphisms in over . Forgetting the data regarding the lifting structure, the maps form a cocone of simplicial-set maps over . Since in , the universal property of the colimit gives a unique map such that for all . Then preserves lifts as follows: . Hence is a morphism in . For the uniqueness, suppose is another morphism with for all . But then implies by the faithfulness of .
Consequently the cocone is colimiting in , and thus is a filtered colimit in .
Remark 19.
As mentioned before, using analogous reasoning, this proposition can be extended to the category 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 in this paper.
Let us also look at limits.
Proposition 20.
The forgetful functor creates small limits.
Proof.
Let be a diagram for a small category . Denote . Using the forgetful functor that sends to , we want to show that if is the limit of in sSet (under ), and each has the structure of an effective Kan complex , then so does .
For each , let denote the projection. Fix an arbitrary horn problem . For each , the composition admits a lift . Now, since each is a morphism in , we have for all . Hence, the collection of maps over forms a cone over the diagram . By the universal property of , there exists the unique map such that for all .
We claim that gives the desired structure. We need to show its compatibility. Consider and an arbitrary . We need to show , i.e., using the definition of that we have just given, we need to show .
First, we claim for each . As before, we examine all possible faces to see .
In the first case they coincide. In the second case, using defined earlier, we have . Thus, both sides are equal for all possible faces and the claim follows.
Now, because of this claim, our goal is to show . By the compatibility condition for , we have . Then by the universal property of , we see that , as desired. Thus, is an effective Kan complex.
It is immediate that the projections are morphisms in EffKanCplx, as by the definition of our lift .
Let be any other cone in over . Forgetting fillers, the maps form a cone in sSet over , so the universal property of the limit gives a unique map such that for all . To show that preserves lifts, we have . Since the projections are jointly monic in , we have . Thus, is a morphism in . For the uniqueness, if is another morphism in with , then by the uniqueness of the limit in , and by the faithfulness of , we have . Therefore, the cone is limiting in , and thus 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 , an algebra is a pair with , and morphisms satisfy . The initial algebra is the initial object in this category of -algebras, if it exists.
In a locally cartesian closed category , for every , the pullback functor has left and right adjoints, and , forming . In particular, for the unique morphism , the adjunction is written as . Note that is also written as .
Definition 21.
In a locally cartesian closed category , given , the polynomial functor is the composite .
| (6) |
The W-type is the initial algebra of , 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 , where , a W-type consists of labeled, well-founded trees with edges directed towards the root. Each is a node, and is an edge leading to the node . Each with is the end of a branch (namely, a leaf node) in the tree. Thus, for example, a branch would look like with the root being some non-leaf node.
For a -algebra with structure map , restricting to the -th summand induces the component map . With this in mind, we see how an important structure map called is obtained. The collection of well-founded trees is inductively constructed as follows: Each tree is of the form , where and assigns subtrees to branches labeled by . The base case includes trees with no branches (). Larger trees are constructed by attaching for each . The map given by equips with a -algebra structure. Then, inductively we can see that for any other -algebra , there is a unique map with for any and , which shows that is the W-type associated to . Concretely, the rank function assigns ordinals to trees based on their well-foundedness: Furthermore, we define . Then, , , and , for limit ordinals . By transfinite induction on , we can show that for some sufficiently large regular cardinal , implying This transfinite chain of sets:
| (7) |
converges to . Here, denotes the initial object, which is in Set. Note that .
3.1.2 W-types in
We show that the category of presheaves , where is a small category, has all W-types. Given a map in , define and , where . Let be the projection. Since and are sets, we consider . Since is the initial -algebra, by Lambek’s lemma, the structure map is an isomorphism, so every is uniquely of the form with . We give a presheaf structure over . On objects, consists of trees rooted at . On morphisms, for , define , where is defined by . Then, we can see that this is functorial, so is a presheaf. Assign ranks to elements by . Define subpresheaves as . To obtain , select hereditarily natural trees: A tree is natural if for all and , it lives in the fiber over dom, and . A tree is hereditarily natural if all its subtrees are natural. These hereditarily natural trees form a subpresheaf , and is also a presheaf. Then, again, , and ). This chain, the same as (7), converges to , since for large enough .
Setting , we view W-types 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 and a type family , the inductive type W-type is defined by the constructor and induction principle. The constructor is specified as follows: For each and function , there exists a term .
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 , the dependent polynomial functor
In Set, it behaves as . The initial algebra for is a subset of , defined by the condition that an edge labeled by with source node labeled by satisfies . The concept of rank extends naturally from -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 in a locally cartesian closed category .
In both Set and sSet, this final coalgebra, denoted , captures both well-founded and non-well-founded trees labeled according to . The construction of can be understood as the limit of the following chain:
where is the polynomial functor associated with , and denotes the terminal object. Notably, this sequence stabilizes at the ordinal , leading to the isomorphism . 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 from a functor on the slice categories of sSet to a functor on the categories of . In particular, we obtain the result for . Recall that is of the form . First let us look at the second component, . The result was established by van den Berg and Faber [2]:
Lemma 24.
The functor lifts to with an effective Kan fibration .
For the first component (the pullback functor) of , we first
Lemma 25.
Effective Kan fibrations are stable under pullbacks along any map.
Proof.
Let with be an effective Kan fibration, and be any simplicial map. Consider an arbitrary horn problem against the map . Then, we have the lift , which we denote by .
In the inner left commutative square below, by the universal property of , there exists a unique morphism , as shown in the diagram. We claim is well-defined.
First, to see it is a lift, clearly the lower triangle commutes (). For the upper triangle, we have , and . Then, by universal property of , we obtain .
Next, we need to show this lift satisfies the compatibility condition. For every possible and , we have the following diagram.
By the compatibility of , . Then, by the universal property of , we obtain , and for the same reason as above. Now, since and , by the universal property, we obtain , which shows the compatibility of .
Lemma 26.
For a simplicial-set map , the functor lifts to .
Proof.
First, let us see how it is defined on objects. Given an effective Kan fibration with , let us define , where is described in Lemma 25, by extending . 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 . Suppose we are given a pair of maps and which together form a morphism in . We need to show that a pair of maps and is a morphism in . That is, for an arbitrary horn problem as in the following, we need to show , where and .
As a prism diagram, each face of this cube is commutative. We see that
Also,
Thus, by the universal property of , we have as desired, and preserves a morphism in . It obviously preserves the identity. Also, for , we have , especially because and are morphisms in , and they respect lifts. Setting , we have the following.
Corollary 27.
We obtain the functor .
For the last component of , we first show this lemma.
Lemma 28.
Effective Kan fibrations are stable under composition.
Proof.
Let with be an effective Kan fibration, and be an effective Kan fibration. Consider an arbitrary horn problem against the map . Using we have . Then we obtain the lift , which we call in the diagram.
Then, this is also a lift for , since the lower triangle commutes: . Thus, we can define . The compatibility follows from the compatibility of and : for every possible and , we have . The last equation is by our definition of .
Corollary 29.
Given an effective Kan fibration , if is an effective Kan complex, then so is .
Proof.
By Lemma 28, the unique map is effective Kan, i.e., is effective Kan.
Lemma 30.
for an effective Kan fibration is a functor.
Proof.
For objects in , is defined by postcomposition with . Thus, is well-defined on objects as seen in Lemma 28.
For morphisms, let . Suppose we have maps and such that is a morphism in from to . We need to show that is a morphism in . This follows immediately. By construction, as established in Lemma 28, the lifts associated with and are created by and , respectively. Also it is immediate that preserves the identities and respects composition. Setting , we have the following.
Corollary 31.
We obtain the functor for an effective Kan complex .
Due to the functoriality of each component of in Lemma 24, Corollary 27, and Corollary 31, a polynomial functor on sSet is extended to a functor on , preserving morphisms in in particular.
Corollary 32.
We have a functor for an effective Kan fibration .
Let us observe the following as well.
Lemma 33.
The map , where is an effective Kan fibration and and are effective Kan complexes, is an effective Kan fibration.
Proof.
The composite preserves effective Kan fibrations, and .
Then, by Corollary 29, the following holds.
Corollary 34.
For an effective Kan fibration between effective Kan complexes, if is an effective Kan complex, so is .
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 is an effective Kan fibration between effective Kan complexes, then, for any ordinal , the map is also an effective Kan fibration with being an effective Kan complex; in particular, is an effective Kan fibration with being an effective Kan complex.
Proof.
We argue by transfinite induction. For the base case , the claim vacuously holds. Also, the unique mediating map , which is trivially a morphism in , is carried to the morphism in .
For a successor ordinal , suppose is effective Kan, and is a morphism in . Then, by Lemma 33 and Corollary 34, , namely , is an effective Kan fibration with being an effective Kan complex. Also is a morphism in by Corollary 32, so the mediating map is in .
For a limit ordinal , suppose is effective Kan for all , and all the relevant mediating maps are in . Then, by Remark 19, the filtered colimit in is also an effective Kan fibration, with being an effective Kan complex.
As a result of this transfinite induction, since for a large enough as seen in the construction of W-types, is an effective Kan fibration and 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 , then the initial -algebra is in .
Proof.
We saw that this endofunctor is well-defined on in the previous section (each component of the composite preserves morphisms in its category, which is by Lemma 24, 26 and 30). 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 . Thus, this initial algebra is in .
5.3 M-types
Theorem 38.
If is an effective Kan fibration between effective Kan complexes, then is an effective Kan complex as well.
Proof.
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 , 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 . 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 is an epi, and both and are Kan fibrations. Then 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 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 be an effective Kan fibration. We say that gives the structure of a degenerate-preferring Kan fibration, if for all , all , all possible in and in that makes the following diagram commute, the lift satisfies . We say a fibration with such lifting structure is in D-pkf (for the case of fibrant objects we say 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 is an epi, and both and are D-pkf. Also, suppose has a section at the vertices level. Then 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 be a map of simplicial sets. Let be a collection of functions. We call a degeneracy-section of if and only if
-
has a right inverse such that .
-
for all and all , we have .
Here, is a map identified as by Yoneda lemma (and by abuse of notation).
Note that the second condition can be also viewed just as .
Definition 43.
If an effective Kan fibration has this degeneraracy-section, we say that 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 is an equivalence relation on , is in DS with a degeneracy-section and both projections () are effective Kan fibrations (with structures and , respectively), then so is .
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 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 has a degeneracy-section , we call it (also we use this notation for other instances).
Using this, we could attempt to prove the constructive version of the corollary for (originally it is “Corollary 4.4.” in [3]).
First recall that a pseudo-equivalence relation satisfies:
-
Reflexivity: There exists such that is the diagonal map .
-
Symmetry: There exists with and .
-
Transitivity: In the pullback diagram below, there exists such that and .
The constructive version of “Corollary 4.4.” in [3] would then be formulated as follows:
“Suppose is a pseudo-equivalence relation on , the quotient map has a degeneracy-section , and is an effective Kan fibration. Moreover, suppose that is in D-pkf. Then the quotient map is in , and is in D-pkf.”
Once we can show that is in in this statement, the last part about being in D-pkf is immediate by setting in Proposition 41. However, it may not be possible to show 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 is an effective Kan fibration with a degeneracy-section . is said to be degeneracy-section-preferring, if for a horn problem as in the following commutative diagram for all , all possible in and in . We call this DS-pkf.
Note that it is straightforward to check that this indeed satisfies the compatibility condition of effective Kan fibrations. It is also straightforward to see that any is DS-pkf, although and .
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 is a pseudo-equivalence relation on , the quotient map has a degeneracy-section , and is an effective Kan fibration. Moreover, suppose that is in DS-pkf. Then the quotient map is in DS-pkf, and is in DS-pkf.”
We have also defined even more general structures which do not depend on degeneracy-sections as follows:
Definition 47.
Assume is an effective Kan fibration with a section at vertices. is called vertex-section-preferring, if for a horn problem of the following commutative diagram with . We call this VS-pkf (and VS-pkc for the case of fibrant objects).
Note that although for both , the inclusion depends on . 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 . 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/.
