This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

Tarski’s least fixed point theorem:
A predicative type theoretic formulation

Ian Ray
ibray1115@gmail.com
(December 2023)
Abstract

We provide a type theoretic treatment of the paper \sayOn Tarski’s fixed point theorem by Giovanni Curi. There are benefits to having a type theoretic formulation apart from routine implementation in a proof assistant. By taking advantage of (higher) inductive types, we can avoid complicated set theoretic constructions. Arguably, this results in a presentation that is conceptually clearer. Additionally, due the predicative admissibility of (higher) inductive types we take a step towards the \saysystem independent derivation that Curi calls for in his conclusion. Finally, we explore a condition on monotone maps that guarantees they are ‘generated’ and give an alternative statement of the least fixed point theorem in terms of this condition.

Acknowledgments

First and foremost I would like to thank Giovanni Curi. His correspondence was essential for getting my bearings in this area of mathematics. I would also like thank Tom de Jong. He has already established much of predicative and constructive order theory (as well as domain theory) in a univalent setting. Beyond this he has provided me with countless hours of discussion and insight. Without Tom this paper would not exist. Finally, I would like to thank Martín Escardó, Ulrik Buchholtz, Jon Sterling, Jem Lord and many others from the Univalent Agda discord for small and large contributions to the present work.

1 Introduction

Fixed point theorems, although of great interest and significance, are notorious for their non-constructive nature (e.g. Brouwer’s Fixed Point Theorem [Shu18]). Certain fixed point theorems do admit intuitionistic proofs (see [Coq95]). Of particular interest is the work [Esc03] which contains a constructive proof a Pataraia’s fixed point theorem: an analog of Tarski’s fixed point theorem for directed complete posets (DCPOs). However, some still view proofs like the ones above as not entirely constructive, due to their impredicative nature. What exactly is impredicativity? To assist explanation we focus our attention to one part of Tarski’s fixed point theorem: every monotone map ff on a complete lattice LL has a least fixed point. Traditional approaches define the least fixed point to be the infimum over the set of ‘deflationary’ points. Specifically, the least fixed point is

{xL|f(x)x}.\bigwedge\{x\in L\ |\ f(x)\leq x\}.

Note that the element we are trying to define is itself deflationary (as it is a fixed point) and thus an element of the very set we take the infimum over. This is an example of an impredicative construction. Alternatively, a predicative construction can be loosely characterized as one which builds an object up from things below. We will continue a critical discussion of predicativity in Section˜2.

Giovanni Curi provides a predicative proof of a variation to Tarski’s least fixed point theorem [Cur15] using constructive set theory (CZF). In Section 2 of his paper Curi recounts a paradigm shifting result in predicative order theory: any complete lattice with small carrier is necessarily trivial (for a type theoretic proof, see [JE21]). For this reason we are forced to work with large carriers if we want to study non-trivial complete lattices in a predicative setting. It is worth explicating that in the framework of CZF the small/large dichotomy is encoded by sets and proper classes. Curi then restricts attention to complete lattices that have a set of generators (along with other strong assumptions) to salvage a least fixed point theorem. The imposed restrictions will allow one to build the least fixed point inductively. Of course, in the presence of impredicative axioms the additional assumptions are satisfied vacuously. Curi concludes by observing his works dependence on the set theoretic framework, even stating that a \saysystem independent derivation is desirable.

Currently, we do not have the facilities to provide a derivation that is completely independent of any particular system. One may speculate that the notion of a predicative topos will provide canonical models of predicative mathematics — much in the same way that elementary topoi provide models of intuitionisitic mathematics. Progress has been made in this direction, but there is no agreed upon notion yet in place (see [Ber12]). Alternatively, a translation of [Cur15] into type theory may be a step towards such a system independent derivation; because type theory is a structural foundation.

There are additional benefits of working in a type theoretic setting. First, inductive constructions are first class citizens; so we don’t have to manually construct the object of interest as in [Cur15]. This allows us to cut away the complications that sideline the main arguments in [Cur15]. For this reason, a type theoretic derivation is arguably cleaner and more intuitive than the set theoretic counter part. Second, the proof can be routinely verified with a proof assistant. In fact, every stated definition and proposition in the present work has been implemented in Agda [Esc+23, Ray23]. An off shoot of this second benefit is that one could, in theory, port the proof into Cubical Agda and compute fixed points. Third, a proof in MLTT* + HITs is valid in any Grothendieck \infty-topos [Shu19] (MLTT* = MLTT + FunExt + PropExt, but not including full univalence [Uni13, Rij22]). Finally, it is worth noting that the type theoretic proof is universe polymorphic (see Section˜3) and thus, technically, more general than a proof in a set theoretic framework. We intend to work informally with type theory much like how mathematicians work informally with sets. The ideal audience of this paper is a (univalent) type theorist, but the informal style paired with no appeals to higher types will lend accessibility to any interested party.

In Section˜2 we commence a more careful discussion of predicativity. In Section˜3 we fix the type theoretic framework and some conventions we employ to avoid technicalities. If you are unfamiliar with type theory then you may reasonably skip Section˜3 and still understand the bulk of the paper. Section˜4 develops a bit of order theory. In particular, we define posets, sup lattices and the notion of a basis. Section˜5 describes, what Curi calls, abstract inductive definitions in the language of type theory. Abstract inductive definitions serve to carve out a least subset of the basis that has some nice closure properties. As we will explore in Section˜7 there is a correspondence between deflationary points and a certain class of subsets that possess similar closure properties. The least closed subset will be closely related to the least fixed point via this correspondence. In Curi’s work this least closed subset is constructed manually via set theoretic axioms, while in type theory it manifests itself as a special quotient inductive type (QIT). In Sections˜6, 8 and 9 we impose further restrictions on abstract inductive definitions (viz. local and bounded) and sup lattices (viz. small presented). These restrictions serve to salvage a type theoretic formulation of the least fixed point theorem which is stated in Section˜10. We conclude the paper by investigating a condition on monotone maps that guarantees they have a least fixed point.

2 Note about Predicativity

Unfortunately, the history behind predicativism is murky and wrought with philosophical motivations. In fact, there are many conflicting notions of predicativity; each with their own supporters and justifications. Classical notions of predicativity where explored by Poincaré, Russell and Weyl [Cro18, Cro22]. More recently Kreisel, Feferman and Schu¨\ddot{\text{u}}tte provided a proof theoretic analysis of predicativity [Cro17, Cro22]. When we say ‘predicative’ here we mean what is often referred to as constructive or generalised predicativity [Cro22, Cro18]. A generalised predicative system goes beyond Fefferman’s predicativity. In particular, generalised predicative systems have infinitary inductive types.

The systems of Constructive Zermelo Fraenkel set theory (CZF) and Martin Lo¨\ddot{\text{o}}f type theory (MLTT) are examples of such predicative systems. The Powerset axiom is an example of an impredicative principle and as such is not included in CZF. Similarly, the principle of propositional resizing is viewed as impredicative and thus not included in MLTT or any extensions we consider. In the absence of these strong principles we instead rely on inductive constructions. These constructions are argued to be philosophically sound with respect to such predicative systems [Cro22]. When working in extensions of MLTT we may apply similar philosophical arguments to justify the predicative admissibility of higher inductive types (HITs) as well. One may wish to avoid philosophical justifications entirely. One such justification would be a reduction of type theory extended by HITs to a system that is accepted as predicative. Such reductions have yet to be completely spelled out, but do seem possible. For example, if [SA21] could be extended to the schemas in [CHM18] in a constructive and predicative meta theory then we may achieve such a reduction (this observation is due to Ulrik Buchholtz).

Now that we have clarified the meaning of predicativity we want to return to the discussion of the standard formulation Tarski’s least fixed point theorem: every monotone map ff on a complete lattice LL has a least fixed point. The standard construction (see Section˜1) does not work in systems like CZF or MLTT*. Consider a non-trivial complete lattice LL and a monotone map f:LLf:L\to L, and observe that, since the carrier LL is necessarily large, the collection {xL|f(x)x}\{x\in L\ |\ f(x)\leq x\} is not provably small and as such the join does not exist. In [Cur15] a predicative formulation of Tarski’s least fixed point theorem is proved. Although, as we shall see, this formulation contains serious concessions. It is very important to clarify: we have only argued that the standard construction is not predicatively viable, but it may be that some other construction is. It seems unlikely that there is a predicative proof of the standard formulation of Tarski’s least fixed point theorem, but ideally we would show that such a proof is impossible. We are actively exploring the prospect of showing that the standard formulation of Tarski’s least fixed point theorem is too strong of a result to have in a predicative theory — a predicative taboo so to speak. One could do this by showing that the standard formulation implies some impredicative axiom or by providing a model where the standard formulation fails. Showing that the standard formulation of Tarski’s least fixed point theorem is a predicative taboo would fully justify the content of this paper and that of [Cur15]. Regardless, we still feel that the failure of the standard construction is sufficient motivation to investigate a predicative version of Tarski’s least fixed point theorem.

3 Type Theoretic Framework

One of the main goals of this paper is to maintain accessibility. For this reason, we will work informally with type theory much like a traditional mathematician works with set theory. Thus, in many occasions the technical type theoretic details of a proof will be underspecified. The purpose of this section is to assist in filling in these technical details to the interested parties and as such can be reasonably skipped by non-type theorists.

In traditional treatments of type theory one would find closure properties of universes as well as type formation, introduction and elimination rules stated in the language of natural deduction. We assume familiarity with such formal treatments (for more see [Rij22, Uni13]). Our starting point is Martin Löf Type Theory (MLTT): which has an empty type (𝟎\boldsymbol{0}), a unit type (𝟏\boldsymbol{1}), the natural numbers (\mathbb{N}), binary coproducts (++), dependent pair types (\sum), dependent functions types (\prod), intensional identity types (==) and general inductive types (W). We assume the existence of a base universe 𝒰0\mathcal{U}_{0} as well as the operations successor (_)+(\_)^{+} and join __\_\sqcup\_ which satisfy the expected definitional equalities (see [Jon23, Section 2.1]). We attain an infinite tower of universes 𝒰0,𝒰1,\mathcal{U}_{0},\mathcal{U}_{1},\dots but we will often work with arbitrary universes such as 𝒰,𝒱,𝒲,𝒯,\mathcal{U,V,W,T},\dots. We do not assume cumulativity of universes (e.g. for any A:𝒰iA:\mathcal{U}_{i} we have A:𝒰i+1A:\mathcal{U}_{i+1}), but instead we employ a lifting operation: Lift𝒰,𝒱:𝒰𝒰𝒱\text{Lift}_{\mathcal{U,V}}:\mathcal{U}\to\mathcal{U\sqcup V} (see [Jon23, Section 2.1]). Universes will be presented à la Russell for convenience but should be understood to have an encoding à la Tarski. In the current state of development univalence is not required, but we do assume propositional and function extensionality as well as propositional truncation. There are some nuances in our base type theory that we should explicate. To maintain predicativity, we do not assume any resizing principles except explicitly in Corollary˜7.4.1. The propositional resizing principle, Prop-Resizing𝒰,𝒱\text{Prop-Resizing}_{\mathcal{U},\mathcal{V}}, states that any proposition in the universe 𝒰\mathcal{U} is equivalent to a proposition in the universe 𝒱\mathcal{V} (see [JE21]). Additionally, we assume the existence of a special sort of quotient inductive type (QIT). Such an assumption may at first seem excessive, but investigation of this QIT reveals it is extremely tame comparatively. We will revisit this discussion in Section 4. The notion of equivalence serves as the standard notion of sameness in type theory (for a precise definition see Section 9 of [Rij22]). We say a function f:ABf:A\to B is an equivalence when it has a left and right inverse and denote the type of such equivalences as ABA\simeq B. Finally, given universes 𝒰\mathcal{U} and 𝒱\mathcal{V}, we say that a type Y:𝒰Y:\mathcal{U} is 𝒱\mathcal{V}-small if there is a type X:𝒱X:\mathcal{V} such that XYX\simeq Y and a type Y:𝒰Y:\mathcal{U} is locally 𝒱\mathcal{V}-small if x=yx=y is 𝒱\mathcal{V}-small for all x,y:Yx,y:Y. In our type theoretic formulation the small/large dichotomy is encoded via those types that are 𝒱\mathcal{V}-small and those that are not (in Section˜3 we fix some universes and the significance of the universe 𝒱\mathcal{V} will become clear).

