1. Introduction
The connective exclusive or plays an important role in computer programming especially in many encryption algorithms (see e.g. [9], [14], [15]), neural networks ([7], [13]), Quantum Computing ([10], [12]) or other fields ([4], [5], [16], [17]). The authors of [2] and [3] introduced an autonomous definition of the fuzzy Xor connective, which is independent of the other connectives. In the earlier literature we can find a fuzzy Xor operation as a composition of the fuzzy negation, and triangular conorms and norms (see [6], [8], [11], [13]).
In this paper we show what conditions must be met by the fuzzy Xor to be used for cryptographic purposes. We also provide new constructions of fuzzy Xor based on the composition of fuzzy implications and other fuzzy connectives.
2. Fuzzy connectives
In this article we use the notation , which means that this equality holds due to the indicated property.
First, we recall definitions of some fuzzy connectives.
Definition 2.1.
A t-norm is a function T : [0, 1]2 → [0, 1] satisfying
(T1) T(x, y) = T(y, x), x, y ∈ [0, 1];
(T2) T(x, T(y, z)) = T(T(x, y), z), x, y, z ∈ [0, 1];
(T3) T(x, z) ≤ T(y, z), x, y, z ∈ [0, 1], x ≤ y;
(T4) T(x, 1) = x, x ∈ [0, 1].
Definition 2.2.
A t-conorm is a function S : [0, 1]2 → [0, 1] satisfying
(S1) S(x, y) = S(y, x), x, y ∈ [0, 1];
(S2) S(x, S(y, z)) = S(S(x, y), z), x, y, z ∈ [0, 1];
(S3) S(x, z) ≤ S(y, z), x, y, z ∈ [0, 1], x ≤ y;
(S4) S(x, 0) = x, x ∈ [0, 1].
Definition 2.3.
A non-increasing function N : [0, 1] → [0, 1] is called a fuzzy negation if N(0) = 1, N(1) = 0. A fuzzy negation N is called
strict if it is strictly decreasing and continuous;
strong if it is an involution, i.e., N(N(x)) = x, x ∈ [0, 1].
Given a fuzzy negation N, a value e ∈ (0, 1) such that N(e) = e is said to be an equilibrium point of N. If the equilibrium point of N exists (e.g. when N is continuous), then it is unique.
Definition 2.4.
A function I : [0, 1]2 → [0, 1] is called a fuzzy implication if it satisfies the following properties:
(I1) I(x2, y) ≤ I(x1, y), x1, x2, y ∈ [0, 1], x1 ≤ x2;
(I2) I(x, y1) ≤ I(x, y2), x, y1, y2 ∈ [0, 1], y1 ≤ y2;
(I3) I(0, 0) = 1;
(I4) I(1, 1) = 1;
(I5) I(1, 0) = 0.
The natural negation of a fuzzy implication I is defined by NI (x) := I(x, 0), x ∈ [0, 1].
A fuzzy implication can have many properties (see [1]) but we will remind here only those that we will need, so for a fuzzy implication I and a fuzzy negation N we have the following properties:
B. Bedregal, R.H.S. Reiser and G.P. Dimuro in their two works [2], [3] tried to introduce an intrinsic definition of the connective fuzzy exclusive or.
Definition 2.5.
A function E: [0, 1]2 → [0, 1] is called a fuzzy Xor if it satisfies the following properties:
(E0) E(0, 0) = E(1, 1) = 0, E(1, 0) = E(0, 1) = 1;
(E1) E(x, y) = E(y, x), x, y ∈ [0, 1];
(E2a) functions E(0, ・), E(・, 0) are non-decreasing;
(E2b) functions E(1, ・), E(・, 1) are non-increasing.
Remark 2.6.
Let E: [0, 1]2 → [0, 1] satisfy (E0) and (E2b). Then NE : [0, 1] → [0, 1] given by
is a fuzzy negation. When E is a fuzzy Xor, then it is called the natural fuzzy negation of the fuzzy Xor E.In [2], [3] we can find also the following properties connected with a fuzzy Xor function E:
(E3) E(x, x) ≠ 1, x ∈ [0, 1];
(E4) E(0, x) = x, x ∈ [0, 1];
(E5) E(E(x, y), z) = E(x,E(y, z)), x, y, z ∈ [0, 1];
(E6) E(x, x) = 0, x ∈ [0, 1];
(E7) E(E(x, y), y) = x, x, y ∈ [0, 1];
(E9) NE is a strict fuzzy negation;
(E10) NE is a strong fuzzy negation;
(E13) E(NE(x), x) = 1, x ∈ [0, 1];
(E15) NE(E(x, y)) = E(x,NE(y)), x, y ∈ [0, 1].
In this work we will pay special attention to the property (E7), which is related to encryption. The authors of [3] showed that some of the above properties can be obtained from others (e.g. obvious implications (E6) ⇒ (E3), (E10) ⇒ (E9), (E5) ⇒ (E15)) but they missed that some of them are incompatible.
Lemma 2.7.
Let E: [0, 1]2 → [0, 1] satisfy (E13) and there exists an equilibrium point of NE. Then (E3) does not hold.
Proof
(i) We have
Hence and , so from (E2b) we get NE(0) = 1 and NE(1) = 0.Suppose that (E15) holds. Since NE is strong, there exists y0 ∈ (0, 1) such that y0 = NE(y0). Then for x0 := E(1, y0) we have
which gives us a contradiction. Hence (E15) and (E5) do not hold.(ii) We observe that
(iii) We have
and(iv) Let f(x) := E(x, 0), x ∈ [0, 1]. We notice that
so since f is non-decreasing, f(x) = x, x ∈ [0, 1].(v) From (i) and Lemma 2.7 we know that (E3) does not hold, so (E6) does not hold. Hence from (iii) (E4) does not hold.
(vi) From (ii) and (v) we obtain that (E3), (E4), (E6) do not hold.
Suppose that (E2a) holds. We have , so (E4) holds and we obtain the contradiction.
(vii) We have , so (E4) holds. From (iii) (E6) (and (E3)) holds. From (vi) (E2b) does not hold.
(viii) We have
Remark 2.9.
Let
(E1-0) E(x, 0) = E(0, x), x ∈ [0, 1];
(E1-1) E(x, 1) = E(1, x), x ∈ [0, 1].
Remark 2.10.
There is no function that satisfies (E0), (E1), (E2a), (E2b) and (E7). Since conditions (E2a) and (E2b) are similar, then among functions satisfying (E7) it is better to look for these which do not satisfy (E1).
Remark 2.11.
Let E: [0, 1]2 → [0, 1] satisfy (E2a), (E2b) and (E7). Then we have the following possibilities:
All of the above possibilities can occur, as illustrated by the following examples.
Example 2.12.
Let N1, N2 : [0, 1] → [0, 1] be fuzzy negations, N1 be strong, E: [0, 1]2 → [0, 1] be a function given by
We will show that E satisfies (E2a), (E2b), (E7) and does not satisfy (E3), (E4), (E6). Moreover (E13) holds iff N1 = N2. We have so (E2a) holds and (E4) does not hold, so (E2b) holds. Finally, for x, y ∈ [0, 1] we haveif x ≥ N2(y) ≠ 1, then E(x, y) ≥ N2(y) and
if x < N2(y) ∨ N2(y) = 1, then E(x, y) = x and
Now, we notice that
so (E13) ⇔ N1 = N2.Example 2.13.
Let N1, N2 : [0, 1] → [0, 1] be fuzzy negations, N1 be strong, N2 has not an equilibrium point. For y ∈ (0, 1) let Ay := (0, 1) \ {y, N2(y)} and φy : Ay → Ay be a bijective involution. Let further E: [0, 1]2 → [0, 1] be a function given by
We will show that E satisfies (E2a), (E2b), (E3), (E4), (E6), (E7) and does not satisfy (E13).First, we observe that
so E satisfies (E7). We have also whence (E2a), (E4), (E2b) hold. From Theorem 2.8 we obtain that (E6), (E3) hold and (E13) does not hold.3. Fuzzy Xor generated from the other fuzzy connectives
In [2] and [3] we can find some classes of functions:
where T : [0, 1]2 → [0, 1] is a t-norm, S : [0, 1]2 → [0, 1] is a t-conorm, and N : [0, 1] → [0, 1] is a fuzzy negation. Each of them is a fuzzy Xor satisfying (E4). We would like to present others classes which may not have this property.3.1. Fuzzy Xor generated from fuzzy implications and negation
In a classical logic we can obtain a Xor in the following way
Hence, we can define the following class of functions.Definition 3.1.
Let I : [0, 1]2 → [0, 1] be a fuzzy implication, N : [0, 1] → [0, 1] be a fuzzy negation. We define the function EI,N : [0, 1]2 → [0, 1] by the formula
We can generalize the above definition in the following way:
Definition 3.2.
Let I1, I2 : [0, 1]2 → [0, 1] be fuzzy implications and N : [0, 1] → [0, 1] be a fuzzy negation. We define the function EI1,I2,N : [0, 1]2 → [0, 1] by the formula
Remark 3.3.
Let S : [0, 1]2 → [0, 1] be a t-conorm, T : [0, 1]2 → [0, 1] be a t-norm, N : [0, 1] → [0, 1] be a fuzzy negation. Let further be any strong negation. We define
ThenTheorem 3.4.
Let I1, I2 : [0, 1]2 → [0, 1] be fuzzy implications, N : [0, 1] → [0, 1] be a fuzzy negation. Then for EI1,I2,N given by (2) we have:
- where gI1(x) := I1(1, x), gI2(x) := I2(1, x) for x ∈ [0, 1];
(ii) if I1 satisfies (R-CP(N)), then (E1) holds, (E7) does not hold;
(iii) (E4) holds iff (gI1 ◦ N ◦ NI2)(x) = x for x ∈ [0, 1];
(iv) if I1, I2 satisfy (R-CP(N)), then NEI1,I2,N ◦ N = NI1 ◦ NI2;
(v) if I1, I2 satisfy (R-CP(N)), NI1, NI2, N are strict, then (E9) holds;
Proof
(i) We observe that for x ∈ [0, 1] we have
so we get (E0), (E2a), (E2b).(ii) Assume that I1 satisfies (R-CP(N)). Hence, using the above, we get
Using Theorem 2.8 we get that (E7) does not hold.
(iii) It follows from i.
(iv) Assume that I2 satisfies (R-CP(N)). Then we have
(v) It follows from iv.
(vi) Assume that I2 satisfies (IP). Then
so (E6) holds.(vii) Let x, y ∈ [0, 1]. From ii we have that EI1,I2,N is symmetric, so we can assume that y ≤ x whence from (IP) for I2 we get I2(y, x) = 1 and
Lemma 3.5.
Let I : [0, 1]2 → [0, 1] be a fuzzy implication, N : [0, 1] → [0, 1] be a fuzzy negation. Assume that EI,N is given by (1). Then (E7) does not hold.
Proof
Suppose that (E7) holds. First, observe that NI is strong. Let x ∈ [0, 1]. Using Theorem 2.8 (iv) we have
so NI is strong.Next, for x ∈ [0, 1] we notice that
Since gI is non-decreasing, NEI,N is a strong fuzzy negation, then gI is a bijection and is strict.The function is a strict fuzzy negation, so it has an equilibrium point e ∈ (0, 1). Hence
Using the previous theorem we get which gives us a contradiction.3.2. Fuzzy Xor generated from t-norm, fuzzy implication and negation
In a classical logic we can obtain a Xor in the following way
Hence, we can define the following class of functions.Definition 3.7.
Let T : [0, 1]2 → [0, 1] be a t-norm, I : [0, 1]2 → [0, 1] be a fuzzy implication, N : [0, 1] → [0, 1] be a fuzzy negation. We define the function ET,I,N : [0, 1]2 → [0, 1] by the formula
Remark 3.8.
Let S : [0, 1]2 → [0, 1] be a t-conorm, T : [0, 1]2 → [0, 1] be a t-norm, N : [0, 1] → [0, 1] be a strong fuzzy negation. We define
ThenTheorem 3.9.
Let T : [0, 1]2 → [0, 1] be a t-norm, I : [0, 1]2 → [0, 1] be a fuzzy implication, N : [0, 1] → [0, 1] be a fuzzy negation. Then for ET,I,N given by (7) we have:
Proof
(i) We observe that for x ∈ [0, 1] we have
so we get (E0), (E2a), (E2b).(iii) It follows from (9).
(iv) It follows from (10).
(v) Assume that I satisfies (IP) and N has an equilibrium point e ∈ (0, 1). Then
(vi) Suppose that (E7) holds. From Theorem 2.8 NET,I,N is strong, so from iv NI is strong. From (8) we get
Since NI ◦N is non-decreasing (NI ◦N)(x) = x for x ∈ [0, 1], so N = NI. Let e ∈ (0, 1) be an equilibrium point of NI. Using i we have which gives us a contradiction.
4. Examples
In [3, Table 2] we can find classification of fuzzy Xor connectives. Adding new classes of fuzzy Xor we can show that all these classes are different.
| EI,N | ET,I,N | ES,T,N | ET,S,N | |
|---|---|---|---|---|
| EC (x, y) | (IRS, N) | - | - | - |
| E1(x, y) | - | (T, ILK, NC) | (SLK, TM, NC) | (T, SLK, NC) |
| E⊥(x, y) | (I1, N) | (T, I0, N) | - | - |
| E2(x, y) | - | - | (SD, T, ND2) | (T, SD, ND2) |
- Hence I = I1. Let x = y ∈ (0, 1). Then I(x,N(y)) = 1 = I(N(x), y) and which give us a contradiction.
Suppose that E1 = EI,N. Using (3)–(6) we have
Hence NI = gI ◦ N is strong negation and so N = NC.Suppose that I(x0, y0) = 1 for some x0 > 0, y0 < 1. Then
The left hand side of the above identity is non-increasing in x and non-decreasing in y which is impossible, so I(x0, y0) = 1 only if x0 = 0 or y0 = 1.Now, we observe that
so I(0.5, 0.5) = 0, whence which give us a contradiction.- Hence NI is strong, gI is surjective, so ND2 = NI ◦ gI is surjective, which give us a contradiction. Hence NI is surjective, so ND2 = NI is surjective, which give us a contradiction.