1. Introduction: Information Orders and Partial Metric Spaces
In 1970, D.S. Scott introduced the domain theory with the aim of developing a suitable mathematical foundation of computation (see [
1]). This theory is based on the notion of a domain. A domain is a partially ordered structure for modeling computing processes, where the “information” about the final “stage” of the process is increased successively in each step of the process. The partial orders used for this aim are called information orders.
Let us recall the basics about order theory that we will need in our subsequent discussion (see, for instance, [
2,
3]).
A partially ordered set is a pair where X is a non-empty set and ⪯ is a binary relation on X satisfying, for all , the following axioms:
- (i)
; (reflexivity)
- (ii)
and ; (antisymmetry)
- (iii)
and ; (transitivity)
An element is a maximal element of if implies . A least element of Y is an element , such that for all An upper bound of Y is an element such that for all The least upper bound (or supremum) of Y is the least of the set of all its upper bounds, provided it exists.
A non-empty subset is directed if for every pair , there exists , such that and
An ordered set
, in which every directed subset has a supremum, is called a directed-complete partially ordered set (dcpo for short). Directed complete partially ordered sets are also called pre-cpos in [
3].
A sequence in is said to be increasing, provided that for all , where stands for the positive integers.
In a partially ordered structure , endowed with an information order ⪯, the condition is interpreted as all information contained in the datum x is also contained in the datum y. Thus, the condition is understood as the amount of information.
The use of algorithms, which obtain successively refined “approximations” of a desired result in the spirit of Scott is very usual in Computer Science. When an approximation is obtained in some stage of the computation, it seems natural to consider a specific question: How well does the computation approximate the result? In order to determine how “good” an approximation is, the computer scientist models this process using information orders. A computation of an element of the model is considered as a “sequence” of increasing elements in such a way that each element of the sequence is greater than (or equal to) the preceding one, i.e., each stage of the computation gives more information about the result. Hence, the approximated object is regarded as the supremum of the sequence of approximations. For a more full treatment of the topic, we refer the reader to [
3].
However, under this point of view it is not possible to measure the amount of information in each approximation. So the necessity of reconciling the order-theoretic approach with a topological one arises in a natural way. A recent detailed account of the theory from this point of view can be found in the recent monograph [
4].
In order to get a framework useful to unify topological and order-theoretic ideas and, in addition, to provide numerical quantifications of the aforementioned amount of information, several works have been developed for reasoning about programs using “metric” ideas. Among these works, the most prominent references are the paper by M.B. Smyth [
5] and the paper by S.G. Matthews [
6].
In the framework introduced by Matthews, partial metrics play the role of the metric tools.
On account of [
6], a partial metric on a non-empty set
X is a function
such that, for all
, the following axioms are satisfied:
- (i)
; -separation)
- (ii)
; (small self-distances)
- (iii)
; (symmetry)
- (iv)
; (triangularity)
Of course, denotes the set of non-negative real numbers.
A partial metric space is a pair , such that X is a non-empty set and p is a partial metric on
Note that a metric space is a partial metric space where d satisfies, in addition, the condition: (v) for all
Each partial metric p on X generates a topology on X, which has as a base in the family of open p-balls , where for all and Observe that, contrarily to the metric case, the topology induced by a partial metric is only and not Hausdorff.
From this fact, it immediately follows that a sequence in a partial metric space converges to ( for short) with respect to if and only if .
According to [
6], a partial metric
p, defined on a non-empty set
X, induces a partial order
on
X, so-called the specialization order, as follows:
.
Notice that the specialization order matches up with the flat order when the partial metric is exactly a metric.
Of course, can be understood as an information order in the sense that can be interpreted as all information contained if x is also contained in the information content of y. The amount of information is given by the numerical measure . Indeed, if , then . Observe that those elements with are maximal from an information point of view.
Obviously, in those cases where the information content about the final stage of the computational process is increased successively in each step of such a process, the interest is focused on the study of increasing sequences of the form called chains of increasing information, where is an information order and the supremum of the sequence captures the amount of information and, besides, such an amount is measured by a partial metric.
In order to guarantee that such a supremum contains no information other than that which may be derived from the members of the chain, the supremum must be the “limit” of the mentioned chain. Matthews showed that this last condition can be modeled using a Scott-like topology [
6]. Indeed, a topology
on a partially ordered set
is a Scott-like topology with respect to the partial order if each increasing sequence in
has a least upper bound as a limit point of the sequence with respect to
. Let us recall that a partial ordered set
is ⪯-complete provided that every increasing sequence has a least upper bound [
7]. Matthews proved that when a non-empty set
X is endowed with a partial metric
p, the induced partially-ordered set
is
-complete and, in addition, the associated topology
is, in fact, a Scott-like topology with respect to the specialization order
when the partial metric space
is complete.
Recall that a sequence in a partial metric space is called a Cauchy sequence if there exists and, in addition, a partial metric space is said to be complete if every Cauchy sequence in X converges, with respect to , to any element such that . Of course, the completeness coincides with the standard completeness when the partial metric is exactly a metric.
Since Matthews introduced the notion of partial metrics, many works have delved into the study of topological and order-theoretical properties of domains through partial metrics as, for instance [
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18].
In the context of metric spaces, a partial order can be induced by a non-negative real valued function. In particular, on account of [
19,
20], the classical method is given as follows:
If is a metric space, then any real function , induces a partial order on X given by .
In the remainder of the paper, our target is two-fold.
On the one hand, we show that the method for generating the partial order , on a metric space , through a function , captures the essence of information orders in such a way that the function is able to quantify the amount of information contained in the elements of the partially ordered set and its measurement can be used to distinguish between the maximal elements. Moreover, we show that this method for endowing a metric space with a partial order can also be applied to partial metric spaces in such a way that new partial orders, different from the specialization one, can be induced and, in addition, Matthews’ method can be retrieved as a particular case.
On the other hand, we show that, given a complete metric space , the partial ordered set induced by a function enjoys rich properties from an information order viewpoint. Concretely we will show not only its -completeness but the directed-completeness and, in addition, that the topology is a Scott-like topology when the metric space is complete and the function enjoys a distinguished property that we have called inf-continuity. Therefore, the mathematical structure could be used for developing metric-based tools for modeling increasing information processes in Computer Science. As a particular case, our new results we retrieve, for a complete partial metric space , the Scott-like character of the topology and, in addition, that the partial ordered set is a dcpo, and not only -complete when the partial metric space is complete.
2. The New Induced Order: Metric versus Partial-Metric Spaces
We next show that the method for generating the partial order on a metric space , through a function provides a partial order which can be understood as an information order and extends the Matthews method when partial metric spaces are under consideration.
In [
21], R. Heckmann, given a partial metric
, characterized the specialization order
in terms of an induced metric
on
X in the following manner:
Proposition 1. Let be a partial metric space. Then the following holds:
- (1)
The function given by is a metric.
- (2)
For with .
In view of the preceding proposition, the specialization order is induced by means of the above exposed classical method, where the metric space and the function under consideration are exactly , and , respectively. However, the aforesaid classical method helps us to induce new partial orders, different from the specialization one, in partial-metric spaces, as follows:
If
is a partial metric space and
is any function on
X, then the binary relation
given by:
is a partial order on
X.
The value of partial metrics is given, among others, by the fact that there are many examples of spaces which arise in a natural way in Computer Science, whose order structure can be expressed in terms of a partial metric (see [
11,
12,
13,
14,
16,
22]. Following [
22], partial metrics that capture the partial order of a partially ordered set are called satisfactory. Three samples of this type of situations are given in Examples 1–3, below. These examples show that partial metrics are relevant in several fields of Computer Science.
Example 1 (Domain of words). Let Σ be a non-empty alphabet. Denote by the set of all finite and infinite sequences (“words”) over Σ. As usual, if , then we will denote by the length of Thus, We will write when with . Moreover, we will write when w is an infinite word.
G. Kahn introduced a model of parallel computation in order to describe mathematically communicating computing processes by sending unending streams of information (infinite words) between them (see [6,23]). Thus, such a model was based on the set endowed with the Baire metric. In order to study the existence of a possible deadlock in the communication processes (see [24]), Matthews defined the Baire partial metric on the set . The Baire partial metric is given by:where whenever when v and w have a nonempty common prefix, and otherwise. Notice that and that this situation occurs when and . Moreover, observe that . Typically the set is ordered by ⊑ in the following way: Obviously the prefix order ⊑ coincides with the specialization order and, thus, with , i.e., the partial order induced by the metric through , where: The partial metric space endowed with the prefix order is called the domain of words.
The infinite words can be viewed as elements with total information content, while finite words can be considered as elements with partial information content. Note that the partial metric allows us to distinguish between them. Indeed, . The elements with total information content are maximal elements. Moreover, notice that when we observe as the partially ordered set , we can appreciate that the function can be used to distinguish the words with total information content (maximal elements) from those with partial information content because .
Example 2 (Flat domain)
. Let S be a non-empty set and . Consider and the partial order ⪯ on X given by:According to [6], X becomes a partial metric space when we endowed it with the flat partial metric defined by: by Clearly the partial order ⪯ coincides with the specialization order . The computational intuition underlying the ordered space is given by the fact that the set S is formed by elements with totally defined information content (all of them have the same information content) and the element ⊥ which is undefined and, thus, its information content is partial. Observe that the flat partial metric captures the notion of maximality from the information viewpoint, since . Hence all elements in S are maximal.
Note that that such a structure can also be induced by the new general method taking the function given by: Of course the partial order ⪯ is induced by the flat partial metric through , i.e., ⪯ coincides with Again, the function can be used to distinguish the elements with totally defined information content and the element ⊥, since .
Example 3 (Domain of complexity functions)
. In [25], S. Oltra, S. Romaguera and E.A. Sánchez-Pérez introduced the partial metric complexity space given by:andIt must be pointed out that the convention is adopted.
According to [15,25] (see [26] for detailed applications), the partial metric complexity space is suitable to develop a topological foundation for asymptotic complexity analysis of algorithms. In fact, one can assign a function in to the running time of the computing of an algorithm P in such a way that represents the time taken by P to solve the problem for which it has been implemented. When an algorithm process of an input of size n provides an undefined output value, then . Observe that the partial order allows us to discuss the asymptotic complexity behaviors of the running time for computing of the algorithms. That is, for all . Thus, from an information point of view, can be interpreted as f is “at least as efficient” as g on all inputs. Therefore, g provides an asymptotic upper bound of f and, hence, of the running time of computing that it represents. In this context, the element with its totally defined information content is the complexity function , such that for all , since . Thus, the information content is conceived in a reverse sense. The smaller , the less the information about the running time of complexity. Thus, those elements with partial information content, providing information about running time, belong to . Here, the maximal element is , that is, the element with less information about running time.
Observe that the partial order is exactly , i.e., induced by the metric through where:Consequently, the function can be used to distinguish the functions with total information content (maximal elements) from those with partial information content because . Example 4 gives an instance of partial metric space which is not satisfactory and, thus, it shows that partial metrics are not always able to encode the partial order given in a non-empty set. Moreover, the example shows that it can be turned into a satisfactory result using our new method.
Example 4. Consider the partial metric space , where for all . The restriction of to is denoted again by . It is known that the partial metric is not satisfactory when is endowed with the usual partial order ≤. Indeed (or equivalently ) does not coincide with ≤, since .
Nevertheless we show that choosing a suitable function , the usual order ≤ can be induced by the partial metric through φ, i.e., coincides with ≤. Indeed, take It is a simple matter to see that, given Indeed, . Hence, Thus we obtain: If we interprete the fact that as the number y has more information than x, then the function φ captures the amount of information. Since smaller values have more information content in x, in such a way that the element with total information content 1 (the maximal element) satisfies . Moreover, the function φ distinguishes between the maximal element and others because .
Observe that the partial ordering method due to Heckmann, and introduced in Proposition 1, cannot turn the partial metric into a satisfactory result by means of the function φ.
The above examples suggest that the function can be used as a feature to quantify the amount of information contained in the elements of the partially ordered set in such a way that the value allows us to distinguish maximal elements because x is maximally totally (defined), provided that .
In the following result, we formally prove that such a hypothesis is true. To this end, let us recall that, given two partially ordered sets, and , a mapping is said to be decreasing provided that , whenever .
First of all, we stress that, given a metric space , a function is decreasing with respect to . Therefore, the smaller values match up with the more information content in x. Hence, can be understood, as the element y has at least as much information content as the element x.
Proposition 2. Let be a metric space and let be a function. Then the following assertions hold:
- (1)
For all , .
- (2)
Elements with are maximal.
- (3)
If and , then .
Proof. . Let . Then for all , such that . Whence we deduce that inf Suppose that inf Then, inf, which is a contradiction. Since , we have that .
. Let
, such that
. Assume that there exists
with
Then:
It follows that
and so
which implies that
z is a maximal element in
.
. Let
such that
and
Then we have:
Therefore
. □