We now discuss some conventions that will allow us to avoid technical type theoretic proofs. For example, the notion of transport is often motivated by the principle of indiscernibility of identicals. This principle, often taken for granted by mathematicians, says identified elements can be substituted for each other in expressions. Another type theoretic concept, often taken for granted, is the application of f:XYf:X\to Y to an identification x=xx=x^{\prime} which yields an identification f(x)=f(x)f(x)=f(x^{\prime}). As we are doing set-level mathematics we will employ such notions tacitly. Propositional truncation is a somewhat technical part of any formal treatment of type theory (see Section 14 of [Rij22]). In particular, given a type AA we have a proposition A||A|| called the propositional truncation of AA. Given a proposition QQ we can define a map AQ||A||\to Q by giving a map AQA\to Q. Propositional truncations can be formulated via universal properties or recursion principles. The observant reader will notice that when we must define a map out of a truncated type, the codomain is almost always a proposition. For that reason we will not explicitly mention that we are applying propositional truncation recursion and we will leave notions that are defined in terms of truncation (like surjections) underspecified. In the same vein we do not specify when we are applying propositional or function extensionality.

We will frequently work with subsets in this paper and as such we need to address how formal we wish to be. In a standard treatment, ignoring universes, a subset of a type XX is a term SS in the powerset of XX, 𝒫(X):XProp\mathcal{P}(X):\equiv X\to\text{Prop}. We write xSx\in S for the underlying type of S(x)S(x). Given two subsets S,S:𝒫(X)S,S^{\prime}:\mathcal{P}(X) we write SSS\subseteq S^{\prime} for the type of dependent functions x:XxSxS\prod_{x:X}x\in S\to x\in S^{\prime}. We wish for mathematicians who are unfamiliar with the type theoretic encoding to follow our arguments. For this reason we will avoid using lambda notation when talking about subsets. For example, we define the union, α\bigcup\alpha, of a family of subsets α:I𝒫(X)\alpha:I\to\mathcal{P}(X), as xi:I,xα(i)x\mapsto\exists i:I,x\in\alpha(i). When XX is a set we can define the singleton {a}\{a\}, for some a:Xa:X, as xa=xx\mapsto a=x. Finally, since we define suprema (see Section˜3) in terms of families rather than subsets we also need to fix some notation that will unify the two concepts. Given a subset S:𝒫(X)S:\mathcal{P}(X) we define the total space of SS, 𝕋(S):Σx:XxS\mathbb{T}(S):\equiv\Sigma_{x:X}x\in S, with inclusion into XX given by incX:pr1:𝕋(S)X\text{inc}_{X}:\equiv\text{pr}_{1}:\mathbb{T}(S)\to X. It is worth recalling that using sigma notation in this way is analogous to set builder notation (e.g. {xX|xS}\{x\in X\ |\ x\in S\}). This will inform many of our translations of Curi’s work into type theory. We will often conflate a subset and its total space to aid in readability, but one should bare in mind the technical difference between them. Finally, since we are working predicatively we will not ignore universe levels. For every universe 𝒰\mathcal{U}, there is a type of propositions Ω𝒰:A:𝒰is-prop(A)\Omega_{\mathcal{U}}:\equiv\sum_{A:\mathcal{U}}\text{is-prop}(A). For any type XX we may consider the 𝒰\mathcal{U}-powerset of XX, 𝒫𝒰(X):XΩ𝒰\mathcal{P}_{\mathcal{U}}(X):\equiv X\to\Omega_{\mathcal{U}}. We call the elements of 𝒫𝒰(X)\mathcal{P}_{\mathcal{U}}(X) the 𝒰\mathcal{U}-valued subsets of XX. The above discussion extends to 𝒰\mathcal{U}-valued subsets as well.

4 Sup Lattices and Small Bases

We commence this section by briefly recounting the notion of a set generated complete lattice as formulated in [Cur15]. A complete lattice LL is set-generated if it has a subset BLB\subseteq L such that, for any xLx\in L,

  1. 1.

    Bx={bB|bx}\downarrow^{B}x=\{b\in B\ |\ b\leq x\} is a set.

  2. 2.

    x=Bxx=\bigvee\downarrow^{B}x.

We now work towards translating this notion into type theory. As we have established, it is well known that in a predicative setting there are no non-trivial examples of small (sufficiently) complete posets (see [JE21]). Thus, when working predicatively it is necessary to define sup lattices, and by extension, posets, in a universe polymorphic manner.

Definition 4.1.

A partially ordered set (Poset) consists of a type P:𝒰P:\mathcal{U} and a propositional valued relation __:PP𝒲\_\leq\_:P\to P\to\mathcal{W} which satisfies:

  1. 1.

    xxx\leq x (reflexivity)

  2. 2.

    xyyxx=yx\leq y\to y\leq x\to x=y (anti-symmetry)

  3. 3.

    xyyzxzx\leq y\to y\leq z\to x\leq z (transitivity)

for any x,y,z:Px,y,z:P.

The anti-symmetry assumption guarantees that PP is a set (see Lemma 3.2.3 of [Jon23] for a proof following from Hedberg’s Lemma). Given universes 𝒰\mathcal{U} and 𝒲\mathcal{W} we denote the type of Posets with carrier in 𝒰\mathcal{U} and order valued in 𝒲\mathcal{W} as Poset𝒰,𝒲\text{Poset}_{\mathcal{U},\mathcal{W}}.

Definition 4.2.

Given a poset P:𝒰P:\mathcal{U} an endomap f:PPf:P\to P is monotone if for any x,y:Px,y:P with xyx\leq y we have f(x)f(y)f(x)\leq f(y).

Of course it is easy enough to extend this to functions between different posets, but we focus our attention to endomaps as our goal is to study fixed points. We now define the notion of sup lattice. We follow the reasonable convention of [Jon23] in phrasing completeness with respect to small families rather than subsets.

Definition 4.3.

A sup lattice is a poset L:𝒰L:\mathcal{U} and __:LL𝒲\_\leq\_:L\to L\to\mathcal{W} that has joins for all small families. That is, families α:IL\alpha:I\to L with I:𝒱I:\mathcal{V}. We denote the join as α\bigvee\alpha but, if α\alpha is understood we will denote the join simply as I\bigvee I.

Of course, we extend the notion of monotone endomaps to sup lattices. Given universes 𝒰\mathcal{U}, 𝒲\mathcal{W} and  𝒱\mathcal{V} we denote the type of sup lattices with carrier in 𝒰\mathcal{U}, order valued in 𝒲\mathcal{W} and joins of families indexed in 𝒱\mathcal{V} as Sup-Lattice𝒰,𝒲,𝒱\text{Sup-Lattice}_{\mathcal{U},\mathcal{W},\mathcal{V}}, but often times we will simply say such a lattice is a 𝒱-sup-lattice\mathcal{V}\text{-sup-lattice} and omit the other universes. As stated in Section˜3, we use the universe 𝒱\mathcal{V} as a point of reference for our relative notion of smallness and our language will often reflect this. In many concrete cases 𝒰𝒱+\mathcal{U}\equiv\mathcal{V}^{+} and 𝒲𝒱\mathcal{W}\equiv\mathcal{V} (see Example˜4.5). Notice that if 𝒲𝒱\mathcal{W}\equiv\mathcal{V} then anti-symmetry implies that LL is locally 𝒱\mathcal{V}-small.

We now define, analogous to the notion of a generating set from [Cur15], what it means for a sup lattice to have a basis. First recall, as stated in Section˜3, given a type X:𝒰X:\mathcal{U} and a subset U:𝒫𝒯(X)U:\mathcal{P}_{\mathcal{T}}(X) the total space of UU is 𝕋(U):x:XxU\mathbb{T}(U):\equiv\sum_{x:X}x\in U.

Definition 4.4.

A 𝒱-sup-lattice\mathcal{V}\text{-sup-lattice} LL has a basis provided there is a type B:𝒱B:\mathcal{V} and a map β:BL\beta:B\to L such that, for all x:Lx:L, the following is satisfied:

  1. 1.

    β(b)x\beta(b)\leq x is 𝒱-small\mathcal{V}\text{-small} for all b:Bb:B and x:Lx:L.

  2. 2.

    The family βpr1:(b:Bβ(b)x)L\beta\circ\text{pr}_{1}:(\sum_{b:B}\beta(b)\leq x)\to L has xx as its supremum.

We now establish some helpful notation: first define bBxb\leq^{B}x to be the small type equivalent to β(b)x\beta(b)\leq x in condition 1. Then define Bx:b:B(β(b)x)\operatorname{\downarrow^{B}}x:\equiv\sum_{b:B}(\beta(b)\leq x) and 𝒱Bx:b:B(bBx)\operatorname{\downarrow^{B}_{\mathcal{V}}}x:\equiv\sum_{b:B}(b\leq^{B}x) as well as inclusions into BB which are given by the first projection pr1\text{pr}_{1}. Finally, we have an equivalence 𝒱BxBx\operatorname{\downarrow^{B}_{\mathcal{V}}}x\simeq\operatorname{\downarrow^{B}}x which is easily constructed from the equivalence between second components. With this notation established we can write condition 2 more suggestively as

  1. 2’.

    x=Bxx=\bigvee\operatorname{\downarrow^{B}}x

Finally, if a 𝒱-sup-lattice\mathcal{V}\text{-sup-lattice} LL has a basis then we say it is 𝒱\mathcal{V}-generated.

We will typically conflate the two orders __\_\leq\_ and _B_\_\leq^{B}\_ and corresponding total spaces, as well as the joins of either. This is justified by Corollary˜4.8.1 – which essentially says that equivalences preserve joins. Notice, we have a subset _Ba:𝒫𝒱(B)\_\leq^{B}a:\mathcal{P}_{\mathcal{V}}(B) such that Ba𝕋(_Ba)\operatorname{\downarrow^{B}}a\equiv\mathbb{T}(\_\leq^{B}a). We will often conflate the total space Ba\operatorname{\downarrow^{B}}a and this subset, and similarly for 𝒱Ba\operatorname{\downarrow^{B}_{\mathcal{V}}}a.

Example 4.5.

