|
|
Line 17: |
Line 17: |
| {{:Store:FLen02}} | | {{:Store:FLen02}} |
|
| |
|
| ==<!--56-->Set theory==
| | {{:Store:FLen03}} |
| <!--57-->As mentioned in the previous chapter, the basic concept of fuzzy logic is that of multivalence, i.e., in terms of set theory, of the possibility that an object can belong to a set even partially and, therefore, also to several sets with different degrees. <!--58-->Let us recall from the beginning the basic elements of the theory of ordinary sets. As will be seen, in them appear the formal expressions of the principles of Aristotelian logic, recalled in the previous chapter.
| |
|
| |
|
| ===<!--59-->Quantifiers===
| | {{:Store:FLen04}} |
| | |
| *<!--60-->Membership: <!--61-->represented by the symbol <math>\in </math> (belongs), - for example the number 13 belongs to the set of odd numbers <math>\in </math> <math>13\in Odd </math>
| |
| *<!--62-->Non-membership: <!--63-->represented by the symbol <math>\notin </math> (It does not belong)
| |
| *<!--64-->Inclusion: <!--65-->Represented by the symbol <math>\subset</math> (is content), - for example the whole <math>A</math> it is contained within the larger set <math>U</math>, <math>A \subset U</math> (in this case it is said that <math>A</math> is a subset of <math>U</math>)
| |
| *<!--66-->Universal quantifier, <!--67-->which is indicated by the symbol <math>\forall</math> (for each)
| |
| *<!--68-->Demonstration, <!--69-->which is indicated by the symbol <math>\mid</math> (such that)
| |
| | |
| ===<!--70-->Set operators===
| |
| | |
| <!--71-->Given the whole universe <math>U</math> <!--72-->we indicate with <math>x</math> <!--73-->its generic element so that <math>x \in U</math>; <!--74-->then, we consider two subsets <math>A</math> and <math>B</math> <!--75-->internal to <math>U</math> <!--76-->so that <math>A \subset U</math> <!--77-->and <math>B \subset U</math>
| |
| {|
| |
| |[[File:Venn0111.svg|left|80px]]
| |
| |'''<!--78-->Union:''' <!--79-->represented by the symbol <math>\cup</math>, <!--80-->indicates the union of the two sets <math>A</math> <!--81-->and <math>B</math> <math>(A\cup B)</math>. <!--82-->It is defined by all the elements that belong to <math>A</math> <!--83-->and <math>B</math> <!--84-->or both:
| |
| | |
| <math>(A\cup B)=\{\forall x\in U \mid x\in A \land x\in B\}</math>
| |
| |-
| |
| |[[File:Venn0001.svg|sinistra|80px]]
| |
| |'''<!--85-->Intersection:''' <!--86-->represented by the symbol <math>\cap</math>, <!--87-->indicates the elements belonging to both sets:
| |
| | |
| <math>(A\cap B)=\{\forall x\in U \mid x\in A \lor x\in B\}</math>
| |
| |-
| |
| |[[File:Venn0010.svg|left|80px]]
| |
| |'''<!--88-->Difference:''' <!--89-->represented by the symbol <math>-</math>, <!--90-->for example <math>A-B</math> <!--91-->shows all elements of <math>A</math> <!--92-->except those shared with <math>B</math>
| |
| |-
| |
| |[[File:Venn1000.svg|left|80px]]
| |
| |'''<!--93-->Complementary:''' <!--94-->represented by a bar above the name of the collection, it indicates by <math>\bar{A}</math> <!--95-->the complementary of <math>A</math>, <!--96-->that is, <!--97-->the set of elements that belong to the whole universe except those of <math>A</math>, <!--98-->in formulas: <math>\bar{A}=U-A</math><br />
| |
| |}
| |
| | |
| <!--99-->The theory of fuzzy language logic is an extension of the classical theory of sets in which, however, the principles of non-contradiction and the excluded third are not valid. <!--100-->Remember that in classical logic, given the set <math>A</math> <!--101-->and its complementary <math>\bar{A}</math>, <!--102-->the principle of non-contradiction states that if an element belongs to the whole <math>A</math> <!--103-->it cannot at the same time also belong to its complementary <math>\bar{A}</math>; <!--104-->according to the principle of the excluded third, however, the union of a whole <math>A</math> <!--105-->and its complementary <math>\bar{A}</math> <!--106-->constitutes the complete universe <math>U</math>.
| |
| | |
| <!--107-->In other words, if any element does not belong to the whole, it must necessarily belong to its complementary.
| |
|
| |
|
| ==<!--108-->Fuzzy set <math>\tilde{A}</math> <!--109-->and membership function <math>\mu_{\displaystyle {\tilde {A}}}(x)</math>== | | ==<!--108-->Fuzzy set <math>\tilde{A}</math> <!--109-->and membership function <math>\mu_{\displaystyle {\tilde {A}}}(x)</math>== |