Metrization of Quasi-Uniformities, Powerset Monads, and Qualitative Robustness Analysis
Francesco Dagnino, Amin Farjudian, Eugenio Moggi
Abstract
We study the relationship between quasi-uniform spaces, topological spaces, and quantale-valued metric spaces. Our main result is a metrization theorem establishing an equivalence between the category of quasi-uniform spaces and a category of quantale-valued metric spaces. We also obtain a quantale-based metrization theorem for arbitrary topological spaces that refines existing constructions. These results identify quasi-uniformities as the appropriate qualitative counterpart of quantale-valued metrics. Building on this correspondence, we show that the Hausdorff-Smyth monad on quantale-valued metric spaces, which is used in quantitative robustness analysis, arises as a lifting of a corresponding monad on quasi-uniform spaces along the equivalence. This provides a unified categorical framework connecting topology, quasi-uniformity, and quantitative robustness analysis.
Notions of metric (or distance) and continuity are fundamental in quantitative analysis, including robustness analysis. The setting of classical metric spaces can be too restrictive, because many topological spaces of practical importance are not metrizable. As a result, various generalizations of classical metric spaces have been proposed to enable quantitative analysis on spaces that are not classically metrizable [HNV03, Chapter E]. One such generalization is provided by quantale-valued metric spaces [Fla97; CW21; DFM25], whereby some axioms of the classical metrics have been relaxed (e.g., symmetry is not required) and metrics take values in (continuous) quantales, which include the quantale of the extended non-negative real numbers (Definition 2.19).
One of the main motivations for this paper comes from robustness analysis, which studies how (mathematical models of) systems react to perturbations [Mog+18; FM23; DFM25]. Metrics provide a natural mechanism for measuring perturbations, and as a result, common approaches to robustness analysis rely on a metric structure. In particular we identify robust analyses with continuous maps between certain hyperspaces, namely topological spaces on subsets of a powerset P(X). The hypertopologies relevant for robust analyses, called robust topologies, are determined by metrics on the set X. In general, topologically equivalent metrics on X (i.e., those generating the same open ball topology on X) may determine different robust topologies on P(X). Only in special cases (e.g., when the metric space X is compact) the robust topology depends only on the open ball topology generated by the metric on X, and is related to known topologies, namely the Scott topology and the upper Vietories topology [Mog+18, Theorem A.4]. Therefore, replacing quantale-valued metric spaces with topological spaces is not a viable option for a qualitative robustness analysis.
In [DFM25, Theorem 6.9], we show that the robust topology on P(X), determined by a continuous quantale-valued metric on X, is the open ball topology for a continuous quantale-valued metric on P(X), called the Hausdorff-Smyth metric. Moreover, this construction on metrics extends to a monad, called the Hausdorff-Smyth monad, on the category of continuous quantale-valued metric spaces and uniformly continuous maps.
In this paper we show that the category of quasi-uniform spaces and quasi-uniformly continuous maps [FL82] provides the correct qualitative framework for robustness analysis, whereby continuous quantale-valued metrics are replaced with structures (called quasi-uniformities) of binary relations (called entourages), see Definition 3.1. These structures retain enough information to reason about uniform continuity (and continuity).
More generally, we investigate the relationship between the qualitative and quantitative perspectives. In order to make these concepts precise, we work within the framework of topological functors (see Definition 2.1), identifying as qualitative those having certain strictness properties (see Remark 4.1). Our starting point is the observation that continuous quantale-valued metric spaces induce both a topology and a quasi-uniformity (Definition 4.2), yielding a network of forgetful functors between several categories, as depicted in Diagram (3).
†School of Mathematics, University of Birmingham, United Kingdom, Email: A.Farjudian@bham.ac.uk, ORCID: 0000-0002-1879-0763,
‡DIBRIS, University of Genoa, Italy, Email:moggi@unige.it, ORCID: 0000-0001-8018-6543
While the passage from metrics to quasi-uniformities and topologies is straightforward, the converse direction—the reconstruction of a metric-like structure from qualitative data—is more subtle, and amounts to proving that certain forgetful functors are equivalences. Finally, Theorem 5.10, which states that the Hausdorff-Smyth monad on metric spaces is a lifting of one of three Hausdorff-like monads on quasi-uniform spaces, shows that quasi-uniformities are suitable for robustness analysis.
Contributions. The main contribution of this paper is to establish (at a category-theoretic level) connections between the qualitative frameworks of topological spaces and quasi-uniform spaces on the one hand, and the quantitative framework of continuous quantale-valued metric spaces on the other hand. This shows that, in the context of robustness analysis, quasi-uniform spaces provide the right qualitative abstraction over metric spaces, and continuous quantale-valued metric spaces provide a quantitative realization. In more details, our contributions are as follows:
Relationship between topological and quasi-uniform spaces: We show that the category of topological spaces is a coreflective subcategory of the category of quasi-uniform spaces (Theorem 3.14). In particular, each quasi-uniformity on X induces a topology on X and, for every topology τ on X, there exists the largest quasi-uniformity whose induced topology coincides with τ.
Metrization of quasi-uniform spaces: Our central result (Theorem 4.20) shows that the category of quasi-uniform spaces is equivalent to a category of quantale-valued metric spaces and uniformly continuous maps. This is achieved by constructing, from a base for a quasi-uniformity (Definition 3.2), a prime-continuous quantale (Definition 2.11) via a rounded-lowerset construction (Section 4.1).
Metrization of topologies via quantales: We give a construction showing that the category of topological spaces is equivalent to a category of quantale-valued metric spaces and continuous maps (Theorem 4.21). This refines known results (e.g., [Fla97]) by producing smaller and more manageable quantales.
Powerset-like monads: Building on the above equivalences, in Section 5, we give three liftings of the powerset monad on the category of sets along the topological functor from the category of quasi-uniform spaces (and, thus, from the equivalent category of metric spaces) into the category of sets. This provides a unified categorical account of Hausdorff-type constructions in both quasi-uniform and metric settings.
1.1 Structure of the Paper
After reviewing the necessary categorical, order-theoretic, and metric preliminaries in Section 2, we introduce quasi-uniform spaces and their relation to topological spaces in Section 3. Section 4 includes the metrization results, showing that quasi-uniform spaces and topological spaces can be metrized by continuous quantale-valued metrics. Section 5 applies these results to powerset constructions and Hausdorff-type monads, culminating in the connection with the Hausdorff-Smyth monad used in robustness analysis. Finally, Section 6 contains some concluding remarks.
2 Preliminaries
We write P(X) for the set of subsets of X, Pf(X) for the set of finite subsets of X, and A⊆fA′ when A is a finite subset of A′. We denote by ω the set of natural numbers, and identify a natural number n∈ω with the set of its predecessors.
We assume basic familiarity with Category Theory [Bor94a]. We write Set for the category of sets and (total) maps, Po for the category of preorders and monotone maps, and Top for the category of topological spaces and continuous maps. We use the symbol ‘∈’ for set membership (e.g., x∈X), but we use ‘∵’ for membership of function types (e.g., f:X→Y) and to denote objects and arrows in categories (e.g., X:Top and f:Top(X,Y)). We write (ai∈Ai∣i∈I) for an I-indexed family of elements, i.e., an element in the product ∏i∈IAi, or simply (ai∣i∈I) when the I-indexed family of sets (Ai∣i∈I) is clear from the context.
2.1 Topological Functors
Most of the categories we consider in this paper have a topological functor into Set. We recall the definition of topological functor and some of their properties (e.g., see [Bor94b, Sec 7.3]).
Definition 2.1 (Topological Functor). A functor U:A→B is called topological △ for every B:B and class I, if (Ai∣i∈I) is a family of objects in A and (fi:B→U(Ai)∣i∈I) is a family of arrows in B (called I-cone from B in B), then there exist A:A and a family (gi:A→Ai∣i∈I) of arrows in A (i.e., an I-cone from A in A) such that
• U(A)=B and ∀i∈I. U(gi)=fi
if (gi′:A′→Ai∣i∈I) is an I-cone from A′ in A such that ∀i∈I. U(gi′)=fi∘f for some f:U(A′)→B in B, then there exists a unique g:A′→A in A such that U(g)=f and ∀i∈I. gi′=gi∘g.
The pair (A,(gi:A→Ai∣i∈I)) is called an initial structure for (B,(Ai∣i∈I),(fi:B→U(Ai)∣i∈I)). The topological functor U is called
• strict when every (B,(Ai∣i∈I),(fi:B→U(Ai)∣i∈I)) has a unique initial structure,
• small when for every B∈B the class (A∈A∣U(A)=B) is a set.
The most relevant properties of topological functors are summarized in the following proposition.
Proposition 2.2. If U:A→B is a topological functor, then:
Uop:Aop→Bop is a topological functor too.
U is faithful, surjective on objects, and creates limits and colimits.
U has full Efaithful left- and right-adjoints, denoted L and R, respectively. Moreover, they can be chosen to be sections, i.e., U∘L=U∘R=idB.
For every B∈B the fiber AB, i.e., the sub-category of A whose arrows are the g such that U(g)=idB, is a complete preorder, i.e., it has all joins (including large ones).
If U is also strict, then the fibers are posets.
If U is also small, then the fibers are small.
Example 2.3. The forgetful functors U:Top→Set and U:Po→Set, namely U(X,τ)=U(X,⊑)≜X and U(f)=f (i.e., on arrows they are hom-sets inclusion), are examples of strict and small topological functors. The restriction of these functors to the full sub-categories Top0 of T0-topological spaces and Po0 of posets are not topological, because they do not have right-adjoints.
2.2 Preorders, Lattices, and Quantales
Given a preorder (X,⊑) its dual is (X,⊑o), where x⊑oy⟺y⊑x. The definition of dual applies to any binary relation on X (see Section 2.4). The dual induces an involution on Po, i.e., an endofunctor −o:Po⟶Po which is its own inverse, whose action on arrows is fo=f.
Definition 2.4. Given a preorder (X,⊑) and a subset A⊆X, we say that:
• A is an upperset ⟺∀x∈A.∀y∈X. x⊑y⟹y∈A.
• A is filtered ⟺A is non-empty and ∀x,y∈A.∃z∈A.z⊑x,y.
A lowerset and a directed subset in (X,⊑) are defined as an upperset and a filtered subset in the dual (X,⊑o).
Definition 2.5. A complete lattice (Q,⊑) is a poset in which every subset A⊆Q has a join ⨆A (and as a consequence, also a meet ⋂A). A quantale (Q,⊑,⊗,u) is a monoid (Q,⊗,u) on a complete lattice (Q,⊑) satisfying the following distributivity law:
∀A,B⊆Q.(⨆A)⊗(⨆B)=⨆{x⊗y∣x∈A∧y∈B}.
Given a quantale (Q,⊑,⊗,u), its dual is the quantale (Q,⊑,⊗o,u), where x⊗oy≜y⊗x.
If (Q,⊑) is a complete lattice, then so is (Q,⊑o). This is false for quantales, i.e., if (Q,⊑,⊗,u) is a quantale, then (Q,⊑o,⊗,u) fails to satisfy distributivity (unless Q is trivial). However, on the wider class of preordered monoids (i.e., monoids in Po), both (Q,⊑,⊗,u) and (Q,⊑,⊗o,u) are preordered monoids.
Definition 2.6. Given two quantales (more generally, two preordered monoids) (Q,⊑,⊗,u) and (Q′,⊑′,⊗′,u′), a monotone map f:(Q,⊑)→(Q′,⊑′) is
• lax-monoidal ⟺u′⊑′f(u) and ∀q0,q1∈Q,f(q0)⊗′f(q1)⊑′f(q0⊗q1)
• strict-monoidal ⟺u′=f(u) and ∀q0,q1∈Q,f(q0)⊗′f(q1)=f(q0⊗q1).
The map (Q,⊑,⊗,u)↦(Q,⊑,⊗o,u) on preordered monoids extends to an involution on the category of preordered monoids and lax-monoidal maps, and restricts to an involution on the sub-category of preordered monoids and strict monoidal maps. The map (Q,⊑,⊗,u)↦(Q,⊑o,⊗,u) on preordered monoids extends to an involution only on the sub-category of preordered monoids and strict monoidal maps.
The following result identifies inequalities preserved by lax-monoidal maps (between preordered monoids).
Proposition 2.7. If a map f:(Q,⊑,⊗,u)→(Q′,⊑′,⊗′,u′) is lax-monoidal, then
(⊗i∈nqi)⊑q⟹(⊗i∈n′f(qi))⊑′f(q),
where (⊗i∈0qi)≜u and (⊗i∈(n+1)qi)≜(⊗i∈nqi)⊗qn. Moreover, we write qn for (⊗i∈nq).
Proof. We prove by induction on n that (⊗i∈n′f(qi))⊆′f(⊗i∈nqi). For the base case 0 we have u′⊆′f(u), because f is lax-monoidal. For the inductive step n+1 we have:
• (⊗i∈(n+1)′f(qi))=by definition
• (⊗i∈n′f(qi))⊗′f(qn)⊆′ by the induction hypothesis and monotonicity of ⊗′
• f(⊗i∈nqi)⊗′f(qn)⊆′ by f lax-monoidal
• f(⊗i∈(n+1)qi).
Therefore, by (⊗i∈nqi)⊆q and monotonicity of f, we get (⊗i∈n′f(qi))⊆′f(⊗i∈nqi)⊆′f(q).
Strict-monoidal maps preserve a wider class of inequalities, namely (⊗i∈mqi)⊆(⊗j∈nqj′). However, most of the maps we consider are only lax-monoidal.
Definition 2.8. Given two complete lattices (Q,⊑) and (Q′,⊑′) and a monotone map f:Q→Q′, we say that:
• f is Scott continuous ⟺⊔f(D)=f(⊔D), for every directed D⊆Q.
• f is join-preserving ⟺⊔f(D)=f(⊔D), for every D⊆Q.
The category Po is a cartesian closed category (CCC), and restricting to complete lattices (and monotonic maps) yields a full sub-CCC. However, a more interesting CCC is the category CL of complete lattices and Scott continuous maps. We focus on the full sub-CCC of CL consisting of continuous lattices (see [AJ94; Gie+03; GL13]) and on continuous quantales (see [DFM25, Sec 3.1]).
Definition 2.9. Given a complete lattice (Q,⊑) and x,y∈Q, we say that:
x is way-belowy (notation x≪y) ⟺y⊑⊔D⟹∃d∈D.x⊑d, for every directed D⊆Q.
x is totally-below y (notation x≪y) ⟺y⊑⊔D⟹∃d∈D.x⊑d, for every D⊆Q.
We write ↓y and ↓y to denote the sets {x∈Q∣x≪y} and {x∈Q∣x≪y}, respectively.
The relations ≪ and ≪ have the following properties:
Proposition 2.10. Given a complete lattice (Q,⊑) and x,x0,x1∈Q, one has:
x0≪x1⟹x0≪x1⟹x0⊑x1.
x0′⊆x0≪x1⊆x1′⟹x0′≪x1′.
x0′⊆x0≪x1⊆x1′⟹x0′≪x1′.
⊥≪x and ↓x is directed. More precisely, x0,x1≪x⟹x0⊔x1≪x.
Definition 2.11. Given a complete lattice (Q,⊑) or a quantale (Q,⊑,⊗,u), we say that:
Q is continuous ⇔∀y∈Q.y=⊔↓y.
B⊆Q is a base for Q⟺∀y∈Q.↓By is directed and y=⊔↓By, where ↓By≜{x∈B∣x≪y}.
Q is prime-continuous ⇔∀y∈Q.y=⊔↓y.
B⊆Q is a prime-base for Q⟺∀y∈Q.y=⊔↓By, where ↓By≜{x∈B∣x≪y}.
A fundamental feature of the way-below and totally-below relations is the interpolation property:
If B is a base for the continuous lattice Q, then q1≪q2⟹∃q∈B.q1≪q≪q2.
If B is a prime-base for the prime-continuous lattice Q, then q1≪q2⟹∃q∈B.q1≪q≪q2.
The interpolation property for continuous lattices given above is equivalent to that for continuous domains given in [AJ94, Lemma 2.2.15], because in a continuous lattice (∀q′∈A.q′≪q)⟺(⊔A)≪q for every A⊆fQ, while in a domain the finite join ⊔A may not exists.
Proposition 2.13 ([DFM25, Lemma 3.19]).
If B is a base for the quantale Q, then q≪q1⊗q2⟹∃q′∈B.q′≪q2∧q≪q1⊗q′.
If B is a prime-base for the quantale Q, then q≪q1⊗q2⟹∃q′∈B.q′≪q2∧q≪q1⊗q′.
Both claims hold also when ⊗ is replaced by its dual ⊗o.
The following result relates bases and prime-bases.
Proposition 2.14. If P is a prime-base and B is a base for a prime-continuous lattice (Q,⊑), then
B is a prime-base for Q
P⊔ is a base for Q, where P⊔ is the closure of P under finite joins computed in Q.
Proof. For the first claim, we prove ∀y∈Q.y=⊔{b∈B∣b≪y}. Let S≜{b∈B∣∃x∈Q.b≪x≪y}, then ⊔S=⊔x≪y(⊔↓Bx)=⊔x≪yx=y=⊔↓By. But S⊆{b∈B∣b≪y}⊆↓By, thus y=⊔{b∈B∣b≪y}.
For the second claim, we prove ∀y∈Q.↓P⊔y is directed and y=⊔↓P⊔y. The set ↓P⊔y is directed because P⊔ is closed under finite joins. Let S≜{p∈P∣p≪y}. Then, ⊔S=y=⊔↓y. But S⊆↓P⊔y⊆↓y, thus y=↓P⊔y. □
Example 2.15. The following examples demonstrate proper inclusion between some lattice-related concepts:
The diamond lattice M3≜{⊥,x,y,z,⊤} with ⊥<x,y,z<⊤ is a continuous lattice, but not prime-continuous, because it is not distributive.
The poset O(Q) of open subsets of the rational numbers (with the Euclidean topology) ordered by inclusion is a locale, but not a continuous lattice, because Q is not locally compact.
Recall that an open set W is said to be regular if it is the interior of its closure, i.e., W=int(W). The poset RO([0,1]) of the regular open subsets of the unit interval ordered by inclusion is a complete boolean algebra, thus a quantale, which is continuous, but not prime-continuous.
Products of (prime-)continuous lattices are (prime-)continuous; the complete lattice of Scott continuous maps between (prime-)continuous lattices is (prime-)continuous. Thus (prime-)continuous lattices form full sub-CCCs of the category CL of complete lattices and Scott continuous maps. It is well-known that continuous domains coincide with the Scott continuous retracts of algebraic domain [Joh86, Ch VII, Sec 2.3]. When domains are replaced by complete lattices, a stronger result holds, namely continuous lattices coincide with the Scott continuous retracts of prime-algebraic lattices.
Proposition 2.16. In the category CL of complete lattices and Scott continuous maps, every continuous lattice is a retract of a prime-algebraic lattice.
Proof. If B is a base for the continuous lattice (X,⊑) and Idl(B,⊑) denotes the ideal completion of the join-semilattice (B,⊑), then ↓B:(X,⊑)→Idl(B,⊑) has a right-adjoint R(I)≜⊔I in CL (see also [AJ94, Proposition 3.1.6]). The inclusion Idl(B,⊑)→P(∣B∣) has a left-adjoint in CL, namely, L(A)≜ the ideal in (B,⊑) generated by A. Hence, (X,⊑) is a retract of the prime-algebraic lattice P(∣B∣). □
2.3 Topologies and Metric Spaces
Definition 2.17. Given a topological space (X,τ) and a set B⊆τ of its open subsets, we say that:
• B is a base for τ⟺ every open set in τ is the union of a family of open sets in B.
B is a sub-base for τ⟺τ is the smallest topology generated by (i.e., containing) B, or equivalently, the closure of B under finite intersections is a base for τ.
Given A⊆X, we write intτ(A) for the interior of A, i.e., the biggest O∈τ contained in A, and omit the subscript τ when the topology is clear from the context.
The specialization preorder ≤τ on X induced by τ is x≤τy⟺∀O∈B.x∈O⟹y∈O, where B is any sub-base for τ.
Remark 2.18. In Definition 2.17, the preorder ≤τ does not depend on the choice of sub-base B. In fact, x≤τy⟺x∈{y}.
Diagram (1) below describes the relations between Top, Po and Set, where:
• U:Top→Set and U:Po→Set are the topological functors defined in Example 2.3.
• P:Top→Po is the functor defined by P(X,τ)≜(X,≤τ) and on arrows is hom-sets inclusion.
LP:Po→Top is the functor defined by LP(X,≤)≜(X,τ≤), where τ≤ is the set of uppersets in (X,≤) (also known as the Alexandroff topology), and on arrows is hom-sets inclusion.
(1)
The functor P is faithful and LP is a left-adjoint to P and also a P-section (i.e., P∘LP=idP0). Since LP is full&faithful, it follows that P0 is (isomorphic to) a coreflective sub-category of Top. The functor P does not have a right-adjoint. Therefore, it is not topological.
We recall the definition of a quantale-valued metric space (see [DFM25]), and define the categories Metc and Metu with continuous and uniformly continuous maps, respectively. We do this by mimicking the standard definition of (uniformly) continuous map using epsilon-delta in the context of continuous quantales.
Definition 2.19 (Quantale-valued Metric Space). A quantale-valued metric space is a triple (X,d,Q) consisting of a set X, a continuous quantale (Q,⊑,⊗,u) and a map d:X2→Q, called a metric, such that
∀x∈X.u⊑d(x,x)and∀x,y,z∈Q.d(x,y)⊗d(y,z)⊑d(x,z).
Its dual is the metric space (X,do,Qo), where Qo is the dual of the continuous quantale Q and do(x,y)≜d(y,x). Given two quantale-valued metric spaces (X,d,Q) and (X′,d′,Q′) and a map f:X→X′, we say that:
• f is continuous ⟺∀x∈X.∀ϵ≪′u′.∃δ≪u.∀y∈X.δ≪d(x,y)⟹ϵ≪′d′(f(x),f(y)).
• f is uniformly continuous ⟺∀ϵ≪′u′.∃δ≪u.∀x,y∈X.δ≪d(x,y)⟹ϵ≪′d′(f(x),f(y)).
Metc denotes the category of quantale-valued metric spaces and continuous maps, and Metu denotes the subcategory of quantale-valued metric spaces and uniformly continuous maps.
For every metric space (X,d,Q), it is straightforward to verify that its dual (X,do,Qo) is also a metric space. This dual induces an involution on Metu, but not on Metc.
Proposition 2.20. The dual on metric spaces extends to an involution on Metu such that fo=f.
Proof. Assume that f:Metu((X1,d1,Q1),(X2,d2,Q2)). By definition of uniform continuity, we have:
By the equivalences δ≪1d1o(x,y)⟺δ≪1d1(y,x) and ϵ≪2d2o(f(x),f(y))⟺ϵ≪2d2(f(y),f(x)), we conclude f:Metu((X1,d1o,Q1o),(X2,d2o,Q2o)).
Example 2.21. Consider the metric space M≜([0,1],d,R+), in which:
• R+ is the quantale ([0,+∞],≥,+,0) on the extended non-negative reals [Law73];
• ∀x,y∈[0,1]:d(x,y)≜max(x−y,0).
The function f:M→M such that f(x)=0 if x=0 else 1 is continuous, i.e., f:Metc(M,M), but f=fo is not continuous as a map on Mo=([0,1],do,R+), where do(x,y)=d(y,x). More precisely, f:Mo→Mo is not continuous at x=0. To that end, take ϵ∈(0,1), then for any δ∈(0,1] and y∈(0,δ), we have do(0,y)=d(y,0)=y<δ, but do(f(0),f(y))=d(f(y),f(0))=d(1,0)=1>ϵ.
2.4 Quantales of Binary Relations
In this section, we recall some general facts about binary relations which will be used in subsequent sections.
Proposition 2.22. Given a set X:
The quadruple (P(X2),⊆,⊗,Δ) is a quantale, where R0⊗R1≜{(x,z)∣∃y∈X.(x,y)∈R0∧(y,z)∈R1} is composition of binary relations and Δ≜{(x,x)∣x∈X} is the diagonal relation.
The map −o:P(X2)→P(X2) such that Ro≜{(y,x)∣(x,y)∈R} is the dual of R, is a strict-monoidal isomorphism from (P(X2),⊆,⊗,Δ) to its dual, whose tensor is R0⊗oR1≜R1⊗R0=(R0o⊗R1o), moreover −o preserves joins and meets, i.e., (∪iRi)o=∪iRio and (∩iRi)o=∩iRio.
If all Ri∈P(X2) (for i∈I) have any of the following properties, then so does ∩iRi: reflexivity ( Δ⊆R), symmetry ( Ro⊆R), transitivity ( R2⊆R).
We define several lax-monoidal maps between quantales of binary relations. Therefore, thanks to Proposition 2.7, we get that such maps preserve certain properties of binary relations, such as reflexivity and transitivity.
Proposition 2.23. Given a map f:X→Y, the map f†≜(f×f)−1:P(Y2)→P(X2) is lax-monoidal.
Proof. Since f† is an inverse image map, it is monotone (and preserves unions and intersections). Moreover, it is lax-monoidal because: ∀x∈X.(x,x)∈f†(ΔY)={(x,x′)∣f(x)=f(x′)} and (x0,x1)∈f†(R0)∧(x1,x2)∈f†(R1)⟺(f(x0),f(x1))∈R0∧(f(x1),f(x2))∈R1⟹(f(x0),f(x2))∈(R0⊗YR1)⟹(x0,x2)∈f†(R0⊗YR1).
Proposition 2.24. The map −s:P(X2)→P(P(X)2) such that (A,A′)∈RS⟺A′⊆R(A), where R(A)≜{x′∈X∣∃x∈A.(x,x′)∈R}, is lax-monoidal.
Proof. Monotonicity follows from R⊆R′⟹R(A)⊆R′(A). Moreover, −s is lax-monoidal because: ∀A,A′∈P(X).(A,A′)∈(ΔX)S⟺A′⊆A and (A,A′′)∈RS⊗RS′⟺∃A′.A′⊆R(A)∧A′′⊆R′(A′)⟹A′′⊆R′(R(A))=(R⊗R′)(A).
The lax-homomorphism −s is an example of a lax-homomorphism P(X2)→P(M(X)2) induced by a relator for an endofunctor M on Set (see [Gav19, Definition 19]), in this case M is the covariant powerset functor. Moreover, the following closure properties of lax-homomorphisms between quantales of binary relations should be compared with similar closure properties of relators for an endofunctor in [Gav19, Prop 8].
Proposition 2.25.
If Fi:P(X2)→P(Y2) is lax-monoidal for every i∈I, then so is F(R)≜∩iFi(R).
If F:P(X2)→P(Y2) is lax-monoidal (strict-monoidal), then so is Fo(R)≜F(Ro)o.
Proof. For the first implication, each property of F follows from the corresponding property of Fi for all i∈I:
• R0⊆R1⟹F(R0)⊆F(R1), because R0⊆R1⟹ (by definition of F(R0) and Fi monotone)
∀i.F(R0)⊆Fi(R0)⊆Fi(R1)⟹ (by definition of F(R1))
F(R0)⊆F(R1).
• ΔY⊆F(R), because ΔY⊆F(R)⟺∀i∈I. ΔY⊆Fi(R) by definition of F.
• F(R0)⊗F(R1)⊆F(R0⊗R1), because ∀i∈I. F(R0)⊗F(R1)⊆Fi(R0)⊗Fi(R1)⊆Fi(R0⊗R1) by definition of F, monotonicity of ⊗, and Fi being lax-monoidal. This is equivalent to F(R0)⊗F(R1)⊆F(R0⊗R1), by definition of F.
For the second implication as well, each property of Fo follows from the corresponding property of F:
∙R0⊆R1⟹Fo(R0)⊆Fo(R1),becauseR0⊆R1⟺R0o⊆R1o⟹(by monotonicity ofF)F(R0o)⊆F(R1o)⟺F(R0o)o⊆F(R1o)o.∙ΔY⊆Fo(ΔX),becauseF(ΔXo)o=F(ΔX)oandΔY⊆F(ΔX)⟺ΔY⊆F(ΔX)o.∙Fo(R0)⊗Fo(R1)⊆Fo(R0⊗R1),because∀R0,R1.(R0⊗R1)o=R1o⊗R0oimpliesFo(R0⊗R1)=F(R1o⊗R0o)oandFo(R0)⊗Fo(R1)=F(R0o)o⊗F(R1o)o=(F(R1o)⊗F(Roo))o,thus(F(R1o)⊗F(Roo))o⊆F(R1o⊗R0o)o⟺F(R1o)⊗F(R0o)⊆F(R1o⊗R0o)and the RHS follows from∀R0,R1.F(R0)⊗F(R1)⊆F(R0⊗R1).
In the case of F being strict-monoidal, the proof is obtained by replacing ⊆ with = in the last two items.
3 Quasi-Uniform Spaces
We recall the definition of the category QU of quasi-uniform spaces and quasi-uniformly continuous maps (for more details see [FL82] and [HNV03, Chapter E]). Moreover, we prove that the category of topological spaces and continuous maps is a coreflective subcategory of the category of quasi-uniform spaces and quasi-uniformly continuous maps. The definitions exploit quantales of binary relations and properties of lax-monoidal maps between them (see Section 2.4).
Definition 3.1 (Quasi-Uniform Space). A quasi-uniform space is a pair (X,U) consisting of a set X and a subset U⊆P(X2) (called a quasi-uniformity) of binary relations (called entourages) with the properties:
U is a filter in the complete lattice (P(X2),⊆), i.e.
• X2∈U and ∀R1,R2∈U. R1∩R2∈U, i.e., U is closed under finite intersections.
Identity property, i.e., ∀R∈U.Δ⊆R, where Δ is the diagonal on X.
Composition property, i.e., ∀R∈U.∃R0∈U.R02⊆R.
Given two quasi-uniform spaces (X,U) and (X′,U′), a map f:X→X′ is called quasi-uniformly continuous from (X,U) to (X′,U′) when ∀R′∈U′.f†(R′)∈U, where f† is defined in Proposition 2.23.
We let QU denote the category of quasi-uniform spaces and quasi-uniformly continuous maps.
By analogy with topologies, one can define a notion of base and sub-base for quasi-uniformities.
Definition 3.2 (Base and Sub-base). Given a quasi-uniformity U on X and a subset B⊆U, we say that:
• B is a base for U⟺U is the upperset in P(X2) generated by B, i.e., ∀R∈U.∃R′∈B.R′⊆R.
B is a sub-base for U⟺U is the filter in P(X2) generated by B, or equivalently, the closure of B under finite intersections is a base for U.
The biggest quasi-uniformity on X is the principal filter ↑Δ in P(X2) generated by the diagonal Δ on X, while the smallest quasi-uniformity is the principal filter ↑X2={X2}.
The following result gives an intrinsic characterization of bases for quasi-uniformities on X.
Proposition 3.3 ([FL82, pp. 2]). A non-empty subset B⊆P(X2) is a base for a quasi-uniformity on X⟺
In the rest of this section we relate QU to other categories (Top, Po and Set) by extending Diagram (1). Furthermore, we define an involution on QU, which extends/refines that on Po. In Diagram (2) below:
• The functors U:Top→Set, U:Po→Set, P:Top→Po and LP:Po→Top are those from Diagram (1).
• U:QU→Set is the strict and small topological functor defined in Theorem 3.6.
• T:QU→Top is the faithful functor defined in Proposition 3.7.
• LT:Top→QU is the T-section, which is left-adjoint to T (see Theorem 3.14)
−o: QU→QU is the involution defined in Proposition 3.7, and its relations with the involution on Po follow from Proposition 3.15 and 3.16.
To prove that the functor U:QU→Set is topological, we first establish some properties of its fibers, where the fiber QUX is isomorphic to the poset of quasi-uniformities on X ordered by the superset relation.
Proposition 3.4. Let QUX be the poset of quasi-uniformities on X ordered by U⊆V⟺U⊇V, then:
QUX is a complete lattice, and the meet ⋂i∈IUi is the quasi-uniformity generated by the sub-base ⋃i∈IUi.
If f:Set(X,X′), then the map QUf:QUX′→QUX, sending a quasi-uniformity U′ on X′ to the upperset in P(X2) generated by {f†(R′)∣R′∈U′}, is meet preserving.
If f:Set(X,X′),U∈QUX, and U′∈QUX′, then f:QU((X,U),(X′,U′))⟺U⊆QUf(U′).
Proof. We prove that the meet ⋂i∈IUi is the filter U in P(X2) generated by B≜⋃i∈IUi, i.e., B is a sub-base for U. First, we prove that U∈QUX. By definition, U is a filter. The identity property ∀R∈U.Δ⊆R hold, because ∀R∈B.Δ⊆R. For the composition property, consider R′∈U:
• by definition of U, we have ⋂i∈I0Ri′⊆R′ for some I0⊆fI and I0-indexed family (Ri′∈Ui∣i∈I0);
• by the composition property of Ui, for each i∈I0 there exists an Ri∈Ui such that Ri2⊆Ri′;
• let R≜⋂i∈I0Ri∈U, then R2⊆⋂i∈I0Ri2⊆⋂i∈I0Ri′⊆R′.
Finally, to prove that U is the meet ⋂i∈IUi, it suffices to observe that for every U′∈QUX we have the following chain of equivalences: U⊆U′⟺B⊆U′⟺∀i∈IUi⊆U′.
The map QUf is well-defined and monotone, because f† is lax-monoidal (see Proposition 2.23). Therefore, if B′ is a base for a quasi-uniformity on X′ (i.e., B′ satisfies the properties required in Proposition 3.3), then B≜{f†(R′)∣R′∈B′} is a base for a quasi-uniformity on X. Finally, QUf is meet-preserving, because:
• If Bi′ is a sub-base for Ui′, then ⋃iBi′ is a sub-base for ⋂iUi′.
• If Bi′ is a sub-base for Ui′, then {f†(R)∣R∈Bi′} is a sub-base for QUf(Ui′), since f† preserves intersections (and unions) of relations.
The third claim follows immediately from the definition of arrows in QU (see Definition 3.1).
Remark 3.5. There are alternative descriptions of ⋂i∈IUi in special cases. If the family Ui is filtered in QUX (i.e., directed with respect to subset inclusion), then its meet is ∪i∈IUi. For a finite family indexed over (say) I∈ω, if Bi is a base for Ui for each i∈I, then B≜{∩i∈IRi∣∀i∈I.Ri∈Bi} is a base for ⋂i∈IUi.
Theorem 3.6. Let U:QU→Set be the functor such that U(X,U)≜X and on arrows is hom-sets inclusion, then U is a strict and small topological functor.
Proof. First, we prove that U is topological (see Definition 2.1). Given a family (Yi,Vi)∣i∈I) of quasi-uniform spaces and a family (fi:X→Yi∣i∈I) of arrows in Set, consider the following quasi-uniformities Ui≜QUfi(Vi) and U≜⋂i∈IUi on X. We show that (fi:(X,U)→(Yi,Vi)∣i∈I) is an initial structure for the triple (X,((Yi,Vi)∣i∈I),(fi:X→Yi∣i∈I)). By definition of meet in QUX, we have ∀i∈I.QUfi(Vi)⊆U. Therefore, by Proposition 3.4, (fi:(X,U)→(Yi,Vi)∣i∈I) is an I-cone from (X,U) in QU.
Given any I-cone (gi:(X′,U′)→(Yi,Vi)∣i∈I) from (X′,U′) in QU (i.e., ∀i∈I.QUgi(Vi)⊆U′) such that ∀i∈I.gi=fi∘f for some f:Set(X′,X), we prove that f:QU((X′,U),(X,U)) (i.e., QUf(U)⊆U′). Uniqueness follows from U being faithful. By Proposition 3.4, QUf preserves meets, therefore
Finally, as a topological functor U is strict and small, because the fibers QUX are posets.
We define the functor T:QU→Top and the involution −o on QU, and then we prove the properties stated in Diagram (2).
Proposition 3.7. If (X,U) is a quasi-uniform space and B is a base for U:
Let τU≜{O⊆X∣∀x∈O.∃R∈B.R(x)⊆O}, then τU is a topology on X independent of the choice of the base B for U. Furthermore, let T(X,U)≜(X,τU), then T extends to a functor T:QU→Top, which on arrows is hom-sets inclusion.
Let Uo≜{Ro∣R∈U} where Ro is the dual of R. Then, Uo is a quasi-uniformity on X with base Bo. Let the dual quasi-uniform space of (X,U) be (X,U)o≜(X,Uo). Then, −o extends to an involution on QU, which is the identity on hom-sets.
Proof. First, we prove that τU is a topology on X, i.e., it is closed under arbitrary unions and finite intersections:
• if A⊆τU and O′=∪A, then x∈O′⟹x∈O for some O∈A⊆τU, thus ∃R∈U.R(x)⊆O⊆O′.
if A⊆fτU and O′=∩A, then x∈O′⟹∀O∈A.x∈O. Thus, ∀O∈A.∃RO∈U.RO(x)⊆O. Let R=∩{RO∣O∈A}, we have R∈U (because U is a filter) and R(x)=∩{RO(x)∣O∈A}⊆O′.
We prove that f:QU((X′,U′),(X,U)) implies f:Top((X′,τU′),(X,U)), i.e., O∈τU implies O′≜f−1(O)∈τU′:
• x∈O′⟹f(x)∈O⟹R(f(x))⊆O for some R∈U, therefore
• R′≜f†(R)∈U′ (because f is quasi-uniformly continuous) and
∙R′(x)={x′∣f(x′)∈R(f(x))}⊆{x′∣f(x′)∈O}=O′.
Next, we prove that Uo is a quasi-uniformity. By Proposition 2.22, we have that −o:P(X2)→P(X2) is a strict-monoidal isomorphism, which preserves intersections. Thus, it maps the filter U to a filter Uo, while the other properties of a quasi-uniformity are preserved because −o is strict-monoidal. More precisely, we have: Δ⊆R⟹Δ=Δo⊆Ro and R0⊗R0⊆R⟹R0Δ⊗R0Δ=R0Δ⊗oR0Δ⊆Ro.
Finally, f:QU((X1,U1),(X2,U2)) implies f:QU((X1,U1∗),(X2,U2∗)), since f†(Ro)=f†(R)o.
Remark 3.8. The objects (X,U) of QU such that (X,U)=(X,U)o are called uniform spaces. Such spaces are too restrictive for capturing all topological spaces. In fact, a topology τ on X admits a uniformity U on X (i.e., (X,τ)=T(X,U)) if and only if (X,τ) is completely regular [Wil70, Theorem 38.2]. On the other hand, every topology τ on X admits a quasi-uniformity [FL82, pp. 27], e.g., the Császár-Pervin quasi-uniformity UτC on X generated by the sub-base BτC={RO∣O∈τ}, where RO≜{(x,y)∈X2∣x∈O⟹y∈O}. The functor C:Top⟶QU, which maps (X,τ) to (X,UτC) and on arrows is hom-sets inclusion, makes Top a full sub-category of QU, because Rf−1(O)=f†(RO) for every map f:X′→X and O∈τ. The Császár-Pervin quasi-uniformity is transitive, i.e., it has a sub-base consisting of transitive relations R2⊆R. Indeed, all relations in BτC are transitive.
A quasi-uniformity U on X induces two topologies on X (τU and τUo) and, accordingly, four product topologies on X2. If U is a uniformity (i.e., U=Uo), then it induces only one topology on X and one product topology on X2. Since the elements in a quasi-uniformity U are subsets of X2, one may wonder whether U has a base consisting only of open subsets for one of the four product topologies on X2.
Definition 3.9 (Open Entourage and Base). Given (X,U)∈QU, we say that an entourage R∈U is open ⇔ it is open in T(X,Uo)×T(X,U)=(X2,τUo×τU), where τ1×τ2 is the product topology on X1×X2 induced by the topologies τi on Xi. A (sub-)base B for U is open if it contains only open entourages of U.
The following lemma gives an alternative characterization of the interior operator for the topologies τU and τUo×τU, and show that a (sub-)base for a quasi-uniformity can always be refined into an open one.
Lemma 3.10. Given a quasi-uniform space (X,U) and a base B for U, the following hold:
If A⊆X, then intτU(A)=A′≜{x∈X∣∃R∈B.R(x)⊆A}.
If S⊆X2, then intτUo×τU(S)=S′≜{(x1,x2)∈X2∣∃R∈B.Ro(x1)×R(x2)⊆S}.
Proof. Item 1: If O∈τU and O⊆A, then O⊆A′. Hence, it suffices to prove that A′∈τU. Let x∈A′, then R(x)⊆A for some R∈U. By the composition property, there is R0∈U such that R0o⊆R. We show that R0(x)⊆A′. For all y∈R0(x) (i.e., (x,y)∈R0) we have R0(y)⊆R02(x)⊆R(x)⊆A, hence y∈A′.
Item 2: By definition of product topology, (x1,x2)∈intτUo×τU(S) implies (x1,x2)∈O1×O2⊆S for some O1∈τUo and O2∈τU. Thus, there are R1,R2∈U such that R1o(x1)⊆O1 and R2(x2)⊆O2, and therefore R1o(x1)×R2(x2)⊆S. Since U is a filter, R≜R1∩R2∈U and Ro(x1)×R(x2)⊆R1o(x1)×R2(x2)⊆S, proving that int(S)⊆S′. On the other hand, if (x1,x2)∈S′, by definition of S′ there is R∈U such that Ro(x1)×R(x2)⊆S. Let O1≜intτUo(Ro(x1)) and O2≜intτU(R(x2)). Then, by Item 1, x1∈O1 and x2∈O2. Hence, (x1,x2)∈O1×O2⊆Ro(x1)×R(x2)⊆S, proving that (x1,x2)∈int(S), therefore S′⊆int(S)□
Proposition 3.11. If B is an open (sub-)base for a quasi-uniformity U on X, then Bτ≜{R(x)∣R∈B∧x∈X} is a (sub-)base for the topology τU.
Proof. First, we prove that, if R∈U is open and x∈X, then R(x) is open in τU. Since y∈R(x)⟺(x,y)∈R and R is open, then (x,y)∈O1×O2⊆R for some O1∈τUo and O2∈τU. Thus, y∈O2=(O1×O2)(x)⊆R(x). Therefore, B being open implies Bτ⊆τU. Secondly, we prove that Bτ is a (sub-)base for τU, i.e., x∈O∈τU implies x∈∩i∈nOi⊆O, for some n-indexed family of elements in Bτ. If x∈O∈τU, then (by item 1 of Lemma 3.10) x∈R(x)⊆O for some R∈U. Since B is a (sub-)base for U, ∩i∈nRi⊆R, for some n-indexed family of entourages in B. Therefore, x∈∩i∈nOi=(∩i∈nRi)(x)⊆R(x)⊆O, where Oi≜Ri(x)∈Bτ. □
The following result is a generalization of an analogous one for uniform spaces [Kel75, Theorem 6, pp. 179]. It shows that every quasi-uniformity U is closed under the interior operator for the topology τUo×τU.
Proposition 3.12. If U is a quasi-uniformity and R∈U, then intτUo×τU(R)∈U.
Proof. We must find R0∈U such that R0⊆int(R). By composition and identity properties, there is R0∈U such that R0⊆R03⊆R. We show that R03=⋃(x,y)∈R0R0o(x)×R0(y), by the following chain of equivalences: (x′,y′)∈R03⟺∃(x,y)∈R0.(x′,x)∈R0∧(y,y′)∈R0⟺∃(x,y)∈R0.x′∈R0o(x)∧y′∈R0(y)⟺(x′,y′)∈⋃(x,y)∈R0R0o(x)×R0(y). Therefore, by Item 2 of Lemma 3.10, we get R0⊆R03⊆int(R). □
The previous result implies that any (sub-)base for a quasi-uniformity can be refined into an open one without increasing its cardinality.
Corollary 3.13. If B is a (sub-)base for the quasi-uniformity U, then so is B′≜{intτUo×τU(R)∣R∈B}.
Every T-section F:Top→QU gives a different way to view Top as a full sub-category of QU. Among such T-sections there is a best choice, namely the T-section which is also left-adjoint to T, making Top a coreflective sub-category of QU.
Theorem 3.14. The functor T:QU→Top has a left-adjoint T-section LT:Top→QU such that LT(X,τ)≜(X,Uτ), where Uτ≜⋂{V∈QUX∣τV⊆τ}, and on arrows is hom-sets inclusion.
Proof. First, we prove that LT is a T-section, i.e., T(X,Uτ)=(X,τ) or equivalently τ=τUτ. The inclusion τ⊆τUτ holds, because there exists V∈QUX such that τV=τ, e.g., the Császár-Pervin quasi-uniformity (see Remark 3.8), and τV⊆τU when V⊆U in QUX. To prove the inclusion τ⊇τUτ, choose an open base BV for each quasi-uniformity V∈QUX such that τV⊆τ. By the definition of join in QUX (see Proposition 3.4), B≜⋃{BV∣V∈QUX∧τV⊆τ} is a sub-base for the quasi-uniformity Uτ. Let B′ be the base for Uτ generated by B, i.e., the closure of B under finite intersections. For every O∈τUτ, by Lemma 3.10, we have ∀x∈O.∃R∈B′.R(x)⊆O, but R=∩i∈nRi for some {Ri∣i∈n}⊆fB, i.e., Ri∈BVi for some Vi∈QUX such that τVi⊆τ. Since BVi is an open base for Vi for each i∈n, by Proposition 3.11, we get ∀i∈n.Ri(x)∈τVi⊆τ for each x∈X. Therefore, R(x)=∩i∈nRi(x)∈τ, since τ is closed under finite intersections. Finally, ∀x∈O.∃R∈B′.R(x)⊆O implies O∈τ, as x∈R(x)∈τ for every R∈B′ and x∈X.
Secondly, we prove that LT is left-adjoint to T, i.e., f:Top((X,τ),(Y,τV))⟺f:QU((X,Uτ),(Y,V)) when (X,τ):Top and (Y,V):QU. The (⟺) direction follows from T(X,Uτ)=(X,τ) and T being hom-sets inclusion on arrows. For the (⇒) direction, by Proposition 3.4, we have to prove that Vf≜QUf(V)⊆Uτ, which (by definition of Uτ) amounts to proving that τVf⊆τ. Consider an open base BV of V. Then, Bf={f†(R)∣R∈BV} is a base for Vf. By Lemma 3.10, O∈τVf implies ∀x∈O.∃R′∈Bf.R′(x)⊆O, which is equivalent to ∀x∈O.∃R∈BV.f†(R)(x)⊆O. Since f†(R)(x)={x′∈X∣(f(x),f(x′))∈R}=f−1(R(f(x))) and R(f(x))∈τV (by Proposition 3.11), continuity of f implies that f†(R)(x)=f−1(R(f(x))∈τ. Hence, we conclude that O∈τ, proving that τVf⊆τ.
By composing the left-adjoints LP:Po→Top and LT:Top→QU we get a (P∘T)-section LT∘LP left-adjoint to the forgetful functor P∘T:QU→Po. We conclude this section by giving direct descriptions of the specialization preorder P(T(X,U)) and the Alexandroff quasi-uniform space LT(LP(X,≤)).
Proposition 3.15. If (X,U)∈QU, then P(T(X,U))=(X,⋂U), i.e., ≤U≜≤τU=⋂U.
Proof. By Corollary 3.13, U has an open base B and O∈τU⟺∀x∈O.∃R∈B.R(x)⊆O. Therefore, since B is open, we have that Bτ≜{R(z)∣z∈X∧R∈B} is a base for τU. By definition, the specialization preorder for τU is x≤y⟺∀O∈B′.x∈O⟹y∈O, where B′ can be any sub-base for τU. If B′ is replaced by Bτ, then x≤y⟺∀z∈X.∀R∈B.x∈R(z)⟹y∈R(z). We now prove that x≤y⟺∀R∈B.y∈R(x):
• ⟹ holds, since ∀R∈B.∀x∈X.x∈R(x), by the identity property;
Finally, we have ∀R∈B.y∈R(x)⟺∀R∈B.(x,y)∈R⟺(x,y)∈⋂B⟺(x,y)∈⋂U.
Proposition 3.16. If (X,≤)∈Po, then LT(LP(X,≤))=(X,↑≤). As such, U≤≜Uτ≤=↑≤, i.e., it is the principal filter in P(X2) generated by ≤.
Proof. Given a preorder (X,≤), let U≜↑≤∈QUX. Since (P∘T)∘(LT∘LP) is the identity functor on Po, we have ⋂(U≤)=≤, and therefore U≤⊆U. To prove the other inclusion U⊆U≤≜Uτ≤=⋂{V∈QUX∣τV⊆τ≤}, it suffices to prove that τU⊆τ≤. Indeed, if O∈τU, then ∀x∈O.∃R∈U.Rˉ(x)⊆O. Since R∈U⟺≤⊆R, we get the following chain of implications x≤y⟹y∈R(x)⟹y∈O, i.e., O is upward closed, which is what is needed to conclude that O∈τ≤.
4 Metrization Results
The following diagram depicts some of the functors from Diagram (2) and two new functors, Φu and Φc (Definition 4.2), relating categories of quantale-valued metric spaces to quasi-uniform and topological spaces. All functors in the diagram are faithful (as their action on arrows is hom-sets inclusion) and surjective on objects (for Φu and Φc, surjectivity is proven in the metrization Theorems 4.20 and 4.21).
(3)
Remark 4.1. The fact that Φu and Φc are full (Proposition 4.7) together with the metrization results (Theorems 4.20 and 4.21) imply that Φu and Φc are equivalences. Therefore, U∘Φc:Metc→Set and U∘Φu:Metu→Set are topological functors, but they are neither strict nor small, unlike U:Top→Set and U:QU→Set. These results show, in a formal way, that QU and Top are the qualitative counterparts of Metu and Metc, respectively.
Definition 4.2. We define the two actions Φu and Φc on quantale-valued metric spaces as follows:
Φu(X,d,Q)≜(X,Ud), in which Ud is the quasi-uniformity generated by the base Bdu={Rδ∣δ∈↓Bu}, where B is any base for the continuous lattice Q and Rδ={(x,y)∈X2∣δ≪d(x,y)}.
Φc(X,d,Q)≜(X,τd), in which τd is the topology generated by the base Bdc={B(x,δ)∣x∈X∧δ∈↓Bu}, where B is any base for the continuous lattice Q and B(x,δ)={y∈X∣δ≪d(x,y)}.
Proposition 4.3. The actions Φu and Φc are well-defined maps.
Proof. First, we prove that the two actions do not depend on the choice of the base for the continuous lattice Q. In particular, we can always choose the biggest base (i.e., Q). Consider a base B for Q. Then, by the interpolation property (Proposition 2.12):
∀δ′∈↓u.∃δ∈↓Bu.δ′≪δ.
Since δ′⊆δ≪u implies Rδ⊆Rδ′ and ∀x∈X.B(x,δ)⊆B(x,δ′), we conclude that Bdu and Qdu are bases for the same quasi-uniformity on X and Bdc and Qdc are bases for the same topology on X.
Next, we prove that Ud, namely the upperset in P(X2) generated by Bdu, is a quasi-uniformity on X:
∙Ud is a filter, because Bdu is a filtered subset of P(X2). In fact, ↓Bu is a directed subset of Q, in particular ⊥∈↓Bu, thus R⊥∈Bdu, and ∀δ1,δ2∈↓Bu. ∃δ∈↓Bu. δ1,δ2⊑δ, thus Rδ⊆Rδ1∩Rδ2.
• ∀R∈Ud.Δ⊆R, because ∀δ∈↓Bu.Δ⊆Rδ, since δ≪u⊑d(x,x).
∙Ud has the composition property, because ∀δ′≪u.∃δ∈↓Bu.δ′≪δ⊗δ by Proposition 2.13, namely
Therefore, we have the following chain of implications Rδ2(x,z)⟹∃y.δ≪d(x,y)∧δ≪d(y,z)⟹∃y.δ⊗δ⊑d(x,y)⊗d(y,z)⊑d(x,z)⟹δ′≪d(x,z)⟹Rδ′(x,z).
For the proof that τd is a topology on X we refer to [DFM25, Def 4.5 and Prop 4.8], and for the proof that Bdc is a base, rather than a sub-base for τd, we use [DFM25, Lemma 4.7].
Remark 4.4. The cardinality of the base Bdu for the quasi-uniformity Ud is bounded by the cardinality of the base B for Q, while the cardinality of the base Bdc for the topology τd is bounded by the cardinality of B×X.
Proposition 4.5. T(Φu(X,d,Q))=Φc(X,d,Q) for every (X,d,Q)∈Metu.
Proof. The claim amounts to proving that τd and τUd coincide. We use an alternative characterization of τd, namely O∈τd⟺∀x∈O.∃δ∈↓Bu.B(x,δ)⊆O. In fact, ϵ≪q=q⊗u⟹∃δ∈↓Bu.ϵ≪q⊗δ by Proposition 2.13. Thus, ∀ϵ≪u.∀x∈B(y,ϵ).∃δ∈↓Bu.B(x,δ)⊆B(y,ϵ), because ϵ≪d(y,x)⟹∃δ∈↓Bu.ϵ≪d(y,x)⊗δ⟹∀z∈B(x,δ).ϵ≪d(y,x)⊗δ⊑d(y,x)⊗d(x,z)⊑d(y,z).
Given a base B for Q and O⊆X, one has
(∀x∈O.∃δ∈↓u.B(x,δ)⊆O)⟺(∀x∈O.∃R∈Bbu.R(x)⊆O),
because Rδ(x)=B(x,δ). Therefore, τd=τUd.
Remark 4.6. Thanks to Proposition 4.5, for a quantale-valued metric space (X,d,Q), we know that τUd=τd. Moreover, it is easy to see that the base Bdu of the quasi-uniformity Ud is open in the sense of Definition 3.9.
Proposition 4.7. The functors Φu and Φc are full&faithful.
Proof. The claim for Φu amounts to showing that f:Metu((X,d,Q),(X′,d′,Q′))⟺f:QU((X,Ud),(X′,Ud′)) for every map f:X→X′. In fact, we have the following chain of equivalences:
Similarly, the claim for Φc amounts to showing that f:Metc((X,d,Q),(X′,d′,Q′))⟺f:Top((X,τd),(X′,τd′)) for every map f:X→X′. In fact, we have the following chain of equivalences:
Remark 4.8. To prove that the functor Φu:Metu⟶QU is an equivalence, we show that for every quasi-uniform space (X,U) there exists (X,d,Q)∈Metu such that (X,U)=Φu(X,d,Q). All metric spaces (X,d,Q) that map to (X,U) are necessarily isomorphic in Metu, since Φu is full&faithful, but the continuous quantales Q could be non-isomorphic and differ even in cardinality. Moreover, we can always restrict to affine continuous quantales, i.e., quantales where the unit u is the top element ⊤, since every (X,d,Q)∈Metu is isomorphic to (X,du,Qu), where Qu is Q restricted to ↓u and du:X2→Qu is du(x,y)=d(x,y)⊓u.
In the context of computable analysis, quasi-uniform spaces that possess a countable base are most relevant. For such spaces, one would like the continuous quantale Q to have a countable basis as well, so that one can stay within the computational framework of effectively given domains [Smy77]. The construction that we propose starts from a base B for U and produces a prime-continuous quantale Q that has a prime-base of cardinality not greater than that of B. In particular, if U has a countable base, then the prime-continuous quantale Q has a countable prime-base as well, which implies that Q as a continuous quantale has a countable base.
4.1 Abstract Prime-bases and Rounded Lowersets
We introduce the notions of abstract prime-base (B,≺) and rounded lowerset (in an abstract prime-base), which are variants of the well-known notions of abstract base and rounded ideal [AJ94, Sec 2.2.6]. We prove that the poset of rounded lowersets ordered by inclusion is a prime-continuous lattice (Theorem 4.12).
Definition 4.9. An abstract prime-base is a pair (B,≺) with ≺ a binary relation on B that is:
• transitive: ∀x,y,z∈B. x≺y≺z⟹x≺z,
• dense: ∀x,z∈B. x≺z⟹∃y∈B. x≺y≺z.
A rounded lowerset is a subset A⊆B that is:
• rounded: ∀x∈A.∃y∈A.x≺y,
• lower: ∀y∈A.∀x∈B.x≺y⟹x∈A.
RD(B,≺) denotes the poset of rounded lowersets in (B,≺) ordered by inclusion.
If (B,≺) is a preorder (i.e., transitive and reflexive), then it is an abstract prime-base and the rounded lowersets are the lowersets. In fact, if ≺ is reflexive, then ≺ is trivially dense and every A⊆B is rounded.
Remark 4.10. Construction of prime-continuous lattices from abstract prime-bases has appeared in the literature before, albeit through a different terminology. In the context of information systems, Vickers [Vic93] introduced the concept of infosys, which is precisely what we call an abstract prime-base. Instead of rounded lowersets, he considered rounded uppersets (which he called upper-closed sets [Vic93, Definition 2.2]). As such, the prime-continuous lattice that is constructed in [Vic93, Proposition 2.3] is isomorphic to RD(B,≻). In fact, as far back as 1953, Raney had already investigated this construction of prime-continuous lattices [Ran53].
Our terminology is closer to that used in the context of abstract bases and rounded ideal completion [AJ94, Sec 2.2.6]. We also present the proof of Theorem 4.12—even though it is essentially [Vic93, Proposition 2.3]—with the intention of making the content self-contained and easier to follow for the reader.
Example 4.11. Consider the quantale R+=([0,∞],⊑,+,0) in [Law73], which allows viewing ordinary metric spaces as small R+-enriched categories, where [0,∞) is the set of non-negative real numbers extended with ∞ and ordered by x⊑y⟺x≥y. Thus, 0 and ∞ are the top and bottom elements, respectively.
The linear order ([0,∞],⊑) is a prime-continuous lattice with ⨆S=infS, x≪y⟺x>y, and the set Q>0 of positive rational numbers is a countable prime-base. It is easy to see that (Q>0,≪) is an abstract prime-base and the poset RD(Q>0,≪) is isomorphic to ([0,∞],⊑), namely an element x in [0,∞] corresponds to the rounded lowerset B(x)={q∈Q>0∣q>x}. In particular, B(0)=Q>0 and B(∞)=∅. Also, [0,∞] is a prime-base, but uncountable, ([0,∞],≪) is an abstract prime-base, and the poset RD([0,∞],≪) is isomorphic to ([0,∞],⊑), namely, an element x in [0,∞] corresponds to the rounded lowerset (x,∞). Note that lowersets of the form [x,∞] are not rounded.
Theorem 4.12. Given an abstract prime-base (B,≺), the poset RD(B,≺) is a prime-continuous lattice with join given by union, prime-base {↓a∣a∈B}, and A′≪A⟺∃a∈A.A′⊆↓a, where ↓a≜{x∈B∣x≺a}.
Proof. Given a subset S⊆RD(B,≺), let A′=∪S⊆B, which is a rounded lowerset, because:
Furthermore, A∈RD(B,≺) implies A=∪a∈A↓a. In fact, by definition of a rounded lowerset:
• x∈A⟹∃a∈A.x≺a, thus x∈↓a for some a∈A, which proves that A⊆∪a∈A↓a,
• x≺a∈A⟹x∈A, thus ↓a⊆A for every a∈A, which proves that A⊇∪a∈A↓a.
1Note that, so far, the properties of ≺ have not been used.
Therefore, to prove that {↓a∣a∈B} is a prime-base, it suffices to prove that a∈A implies ↓a≪A, i.e.,
∀S⊆RD(B,≺).A⊆∪S⟹∃A′∈S.↓a⊆A′.
In fact a∈A⊆∪S implies a∈A′ for some A′∈S, thus ↓a⊆A′, because A′∈RD(B,≺). Finally, we prove that A′≪A⟺∃a∈A. A′⊆↓a:
• A′≪A=∪a∈A↓a⟹∃a∈A. A′⊆↓a, by definition of ≪,
• ∃a∈A. A′⊆↓a⟹A′≪A, because ∀a∈A. ↓a≪A, together with Item 3 of Proposition 2.10. □
If (B,≺) is a preorder, then RD(B,≺) is prime-algebraic, since, for every a∈B, a∈↓a and thus ↓a≪↓a. Since every prime-continuous lattice is completely distributive (see [AJ94, Thm 7.1.3]), we conclude that RD(B,≺) is a locale, i.e., a quantale with meet ⊓ as tensor and the top element ⊤ as unit. There is, however, another way to turn RD(B,≺) into a quantale, given an associative operation ⊗ on B satisfying certain properties.
Theorem 4.13. If (B,≺) is an abstract prime-base and ⊗:B2→B is an associative operation which is:
• roundB: ∀x∈B.∃y∈B.x≺y,
• monotone: x≺x′∧y≺y′⟹x⊗y≺x′⊗y′,
• denseT: x≺x′⟹∃y∈B. x≺y⊗x′⊗y≺x′,
• lowerT: x≺x′⟹∀y∈B. (y⊗x≺x′)∧(x⊗y≺x′),
then, RD(B,≺) is a quantale with tensor A1⊗^A2≜⋃{↓(a1⊗a2)∣a1∈A1∧a2∈A2} and unit B.
Proof. First, we have A1⊗^A2∈RD(B,≺), because it is the join of elements in RD(B,≺), and B∈RD(B,≺), because it is rounded by (roundB). Moreover, we have:
• (⨆S1)⊗^(⨆S2)=⨆{A1⊗^A2∣A1∈S1∧A2∈S2} for every S1,S2⊆RD(B,≺), because
• B⊗^A=A for every A∈RD(B,≺) is proved similarly.
Example 4.14. Consider the two abstract bases (Q>0,≪) and ([0,∞],≪) in Example 4.11. Addition is an associative operation on Q>0 and [0,∞]. Moreover, 0∈[0,∞], thus we can ask if it satisfies the properties required in Theorem 4.13:
• Q>02→Q>0 satisfies all properties, including roundB
• +:[0,∞]2→[0,∞] satisfies all properties, except roundB, which fails when x = 0.
If ⊗:B2→B has a unit u and ∀x∈B.x≺u, then roundB is trivially true (take y=u). For +:[0,∞]2→[0,∞] the unit is u=0, but ∀x∈[0,∞].x≪u fails, and the biggest rounded lowerset is ↓u=(0,∞]⊂[0,∞].
Remark 4.15. If (B,≺) is a preorder, then meet in RD(B,≺) is given by intersection, but when (B,≺) is not a preorder, even binary meet may fail to be given by intersection. For instance, let B≜(2×Q)∪{⊥} and define
If we take ai≜(i,0), then ↓a0∩↓a1={⊥}∈/RD(B,≺), while ↓a0∩↓a1=∅.
4.2 Metrization for Quasi-Uniformities
Given a base B for a quasi-uniformity U on X, we define an abstract prime-base (B,≺). Hence, we can apply Theorem 4.12 to construct a prime-continuous lattice. Under the additional assumption that B is closed under composition ⊗ of binary relations, we can apply Theorem 4.13 and construct a prime-continuous affine quantale QB, which is the key for defining a metric space (X,dB,QB)∈Metu such that (X,U)=Φu(X,dB,QB).
Definition 4.16. Given a base B for a quasi-uniformity U, the binary relation ≺ on U is defined by
R1≺R2⟺∃R∈B.R1⊇R⊗R2⊗R,
where ⊗ denotes composition of binary relations on X.
Proposition 4.17. The relation ≺ on the quasi-uniformity U is independent of the choice of base.
Proof. Given two bases B and B′ for U, let ≺ and ≺′ denote the relations in Definition 4.16 defined using B and B′, respectively. We prove that ≺ is included in ≺′ (the other inclusion follows by swapping the two bases). In fact, for any R∈B there exists a R′∈B′ such that R⊇R′. Therefore, by monotonicity of relational composition of binary relations, R⊗R2⊗R⊇R′⊗R2⊗R′, for any R2∈U.
The following properties of ≺ imply that, for any base B for U, the pair (B,≺) is an abstract prime-base.
Theorem 4.18. The binary relation ≺ on U (Definition 4.16) has the following properties:
≺ is included in ⊇, and the opposite inclusion holds when Δ∈U.
⊇∘≺∘⊇=≺.
≺ is transitive, i.e., ≺∘≺ is included in ≺.
U is ≺-directed, i.e., ∀n∈ω. ((∀i∈n.Ri∈U)⟹∃R∈U.∀i∈n.Ri≺R).
≺ satisfies the interpolation property, i.e., ∀n∈ω.(∀i∈n.Ri≺R′)⟹∃R≺R′∀i∈n.Ri≺R).
Composition ⊗ of relations is ≺-monotone, i.e., R0≺R0′∧R1≺R1′⟹R0⊗R1≺R0′⊗R1′.
Moreover, the restrictions of ≺ and ⊇ to a base B for U satisfy properties (1−4), and if B is closed under ⊗, then properties 5 and 6 are satisfied as well.
Proof. We prove the properties for the relations ⊇ and ≺ restricted to a generic base B.
If R1≺R2, i.e., R1⊇R⊗R2⊗R for some R∈U, then R⊗R2⊗R⊇R2, because ∀R∈U.R⊇Δ, which implies that R1⊇R2. If Δ∈U, then R1⊇R2 implies R1≺R2, since R2=Δ⊗R2⊗Δ.
We prove that ⊇∘≺∘⊇ is included in ≺. In fact, if R1⊇R2⊇R⊗R3⊗R∧R3⊇R4 for some R∈U, then R1⊇R2⊇R⊗R3⊗R⊇R⊗R4⊗R, by monotonicity of ⊗ and transitivity of ⊇, thus R1≺R4.
≺∘≺ is included in ≺, since ≺∘≺ is included in ⊇∘≺, by property 1 and monotonicity of ∘, and ⊇∘≺ is included in ⊇∘≺∘⊇, by ΔU included in ⊇ and monotonicity of ∘, thus ≺∘≺ is included in ≺, by property 2 and transitivity of inclusion.
If (∀i∈n.Ri∈U), then Rn≜⋂i∈nRi∈U, with U0=X2 when n=0. Take S∈U such that Rn⊇S4 and R∈B such that S2⊇R, then ∀i∈n.Ri⊇Rn⊇S4⊇S⊗R⊗S, thus ∀i∈n.Ri≺R, by monotonicity of ⊗ and transitivity of ⊇.
If (∀i∈n.Ri≺R′), which means that (∀i∈n.∃Si∈U.Ri⊇Si⊗R′⊗Si), then Sn≜⋂i∈nSi∈U and (∀i∈n.Ri⊇Sn⊗R′⊗Sn). Take S∈B such that Sn⊇S2, then R≜S⊗R′⊗S∈B, if the base B is closed under ⊗, therefore (∀i∈n.Ri⊇Sn⊗R′⊗Sn⊇S⊗R⊗S) and R⊇S⊗R′⊗S, which imply (∀i∈n.Ri≺R≺R′).
If the base B is closed under ⊗, then the property that ⊗ is ≺-monotone is equivalent to the implication (∃S0,S1∈U.R0⊇S0⊗R0′⊗S0∧R1⊇S1⊗R1′⊗S1)⟹∃S∈U.R0⊗R1⊇S⊗R0′⊗R1′⊗S. Take S≜S0∩S1∈U, then R0⊗R1⊇S⊗R0′⊗S2⊗R1′⊗S⊇S⊗R0′⊗R1′⊗S, since S⊇Δ.
Corollary 4.19. If B is a base closed under ⊗ for a quasi-uniformity U, then QB≜(RD(B,≺),⊗^,B) is an affine prime-continuous quantale.
Proof. It suffices to check that (B,≺) is an abstract-prime base and ⊗:B2→B satisfies the properties required in Theorem 4.13. Theorem 4.18 states that ≺ is transitive and satisfies the interpolation property, which implies density. Thus, (B,≺) is an abstract-prime base. Moreover, ⊗ satisfies the properties required in Theorem 4.13 for the following reasons:
• roundB: follows from Theorem 4.18 item 4.
• monotone: corresponds to Theorem 4.18 item 6.
• denseT: follows from density, the definition of ≺ and Theorem 4.18 item 2:
R0≺R2⟹by density ∃R1∈B:
R0≺R1≺R2⟹by definition or ≺for some S∈B:
R0≺R1⊇S⊗R2⊗S⟹by Theorem 4.18 item 2:
R0≺S⊗R2⊗S.
• lowerT: follows from the definition of ≺ and Theorem 4.18 item 2:
R0≺R1⟹ for every S∈B (which implies S⊇Δ)
S⊗R0,R0⊗S⊇R0≺R1⟹ by Theorem 4.18 item 2
S⊗R0,R0⊗S≺R1.
Theorem 4.20. If B is a base closed under ⊗ for a quasi-uniformity U on X, let QB be the affine prime-continuous quantale defined in Corollary 4.19 and let dB:X2→QB be
(⋃{(↓R0)⊗^(↓R1)∣(x,y)∈R0∈B∧(y,z)∈R1∈B})⊆by definition of ⊗^
(⋃{(↓(R0⊗R1)∣(x,y)∈R0∈B∧(y,z)∈R1∈B})⊆by definition of ⊗
(⋃{↓R∣(x,z)∈R∈B}).
Finally, we prove that (X,U)=Φu(X,dB,QB). Consider the prime-base P≜{↓R∣R∈B} for QB (see Theorem 4.12). Thus, P⊥ is a base for QB. We prove that ∀R∈U.∃δ∈P.Rδ⊆R and ∀δ∈P⊥.Rδ∈U. Since, R⊥=X2 and Rδ1⊔δ1=Rδ1∩Rδ2 in the second proof obligation P⊥ can be replaced by P.
For every R∈U, there exists R0∈B such that R⊇R0 (by definition of base for U) and also S∈B such that R0≺S (by Theorem 4.18 item 4). We prove that Rδ⊆R when δ≜↓S∈P, by the following chains of implications:
For every δ∈P, there exists R∈B⊆U such that δ=↓R (by definition of P) and also S∈B such that R≺S (by Theorem 4.18 item 4). We prove that S⊆Rδ (thus Rδ∈U), by the following chains of implications
We prove that the full&faithful functor Φc:Metc⟶Top is surjective on objects, and therefore it is an equivalence. One can follow two approaches:
An indirect approach, exploiting the fact that the functor T:QU⟶Top is surjective on objects (see Remark 3.8). Therefore, given (X,τ)∈Top, one can choose (X,U)∈QU such that T(X,U)=(X,τ), and any metrization (X,d,Q) for (X,U), e.g., the one obtained by the construction in Section 4.2, will be also a metrization for (X,τ).
A direct approach, that given (X,τ)∈Top defines (X,d,Q)∈Metc such that Φc(X,d,Q)=(X,τ). More precisely, we start from a sub-base S for τ and take as Q the prime-algebraic locale (P(S),⊆). Note that (P(S),⊆) is an instance of the prime-continuous lattice RD(B,≺) in Definition 4.9 by taking as abstract prime-base (B,≺) the flat poset (S,=).
Theorem 4.21. If S is a sub-base for a topology τ on X, let QS be the continuous locale RD(S,=)=(P(S),⊆) and dS:X2→QS be
dS(x,y)≜{O∈S∣x∈O⟹y∈O}.
Then, (X,dS,QS)∈Metc and (X,τ)=Φc(X,dS,QS).
Proof. First, the locale QS≜RD(S,=)=(P(S),⊆) is prime-algebraic, i.e., {q∈QS∣q≪q}={{O}∣O∈S} is the smallest prime-base for QS, and the set of compact elements {q∈QS∣q≪q}=Pf(S)=↓S is the smallest base for QS. Second, dS is a metric, namely:
• dS(x,x)=S, since ∀O∈S.x∈O⟹x∈O.
• dS(x,y)∩dS(y,z)⊆dS(x,z), since:
dS(x,y)∩dS(y,z)=by definition of dS
{O∈S∣(x∈O⟹y∈O)∧(y∈O⟹z∈O)}⊆
{O∈S∣x∈O⟹z∈O}=dS(x,z).
Finally, we prove τ=τdS, i.e., ∀x∈X,∀F∈↓S.B(x,F)∈τ and ∀O∈τ.∀x∈O.∃F∈↓S.B(x,F)⊆O.
. Thus, B(x,F)∈τ, because it is the intersection of finitely many elements in the sub-base S of τ.
• If x∈O∈τ, then (by S being a sub-base) there exists F⊆fS such that x∈∩F⊆O, thus B(x,F)=∩F⊆O.
The indirect approach can produce qualitatively different quantales, as shown by the following example.
Example 4.22. Let ℓ∞ be the set of bounded sequences of real numbers, i.e., sequences (xi∣i∈ω) such that supi∈ω∣xi∣<∞, then d∞(x,y)≜supi∈ω∣xi−yi∣ is a R+-metric, i.e., (ℓ∞,d∞,R+)∈Metu. If τ∞ is the topology on ℓ∞ induced by d∞ and U∞ is the quasi-uniformity on ℓ∞ induced by d∞, then
τ∞ does not have a countable sub-base. Hence, for any choice of sub-base S, the construction in Theorem 4.21 will produce a prime-algebraic locale QS with a cardinality larger than that of R+ and no countable (prime-)base.
• U∞ on the other hand has a countable base, e.g.,
B={Rq∣q∈Q>0}whereRq≜{(x,y)∈ℓ∞×ℓ∞∣d∞(x,y)<q}
closed under binary composition of relations, namely Rp⊗Rq=Rp+q. By applying the construction in Theorem 4.20 with this particular base we get a quantale isomorphic to R+.
Metrization results for topological spaces—using suitable notions of a generalized metric—were first proved in [Kop88] and then refined by others, most notably, Flagg [Fla97]. In [DFM25, Section 4.2], we show that Flagg's result, where open balls are defined using the totally-below relation, continues to hold when open balls are defined using the way-below relation. However, the continuous quantales (or related notions) used in these proofs are very big. To be more precise, the cardinality of a base for such continuous quantales is usually as big as the cardinality of the topology τ. The construction of Theorem 4.21 results in a more manageable quantale which has a countable (prime-)base when S is countable, which is possible when τ is second-countable.
5 Powerset-Like Monads
In the previous section, we proved that the functor Φu:Metu⟶QU is an equivalence. Therefore, any monad on one of the categories Metu or QU induces a monad on the other. The following diagram recalls some of the relations depicted in Diagrams (2) and (3):
MetuΦuQULTTTopLPPPo(4)
In this section, we define three monads on QU that are liftings of the powerset monad on Set along the functor QU⟶Set. We adopt a presentation of monads in terms of Kleisli triple (see [MM76; Mog91]).
Definition 5.1. A monad on a category A is a triple M^=(M,η,−∗), where:
• M is a function on the objects of A,
• η is a family of arrows ηX:A(X,MX) with X∈A,
−* is a family of maps A(X,MY)→A(MX,MY) with X,Y∈A,
satisfying the following equations:
f∗∘ηX=f,ηX∗=idMX,g∗∘f∗=(g∗∘f)∗.(5)
We recall the bijective correspondence between monads (M,η,μ) on A, where M is an endofunctor on A and η and μ are natural transformations, and Kleisli triples (M,η,−∗):
• if f:A(X,Y), then Mf≜(ηY∘f)∗:A(MX,MY)
• μX≜idMX∗:A(M2X,MX), and
• if f:A(X,MY), then f∗=μY∘Mf:A(MX,MY).
For our purposes, we use a strict notion of monad map, namely a functor between the underlying categories, which commutes with the monad structures.
Definition 5.2. A monad M^ on A is a lifting of the monad M^′ on A′ along the functor U:A⟶A′⟺
U(MX)=M′(UX),U(ηX)=ηUX′,U(f∗)=(Uf)∗′.(6)
Remark 5.3. If U:A⟶A′ is faithful, then there can be several lifting of M^′ along U. However, if M^1 and M^2 are two liftings of M^′ such that M1=M2, then the other components of the triples M^1 and M^2 are also equal. If A is a sub-category of A′, then there is at most one lifting M^ of M^′ along the inclusion A↪A′. In this case, it is more appropriate to call M^ the restriction of M^′ to A.
We recall the definition of the powerset monad P^ on Set.
Definition 5.4. The powerset monad P^ on Set is given by the triple (P,η,−∗), where:
• P(X) is the set of subsets of X,
• ηX:Set(X,P(X)) is ηX(x)={x},
• if f:Set(X,P(X′)), then f∗:Set(P(X),P(X′)) is f∗(A)=⋃{f(x)∣x∈A}.
We now define three liftings of the powerset monad on Set along the forgetful functor U:QU⟶Set.
Definition 5.5. Given a base B for a quasi-uniformity U on X, we define three quasi-uniformities on P(X):
• the Hausdorff-Smyth quasi-uniformity US is generated by the base BS≜{RS∣R∈B}, where
For each α∈{H,S,P}, we write Pα for the map on quasi-uniform spaces such that Pα(X,U)=(P(X),Uα).
Proposition 5.6. For each α∈{H,S,P}, the quasi-uniform space Pα(X,U) is well-defined.
Proof. First, observe that, by Proposition 2.7, every lax-monoidal map F:P(X2)→P(P(X)2) maps every base B (i.e., satisfying the properties required in Proposition 3.3) for a quasi-uniformity U on X to a base F(B)≜{F(R)∣R∈B} for the same quasi-uniformity on P(X), i.e., if B and B′ are bases for the same quasi-uniformity on X, then F(B) and F(B′) are bases for the same quasi-uniformity on P(X). Since, by Proposition 2.24 and 2.25, each −α:P(X2)→P(P(X)2) is lax-monoidal, we conclude that each Bα is a base for a quasi-uniformity Uα on P(X). □
Remark 5.7. The quasi-uniformities of Definition 5.5 appears in the literature with a different terminologies. For instance, in [RLR02]:
• The Hausdorff-Smyth quasi-uniformity US is called the lower Hausdorff quasi-uniformity.
• The Hausdorff-Hoare quasi-uniformity UH is called the upper Hausdorff quasi-uniformity.
• The Hausdorff-Plotkin quasi-uniformity UP is called the Hausdorff (or Bourbaki) quasi-uniformity.
Lemma 5.8. (UH)o=(Uo)S and UP=US⊔UH, i.e., the join in QUP(X) of US and UH.
Proof. By definition of Uα, we have, ∀R0⊆P(X)2.R0∈Uα⟺∃R∈U.Rα⊆R0. For the first claim we have:
• R0o∈(UH)o⟺R0∈UH by definition of −o on quasi-uniformities,
• R0∈UH⟺∃R∈U.(RH)o⊆R0o by definition of UH and −o involution on P(P(X)2),
The second claim follows from Remark 3.5, which gives a description of a base for the join of finitely many quasi-uniformities in QUX.
Theorem 5.9. For each α∈{H,S,P}, the triple (Pα,η,−∗) is a lifting of (P,η,−∗) along U:QU⟶Set.
Proof. We have to verify that:
U(Pα(X,U))=P(X), which is obvious.
η:X⟶P(X) is in QU((X,U),Pα(X,U)), i.e., ∀R∈U.{(x1,x2)∣({x1},{x2})∈Rα}∈U, which follows from the stronger property ∀R∈U.∀x1,x2∈X.(x1,x2)∈R⟺({x1},{x2})∈Rα.
If f:QU((X,U),Pα(X′,U′))⊆Set(X,P(X′)), then f∗:QU(Pα(X,U),Pα(X′,U′)).
First, we prove the third property for PH, that is, if f is quasi-uniformly continuous (i.e., ∀R′∈U′⋅f†(RH′)∈U), then so is f∗. More precisely, we prove that RH⊆(f∗)†(RH′) for every R′∈U′, where R≜f†(RH′)∈U.
• (A1,A2)∈RH⟺ by definition of RH
• ∀x1∈A1.∃x2∈A2.(x1,x2)∈R⟺ by definition of R=f†(RH′)
• ∀x1∈A1.∃x2∈A2.(f(x1),f(x2))∈RH′⟺ by definition of RH′
• ∀x1∈A1.∃x2∈A2.∀y1∈f(x1).∃y2∈f(x2).(y1,y2)∈R′⟺ by definition of f∗(A)=∪x∈Af(x)
• ∀y1∈f∗(A1).∃y2∈f∗(A2).(y1,y2)∈R′⟺ by definition of RH′
• (f∗(A1),f∗(A2))∈RH′.
Next, we use Lemma 5.8 to prove the third property for PS from that for PH.
• f:QU((X,U),PS(X′,U′))⟺ by definition of PS(X′,U′)
• f:QU((X,U),(P(X′),US))⟺ by applying −o (and fo=f as a set-theoretic map)
To conclude that f∗:QU(PP(X,U),PP(X′,U′)), we show that ∀R′∈U′⋅(f∗)†(RP′)∈UP:
• (f∗)†(RP′)=by definition of RP′ and because inverse image preserves intersections
• (f∗)†(RH′)∩(f∗)†(RS′)∈UP because UP is a filter and (f∗)†(Rα′)∈Uα⊆UP for α=H,S.
As already mentioned, the equivalence Φu:Metu⟶QU and the monads P^α, for α∈{S,H,P}, on the category QU induce equivalent monads on the category Metu. We now prove that the Hausdorff-Smyth monad P^S on Metu defined in [DFM25, Definition 6.7] is a lifting of the monad P^S on QU along Φu:Metu→QU. Recall that the action of PS on an object (X,d,Q):Metu is PS(X,d,Q)=(P(X),dS,QS), where QS is the quantale on the continuous lattice C(Q) of Scott closed subsets of Q (see [DFM25, Definition 6.5]) such that
• the unit is u^={u}=↓u (where u is the unit of the quantale Q),
the tensor product of two Scott closed subsets A1 and A2 of Q is given by the Scott closure of the pointwise multiplication, i.e., A1∘CA2={q1⊗q2∣q1∈A1∧q2∈A2},
and the metric dS is defined by dS(A1,A2)=⋂x2∈A2{d(x1,x2)∣x1∈A1} ((see [DFM25, Definition 6.7]).
Theorem 5.10. The Hausdorff-Smyth monad P^S on Metu is a lifting of the powerset monad P^S on QU along the equivalence Φu:Metu⟶QU.
Proof. Since the equivalence Φu is faithful, it suffices to prove that Φu(PS(X,d,Q))=PS(Φu(X,d,Q)), i.e., UdS=(Ud)S, for every (X,d,Q)∈Metu. Recall that:
If B is a base for Q, then a possible base for C(Q) is BC≜{↓F∣F⊆fB} and ↓F∈↓BCC⟺F⊆f⋃{↓Bq∣q∈C}.
The following properties hold in the continuous lattice C(Q):
• ∀C∈C(Q).C=↓C, where ↓A≜⋃{↓q∣q∈A}⊆↓A⊆A for A⊆Q;
• ↓(⋂{Ci∣i∈I})=↓(⋂{↓Ci∣i∈I}), where Ci∈C(Q) for every i∈I;
The quasi-uniformity Ud is generated by the base Bdu={Rδ∣δ∈↓Bu}, where B is a base for Q and Rδ={(x1,x2)∈X2∣δ≪d(x1,x2)}. Thus, using the base BC for C(Q) given in the previous item, we have that UdS is generated by (B_C)_d_S^u = \{R_{\downarrow F} \mid F \subseteq_f \downarrow_B \mathbf{u}\}, where R↓F={(A1,A2)∈P(X)2∣↓F≪dS(A1,A2)}.
If B is a base for a quasi-uniformity U on X, then the quasi-uniformity US on P(X) is generated by the base BS≜{RS∣R∈B}, where RS≜{(A1,A2)∈P(X)2∣∀x2∈A2,∃x1∈A1,(x1,x2)∈R}. Thus, (Ud)S is generated by the base (Bdu)S={(Rδ)S∣δ∈↓Bu}, where B is base for Q.
To prove that UdS=(Ud)S, it suffices to show that their bases (BC)dSu and (Bdu)S satisfy the following:
For every F⊆f↓Bu, the entourage R_{\downarrow F} = \{(A_1, A_2) \in \mathsf{P}(X)^2 \mid \downarrow F \ll d_S(A_1, A_2)\} \in (B_C)_d_S^u contains the entourage (Rδ)S={(A1,A2)∈P(X)2∣∀x2∈A2.∃x1∈A1.δ≪d(x1,x2)}∈(Bdu)S for some δ∈↓Bu. If F⊆f↓Bu, then ⨆F∈↓Bu, because B is closed under finite joins and ↓Bu is directed. By the interpolation property for ≪, there exists δ∈B such that ⨆F≪δ≪u. We claim that such a δ has the required property. In fact, ∀x2∈A2.∃x1∈A1.δ≪d(x1,x2)⟹δ∈dS(A1,A2), thus ↓F⊆↓{⨆F}≪↓{δ}⊆dS(A1,A2).
For every δ∈↓Bu, the entourage (Rδ)S={(A1,A2)∈P(X)2∣∀x2∈A2.∃x1∈A1.δ≪d(x1,x2)}∈(Bdu)S contains the entourage R↓F={(A1,A2)∈P(X)2∣↓F≪dS(A1,A2)}∈BdSu for some F⊆f↓Bu.
We claim that F={δ} has the required property. In fact, we have the following chain on implications ↓{δ}∈↓BCdS(A1,A2)⟺δ∈↓BdS(A1,A2)⟹∀x2∈A2.∃x1∈A1.δ≪d(x1,x2). □
Since the functor U:QU→Set factors through Top and Po, one may wonder whether the monads Pα, for α∈{S,H,P}, on QU arise as liftings along T:QU→Top or P∘T:QU→Po of other liftings of the powerset monad on Set along U:Top→Set or U:Po→Set. We already know from [DFM25, Example 4.18], however, that this is not the case for T:QU→Top because there are metric spaces, and thus quasi-uniform spaces, inducing the same topology which are mapped by Pα to metric spaces inducing different topologies. The next example shows that something similar happens for P∘T:QU→Po.
Example 5.11. We define two quasi-uniformities U and V on ω having the same specialization preorder, i.e., ≤U=≤V, while the quasi-uniformities US and VS on P(ω) have different specialization preorders. Let B={Rn⊆ω2∣n>0}, where Rn≜Δω∪{(x1,x2)∈ω2∣x2=0∧x1≥n} for every n∈ω Then, B is a base for a quasi-uniformity U on ω. Since ⋂B=Δω, we have ≤U=Δω, i.e., the equality relation on ω. Let V be the principal filter in P(ω2) generated by Δω, and therefore ≤V=Δω. It is easy to see that P(T(PS(ω,V)))=(P(ω),≤VS)=(P(ω),⊇). On the other hand, P(T(PS(ω,U)))=(P(ω),≤US), where US is generated by BS={(Rn)S⊆P(ω)2∣n>0} with (A1,A2)∈(Rn)S⟺(A2∖{0})⊆A1∧(0∈A2⟹∃x∈A1.(x=0∨x≥n)). In particular, ({n∣n>0},{0})∈⋂BS, i.e., {n∣n>0}≤US{0}, while {n∣n>0}≤VS{0} is false.
By general considerations on the relation between monads and adjunctions, an adjunction A⊥RB induces a monad transformer turning every monad on A into a monad on B (see [JM10]). Since Top and Po are coreflective sub-categories of QU, the monads P^α, for α∈{S,H,P}, induce monads P^α on Top and Po whose action on objects are
We prove that the monads P^α on Po are the restrictions of the corresponding monad on QU along the (P∘T)-section LT∘LP:Po→QU, which allows viewing Po as a full sub-category of QU.
Lemma 5.12. If (X,≤)∈Po and −α:P(X2)→P(P(X)2) is any of the maps introduced in Definition 5.5, then (P(X),≤α)∈Po.
Proof. Since each −α:P(X2)→P(P(X)2) is a lax-monoidal map (see Propositions 2.24 and 2.25), and reflexivity and transitivity are among the properties of binary relations preserved by such maps (see Proposition 2.7), if ≤ is a preorders then so is ≤α. □
Remark 5.13. We call ≤S, ≤H and ≤P the Smyth, Hoare, and Plotkin preorders, respectively. We adopt these names due to the similarity of these preorders with the relations on abstract bases used to define Smyth, Hoare, and Plotkin powerdomains (see [AJ94, Proposition 6.2.9 and Theorem 6.2.10]).
Theorem 5.14. For every (X,≤)∈Po and α∈{S,H,P}, we have Pα(X,U≤)=(P(X),U≤α).
Proof. By Proposition 3.16, U≤=↑≤. Hence, B={≤} is a base for the quasi-uniformity U≤. By Definition 5.5, Bα={≤α} is a base for the quasi-uniformity (U≤)α. Therefore, (U≤)α=U≤α. □
6 Concluding Remarks
We have established several relations, at a category-theoretic level, between quasi-uniform spaces, topological spaces, and quantale-valued metric spaces. In particular, we have identified the category of quasi-uniform spaces and quasi-uniformly continuous maps as the appropriate qualitative counterpart of the category of quantale-valued metrics and uniformly continuous maps, thus providing a framework for qualitative robustness analysis. We have also shown that the Hausdorff-Smyth monad on quantale-valued metric spaces arises as a lifting of a corresponding powerset-like monad on quasi-uniform spaces.
The present treatment has deliberately ignored order-enriched structure. The category QU is naturally Po-enriched, and the Hausdorff-Smyth, Hausdorff-Hoare, and Hausdorff-Plotkin monads are Po-enriched as well. Incorporating this enrichment would make it possible to apply the framework developed in [DFM25, Section 5] and obtain separated variants of the corresponding monads. Furthermore, if A is a Po-enriched category, one may define Ao(X,Y)=A(X,Y)o, that is, by reversing the preorder on each hom-set. In this setting, the involution functor o on Po becomes a Po-enriched functor from Po to Poo.
A natural direction for future work is the development of suitable effective structures for quasi-uniform spaces and quantale-valued metric spaces. Such structures would be needed to connect the qualitative framework developed here with computability and effective robustness analysis.
We do not know whether the counterpart of Theorem 5.14 holds for Top or not. It will be interesting to determine whether the three monads induced on Top by those on QU are related to any well-known monads on Top.
References
[AJ94] Abramsky, S. and Jung, A. "Domain Theory". In: Handbook of Logic in Computer Science. Ed. by Abramsky, S., Gabbay, D. M., and Maibaum, T. S. E. Vol. 3. Oxford: Clarendon Press, 1994, pp. 1–168.
[Bor94a] Borceux, F. Handbook of categorical algebra: Basic category theory. Vol. 1. Cambridge University Press, 1994.
[Bor94b] Borceux, F. Handbook of categorical algebra: Categories and structures. Vol. 2. Cambridge University Press, 1994.
[CW21] Cook, D. S. and Weiss, I. "The topology of a quantale valued metric space". In: Fuzzy Sets and Systems 406 (2021), pp. 42–57. DOI: 10.1016/j.fss.2020.06.005.
[DFM25] Dagnino, F., Farjudian, A., and Moggi, E. Robust Topology and the Hausdorff-Smyth Monad on Metric Spaces over Continuous Quantales. 2025. arXiv: 2508.11623 [cs.L0].
[FL82] Fletcher, P. and Lindgren, W. F. Quasi-uniform spaces. Marcel Dekker, 1982.
[Fla97] Flagg, R. "Quantales and continuity spaces". In: Algebra Universalis 37.3 (1997), pp. 257–276. DOI: 10.1007/s000120050018.
[FM23] Farjudian, A. and Moggi, E. "Robustness, Scott Continuity, and Computability". In: Mathematical Structures in Computer Science (2023), 1–37. DOI: 10.1017/S0960129523000233.
[Gav19] Gavazzo, F. "Coinductive equivalences and metrics for higher-order languages with algebraic effects". PhD thesis. University of Bologna, Italy, 2019.
[Gie+03] Gierz, G. et al. Continuous Lattices and Domains. Vol. 93. Encyclopedia of Mathematics and its Applications. Cambridge University Press, 2003.
[GL13] Goubault-Larrecq, J. Non-Hausdorff topology and domain theory. Cambridge University Press, 2013.
[HNV03] Hart, K. P., Nagata, J.-i., and Vaughan, J. E. Encyclopedia of general topology. Elsevier, 2003.
[JM10] Jaskelioff, M. and Moggi, E. "Monad transformers as monoid transformers". In: Theoretical computer science 411.51-52 (2010), pp. 4441–4466.
[Joh86] Johnstone, P. T. Stone spaces. Vol. 3. Cambridge Studies in Advanced Mathematics. Cambridge: Cambridge University Press, 1986. ISBN: 0-521-33779-8.
[Kel75] Kelley, J. L. General Topology. Vol. 27. Graduate Texts in Mathematics. New York, NY: Springer-Verlag, 1975.
[Kop88] Kopperman, R. "All topologies come from generalized metrics". In: The American Mathematical Monthly 95.2 (1988), pp. 89–97.
[Law73] Lawvere, F. W. "Metric spaces, generalized logic, and closed categories". In: Rendiconti del seminario matematico e fisico di Milano 43 (1973). Reprints in Theory and Applications of Categories, No. 1, 1-37 (2002), pp. 135–166.
[MM76] Manes, E. G. and Manes, E. G. "Algebraic theories in a category". In: Algebraic Theories (1976), pp. 161–279.
[Mog+18] Moggi, E., Farjudian, A., Duracz, A., and Taha, W. "Safe & Robust Reachability Analysis of Hybrid Systems". In: Theor. Comput. Sci. 747 (2018), pp. 75–99. DOI: 10.1016/j.tcs.2018.06.020.
[Mog91] Moggi, E. "Notions of computation and monads". In: Information and computation 93.1 (1991), pp. 55–92.
[Ran53] Raney, G. N. "A subdirect-union representation for completely distributive complete lattices". In: Proceedings of the American Mathematical Society 4.4 (1953), pp. 518–522.
[RLR02] Rodríguez-López, J. and Romaguera, S. "The relationship between the Vietoris topology and the Hausdorff quasi-uniformity". In: Topology and its Applications 124.3 (2002), pp. 451–464. DOI: 10.1016/S0166-8641(01)00252-8.
[Smy77] Smyth, M. B. "Effectively given domains". In: Theor. Comput. Sci. 5.3 (1977), pp. 257–274.
[Vic93] Vickers, S. "Information systems for continuous posets". In: Theoretical Computer Science 114.2 (1993), pp. 201–229. DOI: 10.1016/0304-3975(93)90072-2.
[Wil70] Willard, S. General Topology. Addison-Wesley, 1970.