Given a set A:𝒱A:\mathcal{V}, the powerset 𝒫𝒱(A)\mathcal{P}_{\mathcal{V}}(A) is an example of a 𝒱\mathcal{V}-generated sup lattice ordered by subset inclusion with joins given by arbitrary unions. Notice that AA together with the map {_}:A𝒫𝒱(A)\{\_\}:A\to\mathcal{P}_{\mathcal{V}}(A) is a basis, where {a}\{a\} is defined only because AA is a set. For condition 1, note that for any a:Aa:A and X:𝒫𝒱(A)X:\mathcal{P}_{\mathcal{V}}(A) the type {a}X\{a\}\subseteq X is 𝒱\mathcal{V}-small. For condition 2, notice

AX=X\bigcup\operatorname{\downarrow^{A}}X=X

since xAX(a,_):AX,x{a}x\in\bigcup\operatorname{\downarrow^{A}}X\equiv\exists(a,\_):\downarrow^{A}X,x\in\{a\} is equivalent to a:A,{a}Xx{a}\exists a:A,\{a\}\subseteq X\land x\in\{a\} which is equivalent to xXx\in X. For details on the type theoretic encoding of unions see Section˜3.

There is an alternative basis for 𝒫𝒱(A)\mathcal{P}_{\mathcal{V}}(A). For any type XX there is a type, List(X)\text{List}(X), of finite lists of elements of XX. List(X)\text{List}(X) is inductively generated by the empty list and concatenation (see [Uni13, Chapter 6]. Consider the map β:List(A)𝒫𝒱(A)\beta:\text{List}(A)\to\mathcal{P}_{\mathcal{V}}(A) defined as follows

[]\displaystyle[\ ] \displaystyle\mapsto\emptyset
x::l\displaystyle x::l {x}β(l).\displaystyle\mapsto\{x\}\cup\beta(l).

It is routine to show that β:List(A)𝒫𝒱(A)\beta:\text{List}(A)\to\mathcal{P}_{\mathcal{V}}(A) is also a basis for 𝒫𝒱(A)\mathcal{P}_{\mathcal{V}}(A).

We will record the fact that taking the supremum preserves containment of subsets.

Proposition 4.6.

Consider a 𝒱\mathcal{V}-sup-lattice L a type A:𝒱A:\mathcal{V} and a map m:ALm:A\to L. Further suppose we have S,R:𝒫𝒱(A)S,R:\mathcal{P}_{\mathcal{V}}(A) with SRS\subseteq R then SR\bigvee S\leq\bigvee R. Here mincA:𝕋(S)Lm\circ\text{inc}_{A}:\mathbb{T}(S)\to L is the map we are leaving implicit and similarly for 𝕋(R)\mathbb{T}(R).

Proof.

Clearly, both suprema exist so it suffices to show that R\bigvee R is an upper bound of SS. To this end let b:Bb:B with bSb\in S. Of course, since SRS\subseteq R we may conclude bRb\in R and thus, m(b)Rm(b)\leq\bigvee R. ∎

In line with earlier observations; it is well-known that large lattices containing all small suprema do not necessarily contain all small infima. One motivation for working with a basis is that the resulting sup lattices are better behaved. In particular we have the following result.

Proposition 4.7.

A 𝒱\mathcal{V}-generated sup lattice LL with a basis β:BL\beta:B\to L has all infima.

Proof.

Consider a family α:IL\alpha:I\to L. A classical proof would proceed by defining the inf of II to be the sup of all the lower bounds of II. This argument can be replicated if we take advantage of our basis. Consider the subset X:𝒫𝒱(B)X:\mathcal{P}_{\mathcal{V}}(B) defined as xi:IxBα(i))x\mapsto\prod_{i:I}x\leq^{B}\alpha(i)) (which can be mapped to the carrier via βincB:𝕋(X)L\beta\circ\text{inc}_{B}:\mathbb{T}(X)\to L). We claim that X\bigvee X is the infimum of II.

We first show that X\bigvee X is a lower bound of II. For i:Ii:I, we must show Xα(i)\bigvee X\leq\alpha(i). By construction of XX, α(i)\alpha(i) is an upper bound of XX, so the desired results follows from the least upper bound condition of XX.

We now show that X\bigvee X satisfies the greatest lower bound condition. Let ll be any other lower bound of II and notice, by transitivity, bBli:I(bBα(i))b\leq^{B}l\to\prod_{i:I}(b\leq^{B}\alpha(i)) for any b:Bb:B. So we have BlX\operatorname{\downarrow^{B}}l\subseteq X and

l=𝒱BlX,l=\bigvee\operatorname{\downarrow^{B}_{\mathcal{V}}}l\leq\bigvee X,

where equality follows from Condition 2 of Definition˜4.4 and the inequality from Proposition˜4.6. ∎

The next theorem and corollary are essential for our development. It says that reindexing families along a surjection (or an equivalence) does not change the supremum.

Proposition 4.8.

Consider a 𝒱\mathcal{V}-sup-lattice LL and types X:𝒱X:\mathcal{V} and Y:𝒯Y:\mathcal{T}. Further suppose there is a map m:YLm:Y\to L and a surjection s:XYs:X\twoheadrightarrow Y then ms\bigvee m\circ s (which exists by assumption) is also the supremum of the family m:YLm:Y\to L (which does not exist in general). Since the maps are understood we could more clearly say X=Y\bigvee X=\bigvee Y.

Proof.

To show that X\bigvee X is also the supremum of the family m:YLm:Y\to L it suffices to show it is an upper-bound of the family mm and that it satisfies the least upper-bound condition for the family mm. For the former, let y:Yy:Y with the intent to show m(y)Xm(y)\leq\bigvee X. Since ss is a surjection we have an x:Xx:X such that s(x)=ys(x)=y. It now follows that m(y)=m(s(x))Xm(y)=m(s(x))\leq\bigvee X since by assumption X\bigvee X is an upper-bound of msm\circ s. For the latter, let u:Lu:L be any other upper-bound of the family m:YLm:Y\to L. To show Xu\bigvee X\leq u it suffices to show uu is an upper-bound of msm\circ s, but this follows immediately. ∎

Corollary 4.8.1.

Consider a 𝒱\mathcal{V}-sup-lattice L and types X:𝒱X:\mathcal{V} and Y:𝒯Y:\mathcal{T}. Further suppose there is a map m:YLm:Y\to L and an equivalence e:XYe:X\simeq Y then X=Y\bigvee X=\bigvee Y.

Proof.

Observe that any equivalence is a surjection so the result follows by Proposition˜4.8. ∎

5 Inductive Generators

The notion of an abstract inductive definition considered in [Cur15] generalizes the inductive definitions in [Acz10]. Given a complete lattice LL with generating subset BB consider a subset ΦB×L\Phi\subseteq B\times L. In some sense Φ\Phi can be thought of as inductively defining a subset of BB. To make this precise in set theoretic language we have to define appropriate closure conditions and then proceed to prove that there is in fact a subset satisfying these conditions. Curi does exactly that in [Cur15]. We briefly recount the desired closure conditions but for obvious reasons do not attempt to construct the desired subset. Consider a subclass YBY\subseteq B,

  1. 1.

    YY is cL\text{c}_{L}-closed if for every subset UYU\subseteq Y we have that BUY\operatorname{\downarrow^{B}}\bigvee U\subseteq Y.

  2. 2.

    YY is Φ\Phi-closed if for every (b,a)Φ(b,a)\in\Phi then BaYbY\operatorname{\downarrow^{B}}a\subseteq Y\implies b\in Y.

We denote the least closed class, under the cL\text{c}_{L} and Φ\Phi closure conditions, as (Φ)\mathcal{I}(\Phi). In [Cur15], Curi proves that (Φ)\mathcal{I}(\Phi) always exists in CZF.

We will now translate this notion into type theory. Given a 𝒱-sup-lattice\mathcal{V}\text{-sup-lattice} with a 𝒱-basis\mathcal{V}\text{-basis} we can encode the notion of abstract inductive definitions à la CZF. Admittedly, the terminology is a bit unfortunate here as inductive definitions/constructions are first class in type theory and thus take on a more general meaning. To ameliorate this we will call them inductive generators or simply generators. We will also depart from Curi’s notation slightly, by using ϕ\phi and ϕ\mathcal{I}_{\phi}, in the interest of differentiating between set theoretic and type theoretic constructions.

Definition 5.1.

Given 𝒱-Sup-Lattice\mathcal{V}\text{-Sup-Lattice} L:𝒰L:\mathcal{U} with a 𝒱-basis\mathcal{V}\text{-basis} β:BL\beta:B\to L we define an inductive generator to be a subset ϕ:𝒫𝒰𝒱+(B×L)\phi:\mathcal{P}_{\mathcal{U\sqcup V^{+}}}(B\times L).

This section contains some unavoidable use of type theoretic concepts (see [Uni13, Chapter 6]). Using a generator ϕ\phi as a parameter we construct a special higher inductive type (HIT) family. HITs are an active area of study so we will quickly comment on exactly what we must assume (for consistency of HITs see [LS20]). We do not need the full notion of HITs for our purposes. The type we are postulating is a quotient inductive type (QIT) family, where everything is quotiented. This amounts to having a propositional truncation constructor. Of course, details about how to construct QITs in general are beyond the scope of this note. For now we will simply state the definitions of our proposed type and hope that its tameness is apparent. First we provide some shorthand for the two closure properties:

Definition 5.2.

Given a generator ϕ:𝒫𝒰𝒱+(B×L)\phi:\mathcal{P}_{\mathcal{U\sqcup V^{+}}}(B\times L) and a subset S:𝒫𝒯(B)S:\mathcal{P}_{\mathcal{T}}(B) we say that SS is closed under containment if there is a function

is-c-closed(S):U:𝒫𝒱(B)US𝒱BUS\text{is-c-closed}(S):\equiv\prod_{U:\mathcal{P}_{\mathcal{V}}(B)}U\subseteq S\to\operatorname{\downarrow^{B}_{\mathcal{V}}}\bigvee U\subseteq S

and SS is closed under ϕ\phi if there is a function

is-ϕ-closed(S):a:Lb:B(b,a)ϕBaSbS.\text{is-}\phi\text{-closed}(S):\equiv\prod_{a:L}\prod_{b:B}(b,a)\in\phi\to\operatorname{\downarrow^{B}}a\subseteq S\to b\in S.

What follows is our first use of Higher Inductive Types.

Definition 5.3.

Given a generator ϕ:𝒫𝒰𝒱+(B×L)\phi:\mathcal{P}_{\mathcal{U\sqcup V^{+}}}(B\times L) we define the QIT family ϕ:B𝒰𝒱+\mathcal{I}_{\phi}:B\to\mathcal{U}\sqcup\mathcal{V}^{+}, which we call the least closed subset under containment and ϕ\phi, which has the following constructors:

  1. 1.

    -trunc:b:Bis-prop(ϕ(b))\mathcal{I}\text{-trunc}:\prod_{b:B}\text{is-prop}(\mathcal{I}_{\phi}(b)),

  2. 2.

    c-cl:is-c-closed(ϕ)\text{c-cl}:\text{is-c-closed}(\mathcal{I}_{\phi}),

  3. 3.

    ϕ-cl:is-ϕ-closed(ϕ)\phi\text{-cl}:\text{is-}\phi\text{-closed}(\mathcal{I}_{\phi}).

Notice that the universe level 𝒰𝒱+\mathcal{U\sqcup V^{+}} of ϕ\mathcal{I}_{\phi} results from quantification over L:𝒰L:\mathcal{U} and 𝒫𝒱(B):𝒱+\mathcal{P}_{\mathcal{V}}(B):\mathcal{V^{+}}. We choose not to state the induction principle of ϕ\mathcal{I}_{\phi} as it will not be needed beyond this section. For details see [Ray23].

