A Remark on Myhill-Nerode Theorem for Fuzzy Languages
Abstract
Regular fuzzy languages are characterized by some algebraic approaches. In particular, an extended version of Myhill-Nerode theorem for fuzzy languages is obtained.
1. Introduction
Fuzzy sets were introduced by Zadeh in [1] and since then have appeared in many fields of sciences. They have been studied within automata theory for the first time by Wee in [2]. More on recent development of algebraic theory of fuzzy automata and formal fuzzy languages can be found in the book Mordeson and Malik [3], the texts Malik et al. [4, 5], and Petković [6].
A fuzzy language is called regular if it can be recognized by a fuzzy automaton. In the texts Mordeson and Malik [3], Petković [6], Ignjatovic et al. [7], and Shen [8], regular fuzzy languages have been characterized by the principal congruences (principal right congruences, principal left congruences) determined by fuzzy languages, which are known as Myhill-Nerode theorem for fuzzy languages. Moreover, Petković [6] also considered the varieties of fuzzy languages and Ignjatovic and Ciric [9] considered regular operations of fuzzy languages.
Recently, Wang et al. [10] generalized the usual principal congruences (resp., principal right congruences, principal left congruences) to some kinds of generalized principal congruences (resp., generalized principal right congruences, generalized principal left congruences) determined by crisp languages by using prefix-suffix-free subsets (resp., prefix-free languages, suffix-free languages) and obtained some characterizations of regular crisp languages.
In this note, we will realize the idea of the text [10] for fuzzy languages. In other word, we characterize regular fuzzy languages by some kinds of generalized principal congruences (resp., generalized principal right congruences, generalized principal left congruences) determined by fuzzy languages. In particular, we obtain an extended version of Myhill-Nerode theorem for fuzzy languages.
2. Preliminaries
Throughout the paper, A is a finite set which is called an alphabet and A* is the free monoid generated by A, that is, the set of all words with letters from A. The empty word is denoted by 1. The length of a word w in A* is the number of letters appearing in w and is denoted by |w|. The complement of a subset L of A* is the set . A subset L of A* is cofinite if is finite. A nonempty subset S of A* is called a suffix-free language over A if no element in S is a suffix of another element in S. Prefix-free languages over A can be defined dually. On the other hand, a nonempty subset L of A* is called a prefix-closed language over A if any prefix of an element in L is also in L.
As an analogue of prefix-free languages and suffix-free languages over A, Wang et al. [10] introduced prefix-suffix-free subsets of A* × A*. A subset Δ of the set A* × A* is called a prefix-suffix-free subset if for all words s, t, x, y in A*, the following holds: if both (s, t) and (sx, yt) are in Δ, then x = y = 1.
An equivalence ρ on A* is called a right congruence if xρy implies that xzρyz for any x, y, z ∈ A*. A left congruences can be defined dually. An equivalence is a congruence if it is a right congruence and also a left congruence.
Now, we state the well-known Myhill-Nerode theorem for fuzzy languages which gives some algebraic characterizations for regular fuzzy languages. Recall that the index of an equivalence ρ on A* is the number of ρ-classes of A*.
Theorem 2.1 (see [3], [6], [8], Myhill-Nerode theorem.)For a fuzzy language λ over A, the following statements are equivalent:
- (1)
λ is regular.
- (2)
Pλ is of finite index.
- (3)
is of finite index.
- (4)
is of finite index.
On regular fuzzy languages, we have the following.
Lemma 2.2 (see [6].)Finite unions, intersections, products, and left-right quotients of regular fuzzy languages over A are regular.
3. Main Result
In this section, we shall introduce some kinds of generalized principal (resp., right, left) congruences determined by fuzzy languages by using prefix-suffix-free subsets (resp., prefix-free languages, suffix-free languages) and give an extended version of Myhill-Nerode theorem for fuzzy languages.
Proposition 3.1. The above are right congruences (resp., left congruences; congruence) on A*. Furthermore,
Proof. It is easy to check that (resp., ) is a right (resp., left) congruence, PΔ,λ is a congruence, and
Remark 3.2. Note that the above inclusions are all proper in general. For example, let A = {a}, S = {a2} and F = {1, a, a2, a3}. Then . Define a fuzzy language over A as follows:
To obtain our main result, we need a series of lemmas. First, we recall the following alphabetic order “≤” on A*: For two words u and v in A* with different lengths, u < v if |u | <|v|, for two words with same length, the order is the lexicographic order. Observe that the alphabetic order is a well order on A*. We have the following result.
Lemma 3.3. Let L be an infinite prefix-closed language over A. Then there exists an infinite subset {1, a1, a1a2, …, a1a2, …, an, …} of L, where ai ∈ A.
Proof. Denote
Lemma 3.4. Let ρ be a right congruence on A* and {Li∣i ∈ I} be the set of all ρ-classes of A*. Then,
Proof. Clearly, 1 is in Lρ. Let sj be in Lρ and sj = a1a2 ⋯ at for some positive integer t > 1 and a1, a2, …, at in A. Then, a1a2 ⋯ at−1 is not in Lj. Suppose that a1a2 ⋯ at−1 is in Lk. Then, sk ≤ a1a2 ⋯ at−1. This implies that skat ≤ a1a2 ⋯ at−1at = sj. On the other hand, since skρa1a2 ⋯ at−1 and ρ is a right congruence, we have skatρsj. Hence, skat is in Lj and so skat ≥ sj. Thus, skat = sj = a1a2a3 ⋯ at−1at. This implies that sk = a1a2a3 ⋯ at−1 whence a1a2a3 ⋯ at−1 is in Lρ.
Lemma 3.5. Let S be a suffix-free language and λ be a fuzzy language over A.
- (1)
P{1}×S,λ is of finite index if and only if is of finite index.
- (2)
is of finite index if and only if is of finite index.
Proof. (1) Similar to the proof of Proposition 3.11 in [10].
(2) Observe that , the necessity holds. Conversely, if is of finite index and is of infinite index, then by Lemma 3.4, is infinite and prefix-closed. By Lemma 3.3, there exists an infinite subset
Without loss of generality, we let x < y with respect to the alphabetic order, y = a1a2 ⋯ at and u = at+1 ⋯ at+T+1. Then, by the above discussions, and yu is in C. Observe that C is a subset of , in view of the definition of , xu ≥ yu. This implies that x ≥ y. A contradiction.
Lemma 3.6. Let S be a finite suffix-free language over A. Then A*S is cofinite if and only if S is maximal.
Proof. It follows from Lemma 3.14 in [10].
Lemma 3.7. Let Δ be a finite prefix-suffix-free subset of A* × A* and λ be a fuzzy language over A. Then the following are equivalent:
- (1)
PΔ,λ is of finite index.
- (2)
The following fuzzy language λΔ over A defined by
()is regular. - (3)
λ = λ1 ∪ λ2, where λ1 is regular and λ2(w) = 0 for any w in N(Δ).
Proof. (1) implies (2). Let x, y be in A*, (s, t) be in Δ and xPΔ,λy. Then for any u, v in A*, (su, vt) is in ΩΔ. Therefore,
(2) implies (3). By (2), λΔ is regular. Let λ2 be the following fuzzy language over A defined by
(3) implies (1). If λ = λ1 ∪ λ2 for some regular fuzzy language λ1 and a fuzzy language λ2 such that λ2(w) = 0 for any w in N(Δ), then is of finite index and . Observe that
Remark 3.8. In general, for a given finite prefix-suffix-free subset of A* × A* and a fuzzy language λ over A, λ may be nonregular even if PΔ,λ is of finite index. For example, let A = {a, b} and Δ = {(a, b)}. Define the following fuzzy language λ over A as follows:
Now, we have our main theorem.
Theorem 3.9 (An extended version of Myhill-Nerode theorem). For a fuzzy language λ over A, the following statements are equivalent:
- (1)
λ is regular.
- (2)
is of finite index for some finite maximal suffix-free language S over A.
- (3)
is of finite index for some finite maximal prefix-free language P over A.
- (4)
PΔ,λ is of finite index for some finite prefix-suffix-free subset Δ of A* × A* such that N(Δ) is cofinite.
- (5)
is of finite index for some finite maximal prefix-free language P over A.
- (6)
is of finite index for some finite maximal suffix-free language S over A.
Proof. (1) implies (2). Observe that {1} is a maximal suffix-free language over A and , the result follows from Theorem 2.1.
(2) implies (4). Observe that {1} × S is a prefix-suffix-free subset of A* × A* and N({1} × S) = A*S, the result follows from Lemma 3.5 (1) and Lemma 3.6.
(4) implies (1). By Lemma 3.7 (3), there exists a regular fuzzy language λ1 and another fuzzy language λ2 such that λ = λ1 ∪ λ2 and λ2(w) = 0 for any w in N(Δ). However, by (4), is finite, which implies that λ2 is also regular. In view of Lemma 2.2, λ is regular.
By symmetry, we can prove that the facts that (1) implies (3) and (3) implies (4). On the other hand, by Lemma 3.5 (2) and its dual, it follows that (3) is equivalent to (5) and (2) is equivalent to (6).
4. Conclusions
contains the class of regular fuzzy languages over A as a proper subclass. In fact, Lemma 3.7 gives some characterizations of members in 𝔽ℝΔ(A) for a given finite prefix-suffix-free subset Δ of A* × A*. Thus the following questions could be considered as a future work. For a general prefix-suffix-free subset Δ of A* × A*, what can be said about 𝔽ℝΔ(A)? For example, can we obtain some results parallel to Theorems 3.5 and 3.17 in [10]?