3. Approximating parametrized metrics
Many researchers used families of (pseudo)metrics, often endowed with a parameter, in order to characterize objects of their study. For example, J.F. McClendon [
7] considers a disjoint collection of metric spaces whose metrics are compatible with a given topology on the disjoint union of sets, V. Radu [
9] applies families of metrics in the research of distribution functions, D. Schueth [
10] in her research uses families of Rimannian metrics on simply connected manifolds, etc. On the other hand, we are aware of only a few studies in which just parametrized metrics were considered as objects. Actually, the first work known to us, in which parametrized metrics appear is a work by N. Hussein and co-authors [
8]. Namely, a parametrized metric on a set
X is a function
such that
- (PM1)
for all if and only if ;
- (PM2)
for all and all ;
- (PM3)
for all and all .
(Note that in the paper cited above the authors use for this concept a very inappropriate, in our opinion, name of a parametric metric.)
In the paper [
25] we presented a construction of a parametrized metric based on a appropriately chosen
t-conorm. In this paper, in the spirit of this work, we introduce the approximating version for parametrized metrics.
Definition 6. Let X be a set. A mapping is called an approximating parametrized metric on X if it satisfies the following conditions:
- (APM1)
;
- (APM2)
if and only if ;
- (APM3)
;
- (APM4)
;
- (APM5)
is left semicontinuous for all
Patterned after Definition 5 we introduce the strong version of the approximating parametrized metric.
Definition 7.
An approximating parametrized metric P on a set X is called strong if in addition to axioms(APM1)-(APM3)the following modifications of axioms(APM4)and(APM5)are satisfied
- (APM4)
for all and for all .
- (APM5)
is left continuous and non-increasing, (that is ).
It turns out that under certain conditions, fuzzy approximating metrics and approximating parametrized metrics can be considered dual concepts. The details of this statement will be revealed later in this section.
Theorem 1. Let be a fuzzy approximating metric for the Hamacher t-norm and let
Then is an approximating parametrized metric.
Proof Note first that since for every , the definition of is correct. Besides, from Proposition 1 it follows that the function is non-increasing.
Property (APM1) for follows directly from Property (FAM1) for .
Referring to axiom (FAM2) and recalling that by Proposition 1, the limit exists for every pair we establish axiom (APM2) as follows:
if and only if , i.e. if and only if .
Referring to axiom (FAM3) we establish property (APM3) for as follows:
.
To show (APM5) notice that by (FAM5)
and recall that is non-increasing.
To complete the proof we have to show that axiom (FAM4) in case of Hamacher t-norm for , i.e.
implies property (APM4) for , i.e.
We denote . We have to prove that
under assumption that
Now we prove the requested inequality as follows:
□
In the proof of the property (APM4) the crucial role was played by the inequality where the left side of the inequality was the result obtained by the Hamacher t-norm. Noticing this, we can get the following corollary from the previous theorem.
Corollary 1. Let be a fuzzy approximating metric for a t-norm which is weaker (i.e. smaller) or equal to the Hamacher t-norm. Then by setting
we get an approximating parametrized metric . In particular if it is a fuzzy metric for the product and ukasiewicz t-norm.
Theorem 2. Let be an approximating parametrized metric on a set X. Then the mapping defined by
is a fuzzy approximating metric for the Hamacher t-norm.
Proof We can verify that each one of axioms (APM1) - (APM5) for P implies the validity of the corresponding condition (FAM1) - (FAM5), for the mapping P similarly, as we did in the opposite direction in the proof of Theorem 1. We shall linger only on the proof of less trivial property in case * is the Hamacher t-norm. Explicitly, we have to prove that for all and for all the following inequality holds:
under assumption that
We fix , denote and referring to the definition of through P, we rewrite the provable inequality by
,
which, after elementary transformation comes to the accepted inequality .
Corollary 2. Let be an approximating parametrized metric and define by
Then is a fuzzy approximating metric for any t-norm * such that . In particular, it is a fuzzy metric for the product and ukasiewicz t-norms.
Notice that from the above constructions and from Theorem 1 and Theorem 2 we have the following corollaries:
Corollary 3. For every approximating parametrized metric M the equality holds.
Corollary 4. 1 If is a fuzzy metric for a t-norm * such that then .
Remark 4. Note however, that when writing , the equality “forgets" the original t-norm * used in the definition of the fuzzy metric (and hence such that by Corollary 1) and the resulting fuzzy metric (by Theorem 1) is a fuzzy metric for the Hamacher t-norm .
Corollary 5. Approximating parametrized metrics and fuzzy approximating metrics for Hamacher t-norms are equivalent concepts.
One can easily modify the proofs of the Theorems 1 and 2 and their corollaries for the case of strong fuzzy approximating metrics and strong approximating parametrized metrics. Namely, the following statements hold:
Theorem 3. Let be a strong fuzzy metric for the Hamacher t-norm and let
Then is a strong approximating parametrized metric.
Theorem 4. Let be a strong approximating parametrized metric on a set X. Then the mapping defined by
is a strong fuzzy approximating metric for the Hamacher t-norm.
Corollary 6. Strong approximating parametrized metrics and strong fuzzy approximating metrics for Hamacher t-norms are equivalent concepts.
Patterned after the definition of an ultrametric, a mapping satisfying properties (APM1), (APM2), (APM3), (APM5) of the Definition 6 and the following stronger version of the property (APM4)
will be called an approximating parametrized ultrametric .
The following theorem shows that approximating parametrized ultrametrics correspond to fuzzy approximating metrics for the minimum t-norm.
Theorem 5. If is a fuzzy approximating metric for the minimum t norm, then by setting we get an approximating parametrized ultrametric . Conversely, given an approximating parametrized metric , by setting we obtain a fuzzy approximating metric for the minimum t-norm.
Proof Obviously we have to prove that condition for a is equivalent to axiom (FAM4) in case to compare them with of the minimum t-norm. In other way stated, by using notations , , we have to prove that
for . However, to see this just assume that . □.
4. Fuzzy approximating metrics versus fuzzy partial metrics
Partial metrics were introduced in 1994 by Matthews [
20] and now they are in the focus of interest for some mathematicians and theoretical computer scientists, see, e.g. the survey [
5].
Basing on the concept of a partial metric, V. Gregori, J-J. Minana and D. Miravet [
16] introduced the concept of a fuzzy partial metric, both in KM and GV versions. We rely here on the GV-version of a fuzzy partial metric to compare them with our fuzzy approximating metrics.
Definition 8. [16] Let X be a set, * a continuous t-norm and the corresponding residuum. A fuzzy partial metric on a set X is a mapping satisfying the following conditions for all and all :
- (FPM0)
- (FPM1)
- (FPM2)
if and only if
- (FPM3)
- (FPM4)
- (FPM5)
mapping is a lower semicontinuous function.
One can easily notice certain common features between our fuzzy approximating metrics on one side and partial and fuzzy partial metrics on the other. And this is not surprise, since the idea of both approaches is the problem of evaluation of the distance between two infinite strings. Namely, in practice the result will not be obtained as given or received at some step, but will be achieved in the infinite process of comparing of these strings. However, the tools suggested for this research, that is fuzzy approximating metrics and (fuzzy) partial metrics are essentially different. In this section we make a preliminary comparison of fuzzy approximating metrics and fuzzy partial metrics.
We make this comparison by comparing individual axioms in the definitions in case when x and y are infinite strings. Note first that conditions (FPM0), (FPM1), (FPM3) and (FPM5) are equivalent to conditions (FAM0), (FAM1), (FAM3) and (FAM5) respectively. So, we have to compare (FPM2) with (FAM2) and to compare (FPM4) with (FAM4).
Speaking informally, condition (FAM2) means that, if comparing strings x and y, we notice that they coincide at each step and hence , we conclude that . On the other hand, condition (FPM2) asks to compare values , and at each step and if they are equal, then conclude that . In this case no information about the value and specifically of its limit at the infinity for a given is specified. So, axioms (FPM2) and (FAM2) are incomparable. although (FPM2) seems us more flexible than (FAM2).
In order to compare (FPM4) with (FAM4), we have to fix a t-norm, since they are the only axioms where t-norm (and hence the corresponding residuum ) is involved. We restrict here to the case of ukasiewicz t-norm and the case of the minimum t-norm and the strong version of the fuzzy approximating version. Just in these cases the comparison of the axioms becomes most visual.
In case of the ukasiewicz t-norm condition (FPM4) can be rewritten as
and hence if for each we have
On the other hand the condition (FAM4) can be rewritten as
So although concepts of a fuzzy partial metric and fuzzy approximating metric are independent, the concept of a fuzzy partial metric in case of ukasiewicz t-norm seems more flexible than the concept of a fuzzy approximating metric.
Now in case of the minimum t-norm and taking into account axiom (FPM1) the “strong version”
of the axiom can be rewritten as
and this is just the axiom of the strong fuzzy approximating metric
5. Examples of application of the constructed approximating parametrized metric in word combinatorics
In our previous papers we have presented several approaches and constructions of fuzzy metrics [
2,
24], parametrized metrics [
4] and fuzzy approximating metrics [
3], which describe distance between any infinite words. In these papers we stress inappropriate numerical results for ordinary metrics on the universe of the infinite words. Here, for the evaluation of the distance between infinite words, we will use a strong approximating parametrized metric constructed by means Theorem 1 from a strong fuzzy approximating metric considered in [
3] .
Let
X be the set of infinite words. We define a sequence
of metrics on
X as follows. Let
and let
and
. We define a sequence of metrics:
Basing on this sequence of metrics we construct the sequence of strong fuzzy approximating metrics in case of the Drastic t-norm on the set X of all infinite words:
, where
Further, we define the following family of mappings:
Finally, we construct a mapping
as follows:
It is provable that the mapping
is a strong fuzzy approximating pseudometric in case of the drastic t-norm
(for details, see [
3]). Now from Theorem 1 we define an approximating parametrized metric
and define
Suppose we compare three infinite words
, and
where and the symbol defines a string of the length m, which consists only of zeroes (similarly a string of ones). For a finite m we expect that as infinite words x and z differ only at finite positions (the first m) but coincide at all other positions. We introduce the numerical results of this approximating parametrized metric by choosing different parameters c and we also search for the change point i.e. the length m of the prefix, where the sign for inequality changes. We start with the parameter .
As we can see in
Table 1, for our approximating parametrized metric
we get the expected value for
(although the change point for our construction of approximating parametrized metric
is not small, i.e., at
, this result means that already first 371 positions are more important than all other infinite ones). The one number which outshines from the
Table 1 is
, if
. As
y and
z coincide only in the first positions and differ in all others, then approximating parametrized metric gives value
as the first position have the weight one half. From this we get that
Increase of the parameter
c gives us a possibility to put smaller weights on the prefix. For small
m we get the expected inequality
, but at some point we reach the change point (see
Table 2 and
Table 3). Of course it can be fixed by increasing the parameter
c unlimitedly.
Another important point that can be seen in both
Table 2 and
Table 3 is that
for
and
as
and
so .
In this case, if we increase the parameter c unlimitedly, then for the value tends to ∞.