Remark 1.

The -trunc\mathcal{I}\text{-trunc} constructor guarantees that ϕ:𝒫𝒰𝒱+(B)\mathcal{I}_{\phi}:\mathcal{P}_{\mathcal{U\sqcup V^{+}}}(B).

The truncation constructor restricts the possible codomains to be propositionally valued families indexed by BB and possibly ϕ(b)\mathcal{I}_{\phi}(b). When defining functions out of ϕ\mathcal{I}_{\phi} we may use the induction principle or pattern match on the point constructors c-cl and ϕ\phi-cl. We need to show one crucial property of ϕ\mathcal{I}_{\phi} before moving on: ϕ\mathcal{I}_{\phi} is initial among all subsets of BB closed under containment and ϕ\phi.

Proposition 5.4.

The subset ϕ\mathcal{I}_{\phi} is initial with respect to small subsets, justifying its name. That is, we have a term

-initial:P:𝒫𝒯(B)is-c-closed(P)is-ϕ-closed(P)ϕP.\mathcal{I}\text{-initial}:\prod_{P:\mathcal{P}_{\mathcal{T}}(B)}\text{is-c-closed}(P)\to\text{is-}\phi\text{-closed}(P)\to\mathcal{I}_{\phi}\subseteq P.
Proof.

By definition of ϕ\mathcal{I}_{\phi}

6 Local Inductive Generators

In [Cur15] it is desirable to indicate when an abstract inductive definition yields a set, at least locally. We say an abstract inductive inductive definition Φ\Phi is local if for every aLa\in L the class

{bB|aL,(b,a)Φaa}\{b\in B\ |\ \exists a^{\prime}\in L,(b,a^{\prime})\in\Phi\land a^{\prime}\leq a\}

is a set. When an abstract inductive definition Φ\Phi is local we may define a monotone operator as follows ΓΦ(a){bB|aL,(b,a)Φaa}\Gamma_{\Phi}(a)\equiv\bigvee\{b\in B\ |\ \exists a^{\prime}\in L,(b,a^{\prime})\in\Phi\land a^{\prime}\leq a\}.

We now translate these notions into type theory. For the remainder of this note we work in the context of a 𝒱\mathcal{V}-sup-lattice LL with a basis β:BL\beta:B\to L.

Definition 6.1.

Given a generator ϕ:𝒫𝒰𝒱+(B×L)\phi:\mathcal{P}_{\mathcal{U\sqcup V^{+}}}(B\times L) and a:La:L we define the following subset of BB

ba:L,(b,a)ϕaa.b\mapsto\exists a^{\prime}:L,(b,a^{\prime})\in\phi\land a^{\prime}\leq a.

We denote the total space of this subset as Sϕ,aS_{\phi,a}.

As is convention we will conflate the total space Sϕ,aS_{\phi,a} and its corresponding subset.

Proposition 6.2.

Given a generator ϕ:𝒫𝒰𝒱+(B×L)\phi:\mathcal{P}_{\mathcal{U\sqcup V^{+}}}(B\times L) and x,y:Lx,y:L such that xyx\leq y we have Sϕ,xSϕ,yS_{\phi,x}\subseteq S_{\phi,y}.

Proof.

It suffices to show that

a:L,(b,a)ϕaxa:L,(b,a)ϕay\exists a^{\prime}:L,(b,a^{\prime})\in\phi\land a^{\prime}\leq x\to\exists a^{\prime}:L,(b,a^{\prime})\in\phi\land a^{\prime}\leq y

for each b:B.b:B. Assume we have a:La^{\prime}:L such that (b,a)ϕ(b,a^{\prime})\in\phi and axa^{\prime}\leq x. By assumption, xyx\leq y so by transitivity, aya^{\prime}\leq y. ∎

We can now state what it means for a generator to be local.

Definition 6.3.

We say a generator ϕ:𝒫𝒰𝒱+(B×L)\phi:\mathcal{P}_{\mathcal{U\sqcup V^{+}}}(B\times L) is local if for any a:La:L the type Sϕ,aS_{\phi,a} is 𝒱\mathcal{V}-small.

We now define, for any local generator, the following map. Here we are taking advantage of the existence of small joins.

Definition 6.4.

Given a local generator ϕ:𝒫𝒰𝒱+(B×L)\phi:\mathcal{P}_{\mathcal{U\sqcup V^{+}}}(B\times L) we define the monotone operator under  ϕ\phi to be the map Γϕ:LL\Gamma_{\phi}:L\to L defined as

Γϕ(a):Sϕ,a\Gamma_{\phi}(a):\equiv\bigvee S_{\phi,a}

where there is an obvious map βincB:Sϕ,aL\beta\circ\text{inc}_{B}:S_{\phi,a}\to L (note the implicit application of Proposition˜4.8).

Not surprisingly this map is monotonic. It is worth noting that the formalized proof must account for the implicit use of Proposition˜4.8 in the Definition of Γϕ\Gamma_{\phi} which adds a layer of difficulty. This is one of the reasons why Proposition˜4.8 is so essential.

Proposition 6.5.

Given a local generator ϕ:𝒫𝒰𝒱+(B×L)\phi:\mathcal{P}_{\mathcal{U\sqcup V^{+}}}(B\times L) the map Γϕ\Gamma_{\phi} is monotone.

Proof.

Given xyx\leq y we must show Sϕ,xSϕ,y\bigvee S_{\phi,x}\leq\bigvee S_{\phi,y}. By Proposition˜6.2 we have Sϕ,xSϕ,yS_{\phi,x}\subseteq S_{\phi,y}. Thus, by Proposition˜4.6, the desired inequality holds. ∎

Perhaps more surprisingly, every monotone map provides a canonical local generator such that the induced map equals the orignal map.

Proposition 6.6.

Given a monotone endomap f:LLf:L\to L there is a local generator ϕ:𝒫𝒰𝒱+(B×L)\phi:\mathcal{P}_{\mathcal{U\sqcup V^{+}}}(B\times L) with Γϕ(x)=f(x)\Gamma_{\phi}(x)=f(x), for all x:Lx:L.

Proof.

First we define ϕ:𝒫𝒰𝒱+(B×L)\phi:\mathcal{P}_{\mathcal{U\sqcup V^{+}}}(B\times L) via ϕ(b,a):bBf(a)\phi(b,a):\equiv b\leq^{B}f(a) (technically we should lift to the universe 𝒰𝒱+\mathcal{U\sqcup V^{+}}). To show that ϕ\phi is local it suffices to show the equivalence 𝒱Bf(x)Sϕ,x\operatorname{\downarrow^{B}_{\mathcal{V}}}f(x)\simeq S_{\phi,x} for any x:Lx:L. With the above equivalence established, we also may conclude

Γϕ(x)Sϕ,x=𝒱Bf(x)=f(x)\Gamma_{\phi}(x)\equiv\bigvee S_{\phi,x}=\bigvee\operatorname{\downarrow^{B}_{\mathcal{V}}}f(x)=f(x)

where the first equality is Definition˜6.4, the second follows from Proposition˜4.8 and the last from the small basis assumption (see Definition˜4.4). Now we need to actually provide the equivalence. For this it suffices to show for any b:Bb:B

bBf(x)a:L,bBf(a)axb\leq^{B}f(x)\longleftrightarrow\exists a^{\prime}:L,b\leq^{B}f(a^{\prime})\land a^{\prime}\leq x

which expresses that the two subsets have the same elements. For the forward direction we notice that xx does the trick as reflexivity gives xxx\leq x. For the other direction, suppose we have a:La^{\prime}:L with bBf(a)b\leq^{B}f(a^{\prime}) and axa^{\prime}\leq x. By monotonicity, we have f(a)f(x)f(a^{\prime})\leq f(x). Then we can apply transitivity to conclude bBf(x)b\leq^{B}f(x) as desired. ∎

Remark 2.

Notice that in the last step of the proof we actually first translate bBf(a)b\leq^{B}f(a^{\prime}) to β(b)f(a)\beta(b)\leq f(a^{\prime}) via the equivalence established in Definition˜4.4. Then apply transitivity and translate back along the equivalence. These details are important in formalization, but tedious to notate in proof sketches.

Example 6.7.

A wealth of examples of local generators follow from Proposition 5.6. For example, consider the identity maps on either 𝒱\mathcal{V}-generated sup lattice Ω𝒱\Omega_{\mathcal{V}} or 𝒫𝒱(A)\mathcal{P}_{\mathcal{V}}(A) where A:𝒱A:\mathcal{V} is a set.

7 Least Fixed Point of Monotone Operators

In [Cur15] it is shown that there is a correspondence between cL\text{c}_{L} and ϕ\phi-closed subsets and elements aLa\in L such that ΓΦ(a)a\Gamma_{\Phi}(a)\leq a. Further it is shown that if (Φ)\mathcal{I}(\Phi) is a set then ΓΦ\Gamma_{\Phi} has a least fixed point. We now translate these results into type theory.

Assuming a generator ϕ\phi is local we can show that the 𝒱\mathcal{V}-small subsets that are both c-closed and ϕ\phi-closed correspond to deflationary points with respect to Γϕ\Gamma_{\phi}. For the remainder of this section we work in a context with a local generator ϕ\phi.

Definition 7.1.

Given a small subset P:𝒫𝒱(B)P:\mathcal{P}_{\mathcal{V}}(B) we say PP is closed under containment and ϕ\phi if it satisfies analgous conditions to that of the least closed subset. Explicitly we write

is-c-ϕ-closed𝒱(P)\displaystyle\text{is-c-}\phi\text{-closed}_{\mathcal{V}}(P) :is-c-closed(P)×is-ϕ-closed(P).\displaystyle:\equiv\text{is-c-closed}(P)\times\text{is-}\phi\text{-closed}(P).
Definition 7.2.

A point a:La:L is deflationary with respect to Γϕ\Gamma_{\phi} if Γϕ(a)a\Gamma_{\phi}(a)\leq a. We will write is-deflationary(a):Γϕ(a)a\text{is-deflationary}(a):\equiv\Gamma_{\phi}(a)\leq a

One can observe that is-c-ϕ-closed(P)\text{is-c-}\phi\text{-closed}(P) and is-deflationary(a)\text{is-deflationary}(a) are propositions as they are made up of propositions. We now prove the proposed correspondence, which reveals itself in type theory as an equivalence.

Proposition 7.3.

The type of small c-ϕ\phi-closed subsets is equivalent to the type of deflationary points. That is,

P:𝒫𝒱(B)is-c-ϕ-closed(P)a:Lis-deflationary(a).\sum_{P:\mathcal{P}_{\mathcal{V}}(B)}\text{is-c-$\phi$-closed}(P)\simeq\sum_{a:L}\text{is-deflationary}(a).
Proof.

We commence by defining maps in either direction. First suppose we have P:𝒫𝒱(B)P:\mathcal{P}_{\mathcal{V}}(B) that is c-ϕ\phi-closed. We will now show that P\bigvee P is deflationary: Γϕ(P)P\Gamma_{\phi}(\bigvee P)\leq\bigvee P. For this, it suffices to show that P\bigvee P is an upper bound of Sϕ,PS_{\phi,\bigvee P}. So, consider b:Bb:B such that a:L,(b,a)ϕaP\exists a^{\prime}:L,(b,a^{\prime})\in\phi\land a^{\prime}\leq\bigvee P with the intent to show q(b)Pq(b)\leq\bigvee P. By definition of P\bigvee P, this can be reduced to showing that bPb\in P. So, assume we have a:La^{\prime}:L with (b,a)ϕ(b,a^{\prime})\in\phi and aPa^{\prime}\leq\bigvee P. Now since PP is assumed to be c-ϕ\phi-closed we have

