1. Introduction
In 1951, K. Menger [
1] introduced the notion of a statistical metric. This concept was thoroughly studied and renamed as a probabilistic metric in [
2]. Later, based on the definition of a probabilistic metric, I. Kramosil and J. Michálek [
3] introduced the notion of a fuzzy metric. This concept, after a certain editorial modification carried out by M. Grabiec [
4], is usually called now fuzzy metric, in the sense of Kramosil and Michálek, or KM-fuzzy metric for short (Definition 2). On the basis of KM-fuzzy metric, George and Veeramani [
5,
6] introduced an alternative concept of a fuzzy metric, known now as a fuzzy metric in the sense of George and Veeramani, or GV-fuzzy metric for short (Definition 4). Among the advantages of George–Veeramani’s definition of a fuzzy metric are its better topological properties as well as a large number of special possible realizations of such fuzzy metrics. On the other hand, some constructions which are feasible within KM-fuzzy metrics are not realizable in the framework of GV-fuzzy metrics, in particular some constructions presented in this work, see
Section 6. Although there are also other, essentially different, approaches to the concept of a fuzzy metric (see e.g., [
7,
8,
9,
10], etc.), at present, most research work in the field of fuzzy metrics is conducted in the context of KM- and GV-fuzzy metrics. In addition, in this paper, we take KM-fuzzy metrics approach as a basis.
Recently, some researchers, in particular people working in the field of automatic sequences, in stringology, in word combinatorics, and other related areas of mathematics and theoretical computer science, started to use analytical methods in order to investigate the structure of the universe of infinite words and languages. To realize these methods, different metrics on the universe of infinite words were introduced, the topologies and the convergence structure induced by these metrics were studied, and limits of sequences of words were studied. However, as far as our experience shows, ordinary metrics cannot be an appropriate tool for the study of problems of combinatorics on words; see comments in
Section 1.1. Fuzzy metric—either in MK- or GV-version—seems more appropriate for this merit since the parameter
t allows to reflect information about the string (infinite word) at the moment
t of observation, or, differently stated, up to the length
t of this string. However, instead of general fuzzy metrics, we use their special kind, namely, strong fuzzy metric (Definitions 3 and 5), introduced by A. Sapena and S. Morillas [
11] and later studied and used by different authors. The principal difference between general fuzzy metrics and strong fuzzy metrics is in axiom
in Definition 2, replaced by axiom
in Definition 3. When studying strings (infinite words) and obtaining information at some level (or number of letters or length, or time)
t, we do not see it reasonable (or even possible) to coordinate transition from a level
t to another level
s (it addition to obvious monotonicity) by a special formula, as it is requested by axiom
. Therefore, we think that it is sensible to coordinate information at the same level as it is asked by axiom
and stick here to the use of strong fuzzy metrics.
The first goal of this paper is to contribute to the study of strong fuzzy metric spaces. We realize this goal in
Section 2,
Section 3,
Section 4 and
Section 5. In
Section 2 (Preliminaries), we present general information about fuzzy metrics, in particular strong fuzzy metrics. In
Section 3, some classes of strong fuzzy metrics are studied; these classes are constructed from ordinary metrics on the basis of some known families of
t-norms.
Section 4 is devoted to the study of global properties, namely, lattice structure and topological location, of certain families of strong fuzzy metrics. In
Section 5 and
Section 6 in this series, we conduct some observation about strong fuzzy
k-metrics—the strong version of the so called
k-fuzzy metrics; see [
12,
13].
Our first attempts to adjust fuzzy metrics for the use in word combinatorics were undertaken in [
14,
15]. Already in these papers we realized that for a more adequate description of the distance between words, along with “classical” strong fuzzy metrics, it is reasonable to rely also on their modifications constructed from certain fragments of fuzzy metrics. The difference of such “fragmentary” fuzzy metrics from ordinary strong fuzzy metrics is that in “fragmentary” fuzzy metrics, we receive the complete information about the string only at the “infinity” level
of the string, which is when the information about a string on all levels
t is available. Developing this idea in the present paper, we introduce the concept of a strong approximating fuzzy metric. The study of strong fuzzy approximating metrics, illustrating them with examples and discussion of their appropriateness for the description of the structure of infinite words, is the second principal goal of this paper; it is realized in
Section 6 and
Section 7. In the last section, Conclusion, we discuss some perspectives for continuation of this work—both from theoretical point and in view of possible applications.
1.1. Discrepancy of Ordinary Metrics for the Problems of Word Combinatorics
One can find several different metrics on the universe of infinite words. The first one, considered, e.g., in [
16,
17,
18], can be defined as follows: Given
and
, where
for all
let
In our opinion, this metric does not give any meaningful information about actual “distance” between the words. For example, let , , and be infinite words. Then, obviously, . However, this means that in both cases, the distance between these infinite words is 1, i.e., the greatest possible value that this metric can achieve. In actuality, this means everything concerning distance is dictated by the first digits of the strings. However, comparing these words informally, one may feel that x is closer to y than z.
Another metric on the universe of infinite words
X can be found in, e.g., [
19]. For every
, we define a function
by setting for given
and
One can easily see that the function
thus defined is a metric (actually an ultrametric) on the universe of all infinite words. As different from the metric
d described in the previous paragraph, it takes into account information about a word on the whole, and not only information about their prefixes. However, this metric also gives only accumulated information about the distance on the universe
X and neglects all specific details of this information. For example, let
and
z be the same words as in the previous paragraph. Then,
, and
and, hence, also
neglects the essential local difference between these words but just accumulates all information in one number. A similar approach to ours can be seen in [
20,
21], where authors use a modification of Levenshtein distance called heuristic distance. In this case, the distance is expressed as a percentage and is equivalent to our output values from an interval
.
Summing up the conclusions drawn from the previous examples, we infer that ordinary metrics cannot serve as an appropriate analytic tool for determining nearness-type relations between infinite words. Therefore, instead of ordinary metrics, we suggest to use fuzzy (pseudo)metrics. In our opinion, fuzzy (pseudo)metrics are a subtler tool if compared with ordinary (pseudo)metrics and, if properly defined, will give a more precise information about the distance related properties in the universe of infinite words.
3. Strongness of Standard Fuzzy Pseudometrics
In [
5] the authors proposed a method allowing to construct from an arbitrary (pseudo) metric
a GV-fuzzy (pseudo)metric
for the product
t-norm. Later, this construction was developed for the case of an arbitrary continuous
t-norm and the resulting fuzzy (pseudo)metric
called the standard (pseudo)metric induced by a metric
d. Standard fuzzy (pseudo)metrics play an important role both as a broad source for constructing examples of fuzzy pseudometrics maintaining different prescribed properties and as an important link between the theories of metrics and fuzzy metrics.
In this section, we first are interested whether the standard fuzzy (pseudo)metric is strong depending on the t-norm used in its definition. First, we recall the definition of the standard fuzzy metric (slightly modified in order to be appropriate also for KM-version of fuzzy (pseudo)metrics).
Definition 6. Given an (ordinary) pseudometric and a t-norm , the standard fuzzy pseudometric induced by d is defined by
It is known and easy to see that is indeed a fuzzy pseudometric for the minimum t-norm, and hence (by Remark 1) also for every t-norm.
Since the standard fuzzy pseudometric is obviously increasing and continuous on the parameter t, the only problem we have to consider is whether the axiom (3KM) is satisfied for . In order to follow a certain consistency here we start with considering some known families of t-norms.
Recall that the family of Hamacher t-norms is defined by
where
is a parameter.
Theorem 1. For every pseudometric , standard fuzzy pseudometric is strong for every Hamacher t-norm .
Proof. We have to prove that
for any
and
.
In order to simplify the entry in the proof, here and in the sequel we denote , and rely on the inequality justified by the triangle axiom of the pseudometric d. Thus, we have to prove
By a simplification, this inequality is equivalent to the following one
The last one is obvious by the properties of the metric d. □
Since the product
t-norm is a specific case of the Hamacher
t-norm in case the parameter
, from this theorem we obtain the following (actually well-known, see, e.g., [
11,
25]) corollary.
Corollary 1. The standard pseudometric for a product t-norm is strong.
Another important family of t-norms are Weber t-norms defined for a parameter by
Theorem 2. For every metric the standard fuzzy pseudometric is strong for every Weber t-norm .
Proof. We have to prove that
By obvious simplifications we reduce it
The last inequality is obvious since □
In case
we have Łukasiewicz
t-norm
, and from Theorem 2 we obtain the following known, see, e.g., [
25] fact:
Corollary 2. Standard fuzzy metric is strong in case of the Łukasiewicz t-norm .
Theorem 3. Standard fuzzy pseudometric for the drastic t-norm is strong.
Proof. To prove that
we consider several cases:
If and , then left side of inequality is equal to 0
If and , then and . We similarly reason if and
If , then and .
□
Notice that standard fuzzy pseudometrics in case of some important t-norms are not strong.
Example 2. Standard fuzzy pseudometric for the minimum t-norm generally is not strong. Indeed, if then for every .
Example 3. Standard fuzzy pseudometric for the nilpotent minimum t-norm generally is not strong.
Proof. Assume the opposite
and suppose
,
,
and choose
. Then
Thus, in this case we obtain
The obtained contradiction completes the proof. □
Strongness of Standard Fuzzy k-Pseudometrics
Let be a constant and X be a set. Generalizing the concept of a (pseudo)metric, Bakhtin and Czervik (independently) introduced the notion which is now known by metric-type structure, a b-(pseudo)metric or a k-(pseudo)metric. We stick here to the last term:
Definition 7 ([
26,
27,
28]).
Let . A k-(pseudo)metric on a set X is a mapping such that- (1Mk)
;
- (2Mk)
;
- (3Mk)
.
Obviously, we return to the definition of a metric if k = 1, while in case k < 1, the definition makes no sense.
Example 4. In the paper [13], the following scheme for constructing k-pseudometrics for a given from ordinary pseudometrics was suggested. Let be a strongly increasing continuous function such that and for all . A series of k-(pseudo)metrics can be obtained from an ordinary (pseudo)metric by the following construction; see, e.g., [13]. Let be a fixed constant and let be a continuous increasing mapping such that and for all . Now, for an arbitrary (pseudo)metric on a set X, by settingwe obtain a k-(pseudo)metric on this set.
In [
12,
13], the GV-fuzzy version of a k-(pseudo)metric was introduced. Below, we present this definition in the format of KM-fuzzy (pseudo)metrics.
Definition 8 ([
12,
13]).
A fuzzy k-pseudometric on a set X is a pair where ∗ is a continuous t-norm and is a mapping satisfying the following conditions for all , :- (0FKMk)
for all ;
- (1FKMk)
;
- (2FKMk)
for all , for all ;
- (3FKMk)
for all , for all ;
- (4FKMk)
is left continuous for all .
The triple is a calleda fuzzy k-pseudometric space.
If the axioms (3FKMk) and (4FKMk) are replaced, respectively, by axioms (3FKMk) and (4FKMk),
- (3FKMk)
;
- (4FKMk)
is left continuous and increasing for all .
Then M is called a strong fuzzy k-pseudometric.
Patterned after the construction of the standard fuzzy pseudometric induced by a metric set (see Definition 6), we present here the construction of a fuzzy k-pseudometric from a k-pseudometric.
Theorem 4. Let be a k-pseudometric. Then the mapping defined by
is a fuzzy k-pseudometric for the minimum t-norm and hence (by Remark 1) for any continuous t-norm.
Proof. The validity of axioms (0FKMk), (1FKMk), (2FKMk) and (4FKMk) for is obvious. Hence, to prove this statement, we have to verify axiom (3FKMk), that is to show that
Since d is a k-pseudometric and hence , we replace the inequality to be proved by a stronger inequality
Without loss of generality we assume that , and therefore we have to show that
We prove this inequality straightforwardly just by noticing that, as it follows from the assumption , we have □
The question whether the standard k-fuzzy metric induced by a k-metric is a strong one is subtler. However, for a certain kind of k-metrics, we have the following general result.
Theorem 5. Let be a continuous t-norm and be a pseudometric. If the standard fuzzy pseudometric is strong for the pseudometric and is defined as in Example 4, then the standard fuzzy k-pseudometric is strong.
Proof. The validity of axioms (0FKMk), (1FKMk), (2FKMk) and (4FKMk) for is obvious. Referring to construction given in Theorem 4 we have to prove only the validity of (3FKMk), that is to show that
for any
and any
. Now, applying the inequality
provided by the properties required for the mapping
, we replace the provable inequality by a stronger one:
However, this inequality can be proved verbatim repeating the reasoning which was used when proving axiom (3FKM) in the definition of the standard fuzzy pseudometric . Recall that we have assumed that for the metric d the corresponding standard fuzzy metric is strong. □
Now we present a construction allowing to obtain a new strong fuzzy k-pseudometric from a given one on the basis of the product
t-norm (cf similar construction in case of strong fuzzy pseudometrics, [
11]).
Let
be a strong fuzzy k-pseudometric for the product
t-norm. Then the mapping
defined by
is also a strong fuzzy k-pseudometric. Since the validity of axioms (0FKMk), (1FKMk), (2FKMk), and (4
FKMk), for
are ensured by the corresponding axioms for
, we have to establish only axiom (3
FKMk), that is the inequality
It will follow from the stronger inequality
which, in its turn, can be reduced to the inequality
The last inequality can be easily established recalling that by axiom (3FKMk) and noticing that .
5. Fuzzy Approximating Metrics and Strong Fuzzy Approximating Metrics
Although strong fuzzy metrics fit well when studying global problems of words combinatorics, for example, considering such questions as topological and lattice-type properties of arrays of words, they are not always satisfactory in applications for problems that involve computation of actual distance between two infinite words. The problem is that in practice of computation, words usually are not available as given at present but appear in the process of computation. We interpret this computation as the procedure along parameter , that is, along the third argument in the definition of a strong fuzzy pseudometric. Under this interpretation axiom (FKM1) is too strong: given a string at the stage , we have compared this string only until the coordinate and we cannot confirm yet that . On the other hand, “at the infinity”, we have information about all elements of the string and therefore it is natural to request that for every . Besides, when comparing x and y at every step t, thus having information up to t on both strings and not knowing yet whether , we obviously have only relation . Note also that we cannot be sure that the equality for every means that , since the whole information is obtained only at the . We view these observations as justification for the following definitions.
Definition 9. A (KM-)fuzzy approximating pseudometric on a set X is a mapping satisfying the following axioms
- (0FAKM)
;
- (1FAKM)
;
- (2FAKM)
If then whenever ;
- (3FAKM)
- (4FAKM)
- (5FAKM)
is lower semicontinuous for all
Definition 10. A strong (KM-)fuzzy approximating pseudometric on a set X is a mapping satisfying axioms (0FAKM)–(3FAKM) and the following modified versions of axioms (4FAM) and (5FAM)
- (FAKM
)
- (FAKM)
is lower semicontinuous and increasing for all
A reader can easily reformulate GV-versions of these definitions.
Remark 6. Comparing Definitions 9 and 10 with definitions of a KM-fuzzy pseudometric and strong KM-fuzzy pseudometric, respectively, notice first that the principal revision of the definition of a KM-fuzzy pseudometric is that we generalized axiom (1FKM) by splitting it into two axioms (1FAKM) and (2FAKM); the intuitive meaning of this splitting is explained above. We do not have to revise axioms (2FKM) and (3FKM) that appear as axioms (3FAKM) and (4FAKM) in the Definitions 9 and 10 since they reflect information at finite steps and hence are operating with the information already received at this step. We do not have to also revise axioms (4FKM) and (4FKM) that appear now as axioms (5FAKM) and (5FAKM) respectively since they are given already in the global way, that is, for each specific .
Remark 7. In [14], where our first attempt to apply fuzzy metrics for description of distance between infinite words was undertaken, we introduced the notion of a fragmentary fuzzy (pseudo)metric, and the name “fragmentary” was justified by their construction from fragments of (pseudo)metrics on the set of infinite words. Later, in [15], we defined φ-fuzzy (pseudo)metrics, generalizing fragmentary fuzzy (pseudo)metrics. One can easily show that fragmentary and φ-fuzzy pseudometrics can be obtained as special kind of GV-fuzzy approximating metrics.
6. Some Examples of Application of Strong Fuzzy Approximating Metrics in Words Combinatorics
Theorem 12. Let be an pseudometric space and define a mapping by Then is a strong (KM-)fuzzy approximating pseudometric in case of the Łukasiewicz t-norm .
Proof. We have to prove that
If
(similarly, if
), then we have
If and then two options need to be examined:
If then we have
which stands as
.
If then we have
which stands as
.
□
Corollary 3. Let be an pseudometric space and define a mapping by
Then is a strong (KM-)fuzzy approximating pseudometric in case of the drastic t-norm .
Notice that some important t-norms generally do not give a strong (KM-)fuzzy approximating pseudometric, which is defined by the mapping .
Example 5. Let be an pseudometric space and define a mapping by
Then generally is not a strong (KM-)fuzzy approximating pseudometric in case of the product t-norm .
Proof. Let us assume the opposite, i.e., is a strong (KM-)fuzzy approximating pseudometric in case of the product t-norm . We have to prove that
i.e.,
which is not true, if
,
,
and
: contradiction. □
Let
X be the set of infinite words. We define a sequence
of pseudometrics on
X as follows. Let
and let
and
. We define:
…
…
Proposition 1. Every is a pseudometric.
Basing on this sequence of pseudometrics and referring to Theorem 12 we construct the sequence of strong (KM-)fuzzy approximating pseudometrics in case of the Łukasiewicz t-norm on the set X of all right-infinite words:
;
;
;
…;
;
…
Further, we define the following family of mappings:
;
;
;
…;
;
…
Unfortunately, we are not able to prove or disclaim that these mappings are strong (KM-)fuzzy approximating pseudometrics in case of the Łukasiewicz t-norm on the set X of infinite words. Nevertheless, we can state the following obvious statement.
Proposition 2. Mappings are strong (KM-)fuzzy approximating pseudometrics in case of the drastic t-norm on the set X of infinite words.
Finally, we construct a mapping
as follows:
Theorem 13. The mapping is a strong (KM-)fuzzy approximating pseudometric in case of the drastic t-norm .
The proof is straightforward from Proposition 2.
Example 6. Let us go back to that counterexample and let
, , .
Previously, we obtained . We start with a strong (KM-)fuzzy approximating pseudometric . In this case,
Let us remind that
Therefore
Finally, from a strong (KM-)fuzzy approximating pseudometric , we obtain that
Now consider , . In this case,
Let us remind that
Therefore,
…
…
Now, we calculate
where
is the floor function. Before we go further, we will refer to one result. For the indication of this result we are grateful to E. M. Miķelsons.
Theorem 14. If we havewhere C is Euler’s constant.
From Theorem 14 we have
If we place this expression back into limit we obtain
Corollary 4. If we have
which shows that infinite word z is estimated “closer" to x than to y. It is natural as words y and z coincide only in the first position, but words x and z do not coincide only in the first position.
Remark 8. The defined strong (KM-)fuzzy approximating pseudometric in Theorem 12 can be generalized as , where . The choice of this constant c depends on the context of specific applications. If we want to find a real "nearness-type" relation between two infinite words, the choice of the constant c depends on an importance of the prefix of the word. For example, if we take , then the outcome of this metric for two words with the same letters in the first position will be at least one half. If we take (as in our case), then the outcome will just be at least . Therefore, the greater the constant c is, the lower the meaning of the prefix and vice versa.
Remark 9. The defined pseudometrics in the construction can be generalized as , where and . If we consider two pairs and with , then in the case of a pair we attach more importance for prefixes, but in the case of a pair , we attach less importance for prefixes.