Formal fuzzy logic
Template:TOC-right Formal fuzzy logic, or "fuzzy logic in narrow sense", is a relatively new chapter of formal logic. Its aim is to represent predicates which are vague in nature as big, near, or similar (for example), and to formalize the reasonings involving these predicates. The notion of a fuzzy subset, proposed by L. A. Zadeh since 1965, plays a crucial role, since a vague predicate is interpreted by a fuzzy subset. In the sequel, we will write "fuzzy logic" instead of "formal fuzzy logic", but notice that in literature the name "fuzzy logic" comprises a large series of topics based on the notion of a fuzzy subset and which are usually devoted to applications.
We can consider fuzzy logic as an evolution and an enlargement of multi-valued logic since all the definitions and results in the literature on multi-valued logic are also considered in fuzzy logic. There are two basic approaches to fuzzy logic. The first one, proposed by P. Hajek and by a large series of students, is strictly closed to the tradition of multi-valued logic. Indeed the logical consequence operator works on a given classical subset of hypotheses to give the related classical set of logical consequences. Equivalently, the entailment relation is a crisp one. This is obtained, as it is usual in multi-valued logic, once a set of designed truth values is fixed. In accordance, the deduction apparatus works on sets of formulas to generate set of formulas. We call, ungraded approach, in brief U-approach, such a way to face fuzzy logic. Another approach was proposed by J. A. Goguen, J. Pavelka and many authors and it is rather out of line with the tradition of multi-valued logic. Indeed, by referring to the logical consequence operator, this operator works on a given fuzzy subset of hypotheses (the available information) to give the related fuzzy subset of logical consequences. Equivalently, the entailment relation is a fuzzy relation. We call graded approach, in brief G-approach such a way to face fuzzy logic. In such a case a deduction apparatus is defined by fixing a fuzzy set of logical axioms and fuzzy inference rules.
The ungraded approach
In the ungraded approach one considers a subset Des of [0,1] whose elements are called designed truth degree. The interpretation is that in Des there are the truth degree which one considers sufficient to claim the validity of a formula. Since it is natural to admit that if x is sufficient and y>x, then y is sufficient, we assume that Des is an interval in [0,1].
TO BE COMPLETED !!!
Definition (U-approach). Let be a triangular norm. One says that a formula α is valid in a fuzzy interpretation (D,I) if Val(I,α) is in Des. The formula α is logically true if it is valid in every fuzzy interpretation. Let T be a theory, i.e. a set of sentences, and let α be a formula, then we say that (D,I) is a model of T is every formula in T is valid in (D,I). We write T α if every model of T is also a model of α. In such a case we say that α is a logical consequence of T. The logical consequence operator is the map Lc : {0,1}F → {0,1}F defined by setting
Lc(T) = {α F: T α}.
Given a formula α, we say that an interpretation (D,I) is a model of α provided that the valuation of α defined by (D,I) is a designed value. Given a set T of formulas, we say that (D,I) is a model of T if (D,I) is a model of any formula in T. Also we define an entailment relation |= by setting T |= α provided that every -model of T is a -model of α.
Definition. Given a triangular norm denote by Varl() the class of all linearly ordered algebras in the variety generated by ([0,1], , →). Then we call -model an interpretation in ([0,1], , →) and Varl()-model an interpretation in a valuation algebra in Varl(). Given a set T of formulas and a formula α, we write
- T |=Varl() α provided that every safe Varl()-model of T is a safe Varl()-model of α.
We write |= α and |= Varl() α instead of |= α and |= Varl() α, respectively.
Definition. A formula α such that |= α is named a standard –tautology. A formula α such that |= Varl() α is named a general -tautology.
Then a standard -tautology is a formula satisfied in all the safe -models and a general -tautology is a formula satisfied in all the safe Varl()-models. In first order fuzzy logic the general -tautologies form a proper subset of the set of standard Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \otimes} -tautologies. The deduction apparatus in the U-approach is defined by adopting the same paradigm of classical logic, i.e. by a set of logical axioms and suitable inference rules. Such an apparatus enables us to generate, given a (crisp) set of proper axioms, the related (crisp) set of theorems.
The graded approach: approximate reasonings
The graded approach is perhaps closer to the spirit of fuzzy logic. In fact the aim of any logic is to eleborate (uncomplete) information and, in the case of fuzzy logic should be natural to admit an information like "the truth values of α is between λ and μ", i.e. a constraint on the possible truth value of a formula. Taking in account that for a large class of fuzzy semantics we can split it into the two constraints "the truth values of α is greater or equal to λ" and "the truth value of Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \neg} α is greater or equal to 1-μ", we consider the following definitions.
Definition (G-approach). Consider a fuzzy theory s, i.e. a fuzzy subset of formulas. Then we say that a fuzzy interpretation (D,I) is a model of s, in brief (D,I) Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \models } s if Val(I,α) ≥ s(α). The logical consequence operator is the map Lc : [0,1]F → [0,1]F defined by setting
Lc(s)(α) = Sup{Val(I,α) : (D,I) s}.
Then the meaning of a fuzzy theory s is that for every sentence α, the value s(α) is a constraint" on the unknown truth value of α. More precisely s(α) is a lower bound for such a value. Again, the value Lc(s)(α) is a "constraint" on the unknown truth value of α. As a matter of fact it is the better constraint we can find given the information s.
Note. We interpret a fuzzy theory s as a fuzzy subset of (proper) axioms. Now, the word "axiom" originates from the fact that formal logic was usually considered as a tool for mathematics. In the case of fuzzy logic, which is related with everyday experience, perhaps expressions as "hypothesis", "assumptions", "partial information", "postulate" are more adequate.
In the graded approach to fuzzy logic a completeness theorem claims that the deduction apparatus is adequate to "calculate" the values of Lc(s) by an effective approximation process. We can obtain such an apparatus by extending the Hilbert's approach as follows.
Definition. A fuzzy inference rule is a pair r = (sy,se) where sy, the syntactical part, is a partial n-ary operation in F (i.e. an inference rule in the usual sense) and se, the semantical part, is an n-ary joing-preserving operation in [0,1]. An evaluated syntax is a structure (la,R) where la is a fuzzy set of formulas we call fuzzy subset of logical axioms, and R is a set of fuzzy inference rules.
The meaning of an inference rule r is:
- if we are able to prove Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \alpha_1,...,\alpha_n} at degree Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \lambda_1,...,\lambda_n} , respectively
- and we can apply sy to Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \alpha_1,...,\alpha_n}
- then we can prove at degree Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle se(\lambda_1,...,\lambda_n )} .
Usually, sy(λ1,...,λn) is a product like λ1Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \otimes} ...Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \otimes} λn. As an example, the fuzzy Modus Ponens is defined by assuming that the domain of sy is the set {(α, α→β: α,β are in F}, by setting sy(α, α→β) = β and by assuming that se(λ,μ) = λμ. This rule says that if we are able to prove α and α →β at degree λ and μ, respectively, then we can prove β at degree λFailed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \otimes} μ. Likewise, the fuzzy Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \and} -introduction rule is a totally defined rule such that sy(α,β) = αFailed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \and} β and se(λ,μ) = λμ. This rule says that if we are able to prove α and β at degree λ and μ, respectively, then we can prove αFailed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \and} β at degree λFailed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \otimes} μ.
Definition. A proof π of a formula α is a
sequence Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \alpha_1,...,\alpha_m}
of formulas such that Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \alpha_m}
= α,
together with a sequence of related justifications. This means that, for
every formula Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \alpha_i}
, we have to specify whether
i) Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \alpha_i} is assumed as a logical axiom or;
ii) Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \alpha_i} is assumed as an hypothesis or;
iii) Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \alpha_i} is obtained by a rule (in this case we have to indicate also the rule and the formulas from Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \alpha_1,...,\alpha_{i-1}} used to obtain Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \alpha_i} ).
The justifications are necessary to valuate the proofs. Indeed, let s be the fuzzy subset of proper axioms and, for every i ≤ m denote by π(i) the proof . Then the valuation Val(π,s) of π with
respect to s is defined by induction on m by setting
if Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \alpha _m} is assumed as a logical axiom
Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle Val(\pi ,s) = s(\alpha_m)} if Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \alpha _m} is assumed as an hypothesis
Val(π,s) = Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle se(Val(\pi(i_1),s),...,Val(\pi (i_n),s))} if there is a fuzzy rule Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle (sy,se)} such that Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \alpha_m = sy(\alpha_{i(1)},...,\alpha_{i(n)})} with i(1) < m,...,i(n) < m.
Now, unlike the usual deduction systems, in a fuzzy deduction system different proofs of a same formula α may give different contributions to the degree of validity of α. This suggests setting
D(s)(α)= Sup{Val(π,s)| π is a proof of α}.
This formula defines an operator, the deduction operator, able to associate every fuzzy theory s with the fuzzy subset D(s) of formulas deduced from s.
Definition. A fuzzy logic is axiomatizable if there is a fuzzy deduction system such that Lc = D.
Notice that under some natural hypotheses, a fuzzy propositional logic is axiomatizable if and only if the logical connectives are interpreted by continuous functions (see Gerla 2001). As was shown in Hajek 1998, completeness results for first order fuzzy logic can be find if one adds a constant for every rational value in [0,1].
Paradoxes
The heap paradox
To show an example of approximate reasoning in fuzzy logic we refer to the famous "heap paradox". Let n be a natural number and denote by Small(n) a sentence whose intended meaning is "a heap with n stones is small" (n is a numeral to denote n). Then it is natural to assume the validity of the atomic formula Small(1) and, for every n, the validity of Small(n) → Small(n+1).
On the other hand from these formulas given any natural number n, by applying MP (Modus Ponens) rule several times we can prove that a heap with n stones is small. Indeed,
- from Small(1) and Small(1)→ Small(2) by MP we may state Small(2);
- from Small(2) and Small(2)→ Small(3) by MP we may state Small(3),
…
- from Small(n-1) and Small(n-1)→ Small(n) by MP we may state Small(n).
Obviously, a conclusion like Small(20.000) is contrary to our intuition in spite of the fact that the reasoning is correct and the premises appear very reasonable. Clearly, the core of such a paradox lies in the vagueness of the predicate " small" and therefore, as proposed by Goguen (1968/69), we can refer to the notion of approximate reasoning to face it. Indeed it is a fact that everyone is convinced that the implications Small(n) → Small(n+1) are very close to the truth but not completely true, in general. We can try to "respect" this conviction by assigning to these formulas a truth value λ very close to 1 but different from 1. Then, for example, we can express the hypothesis of the heap paradox by the following fuzzy theory
Small(1) [to degree 1]
Small(2) [to degree 1]
...
Small(10.000) [to degree 1]
Small(10.000)→ Small(10.001) [to degree λ]
Small(10.001)→ Small(10.002) [to degree λ]
...
In accordance, the Heap Paradox argument can be restated as follows where we denote by λ(n) the n-power of λ with respect to Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \otimes}
.
Since Small(10.000) [to degree 1]
and Small(10.000)→ Small(10.001) [to degree λ]
we state Small(10.001) [to degree 1Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \otimes} λ = λ(1)]
since Small(10.001) [to degree λ]
and Small(10.001)→ Small(10.002) [to degree λ]
we state Small(10.002) [to degree λFailed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \otimes} λ = λ(2) ]
. . .
since Small(10.000+n-1) [to degree λ(n-1)]
and Small(10.000+n-1) → Small(10.000+n) [to degree λ]
we state Small(10.000+n) [to degree λ(n-1)Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \otimes} λ = λ(n)].
In particular, we can prove Small(10.000+10.000) at degree λ(10.000) . Now, this is not paradoxical. Indeed if Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \otimes}
is the Lukasievicz triangular norm, then λ(n) = max {nλ-n+1, 0}. As a consequence, we have that λ(n) = 0 for every n ≥ 1/(1-λ). Assume that λ = 1-10-4 then λ(10.000) = 0.
In this way we get a formal representation of heap argument preserving its intuitive content but avoiding its paradoxical character.
The falsity of the induction principle
In classic mathematics the induction principle is expressed by the schema A(1) → ((Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \forall} n(A(n) → A(n+1)) → Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \forall} nA(n)) where A is a property defined in the set of natural numbers. The argument on the basis of heap paradox enables us to show an interesting fact:
"the induction principle is not valid in fuzzy logic, i.e. we cannot extend such a principle to vague properties".
In fact, assume that such a principle is satisfied at degree μ ≠ 0 and let λ ≠ 1 such that λ Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \otimes} μ ≠ 0. Also, consider a vague predicate A such that A(1) is valid, Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \forall} n(A(n)) is false and Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \forall} n(A(n) → A(n+1)) is true to degree λ (as in the Heap Paradox). Then, by two application of MP we can prove Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \forall} nA(n) to degree λFailed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \otimes} μ ≠ 0. This contradicts the fact that Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \forall} nA(n) is false.
Notice that in previous solution of the heap paradox the induction principles was avoided by assuming as an hypothesis the infinite set of ground formulas Small(p)→ Small(p+1), p = 1,2,... and not the formula Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \forall} n Small(n)→Small(n+1). From such an infinite set, we cannot prove Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \forall} n Small(n) in spite of the fact that, given any natural number p, we can prove Small(p).
The Poincaré paradox
The so called “paradox” of Poincaré refers to indistinguishability by emphasizing that, in spite of common intuition, this relation is not transitive. In fact, let d1,…, dm be a sequence of objects such that we are not able to distinguish di from di+1 and that, nevertheless, that we have no difficulty in distinguishing d1 from dm. Also, consider a first order language with a predicate symbol E to denote the indistinguishability relation and, for every i in N, with a constant ci to denote di. Then it is natural to consider the theory defined by the following formulas:
E(c1,c2),…, E(ci-1,ci),..., Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \neg} E(c1,cm), E(x,z)Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \and} E(z,y) Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \Rightarrow} E(x,y).
From such a theory, by suitable applications of the Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \and} -introduction rule, particularization and MP, we can prove E(c1,cm) and this contradicts the hypothesis Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \neg} E(c1,cm). Consider a value λ very close to 1 and such that λ(m-1) = 0. Then in fuzzy logic we can formalize Poincaré argument as follows:
Step 1.
Since E(c1,c2) [at degree λ]
and E(c2,c3) [at degree λ]
we can state E(c1,c2)Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \and} E(c2,c3) [at degree λ(2)].
Therefore, since E(c1,c2)Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \and} E(c2,c3)Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \Rightarrow} E(c1,c3) [at degree 1]
we can state E(c1,c3) [at degree λ(2)].
Step 2.
Since E(c1,c3) [at degree λ(2)]
and E(c3,c4) [at degree λ]
we can state E(c1,c3)Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \and} E(c3,c4) [at degree λ(3)]
Therefore, since E(c1,c3)Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \and} E(c3,c4)Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \Rightarrow} E(c1,c4) [at degree 1]
we can state E(c1,c4) [at degree λ(3)]
...
Step m-2.
Since E(c1, cm-1) [at degree λ(m-2)]
and E(cm-1,cm) [at degree λ]
we can state E(c1, cm-1)Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \and} E(cm-1, cm) [at degree λ(m-1)]
Therefore, since E(c1, cm-1)Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \and} E(cm-1, cm)Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \Rightarrow} E(c1, cm) [at degree 1]
we can state E(c1, cm) [at degree λ(m-1)].
Thus, such a proof entails that the conclusion E(c1,cm) is true at least at degree λ(m-1) = 0 (no information). This is not paradoxical.
The liar paradox
(to be included)
Basic Fuzzy Logic
(to be included)
Fuzzy logic with no semantics
Necessity logic
This very simple fuzzy logic is obtained by an obvious fuzzyfication of first order classical logic. Indeed, assume, for example, that the deduction apparatus of classical first order logic is presented by a suitable set la of logical axioms, by the MP-rule and the Generalization rule and denote by Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \vdash } the related consequence relation. Then a fuzzy deduction system is obtained by considering as fuzzy subset of logical axioms the characteristic function of la and as fuzzy inference rules the extension of MP obtained by assuming that Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \otimes } is the minimum operator Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \wedge } . Moreover, an extension of the Generalization rule is obtained by assuming that if we prove α at degree λ then we obtain Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \forall} xα(x) at the same degree λ. Assume that D is the deduction operator of such a fuzzy logic and that s is a fuzzy theory. Then D(s)(α) = 1 for every logically true formula α and, otherwise,
Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle D(s)( \alpha) = Sup\{s(\alpha_1)\wedge ...\wedge s(\alpha_n) : \alpha_1,..., \alpha_n \vdash \alpha\}} .
By recalling that the existential quantifier is interpreted by the supremum operator, such a formula arises from a multivalued valuation of the (metalogical) claim: "α is a consequence of the fuzzy subset s of axioms if there are formulas Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \alpha_1, ...,\alpha_n} in s able to prove Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \alpha } "
It is apparent that in such a case the vagueness originates from s, i.e., from the notion of "hypothesis". Moreover Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle s(\alpha) } is not a truth degree but rather a degree of "preference" or "acceptability" for Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \alpha} . For example, let T be a system of axioms for set theory and assume that the choice axiom CA does not depend on T. Then we can consider the fuzzy subset of axioms s defined by setting
s(α) = 1 if αFailed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \in } T,
s(α) = 0.8 if α = CA ,
s(α) = 0 otherwise.
A simple calculation shows that:
D(s)(α) = 1 if α is a theorem of T,
D(s)(α) = 0.8 if we cannot prove α from T but α is a theorem of T + CA,
D(s)(α) = 0 otherwise .
Fuzziness in this case is not semantical in nature. Indeed, it is evident that the number Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle s(\alpha) } is a degree of acceptability for Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \alpha } and not a truth degree. In this sense, by recalling the Euclidean distinction between axiom and postulate, perhaps it's better to say s is the fuzzy subset of the accepted postulates. Thus, despite the fact that no vague predicate is considered in set theory, in the metalanguage we can consider a vague predicate as "is acceptable" and to represent it by a suitable fuzzy subset s. Equivalently, we can interpret Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle s(\alpha) } as the degree of preference for Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \alpha } since the only reason we assign to CA the degree 0.8 instead of 1 is that we do not like to use CA.
Similarity logic
In accordance with the ideas of M. S. Ying (1994) we can extend necessity logic by introducing a similarity relation among the predicates (see also Biacino, Gerla, Ying (2002)). As an example, consider an inference like
Since x is a thriller Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \Rightarrow} x good for me +
and b is a detective story +
and "detective story" is synonymous of "thriller"
then "b is good for me".
Now the synonymy is a vague notion we can represent by a suitable similarity e in the set W of English worlds, i.e. a fuzzy relation e such that
(a) e(x,x) = 1 (reflexivity), (b) e(x,z)Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \otimes} e(z,y) ≤ e(x,y) (transitivity), (c) e(x,y) = e(y,x) (symmetry).
Also, as it is usual in fuzzy logic, it is natural to admit that the truth degree of the conclusion "b is good for me" depends on the degree of similarity between the predicates "detective story" and "thriller", obviously. The structure of the corresponding fuzzy inference rule is:
If α was proven at degree λ
and α’→ β at degree μ
then β is proven at degree λFailed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \otimes} μFailed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \otimes} e(α,α’).
Every inference rule can be extended in a similar way, i.e. by relaxing the precise matching of the identity with the approximate matching of a similarity. These ideas are also on the basis for a similarity-based fuzzy logic programming.
Effectiveness
Effectiveness in the ungraded approach
(to be completed)
Effectiveness in the graded approach
Notions as the ones of a "decidable subset" and a "recursively enumerable subset" are basic ones for classical logic. Then, the question of a suitable extension of such concepts for fuzzy logic arises. A first proposal in such a direction was made by E.S. Santos by the notions of fuzzy Turing machine, Markov normal fuzzy algorithm and fuzzy program. Successively, L. Biacino and G. Gerla proposed the following definition where Ü denotes the set of rational numbers in [0,1].
Definition A fuzzy subset s : S Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \rightarrow} [0,1] of a set S is recursively enumerable if a recursive map h : S×N Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \rightarrow} Ü exists such that, for every x in S, the function h(x,n) is increasing with respect to n and s(x) = lim h(x,n). We say that s is decidable if both s and its complement –s are recursively enumerable.
An extension of such a theory to the general case of the L-subsets is proposed in G. Gerla (2006) where one refers to the theory of effective domains. It is an open question to give supports for a Church thesis for fuzzy set theory claiming that the proposed notion of recursive enumerability for fuzzy subsets is the adequate one. To this aim, further investigations on the notions of fuzzy grammar and fuzzy Turing machine should be necessary (see for example Wiedermann's paper).
Effectiveness for fuzzy logic
Denote by Lt the set of logically true formulas, then it is possible to prove that among the usual first order logics only Gödel logic has a recursively enumerable set of valid formulas. In the case of Lukasiewicz and product logic, for example, Lt is not recursively enumerable (see B. Scarpellini (1962)). Such a fact was extensively examined in the book of Hájek. Neverthless, from these results we cannot conclude that these logics are not effective and therefore that an axiomatization is not possible. Indeed, there are two possible answers to this criticism. The first one is suggested by the distinction between tautologies and general tautologies in accordance with Hájek’s ideas. We refer to the class of standard algebras, i.e. valuation structures whose domain is [0,1] and whose operations coincide with a given continuous t-norm Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \otimes} together with the related residuum Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \rightarrow} . The following definition works well both for propositional and first order calculus.
Definition. Given a standard algebra ([0,1], Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \otimes} , Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \rightarrow} ), a standard Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \otimes} –tautology is a formula assuming the truth value 1 for every interpretation in ([0,1], Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \otimes} , Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \rightarrow} ). A general Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \otimes} -tautology is a formula assuming the truth value 1 for every interpretation in a valuation structure belonging to the variety generated by ([0,1], Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \otimes} , Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \rightarrow} ).
Then the general tautologies of the main fuzzy logics refer to the MV-algebras (Lukasiewicz logic), Gödel algebras (Gödel logic), product algebras (product logic) and so on.
Theorem. For each continuous t-norm Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \otimes} , the set of general Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \otimes} -tautologies in first order logic is Σ1-complete (and therefore recursively enumerable).
A different answer is necessary if we will consider Pavelka’s approach to fuzzy logic. Indeed, in such a case the attention is focused on the deduction operator which associates every fuzzy subset of axioms (the available information) with the fuzzy subset of fuzzy theorems. Then, we have to refer to the just exposed notion of effectiveness for fuzzy sets. In Gerla (2001) one proves the following theorem where we refer to fuzzy logics in which a completeness theorem holds true and whose deduction apparatus satisfies some obvious effectiveness property.
Theorem. Any axiomatizable fuzzy theory is recursively enumerable. In particular, the fuzzy set of logically true formulas is recursively enumerable in spite of the fact that Lt is not recursively enumerable, in general. Moreover, any axiomatizable and complete theory is decidable.
It is an open question to use the notion of recursively enumerable fuzzy subset to extend Gödel’s limitative theorems to fuzzy logic.
Is fuzzy logic a proper extension of classical logic ?
Obviously, the question of the connection between classical and fuzzy logic arises. Now, we can consider this question from two points of views. Firstly, in a fuzzy logics with a truth-functional semantics the interpretation of the logical connectives is conservative. This means that these interpretations coincide with the classical ones in the case we confine ourselves to truth values in {0,1}. So, in such a sense fuzzy logic is a conservative proper extension of classical logic. On the other hand fuzzy logic is defined by using elementary notions of mathematics and therefore it can be reduced to classical logic. From such a point of view, differently from intuitionistic logic, fuzzy logic does not expresses an alternative philosophy. Rather, it is an attempt to express the vagueness phenomena through classical mathematics and therefore through classical logic.
See also
- Fuzzy subalgebra
- Fuzzy associative matrix
- Fuzzy logic programming
- Fuzzy set
- Paradoxes
- Rough set
- Similarity logic
- Necessity logic
- MV-algebras
- Basic logic
Bibliography
- Biacino L., Gerla G., Ying M. S.: Approximate reasoning based on similarity, Math. Log. Quart., 46 (2000), 77-86.
- Chang C. C.,Keisler H. J., Continuous Model Theory, Princeton University Press, Princeton, 1996.
- Cignoli R., D’Ottaviano I. M. L. , Mundici D. , Algebraic Foundations of Many-Valued Reasoning. Kluwer, Dordrecht, 1999.
- Elkan C.. The Paradoxical Success of Fuzzy Logic. November 1993. Available from Elkan's home page.
- Hájek P., Metamathematics of fuzzy logic. Kluwer 1998.
- Hájek P., Fuzzy logic and arithmetical hierarchy, Fuzzy Sets and Systems, 3, (1995), 359-363.
- Hájek P., Arithmetical complexity of fuzzy predicate logics – a survey, Soft Computing, 9(2005) 935-941.
- Hájek P., Novák V., The sorites paradox and fuzzy logic, Internat. J. General Systems, 32 (2003) 373-383.
- Klir G. and Folger T., Fuzzy Sets, Uncertainty, and Information (1988), ISBN 0-13-345984-5.
- Klir G. and Bo Yuan, Fuzzy Sets and Fuzzy Logic (1995) ISBN 0-13-101171-5
- Gerla G., Fuzzy logic: Mathematical Tools for Approximate Reasoning, Kluwer 2001 ISBN 0-7923-6941-6.
- Gerla G., Effectiveness and Multivalued Logics, Journal of Symbolic Logic, 71 (2006) 137-162.
- Gottwald S., A treatase on Multi-Valued Logics, Research Studies Press LTD, Baldock 2001.
- Goguen J. A., The logic of inexact concepts, Synthese, 19 (1968/69) 325-373.
- Gottwald S., A Treatise on Many-Valued Logics, Studies in Logic and Computation, Research Studies Press, Baldock, 2001.
- Gottwald S., Mathematical fuzzy logic as a tool for the treatment of vague information, Information Sciences, 72, (2005) 41-1.
- Montagna F., Three complexity problems in quantified fuzzy logic. Studia Logica, 68(2001) 143-152.
- Montagna F., On the predicate logic of continuous t-norm BL-algebras, Archive for Math. Logic, 44 (2005) 97-114.
- Novák V., Perfilieva I, Mockor J., Mathematical Principles of Fuzzy Logic, Kluwer Academic Publishers, Dordrecht, (1999).
- Novák V., Fuzzy logic with countable evaluated syntax revisited, Fuzzy Sets and Systems, 158 (2007) 929-936.
- Santos E. S., Fuzzy algorithms, Inform. and Control, 17,(1970), 326-339.
- Pavelka, On fuzzy logic, I-III, Zeitschr. Math. Logik Grundl. Math., 25, (1979), 45-52, 119-134, 447-464.
- Scarpellini B., Die Nichaxiomatisierbarkeit des unendlichwertigen Prädikatenkalküls von Łukasiewicz, J. of Symbolic Logic, 27,(1962), 159-170.
- Wiedermann J. , Characterizing the super-Turing computing power and efficiency of classical fuzzy Turing machines, Theor. Comput. Sci. 317, (2004), 61-69.
- Ying M. S., A logic for approximate reasoning, J. Symbolic Logic, 59 (1994).
- Zadeh L. A., Fuzzy Sets, Information and Control, 8 (1965) 338-353.
- Zadeh L. A., Fuzzy algorithms, Information and Control, 5,(1968), 94-102.
- Zimmermann H., Fuzzy Set Theory and its Applications (2001), ISBN 0-7923-7435-5.