is-c-closed(P)U:𝒫𝒱(B)UP𝒱BUP.\text{is-c-closed}(P)\equiv\prod_{U:\mathcal{P}_{\mathcal{V}}(B)}U\subseteq P\to\operatorname{\downarrow^{B}_{\mathcal{V}}}\bigvee U\subseteq P.

If we use PP for UU and the fact that aPa^{\prime}\leq\bigvee P we conclude from c-closure that

BaP.\operatorname{\downarrow^{B}}a^{\prime}\subseteq P.

We also have

is-ϕ-closed(P)a:Lb:B(b,a)ϕBaPbP.\text{is-}\phi\text{-closed}(P)\equiv\prod_{a:L}\prod_{b:B}(b,a)\in\phi\to\operatorname{\downarrow^{B}}a\subseteq P\to b\in P.

We can now satisfy each hypothesis of the above, so we may conclude bPb\in P, as desired.

Now assume we have a deflationary point a:La:L. We now show that 𝒱Ba\operatorname{\downarrow^{B}_{\mathcal{V}}}a is c-ϕ\phi-closed. For c-closure we need a function ΠU:𝒫𝒱(B)U𝒱Ba𝒱BU𝒱Ba\Pi_{U:\mathcal{P}_{\mathcal{V}}(B)}U\subseteq\operatorname{\downarrow^{B}_{\mathcal{V}}}a\to\operatorname{\downarrow^{B}_{\mathcal{V}}}\bigvee U\subseteq\operatorname{\downarrow^{B}_{\mathcal{V}}}a. In the interest of defining such a function consider U:𝒫𝒱(B)U:\mathcal{P}_{\mathcal{V}}(B), with U𝒱BaU\subseteq\operatorname{\downarrow^{B}_{\mathcal{V}}}a and b:Bb:B with b𝒱BUb\in\operatorname{\downarrow^{B}_{\mathcal{V}}}\bigvee U. By assumption and Proposition˜4.6

bBU𝒱Ba=ab\leq^{B}\bigvee U\leq\bigvee\operatorname{\downarrow^{B}_{\mathcal{V}}}a=a

so that b𝒱Bab\in\operatorname{\downarrow^{B}_{\mathcal{V}}}a, as desired. For ϕ\phi-closure we need a function of type Πa:LΠb:B(b,a)ϕ𝒱Ba𝒱BabBa\Pi_{a^{\prime}:L}\Pi_{b:B}(b,a^{\prime})\in\phi\to\operatorname{\downarrow^{B}_{\mathcal{V}}}a^{\prime}\subseteq\leavevmode\nobreak\ \operatorname{\downarrow^{B}_{\mathcal{V}}}a\to b\leq^{B}a. By Proposition˜4.6 we have

a=𝒱Ba𝒱Ba=a.a^{\prime}=\bigvee\operatorname{\downarrow^{B}_{\mathcal{V}}}a^{\prime}\leq\bigvee\operatorname{\downarrow^{B}_{\mathcal{V}}}a=a.

From this we may conclude a,(b,a)ϕaa\exists a^{\prime},(b,a^{\prime})\in\phi\land a^{\prime}\leq a, or bSϕ,ab\in S_{\phi,a}. Now together with the assumption that aa is deflationary we conclude that

bBSϕ,aΓϕ(a)ab\leq^{B}\bigvee S_{\phi,a}\equiv\Gamma_{\phi}(a)\leq a

as desired.

It remains to show that these maps are inverse. We explicate the above maps (P,_)(P,_)(P,\_)\mapsto(\bigvee P,\_) and (a,_)(𝒱Ba,_)(a,\_)\mapsto(\operatorname{\downarrow^{B}_{\mathcal{V}}}a,\_) where the second components are unspecified because they are propositionally valued. For this reason we need only check that the first projections are equal when the compositions are applied. That is, we must show

𝒱Ba=a\bigvee\operatorname{\downarrow^{B}_{\mathcal{V}}}a=a

and

𝒱BP=P.\operatorname{\downarrow^{B}_{\mathcal{V}}}\bigvee P=P.

Now, the former holds by Definition˜4.4. For the latter, it suffices to show xBPxPx\leq^{B}\bigvee P\longleftrightarrow x\in P. The forward direction follows from c-closure. The reverse direction is immediate since P\bigvee P is an upper bound of all x:Lx:L with xPx\in P. This concludes the proof. ∎

We can now show, under certain smallness assumption on the QIT family ϕ\mathcal{I}_{\phi}, that Γϕ\Gamma_{\phi} has a least fixed point. First we collect some important constructions that can be built under the assumptions of the following theorem.

If for all b:Bb:B the type bϕb\in\mathcal{I}_{\phi} is 𝒱\mathcal{V}-small, then we can construct the following:

  1. 1.

    For each b:Bb:B, a type ϕ𝒱(b):𝒱\mathcal{I}_{\phi}^{\mathcal{V}}(b):\mathcal{V} that is a proposition and an equivalence ϕ𝒱(b)bϕ\mathcal{I}_{\phi}^{\mathcal{V}}(b)\simeq b\in\mathcal{I}_{\phi}.

  2. 2.

    A subset ϕ𝒱:𝒫𝒱(B)\mathcal{I}_{\phi}^{\mathcal{V}}:\mathcal{P}_{\mathcal{V}}(B) that witnesses to the fact that 𝕋(ϕ)\mathbb{T}(\mathcal{I}_{\phi}) is 𝒱\mathcal{V}-small; that is, 𝕋(ϕ𝒱)𝕋(ϕ)\mathbb{T}(\mathcal{I}_{\phi}^{\mathcal{V}})\simeq\mathbb{T}(\mathcal{I}_{\phi}).

  3. 3.

    Intiality of ϕ𝒱\mathcal{I}_{\phi}^{\mathcal{V}}, which follows from that of ϕ\mathcal{I}_{\phi} via the equivalence.

Proposition 7.4.

Suppose that for all b:Bb:B the type bϕb\in\mathcal{I}_{\phi} is 𝒱\mathcal{V}-small. Then Γϕ\Gamma_{\phi} has a least fixed point. That is, there is a p:Lp:L such that Γϕ(p)=p\Gamma_{\phi}(p)=p and if x:Lx:L with Γϕ(x)=x\Gamma_{\phi}(x)=x then pxp\leq x.

Proof.

We now show that p:ϕ𝒱p:\equiv\bigvee\mathcal{I}_{\phi}^{\mathcal{V}} is the least fixed point. To show it is a fixed point it suffices to show that Γϕ(p)p\Gamma_{\phi}(p)\leq p and pΓϕ(p)p\leq\Gamma_{\phi}(p). For the former we observe that since ϕ𝒱\mathcal{I}_{\phi}^{\mathcal{V}} is c-ϕ\phi-closed we have that pp is deflationary, by Proposition˜7.3. For the latter, first observe that monotonicity, in tandem with what we have just shown, establishes Γϕ(Γϕ(p))Γϕ(p)\Gamma_{\phi}(\Gamma_{\phi}(p))\leq\Gamma_{\phi}(p). Thus, Γϕ(p)\Gamma_{\phi}(p) is deflationary and by Proposition˜7.3 yields a c-ϕ\phi-closed subset 𝒱BΓϕ(p)\operatorname{\downarrow^{B}_{\mathcal{V}}}\Gamma_{\phi}(p). By the inherited initiality, ϕ𝒱𝒱BΓϕ(p)\mathcal{I}_{\phi}^{\mathcal{V}}\subseteq\operatorname{\downarrow^{B}_{\mathcal{V}}}\Gamma_{\phi}(p). Finally, by Proposition˜4.6

pϕ𝒱𝒱BΓϕ(p)=Γϕ(p),p\equiv\bigvee\mathcal{I}_{\phi}^{\mathcal{V}}\leq\bigvee\operatorname{\downarrow^{B}_{\mathcal{V}}}\Gamma_{\phi}(p)=\Gamma_{\phi}(p),

where the final equality follows from Proposition˜7.3, where we showed the maps _\bigvee\_ and 𝒱B_\operatorname{\downarrow^{B}_{\mathcal{V}}}\_ are inverses. Now to complete the proof, let x:Lx:L be any other fixed point. In particular, xx is deflationary and as such yields a c-ϕ\phi-closed subset 𝒱Bx\operatorname{\downarrow^{B}_{\mathcal{V}}}x. As ϕ𝒱\mathcal{I}_{\phi}^{\mathcal{V}} is initial we have ϕ𝒱𝒱Bx\mathcal{I}_{\phi}^{\mathcal{V}}\subseteq\operatorname{\downarrow^{B}_{\mathcal{V}}}x and thus by Proposition˜4.6

pϕ𝒱𝒱Bx=xp\equiv\bigvee\mathcal{I}_{\phi}^{\mathcal{V}}\leq\bigvee\operatorname{\downarrow^{B}_{\mathcal{V}}}x=x

where once again the last equality follows from Proposition˜7.3. ∎

Remark 3.

It is worth mentioning that the smallness assumption we made in Proposition˜7.4 is to ensure that 𝕋(ϕ𝒱)\bigvee\mathbb{T}(\mathcal{I}_{\phi}^{\mathcal{V}}) exists. In fact, we may now record the following corollary which holds under the assumption of propositional resizing.

In light of the previous result we gain an impredicative version of the least fixed point theorem which follows from propositional resizing.

Corollary 7.4.1.

If Prop-Resizing𝒰𝒱+,𝒱\text{Prop-Resizing}_{\mathcal{U\sqcup V^{+},V}} holds then every monotone endomap f:LLf:L\to L has a least fixed point.

Proof.

By Proposition˜6.6 there is a generator ϕ\phi and monotone operator Γϕ\Gamma_{\phi} that corresponds to ff. By Prop-Resizing𝒰𝒱+,𝒱\text{Prop-Resizing}_{\mathcal{U\sqcup V^{+},V}} we can show that bϕb\in\mathcal{I}_{\phi} is 𝒱\mathcal{V}-small for every b:Bb:B. Thus, Proposition˜7.4 gives a least fixed point of Γϕ\Gamma_{\phi} and, by extension, ff. ∎

8 Bounded Inductive Generators

In [Cur15] a further restriction on abstract inductive definitions is imposed. Given an abstract inductive definition Φ\Phi we say it is bounded if

  1. 1.

    {bB|(b,a)Φ}\{b\in B\ |\ (b,a)\in\Phi\} is a set for every aLa\in L

  2. 2.

    There is a set α\alpha such that, whenever (b,a)Φ(b,a)\in\Phi there is xαx\in\alpha such that the set Ba\downarrow^{B}a is the image of xx.

Notice if Φ\Phi is a set, rather than a class, then Φ\Phi is automatically bounded.

We will now explore the translation of these notions into type theory. For the remainder of this section we work in the context of a 𝒱\mathcal{V}-generated sup lattice LL with basis β:BL\beta:B\to L.

Definition 8.1.

A type X:𝒱X:\mathcal{V} is a small covering of Y:𝒯Y:\mathcal{T} if there is a surjection s:XYs:X\twoheadrightarrow Y.

Definition 8.2.

We say that a generator ϕ\phi has a bound if there is I:𝒱I:\mathcal{V} and α:I𝒱\alpha:I\to\mathcal{V} such that for any a:La:L and b:Bb:B with (b,a)ϕ(b,a)\in\phi there merely exists i:Ii:I such that α(i)\alpha(i) is a small covering of Ba\downarrow^{B}a, that is

i:I,α(i)Ba.\exists i:I,\alpha(i)\twoheadrightarrow\operatorname{\downarrow^{B}}a.
Definition 8.3.

We say that a generator ϕ\phi is bounded if for any a:La:L and b:Bb:B the type (b,a)ϕ(b,a)\in\phi is 𝒱\mathcal{V}-small and ϕ\phi has a bound.

Definition 8.4.

We say that a generator ϕ\phi is small if for any a:La:L and b:Bb:B the type (b,a)ϕ(b,a)\in\phi is 𝒱\mathcal{V}-small and 𝕋(ϕ)(b,a):B×L(b,a)ϕ\mathbb{T}(\phi)\equiv\sum_{(b,a):B\times L}(b,a)\in\phi is 𝒱\mathcal{V}-small.

Remark 4.

If ϕ\phi is small then it is bounded. We have as a bound α:𝕋(ϕ)𝒱\alpha^{\prime}:\mathbb{T}(\phi)\to\mathcal{V} defined via

(b,a,_)𝒱Ba.(b,a,\_)\mapsto\operatorname{\downarrow^{B}_{\mathcal{V}}}a.

Technically, we should give α:T𝒱\alpha:T\to\mathcal{V} where T:𝒱T:\mathcal{V} and T𝕋(ϕ)T\simeq\mathbb{T}(\phi).

We now show that if a generator is bounded then it is local (see Definition˜6.3).

Proposition 8.5.

Every bounded generator is local.

Proof.

Let ϕ\phi be a bounded generator with bound α\alpha. To show ϕ\phi is local it suffices to show

(b:Bi:I,m:α(i)Ba,(b,α(i))ϕ)Sϕ,a\left(\sum_{b:B}\exists i:I,\exists m:\alpha(i)\to\operatorname{\downarrow^{B}}a,(b,\bigvee\alpha(i))\in\phi\right)\simeq S_{\phi,a}

for any a:La:L; since the type on the left hand side is itself 𝒱\mathcal{V}-small under the assumptions. For this, it suffices to show that

i:I,m:α(i)Ba,(b,α(i))ϕa:L,(b,a)ϕaa\exists i:I,\exists m:\alpha(i)\to\downarrow^{B}a,(b,\bigvee\alpha(i))\in\phi\longleftrightarrow\exists a^{\prime}:L,(b,a^{\prime})\in\phi\land a^{\prime}\leq a

for any b:Bb:B.

For the forward direction, assume we have i:Ii:I and m:α(i)Bam:\alpha(i)\to\downarrow^{B}a such that (b,α(i))ϕ(b,\bigvee\alpha(i))\in\phi. Notice that for any z:α(i)z:\alpha(i) we have that β(pr1(m(z)))a\beta(\text{pr}_{1}(m(z)))\leq a. This shows that aa is an upper bound of α(i)\alpha(i) and as such α(i)a\bigvee\alpha(i)\leq a, as desired. So we set a:α(i)a^{\prime}:\equiv\bigvee\alpha(i).

For the reverse direction, assume a:La^{\prime}:L such that (b,a)ϕ(b,a^{\prime})\in\phi and aaa^{\prime}\leq a. First observe that aaa^{\prime}\leq a yields an inclusion ι:BaBa\iota:\operatorname{\downarrow^{B}}a^{\prime}\to\operatorname{\downarrow^{B}}a. Since ϕ\phi is bounded, i:I,α(i)Ba\exists i:I,\alpha(i)\twoheadrightarrow\operatorname{\downarrow^{B}}a^{\prime}. Let f:α(i)Baf:\alpha(i)\to\operatorname{\downarrow^{B}}a^{\prime} be the function underlying the surjection and put m:ιf:α(i)Bam:\equiv\iota\circ f:\alpha(i)\to\operatorname{\downarrow^{B}}a. Since ι\iota is merely an inclusion we determine a=α(i)a^{\prime}=\bigvee\alpha(i) by Proposition˜4.8. Finally, since (b,a)ϕ(b,a^{\prime})\in\phi, we conclude (b,α(i))ϕ(b,\bigvee\alpha(i))\in\phi. ∎

Recall, Proposition˜6.6 states that every monotone map determines canonical a local generator: (b,a)ϕ:bBf(a)(b,a)\in\phi:\equiv b\leq^{B}f(a). Unfortunately, this generator is not particularly well behaved. To illustrate this we give the following example.

Example 8.6.

Consider the map f:LLf:L\to L defined to be constant at some c:Lc:L. The canonical local generator determined by ff is given by (b,a)ϕ:bBc(b,a)\in\phi:\equiv b\leq^{B}c. To show this generator is bounded we need to give a small family α:I𝒱\alpha:I\to\mathcal{V} such that for any b:Bb:B and a:La:L, if bBcb\leq^{B}c then i:I,α(i)Ba\exists i:I,\alpha(i)\twoheadrightarrow\operatorname{\downarrow^{B}}a. Assuming the hypothesis is satisfied by any b:Bb:B, it is satisfied by every a:La:L. It would very difficult (likely impossible) to provide a small family that covers Ba\operatorname{\downarrow^{B}}a for every aa.

Alternatively, we could define a generator ϕ\phi which determines the function ff. First, let’s enforce the reasonable assumption that LL is locally 𝒱\mathcal{V}-small. Let (b,a)ϕ:bBca=0L(b,a)\in\phi:\equiv b\leq^{B}c\land a=0_{L}, where 0L:0_{L}:\equiv\bigvee\emptyset. Notice,

Sϕ,a\displaystyle S_{\phi,a} b:Ba:L,bBca=0Laa\displaystyle\equiv\sum_{b:B}\exists a^{\prime}:L,b\leq^{B}c\land a^{\prime}=0_{L}\land a^{\prime}\leq a
b:BbBc0La\displaystyle\simeq\sum_{b:B}b\leq^{B}c\land 0_{L}\leq a
b:BbBc\displaystyle\simeq\sum_{b:B}b\leq^{B}c
𝒱Bc\displaystyle\equiv\downarrow^{B}_{\mathcal{V}}c

so Γϕ(a)=c\Gamma_{\phi}(a)=c. Moreover, this generator is bounded since bBca=0Lb\leq^{B}c\land a=0_{L} is 𝒱\mathcal{V}-small for all a:La:L and b:Bb:B and

𝕋(ϕ)\displaystyle\mathbb{T}(\phi) b:Ba:LbBca=0L\displaystyle\simeq\sum_{b:B}\sum_{a:L}b\leq^{B}c\land a=0_{L}
b:BbBc×a:La=0L\displaystyle\simeq\sum_{b:B}b\leq^{B}c\times\sum_{a:L}a=0_{L}
b:BbBc,sincea:La=0Lis contractible\displaystyle\simeq\sum_{b:B}b\leq^{B}c\ \ ,\ \text{since}\ \sum_{a:L}a=0_{L}\ \text{is contractible}

is 𝒱\mathcal{V}-small. Thus, ϕ\phi is bounded.

A similar situations occurs for other simple functions like the identity function. In light of this peculiarity we may extend the boundedness restriction to monotone endomaps as follows.

Definition 8.7.

We say a monotone endomap f:LLf:L\to L is bounded if there exists a bounded generator ϕ:𝒫𝒰𝒱+(B×L)\phi:\mathcal{P}_{\mathcal{U\sqcup V^{+}}}(B\times L) with Γϕ(x)=f(x)\Gamma_{\phi}(x)=f(x), for all x:Lx:L.

9 Small-Presentation of a Lattice

In [Cur15] a further restriction of set-generated complete lattices is explored. We depart from Curi here and instead use an equivalent formulation of set presentation due to [Acz10]. A complete lattice LL is set-presented if there is a subset RB×𝒫(B)R\subseteq B\times\mathcal{P}(B) such that for any bBb\in B and XBX\subseteq B

bXb\leq\bigvee X

iff

YX,(b,Y)R\exists Y\subseteq X,(b,Y)\in R

We now explore the translation of this notion into type theory. For the remainder of this section we work in the context of a 𝒱\mathcal{V}-generated sup lattice LL with basis β:BL\beta:B\to L.

Definition 9.1.

A subset R:𝒫𝒱(B×𝒫𝒱(B))R:\mathcal{P}_{\mathcal{V}}(B\times\mathcal{P}_{\mathcal{V}}(B)) together with a family Y:J𝒫𝒱(B)Y:J\to\mathcal{P}_{\mathcal{V}}(B) for J:𝒱J:\mathcal{V} is a 𝒱\mathcal{V}-presentation of LL if for any b:Bb:B and X:𝒫𝒱(B)X:\mathcal{P}_{\mathcal{V}}(B)

bBXj:J,Y(j)X(b,Y(j))R.b\leq^{B}\bigvee X\longleftrightarrow\exists j:J,Y(j)\subseteq X\land(b,Y(j))\in R.

Finally, we say a 𝒱\mathcal{V}-generated sup lattice with a basis β:BL\beta:B\to L is 𝒱\mathcal{V}-presented if it has a 𝒱\mathcal{V}-presentation. For notational convenience, we also define a subset Rj:𝒫𝒱(B)R_{j}:\mathcal{P}_{\mathcal{V}}(B) by b(b,Yj)Rb\mapsto(b,Y_{j})\in R for each j:Jj:J.

Example 9.2.

Recall, 𝒫𝒱(A)\mathcal{P}_{\mathcal{V}}(A), where A:𝒱A:\mathcal{V} is a set, has a basis given by AA and the map {_}:A𝒫𝒱(A)\{\_\}:A\to\mathcal{P}_{\mathcal{V}}(A). Now __:𝒫𝒱(A×𝒫𝒱(A))\_\in\_:\mathcal{P}_{\mathcal{V}}(A\times\mathcal{P}_{\mathcal{V}}(A)) together with the same map {_}:A𝒫𝒱(A)\{\_\}:A\to\mathcal{P}_{\mathcal{V}}(A) provides a small-presentation. To see this let a:Aa:A and X:𝒫𝒱(A)X:\mathcal{P}_{\mathcal{V}}(A). Since X{_}incX=X\bigvee X\equiv\bigcup\{\_\}\circ\text{inc}_{X}=X, it suffices to show

{a}Xx:A,({x}Xa{x}).\{a\}\subseteq X\longleftrightarrow\exists x:A,(\{x\}\subseteq X\land a\in\{x\}).

Which is trivially true by taking x:ax:\equiv a.

10 Predicative Least Fixed Point Theorem

In [Cur15] it is shown that given a set-presented complete lattice LL and a monotone endomap f:LLf:L\to L, if there exists a bounded abstract inductive definition Φ\Phi with f(x)=ΓΦ(x)f(x)=\Gamma_{\Phi}(x), then ff has a least fixed point. This result hinges on showing that under these assumptions the least closed class (Φ)\mathcal{I}(\Phi) is in fact a set, then the least fixed point is (Φ)\bigvee\mathcal{I}(\Phi). We will now translate these results into type theory.

We will follow [Cur15] and show that the assumptions of 𝒱\mathcal{V}-presentation and boundedness provide us with smallness of ϕ\mathcal{I}_{\phi}. In satisfying this smallness assumption there are two obstacles. The first obstacle is that the constructor c-cl of ϕ\mathcal{I}_{\phi} quantifies over 𝒫𝒱(B)\mathcal{P}_{\mathcal{V}}(B) which lives in the universe 𝒱+\mathcal{V^{+}}. This large quantification can be avoided by appealing to the 𝒱\mathcal{V}-presentation assumption. The second obstacle is that the constructor ϕ\phi-cl of ϕ\mathcal{I}_{\phi} quantifies over the carrier LL which lives in the universe 𝒰\mathcal{U}. This large quantification can be avoided by appealing to the ϕ\phi-bounded assumption. In fact, we will now define a new QIT family and show that it is equivalent to ϕ\mathcal{I}_{\phi} — with in the context of the above assumptions.

Definition 10.1.

Let LL be a 𝒱\mathcal{V}-sup-lattice with a 𝒱\mathcal{V}-presentation (J,Y,R)(J,Y,R) and a bounded generator ϕ\phi with bound (I,α)(I,\alpha). For any b:Bb:B and a:La:L, let (b,a)𝒱ϕ(b,a)^{\mathcal{V}}\in\phi be the 𝒱\mathcal{V}-small type guaranteed by the assumption that ϕ\phi is bounded. First, we define similar shorthand as before. For S:𝒫𝒯(B)S:\mathcal{P}_{\mathcal{T}}(B)

is-c-closed𝒱(S):j:JY(j)SRjS\text{is-c-closed}^{\mathcal{V}}(S):\equiv\prod_{j:J}Y(j)\subseteq S\to R_{j}\subseteq S

and

is-ϕ-closed𝒱(S)b:Bi:Im:α(i)B(b,α(i))𝒱ϕ𝒱Bα(i)SbS.\text{is-}\phi\text{-closed}^{\mathcal{V}}(S)\equiv\prod_{b:B}\prod_{i:I}\prod_{m:\alpha(i)\to B}(b,\bigvee\alpha(i))^{\mathcal{V}}\in\phi\to\operatorname{\downarrow^{B}_{\mathcal{V}}}\bigvee\alpha(i)\subseteq S\to b\in S.

We define the QIT family ϕ𝒱:B𝒱\mathcal{I}^{\mathcal{V}}_{\phi}:B\to\mathcal{V}, called the least closed small subset under containment and ϕ\phi, which has the following constructors:

  1. 1.

    𝒱-trunc:b:Bis-prop(ϕ𝒱(b))\mathcal{I}^{\mathcal{V}}\text{-trunc}:\prod_{b:B}\text{is-prop}(\mathcal{I}^{\mathcal{V}}_{\phi}(b)),

  2. 2.

    c-cl𝒱:is-c-closed𝒱(ϕ𝒱)\text{c-cl}^{\mathcal{V}}:\text{is-c-closed}^{\mathcal{V}}(\mathcal{I}^{\mathcal{V}}_{\phi}),

  3. 3.

    ϕ-cl𝒱:is-ϕ-closed𝒱(ϕ𝒱)\phi\text{-cl}^{\mathcal{V}}:\text{is-}\phi\text{-closed}^{\mathcal{V}}(\mathcal{I}^{\mathcal{V}}_{\phi}).

The 𝒱-trunc\mathcal{I}^{\mathcal{V}}\text{-trunc} constructor guarantees that ϕ𝒱:𝒫𝒱(B)\mathcal{I}^{\mathcal{V}}_{\phi}:\mathcal{P}_{\mathcal{V}}(B). We will state the initiality principle of ϕ𝒱\mathcal{I}^{\mathcal{V}}_{\phi}, just as we did in Definition˜5.3:

𝒱-initial:P:𝒫𝒯(B)is-c-closed𝒱(P)is-ϕ-closed𝒱(P)ϕ𝒱P.\mathcal{I}^{\mathcal{V}}\text{-initial}:\prod_{P:\mathcal{P}_{\mathcal{T}}(B)}\text{is-c-closed}^{\mathcal{V}}(P)\to\text{is-}\phi\text{-closed}^{\mathcal{V}}(P)\to\mathcal{I}^{\mathcal{V}}_{\phi}\subseteq P.

We will now show that, under the assumptions of small presentation and boundedness, the total spaces of ϕ𝒱\mathcal{I}^{\mathcal{V}}_{\phi} and ϕ\mathcal{I}_{\phi} are equivalent. This is because, under these assumptions, the constructors of either QIT family are inter-derivable.

Proposition 10.2.

For a 𝒱\mathcal{V}-sup-lattice LL with a 𝒱\mathcal{V}-presentation and a bounded generator ϕ\phi, the type bϕb\in\mathcal{I}_{\phi} is 𝒱\mathcal{V}-small for all b:Bb:B.

Proof.

Suppose that (J,Y,R)(J,Y,R) is a 𝒱\mathcal{V}-presentation of LL and (I,α)(I,\alpha) is a bound for ϕ\phi. It suffices to show bϕbϕ𝒱b\in\mathcal{I}_{\phi}\longleftrightarrow b\in\mathcal{I}^{\mathcal{V}}_{\phi}, for all b:Bb:B. For this we can simply show ϕϕ𝒱\mathcal{I}_{\phi}\subseteq\mathcal{I}^{\mathcal{V}}_{\phi} and ϕ𝒱ϕ\mathcal{I}^{\mathcal{V}}_{\phi}\subseteq\mathcal{I}_{\phi}, utilizing the initiality of either subset.

For the former, we will apply \mathcal{I}-initial to ϕ𝒱\mathcal{I}^{\mathcal{V}}_{\phi} as well as two functions

U:𝒫𝒱(B)Uϕ𝒱𝒱BUϕ𝒱\prod_{U:\mathcal{P}_{\mathcal{V}}(B)}U\subseteq\mathcal{I}^{\mathcal{V}}_{\phi}\to\operatorname{\downarrow^{B}_{\mathcal{V}}}\bigvee U\subseteq\mathcal{I}^{\mathcal{V}}_{\phi}

and

a:Lb:B(b,a)ϕ𝒱Baϕ𝒱bϕ𝒱.\prod_{a:L}\prod_{b:B}(b,a)\in\phi\to\operatorname{\downarrow^{B}_{\mathcal{V}}}a\subseteq\mathcal{I}^{\mathcal{V}}_{\phi}\to b\in\mathcal{I}^{\mathcal{V}}_{\phi}.

In the interest of defining the first function, we assume U:𝒫𝒱(B)U:\mathcal{P}_{\mathcal{V}}(B) with Uϕ𝒱U\subseteq\mathcal{I}^{\mathcal{V}}_{\phi} as well as b:Bb:B with bBUb\leq^{B}\bigvee U. By 𝒱\mathcal{V}-presentation there exists j:Jj:J such that Y(j)UY(j)\subseteq U and (b,Y(j))R(b,Y(j))\in R (or equivalently bRjb\in R_{j}). Now, by transitivity, we have Y(j)ϕ𝒱Y(j)\subseteq\mathcal{I}^{\mathcal{V}}_{\phi}, so we can apply c-cl𝒱\text{c-cl}^{\mathcal{V}} to conclude bϕ𝒱b\in\mathcal{I}^{\mathcal{V}}_{\phi}, as desired. In the interest of defining the second function, we assume a:La:L and b:Bb:B with (b,a)ϕ(b,a)\in\phi and 𝒱Baϕ𝒱\operatorname{\downarrow^{B}_{\mathcal{V}}}a\subseteq\mathcal{I}^{\mathcal{V}}_{\phi}. By ϕ\phi-boundedness there exists i:Ii:I such that s:α(i)Bas:\alpha(i)\twoheadrightarrow\operatorname{\downarrow^{B}}a. By Definition˜4.4 and Proposition˜4.8 we have

a=Ba=α(i).a=\bigvee\operatorname{\downarrow^{B}}a=\bigvee\alpha(i).

Thus, we conclude (b,α(i))ϕ(b,\bigvee\alpha(i))\in\phi and 𝒱Bα(i)ϕ𝒱\operatorname{\downarrow^{B}_{\mathcal{V}}}\bigvee\alpha(i)\subseteq\mathcal{I}^{\mathcal{V}}_{\phi}. Now, by the equivalence we have (b,α(i))𝒱ϕ(b,\bigvee\alpha(i))^{\mathcal{V}}\in\phi so we can apply ϕ\phi-clV to conclude bϕ𝒱b\in\mathcal{I}^{\mathcal{V}}_{\phi}, as desired.

For the latter, we will apply 𝒱\mathcal{I}^{\mathcal{V}}-initial to ϕ\mathcal{I}_{\phi} as well as two functions

j:JY(j)ϕRjϕ\prod_{j:J}Y(j)\subseteq\mathcal{I}_{\phi}\to R_{j}\subseteq\mathcal{I}_{\phi}

and

b:Bi:Im:α(i)B(b,α(i))𝒱ϕ𝒱Bα(i)ϕbϕ.\prod_{b:B}\prod_{i:I}\prod_{m:\alpha(i)\to B}(b,\bigvee\alpha(i))^{\mathcal{V}}\in\phi\to\operatorname{\downarrow^{B}_{\mathcal{V}}}\bigvee\alpha(i)\subseteq\mathcal{I}_{\phi}\to b\in\mathcal{I}_{\phi}.

In the interest of defining the first function, we assume j:Jj:J with Y(j)ϕY(j)\subseteq\mathcal{I}_{\phi} as well as b:Bb:B with (b,Y(j))R(b,Y(j))\in R. Of course, Y(j)Y(j)Y(j)\subseteq Y(j) so by 𝒱\mathcal{V}-presentation we have bBY(j)b\leq^{B}\bigvee Y(j). Thus, by c-cl we conclude bϕb\in\mathcal{I}_{\phi}, as desired. In the interest of defining the second function, we assume b:Bb:B, i:Ii:I and m:α(i)Bm:\alpha(i)\to B with (b,α(i))𝒱ϕ(b,\bigvee\alpha(i))^{\mathcal{V}}\in\phi and 𝒱Bα(i)ϕ\operatorname{\downarrow^{B}_{\mathcal{V}}}\bigvee\alpha(i)\subseteq\mathcal{I}_{\phi}. Of course, α(i):L\bigvee\alpha(i):L and (b,α(i))ϕ(b,\bigvee\alpha(i))\in\phi so we immediately conclude by ϕ\phi-cl that bϕb\in\mathcal{I}_{\phi}, as desired. This completes the proof. ∎

As a corollary to the above proposition we get a predicative version of Tarski’s Least Fixed Point Theorem.

Corollary 10.2.1.

Let LL be a 𝒱\mathcal{V}-presented sup lattice and f:LLf:L\to L a monotone endomap. If ff is bounded (see Definition˜8.7), then ff has a least fixed point.

Proof.

By Proposition˜10.2 we have that bϕb\in\mathcal{I}_{\phi} is 𝒱\mathcal{V}-small for all b:Bb:B. Now applying Proposition˜7.4 we conclude that Γϕ\Gamma_{\phi}, and by extension ff, has a least fixed point. ∎

Inspired by Example˜8.6 we will now investigate a condition that guarantees a monotone map is bounded with respect to a generator. This will allow us to give another version of the least fixed point theorem.

Definition 10.3.

Let LL be a 𝒱\mathcal{V}-generated sup lattice. We say a monotone map f:LLf:L\to L is dense if there is a family γ:VL\gamma:V\to L with V:𝒱V:\mathcal{V} such that for all b:Bb:B and a:La:L

bBf(a)v:V,bBf(γ(v))γ(v)a.b\leq^{B}f(a)\to\exists v:V,b\leq^{B}f(\gamma(v))\land\gamma(v)\leq a.

We call γ\gamma the dense family.

Remark 5.

The reader may be asking themselves why we introduced the dense family γ:VL\gamma:V\to L when we already have a basis family. Recall, that many concrete examples of 𝒱\mathcal{V}-generated sup lattice have multiple different possible bases — some of which are more natural than others. For example, the canonical basis for the powerset is the singleton basis. Notice for a monotone map f:𝒫𝒱(A)𝒫𝒱(A)f:\mathcal{P}_{\mathcal{V}}(A)\to\mathcal{P}_{\mathcal{V}}(A), where AA is a set, if we use the singleton basis as the dense family then ff is dense if for any a:Aa:A and S:𝒫𝒱(A)S:\mathcal{P}_{\mathcal{V}}(A)

af(S)x:A,af({x})xS.a\in f(S)\to\exists x:A,a\in f(\{x\})\land x\in S.

Notice this implies that f()=f(\emptyset)=\emptyset, since af()a\in f(\emptyset)\to\bot. Hence if ff is dense with respect to the singleton basis then ff has a trivial least fixed point and as such is not very insightful.

Alternatively, there is another basis β:List(A)𝒫𝒱(A)\beta:\text{List}(A)\to\mathcal{P}_{\mathcal{V}}(A), the finite subset basis (see Example˜4.5). Notice when we allow β\beta to be the dense family, then ff is dense if for any b:Bb:B and S:𝒫𝒱(A)S:\mathcal{P}_{\mathcal{V}}(A)

bf(S)l:List(A),bf(β(l))β(l)S.b\in f(S)\to\exists l:\text{List}(A),b\in f(\beta(l))\land\beta(l)\subseteq S.

Interestingly, density with respect to List(A)\text{List}(A) is equivalent to Scott continuity, which says f(α)=fαf(\bigcup\alpha)=\bigcup f\circ\alpha, where α\alpha is a directed family (see [Jon23, Section 3.3]).

Finally, note that there may be other families, unrelated to the basis, that provide even more interesting density conditions. For these reasons we leave the choice of basis and dense family independent.

In light of Remark˜5 the reader may be curious about the strength of density as an assumption. The next example will showcase that density, in the case of the sup lattice 𝒫𝒱(A)\mathcal{P}_{\mathcal{V}}(A), where A:𝒱A:\mathcal{V} is a set, is a strictly weaker assumption than Scott continuity.

Example 10.4.

For the purpose of this example we say a set is countable if it is equipped with an enumeration. Analogous to the equivalence of Scott continuity and density with respect to List(A)\text{List}(A) (see Remark˜5) we can show that density with respect to countable subsets of AA is equivalent to continuity of countably directed families. The precise definition of the dense family γ:(A+1)𝒫𝒱(A)\gamma:(\mathbb{N}\to A+1)\to\mathcal{P}_{\mathcal{V}}(A) is given by

z{_}¯zz\mapsto\bigcup\bar{\{\_\}}\circ z

where {_}¯:A+1𝒫𝒱(A)\bar{\{\_\}}:A+1\to\mathcal{P}_{\mathcal{V}}(A) via a{a}a\mapsto\{a\} or \star\mapsto\emptyset.

Let f:𝒫𝒱(A)𝒫𝒱(A)f:\mathcal{P}_{\mathcal{V}}(A)\to\mathcal{P}_{\mathcal{V}}(A) be dense with respect to γ\gamma and α:I𝒫𝒱(A)\alpha:I\to\mathcal{P}_{\mathcal{V}}(A) be a countably directed family. Using monotonicity it is routine to argue that fαf(α)\bigcup f\circ\alpha\subseteq f(\bigcup\alpha). To show the other containment we suppose xf(α)x\in f(\bigcup\alpha) and notice by density

z:A+1,xf(γ(z))γ(z)α.\exists z:\mathbb{N}\to A+1,x\in f(\gamma(z))\land\gamma(z)\subseteq\bigcup\alpha.

Since γ(z)\gamma(z) is countable we can apply the countable directedness of α\alpha to conclude i:I,γ(z)α(i)\exists i:I,\gamma(z)\subseteq\alpha(i), which in turn would yield

i:I,xf(α(i))\exists i:I,x\in f(\alpha(i))

so we conclude that xfαx\in\bigcup f\circ\alpha. Conversely, suppose ff preserves countably directed unions and let x:Ax:A and S:𝒫𝒱(A)S:\mathcal{P}_{\mathcal{V}}(A) with xf(S)x\in f(S). Now, we can define s:(𝕋(S)+1)𝒫𝒱(A)s:(\mathbb{N}\to\mathbb{T}(S)+1)\to\mathcal{P}_{\mathcal{V}}(A) as follows

z{_}¯zz\mapsto\bigcup\bar{\{\_\}}\circ z

which is the family of countable subsets of SS. This family ss is countably directed (here we make essential use of the fact that countable sets come equipped with enumerations to show that the countable union of countable sets is countable) and S=sS=\bigcup s. By assumption of preservation of countably directed unions we have xfsx\in\bigcup f\circ s. Thus, there is z:𝕋(S)+1z^{\prime}:\mathbb{N}\to\mathbb{T}(S)+1 such that xf(s(z))x\in f(s(z^{\prime})) and s(z)Ss(z^{\prime})\subseteq S. We can convert zz^{\prime} to a z:A+1z:\mathbb{N}\to A+1 such that s(z)=γ(z)s(z^{\prime})=\gamma(z). Hence,

z:A+1,xf(γ(z))γ(z)S\exists z:\mathbb{N}\to A+1,x\in f(\gamma(z))\land\gamma(z)\subseteq S

ff is dense with respect to γ\gamma.

In light of Example˜10.4, since preservation of countably directed families is strictly weaker than Scott continuity (?), we see that density is strictly weaker than Scott continuity. We now state our final result which shows that any dense monotone map is bounded and as a result has a least fixed point.

Proposition 10.5.

Let LL be a 𝒱\mathcal{V}-presented and locally 𝒱\mathcal{V}-small sup lattice and f:LLf:L\to L a monotone map. If ff is dense, then ff is bounded.

Proof.

We start by constructing a bounded generator and then we show it induces ff. Define ϕ:𝒫𝒰𝒱+(B×L)\phi:\mathcal{P}_{\mathcal{U\sqcup V^{+}}}(B\times L) by (b,a)ϕ:v:V,bBf(a)a=γ(v)(b,a)\in\phi:\equiv\exists v:V,b\leq^{B}f(a)\land a=\gamma(v). Clearly, (b,a)ϕ(b,a)\in\phi is 𝒱\mathcal{V}-small since LL is locally 𝒱\mathcal{V}-small. Notice that α:V𝒱\alpha:V\to\mathcal{V} defined by α(x):𝒱Bγ(x)\alpha(x):\equiv\operatorname{\downarrow^{B}_{\mathcal{V}}}\gamma(x) is a bound. To see this, consider any b:Bb:B and a:La:L. If v:V,bBf(a)a=γ(v)\exists v:V,b\leq^{B}f(a)\land a=\gamma(v) then v:V,𝒱Bγ(v)Ba\exists v:V,\operatorname{\downarrow^{B}_{\mathcal{V}}}\gamma(v)\simeq\operatorname{\downarrow^{B}}a and this can be demoted to a surjection 𝒱Bγ(v)Ba\operatorname{\downarrow^{B}_{\mathcal{V}}}\gamma(v)\twoheadrightarrow\operatorname{\downarrow^{B}}a. Finally, notice that

Sϕ,a\displaystyle S_{\phi,a} b:Ba:L,v:V,bBf(a)a=γ(v)aa\displaystyle\equiv\sum_{b:B}\exists a^{\prime}:L,\exists v:V,b\leq^{B}f(a^{\prime})\land a^{\prime}=\gamma(v)\land a^{\prime}\leq a
b:Bv:V,bBf(γ(v))γ(v)a\displaystyle\simeq\sum_{b:B}\exists v:V,b\leq^{B}f(\gamma(v))\land\gamma(v)\leq a
b:BbBf(a)\displaystyle\simeq\sum_{b:B}b\leq^{B}f(a)
𝒱Bf(a)\displaystyle\equiv\downarrow^{B}_{\mathcal{V}}f(a)

where the last equivalence only holds since ff is dense. Thus,

Γϕ(a)=Sϕ,a=𝒱Bf(a)=f(a)\Gamma_{\phi}(a)=\bigvee S_{\phi,a}=\bigvee\operatorname{\downarrow^{B}_{\mathcal{V}}}f(a)=f(a)

which shows that ff is bounded. ∎

Corollary 10.5.1.

Let LL be a 𝒱\mathcal{V}-presented and locally 𝒱\mathcal{V}-small sup lattice and f:LLf:L\to L a monotone map. If ff is dense, then ff has a least fixed point.

Proof.

By Proposition˜10.5 we have that ff is bounded, so by Corollary˜10.2.1 we conclude that ff has a least fixed point. ∎

11 Conclusion

We have successfully translated a constructive and predicative version of the least fixed point theorem into type theory. It is apparent that inductive types, particularly quotient inductive types (QITs), played a crucial role in our development. Essentially, we are skirting the constructions of subsets that are initial with respect to certain closure properties. It is worth noting that QITs, and more generally higher inductive types (HITs), are recent developments and an area of active research. Nonetheless, they are often viewed as fitting with in the philosophical framework of (generalised) predicativity as a reasonable extension of inductive constructions. For this reason one may argue that QITs are constructively and predicatively admissible and as such this work provides a step towards the \saysystem independent derivation that Giovanni Curi called for in the conclusion of [Cur15].

There are many avenues of future research. One obvious question is can we completely salvage a predicative version of Tarski’s fixed point theorem? Tarski’s fixed point theorem states that the collection of fixed points of a monotone map forms a complete lattice. To achieve such a result we need to also construct a greatest fixed point. In fact, Curi has already done this in [Cur18]. The approach dualizes the present work by considering coinductive definitions. We intend to explore how this idea translates into type theory via coinductive types. Following this, we would like to explore if the resulting complete lattice is itself small generated and small presented.

Avenues of further inquiry more directly related to the present work would be to determine how common 𝒱\mathcal{V}-presented sup lattices and bounded maps really are. In light of Example˜8.6 it seems difficult to come up with interesting examples that satisfy the hypothesis of Corollary˜10.2.1. In the interest of showing the non-triviality of the result, we intend to explore and find some interesting examples and applications. Inspired by Proposition˜10.5, we intend to investigate a streamlined approach to cooking up (bounded) generators that yield functions of interest. Lastly, we would like to apply the results of this note to other complete poset structures such frames, DCPOs, etc. If variations of this result hold for such structures we may find applications in the areas of Formal Topology and Domain Theory. There are two particularly promising directions to explore. The first is to give a predicative version of a result from locale theory: the nucleus of a frame has a least fixed point [Joh82, Section II.2]. The other would be to investigate a predicative version of Pataria’s fixed point theorem [Esc03], which is essentially Tarski’s fixed point theorem for DCPOs.

References