Editor, Editors, USER, admin, Bureaucrats, Check users, dev, editor, Interface administrators, lookupuser, oversight, Push subscription managers, Suppressors, Administrators, translator, Widget editors
17,885
edits
(Created page with "{{Bookind2}} <languages /> left|250px <translate>In this chapter, we will discuss '''fuzzy logic'''. It is called ''fuzzy'' because it is characterized by a gradualness: an object can be attributed a quality that can have ''various degrees of truth''.</translate> <translate>In the first part of this chapter, the meaning of graded truth will be conceptually discussed, while in the second part, we will delve into the mathematical formalism by introdu...") |
Gianfranco (talk | contribs) (Marked this version for translation) |
||
Line 4: | Line 4: | ||
[[File:Fuzzy1.jpg|left|250px]] | [[File:Fuzzy1.jpg|left|250px]] | ||
<translate>In this chapter, we will discuss '''fuzzy logic'''. It is called ''fuzzy'' because it is characterized by a gradualness: an object can be attributed a quality that can have ''various degrees of truth''.</translate> | <translate><!--T:1--> In this chapter, we will discuss '''fuzzy logic'''. It is called ''fuzzy'' because it is characterized by a gradualness: an object can be attributed a quality that can have ''various degrees of truth''.</translate> | ||
<translate>In the first part of this chapter, the meaning of graded truth will be conceptually discussed, while in the second part, we will delve into the mathematical formalism by introducing the membership function <math>\mu_{\displaystyle {\tilde {A}}}(x)</math>: the element that allows us to mathematically synthesize the nuances of this logic of language</translate>. <translate>It has been possible to show that with ‘fuzzy’ reasoning, unlike the previous logics of language, the diagnoses show less uncertainty. Despite this, however, the need is still felt to further refine the language method and enrich it with further ‘logics’</translate>.{{ArtBy| | <translate><!--T:2--> In the first part of this chapter, the meaning of graded truth will be conceptually discussed, while in the second part, we will delve into the mathematical formalism by introducing the membership function <math>\mu_{\displaystyle {\tilde {A}}}(x)</math>: the element that allows us to mathematically synthesize the nuances of this logic of language</translate>. <translate><!--T:3--> It has been possible to show that with ‘fuzzy’ reasoning, unlike the previous logics of language, the diagnoses show less uncertainty. Despite this, however, the need is still felt to further refine the language method and enrich it with further ‘logics’</translate>.{{ArtBy| | ||
| autore = Gianni Frisardi | | autore = Gianni Frisardi | ||
| autore2 = Riccardo Azzali | | autore2 = Riccardo Azzali | ||
Line 12: | Line 12: | ||
}} | }} | ||
==<translate>Introduction</translate>== | ==<translate><!--T:4--> Introduction</translate>== | ||
<translate>We have come this far because, as colleagues, are very often faced with responsibilities and decisions that are very difficult to take and issues such as conscience, intelligence and humility come into play</translate>. <translate>In such a situation, however, we are faced with two equally difficult obstacles to manage that of one <math>KB</math> (Knowledge Basis), as we discussed in the chapter ‘[[The logic of probabilistic language|Logic of probabilistic language]]’, limited in the time that we codify in <math>KB_t</math> and one <math>KB</math> limited in the specific context (<math>KB_c</math>)</translate>. <translate>These two parameters of epistemology characterize the scientific age in which we live</translate>. <translate>Also, both <math>KB_t</math> that the <math>KB_c</math> are dependent variables of our phylogeny, and, in particular of our conceptual plasticity and attitude to change</translate>.<ref>{{Cite book | <translate><!--T:5--> We have come this far because, as colleagues, are very often faced with responsibilities and decisions that are very difficult to take and issues such as conscience, intelligence and humility come into play</translate>. <translate><!--T:6--> In such a situation, however, we are faced with two equally difficult obstacles to manage that of one <math>KB</math> (Knowledge Basis), as we discussed in the chapter ‘[[The logic of probabilistic language|Logic of probabilistic language]]’, limited in the time that we codify in <math>KB_t</math> and one <math>KB</math> limited in the specific context (<math>KB_c</math>)</translate>. <translate><!--T:7--> These two parameters of epistemology characterize the scientific age in which we live</translate>. <translate><!--T:8--> Also, both <math>KB_t</math> that the <math>KB_c</math> are dependent variables of our phylogeny, and, in particular of our conceptual plasticity and attitude to change</translate>.<ref>{{Cite book | ||
| autore = Takeuchi S | | autore = Takeuchi S | ||
| autore2 = Okuda S | | autore2 = Okuda S | ||
Line 32: | Line 32: | ||
}}</ref>{{q2|I'm not following you|I'll give you a practical example}} | }}</ref>{{q2|I'm not following you|I'll give you a practical example}} | ||
*<blockquote><big><translate>How much research has been produced on the topic 'Fuzzy logic'?</translate></big></blockquote> | *<blockquote><big><translate><!--T:9--> How much research has been produced on the topic 'Fuzzy logic'?</translate></big></blockquote> | ||
<translate>Pubmed responds with 2862 articles in the last 10 years</translate><ref>[https://pubmed.ncbi.nlm.nih.gov/?term=%22Fuzzy+logic%22&filter=datesearch.y_10 Fuzzy logic on Pubmed]</ref><ref><translate>All statistics collected following visits to the Pubmed site (https://pubmed.ncbi.nlm.nih.gov/). Last checked: December 2020</translate>.</ref>, <translate>so that we can say that ours is current and is sufficiently updated</translate>. <translate>However, if we wanted to focus attention on a specific topic like ‘Temporomandibular Disorders’, the database will respond with as many as 2,235 articles</translate>. <ref>[https://pubmed.ncbi.nlm.nih.gov/?term=%22Temporomandibular+disorders%22&filter=datesearch.y_10 <translate>Temporomandibular Disorders in Pubmed</translate>]</ref> <translate>Hence, if we wanted to check another topic like ‘Orofacial Pain’, Pubmed gives us 1,986 articles</translate>.<ref>[https://pubmed.ncbi.nlm.nih.gov/?term=%22orofacial+Pain%22&filter=datesearch.y_10 <translate>Orofacial Pain in Pubmed</translate>]</ref> <translate>This means that the <math>KB_t</math> for these three topics in the last 10 years it has been sufficiently updated</translate>. | <translate><!--T:10--> Pubmed responds with 2862 articles in the last 10 years</translate><ref>[https://pubmed.ncbi.nlm.nih.gov/?term=%22Fuzzy+logic%22&filter=datesearch.y_10 Fuzzy logic on Pubmed]</ref><ref><translate><!--T:11--> All statistics collected following visits to the Pubmed site (https://pubmed.ncbi.nlm.nih.gov/). Last checked: December 2020</translate>.</ref>, <translate><!--T:12--> so that we can say that ours is current and is sufficiently updated</translate>. <translate><!--T:13--> However, if we wanted to focus attention on a specific topic like ‘Temporomandibular Disorders’, the database will respond with as many as 2,235 articles</translate>. <ref>[https://pubmed.ncbi.nlm.nih.gov/?term=%22Temporomandibular+disorders%22&filter=datesearch.y_10 <translate><!--T:14--> Temporomandibular Disorders in Pubmed</translate>]</ref> <translate><!--T:15--> Hence, if we wanted to check another topic like ‘Orofacial Pain’, Pubmed gives us 1,986 articles</translate>.<ref>[https://pubmed.ncbi.nlm.nih.gov/?term=%22orofacial+Pain%22&filter=datesearch.y_10 <translate><!--T:16--> Orofacial Pain in Pubmed</translate>]</ref> <translate><!--T:17--> This means that the <math>KB_t</math> for these three topics in the last 10 years it has been sufficiently updated</translate>. | ||
<translate>If, now, we wanted to verify the interconnection between the topics, we will notice that <math>KB_c</math> in the contexts will be the following</translate>: | <translate><!--T:18--> If, now, we wanted to verify the interconnection between the topics, we will notice that <math>KB_c</math> in the contexts will be the following</translate>: | ||
#<math>KB_c=</math> '<translate>Temporomandibular disorders AND Orofacial Pain</translate>'<math>\rightarrow</math> 9 <translate>articles in the last 10 years</translate><ref>[https://pubmed.ncbi.nlm.nih.gov/?term=%22Temporomandibular+disorders+AND+Orofacial+Pain%22&filter=datesearch.y_10 <translate>Temporomandibular disorders AND Orofacial Pain in Pubmed</translate>]</ref> | #<math>KB_c=</math> '<translate><!--T:19--> Temporomandibular disorders AND Orofacial Pain</translate>'<math>\rightarrow</math> 9 <translate><!--T:20--> articles in the last 10 years</translate><ref>[https://pubmed.ncbi.nlm.nih.gov/?term=%22Temporomandibular+disorders+AND+Orofacial+Pain%22&filter=datesearch.y_10 <translate><!--T:21--> Temporomandibular disorders AND Orofacial Pain in Pubmed</translate>]</ref> | ||
#<math>KB_c=</math> '<translate>Temporomandibular disorders AND Orofacial Pain AND Fuzzy logic</translate>' 0 <translate>articles in the last 10 years</translate><ref>[https://pubmed.ncbi.nlm.nih.gov/?term=%22Temporomandibular+disorders+AND+Orofacial+Pain+AND+Fuzzy+logic%22&filter=datesearch.y_10 "<translate>Temporomandibular disorders AND Orofacial Pain AND Fuzzy logic" in Pubmed</translate>]</ref> | #<math>KB_c=</math> '<translate><!--T:22--> Temporomandibular disorders AND Orofacial Pain AND Fuzzy logic</translate>' 0 <translate><!--T:23--> articles in the last 10 years</translate><ref>[https://pubmed.ncbi.nlm.nih.gov/?term=%22Temporomandibular+disorders+AND+Orofacial+Pain+AND+Fuzzy+logic%22&filter=datesearch.y_10 "<translate><!--T:24--> Temporomandibular disorders AND Orofacial Pain AND Fuzzy logic" in Pubmed</translate>]</ref> | ||
<translate>The example means that the <math>KB_t</math> is relatively up-to-date individually for the three topics while it decreases dramatically when the topics between contexts are merged and specifically to 9 articles for Point 1 and even to 0 articles for Point 2</translate>. <translate>So, the <math>KB_t</math> is a time dependent variable while the <math>KB_c</math> is a cognitive variable dependent on our aptitude for the progress of science, as already mentioned—among other things—in the chapter ‘Introduction’</translate>. | <translate><!--T:25--> The example means that the <math>KB_t</math> is relatively up-to-date individually for the three topics while it decreases dramatically when the topics between contexts are merged and specifically to 9 articles for Point 1 and even to 0 articles for Point 2</translate>. <translate><!--T:26--> So, the <math>KB_t</math> is a time dependent variable while the <math>KB_c</math> is a cognitive variable dependent on our aptitude for the progress of science, as already mentioned—among other things—in the chapter ‘Introduction’</translate>. | ||
{{q2|<translate>you almost convinced me</translate>|<translate>Wait and see</translate>}} | {{q2|<translate><!--T:27--> you almost convinced me</translate>|<translate><!--T:28--> Wait and see</translate>}} | ||
<translate>We ended the previous chapter by asserting that the logic of a classical language and subsequently probabilistic logic have helped us a lot in the progress of medical science and diagnostics but implicitly carry within themselves the limits of their own logic of language, which limits the vision of the biological universe</translate>. <translate>We also verified that with the logic of a classical language—so to speak, Aristotelian—the logical syntax that is derived from it in the diagnostics of our Mary Poppins limits, in fact, the clinical conclusion</translate>. | <translate><!--T:29--> We ended the previous chapter by asserting that the logic of a classical language and subsequently probabilistic logic have helped us a lot in the progress of medical science and diagnostics but implicitly carry within themselves the limits of their own logic of language, which limits the vision of the biological universe</translate>. <translate><!--T:30--> We also verified that with the logic of a classical language—so to speak, Aristotelian—the logical syntax that is derived from it in the diagnostics of our Mary Poppins limits, in fact, the clinical conclusion</translate>. | ||
<math>\{a \in x \mid \forall \text{x} \; A(\text{x}) \rightarrow {B}(\text{x}) \vdash A( a)\rightarrow B(a) \}</math> (<translate>see chapter</translate> [[The logic of classical language|Classical Language's Logic]]), | <math>\{a \in x \mid \forall \text{x} \; A(\text{x}) \rightarrow {B}(\text{x}) \vdash A( a)\rightarrow B(a) \}</math> (<translate><!--T:31--> see chapter</translate> [[The logic of classical language|Classical Language's Logic]]), | ||
<translate>argues that</translate>: "<translate>every normal patient</translate> ''<math>\forall\text{x} | <translate><!--T:32--> argues that</translate>: "<translate><!--T:33--> every normal patient</translate> ''<math>\forall\text{x} | ||
</math>'' <translate>which is positive on the radiographic examination of the TMJ</translate> ''<math>\mathrm{\mathcal{A}}(\text{x})</math>'' <translate>has TMDs</translate>''<math>\rightarrow\mathrm{\mathcal{B}}(\text{x})</math>'', <translate>as a direct consequence</translate> ''<math>\vdash</math>'' <translate>Mary Poppins being positive (and also being a "normal" patient) on the TMJ x-ray ''<math>A(a)</math>'' then Mary Poppins is also affected by TMDs</translate> ''<math>\rightarrow \mathcal{B}(a)</math>'' | </math>'' <translate><!--T:34--> which is positive on the radiographic examination of the TMJ</translate> ''<math>\mathrm{\mathcal{A}}(\text{x})</math>'' <translate><!--T:35--> has TMDs</translate>''<math>\rightarrow\mathrm{\mathcal{B}}(\text{x})</math>'', <translate><!--T:36--> as a direct consequence</translate> ''<math>\vdash</math>'' <translate><!--T:37--> Mary Poppins being positive (and also being a "normal" patient) on the TMJ x-ray ''<math>A(a)</math>'' then Mary Poppins is also affected by TMDs</translate> ''<math>\rightarrow \mathcal{B}(a)</math>'' | ||
<translate>The limitation of the logical path that has been followed has led us to undertake an alternative path, in which the bivalence or binary nature of classical language logic is avoided and a probabilistic model is followed. The dentist colleague, in fact, changed the vocabulary and preferred a conclusion like</translate>: | <translate><!--T:38--> The limitation of the logical path that has been followed has led us to undertake an alternative path, in which the bivalence or binary nature of classical language logic is avoided and a probabilistic model is followed. The dentist colleague, in fact, changed the vocabulary and preferred a conclusion like</translate>: | ||
<math>P(D| Deg.TMJ \cap TMDs)=0.95</math> | <math>P(D| Deg.TMJ \cap TMDs)=0.95</math> | ||
<translate>and which is, that our Mary Poppins is 95% affected by TMDs since she has a degeneration of the temporomandibular joint supported by the positivity of the data <math>D=\{\delta_1,\dots\delta_4\}</math> in a population sample <math>n</math></translate>. <translate>However, we also found that in the process of constructing probabilistic logic (Analysandum <math> = \{P(D),a\}</math>) which allowed us to formulate the aforementioned differential diagnostic conclusions and choose the most plausible one, there is a crucial element to the whole Analysand'''<math>= \{\pi,a,KB\}</math>''' represented by the term <math>KB</math> which indicates, specifically, a 'Knowledge Base' of the context on which the logic of probabilistic language is built</translate>. | <translate><!--T:39--> and which is, that our Mary Poppins is 95% affected by TMDs since she has a degeneration of the temporomandibular joint supported by the positivity of the data <math>D=\{\delta_1,\dots\delta_4\}</math> in a population sample <math>n</math></translate>. <translate><!--T:40--> However, we also found that in the process of constructing probabilistic logic (Analysandum <math> = \{P(D),a\}</math>) which allowed us to formulate the aforementioned differential diagnostic conclusions and choose the most plausible one, there is a crucial element to the whole Analysand'''<math>= \{\pi,a,KB\}</math>''' represented by the term <math>KB</math> which indicates, specifically, a 'Knowledge Base' of the context on which the logic of probabilistic language is built</translate>. | ||
<translate>We therefore concluded that perhaps the dentist colleague should have become aware of his own 'Subjective Uncertainty' (affected by TMDs or <sub>n</sub>OP?) and 'Objective Uncertainty' (probably more affected by TMDs or <sub>n</sub>OP?)</translate>. | <translate><!--T:41--> We therefore concluded that perhaps the dentist colleague should have become aware of his own 'Subjective Uncertainty' (affected by TMDs or <sub>n</sub>OP?) and 'Objective Uncertainty' (probably more affected by TMDs or <sub>n</sub>OP?)</translate>. | ||
*<blockquote><big><translate>Why have we come to these critical conclusions?</translate></big></blockquote> | *<blockquote><big><translate><!--T:42--> Why have we come to these critical conclusions?</translate></big></blockquote> | ||
<translate>For a widely shared form of the representation of reality, supported by the testimony of authoritative figures who confirm its criticality</translate>. <translate> This has given rise to a vision of reality which, at first glance, would seem unsuitable for medical language; in fact, expressions such as ‘about 2’ or ‘moderately’ can arouse legitimate perplexity and seem an anachronistic return to pre-scientific concepts</translate>. <translate>On the contrary, however, the use of fuzzy numbers or assertions allows scientific data to be treated in contexts in which one cannot speak of ‘'''probability'''’ but only of ‘'''possibility’</translate>.'''<ref>{{Cite book | <translate><!--T:43--> For a widely shared form of the representation of reality, supported by the testimony of authoritative figures who confirm its criticality</translate>. <translate> <!--T:44--> This has given rise to a vision of reality which, at first glance, would seem unsuitable for medical language; in fact, expressions such as ‘about 2’ or ‘moderately’ can arouse legitimate perplexity and seem an anachronistic return to pre-scientific concepts</translate>. <translate><!--T:45--> On the contrary, however, the use of fuzzy numbers or assertions allows scientific data to be treated in contexts in which one cannot speak of ‘'''probability'''’ but only of ‘'''possibility’</translate>.'''<ref>{{Cite book | ||
| autore = Dubois D | | autore = Dubois D | ||
| autore2 = Prade H | | autore2 = Prade H | ||
Line 80: | Line 80: | ||
}}</ref> | }}</ref> | ||
{{q2|<translate>Probability or Possibility?</translate>|}} | {{q2|<translate><!--T:46--> Probability or Possibility?</translate>|}} | ||
==<translate>Fuzzy truth</translate>== | ==<translate><!--T:47--> Fuzzy truth</translate>== | ||
<translate>In the ambitious attempt to mathematically translate human rationality, it was thought in the mid-twentieth century to expand the concept of classical logic by formulating fuzzy logic. Fuzzy logic concerns the properties that we could call ‘graduality’, i.e., which can be attributed to an object with different degrees. Examples are the properties ‘being sick’, ‘having pain’, ‘being tall’, ‘being young’, and so on.</translate> | <translate><!--T:48--> In the ambitious attempt to mathematically translate human rationality, it was thought in the mid-twentieth century to expand the concept of classical logic by formulating fuzzy logic. Fuzzy logic concerns the properties that we could call ‘graduality’, i.e., which can be attributed to an object with different degrees. Examples are the properties ‘being sick’, ‘having pain’, ‘being tall’, ‘being young’, and so on.</translate> | ||
<translate>Mathematically, fuzzy logic allows us to attribute to each proposition a degree of truth between <math>0</math> and <math>1</math>. The most classic example to explain this concept is that of age: we can say that a new-born has a ‘degree of youth’ equal to <math>1</math>, an eighteen-year-old equal to <math>0,8</math>, a sixty-year-old equal to <math>0,4</math>, and so on </translate> | <translate><!--T:49--> Mathematically, fuzzy logic allows us to attribute to each proposition a degree of truth between <math>0</math> and <math>1</math>. The most classic example to explain this concept is that of age: we can say that a new-born has a ‘degree of youth’ equal to <math>1</math>, an eighteen-year-old equal to <math>0,8</math>, a sixty-year-old equal to <math>0,4</math>, and so on </translate> | ||
<translate>In the context of classical logic, on the other hand, the statements</translate>: | <translate><!--T:50--> In the context of classical logic, on the other hand, the statements</translate>: | ||
**<translate>a ten-year-old is young</translate> | **<translate><!--T:51--> a ten-year-old is young</translate> | ||
**<translate>a thirty-year-old is young</translate> | **<translate><!--T:52--> a thirty-year-old is young</translate> | ||
<translate>are both true</translate>. <translate>However, in the case of classical logic (which allows only the two true or false data), this would mean that the infant and the thirty-year-old are equally young. Which is obviously wrong</translate>. | <translate><!--T:53--> are both true</translate>. <translate><!--T:54--> However, in the case of classical logic (which allows only the two true or false data), this would mean that the infant and the thirty-year-old are equally young. Which is obviously wrong</translate>. | ||
<translate>The importance and the charm of fuzzy logic arise from the fact that it is able to translate the uncertainty inherent in some data of human language into mathematical formalism, coding ‘elastic’ concepts (such as almost high, fairly good, etc.), in order to make them understandable and manageable by computers</translate>. | <translate><!--T:55--> The importance and the charm of fuzzy logic arise from the fact that it is able to translate the uncertainty inherent in some data of human language into mathematical formalism, coding ‘elastic’ concepts (such as almost high, fairly good, etc.), in order to make them understandable and manageable by computers</translate>. | ||
==<translate>Set theory</translate>== | ==<translate><!--T:56--> Set theory</translate>== | ||
<translate>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</translate>. <translate>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</translate>. | <translate><!--T: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</translate>. <translate><!--T: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</translate>. | ||
===<translate>Quantifiers</translate>=== | ===<translate><!--T:59--> Quantifiers</translate>=== | ||
*<translate>Membership</translate>: <translate>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></translate> | *<translate><!--T:60--> Membership</translate>: <translate><!--T: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></translate> | ||
*<translate>Non-membership</translate>: <translate>represented by the symbol <math>\notin </math> (It does not belong)</translate> | *<translate><!--T:62--> Non-membership</translate>: <translate><!--T:63--> represented by the symbol <math>\notin </math> (It does not belong)</translate> | ||
*<translate>Inclusion</translate>: <translate>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>)</translate> | *<translate><!--T:64--> Inclusion</translate>: <translate><!--T: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>)</translate> | ||
*<translate>Universal quantifier</translate>, <translate>which is indicated by the symbol <math>\forall</math> (for each)</translate> | *<translate><!--T:66--> Universal quantifier</translate>, <translate><!--T:67--> which is indicated by the symbol <math>\forall</math> (for each)</translate> | ||
*<translate>Demonstration</translate>, <translate>which is indicated by the symbol <math>\mid</math> (such that)</translate> | *<translate><!--T:68--> Demonstration</translate>, <translate><!--T:69--> which is indicated by the symbol <math>\mid</math> (such that)</translate> | ||
===<translate>Set operators</translate>=== | ===<translate><!--T:70--> Set operators</translate>=== | ||
<translate>Given the whole universe</translate> <math>U</math> <translate>we indicate with</translate> <math>x</math> <translate>its generic element so that</translate> <math>x \in U</math>; <translate>then, we consider two subsets</translate> <math>A</math> and <math>B</math> <translate>internal to</translate> <math>U</math> <translate>so that</translate> <math>A \subset U</math> <translate>and</translate> <math>B \subset U</math> | <translate><!--T:71--> Given the whole universe</translate> <math>U</math> <translate><!--T:72--> we indicate with</translate> <math>x</math> <translate><!--T:73--> its generic element so that</translate> <math>x \in U</math>; <translate><!--T:74--> then, we consider two subsets</translate> <math>A</math> and <math>B</math> <translate><!--T:75--> internal to</translate> <math>U</math> <translate><!--T:76--> so that</translate> <math>A \subset U</math> <translate><!--T:77--> and</translate> <math>B \subset U</math> | ||
{| | {| | ||
|[[File:Venn0111.svg|left|80px]] | |[[File:Venn0111.svg|left|80px]] | ||
|'''<translate>Union</translate>:''' <translate>represented by the symbol</translate> <math>\cup</math>, <translate>indicates the union of the two sets</translate> <math>A</math> <translate>and</translate> <math>B</math> <math>(A\cup B)</math>. <translate>It is defined by all the elements that belong to</translate> <math>A</math> <translate>and</translate> <math>B</math> <translate>or both</translate>: | |'''<translate><!--T:78--> Union</translate>:''' <translate><!--T:79--> represented by the symbol</translate> <math>\cup</math>, <translate><!--T:80--> indicates the union of the two sets</translate> <math>A</math> <translate><!--T:81--> and</translate> <math>B</math> <math>(A\cup B)</math>. <translate><!--T:82--> It is defined by all the elements that belong to</translate> <math>A</math> <translate><!--T:83--> and</translate> <math>B</math> <translate><!--T:84--> or both</translate>: | ||
<math>(A\cup B)=\{\forall x\in U \mid x\in A \land x\in B\}</math> | <math>(A\cup B)=\{\forall x\in U \mid x\in A \land x\in B\}</math> | ||
|- | |- | ||
|[[File:Venn0001.svg|sinistra|80px]] | |[[File:Venn0001.svg|sinistra|80px]] | ||
|'''<translate>Intersection</translate>:''' <translate>represented by the symbol</translate> <math>\cap</math>, <translate>indicates the elements belonging to both sets</translate>: | |'''<translate><!--T:85--> Intersection</translate>:''' <translate><!--T:86--> represented by the symbol</translate> <math>\cap</math>, <translate><!--T:87--> indicates the elements belonging to both sets</translate>: | ||
<math>(A\cap B)=\{\forall x\in U \mid x\in A \lor x\in B\}</math> | <math>(A\cap B)=\{\forall x\in U \mid x\in A \lor x\in B\}</math> | ||
|- | |- | ||
|[[File:Venn0010.svg|left|80px]] | |[[File:Venn0010.svg|left|80px]] | ||
|'''<translate>Difference</translate>:''' <translate>represented by the symbol</translate> <math>-</math>, <translate>for example</translate> <math>A-B</math> <translate>shows all elements of</translate> <math>A</math> <translate>except those shared with</translate> <math>B</math> | |'''<translate><!--T:88--> Difference</translate>:''' <translate><!--T:89--> represented by the symbol</translate> <math>-</math>, <translate><!--T:90--> for example</translate> <math>A-B</math> <translate><!--T:91--> shows all elements of</translate> <math>A</math> <translate><!--T:92--> except those shared with</translate> <math>B</math> | ||
|- | |- | ||
|[[File:Venn1000.svg|left|80px]] | |[[File:Venn1000.svg|left|80px]] | ||
|'''<translate>Complementary</translate>:''' <translate>represented by a bar above the name of the collection, it indicates by</translate> <math>\bar{A}</math> <translate>the complementary of</translate> <math>A</math>, <translate>that is</translate>, <translate>the set of elements that belong to the whole universe except those of</translate> <math>A</math>, <translate>in formulas</translate>: <math>\bar{A}=U-A</math><br /> | |'''<translate><!--T:93--> Complementary</translate>:''' <translate><!--T:94--> represented by a bar above the name of the collection, it indicates by</translate> <math>\bar{A}</math> <translate><!--T:95--> the complementary of</translate> <math>A</math>, <translate><!--T:96--> that is</translate>, <translate><!--T:97--> the set of elements that belong to the whole universe except those of</translate> <math>A</math>, <translate><!--T:98--> in formulas</translate>: <math>\bar{A}=U-A</math><br /> | ||
|} | |} | ||
<translate>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</translate>. <translate>Remember that in classical logic, given the set</translate> <math>A</math> <translate>and its complementary</translate> <math>\bar{A}</math>, <translate>the principle of non-contradiction states that if an element belongs to the whole</translate> <math>A</math> <translate>it cannot at the same time also belong to its complementary</translate> <math>\bar{A}</math>; <translate>according to the principle of the excluded third, however, the union of a whole</translate> <math>A</math> <translate>and its complementary</translate> <math>\bar{A}</math> <translate>constitutes the complete universe</translate> <math>U</math>. | <translate><!--T: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</translate>. <translate><!--T:100--> Remember that in classical logic, given the set</translate> <math>A</math> <translate><!--T:101--> and its complementary</translate> <math>\bar{A}</math>, <translate><!--T:102--> the principle of non-contradiction states that if an element belongs to the whole</translate> <math>A</math> <translate><!--T:103--> it cannot at the same time also belong to its complementary</translate> <math>\bar{A}</math>; <translate><!--T:104--> according to the principle of the excluded third, however, the union of a whole</translate> <math>A</math> <translate><!--T:105--> and its complementary</translate> <math>\bar{A}</math> <translate><!--T:106--> constitutes the complete universe</translate> <math>U</math>. | ||
<translate>In other words, if any element does not belong to the whole, it must necessarily belong to its complementary</translate>. | <translate><!--T:107--> In other words, if any element does not belong to the whole, it must necessarily belong to its complementary</translate>. | ||
==<translate>Fuzzy set</translate> <math>\tilde{A}</math> <translate>and membership function</translate> <math>\mu_{\displaystyle {\tilde {A}}}(x)</math>== | ==<translate><!--T:108--> Fuzzy set</translate> <math>\tilde{A}</math> <translate><!--T:109--> and membership function</translate> <math>\mu_{\displaystyle {\tilde {A}}}(x)</math>== | ||
We choose - as a formalism - to represent a fuzzy set with the 'tilde':<math>\tilde{A}</math>. A fuzzy set is a set where the elements have a 'degree' of belonging (consistent with fuzzy logic): some can be included in the set at 100%, others in lower percentages. | We choose - as a formalism - to represent a fuzzy set with the 'tilde':<math>\tilde{A}</math>. A fuzzy set is a set where the elements have a 'degree' of belonging (consistent with fuzzy logic): some can be included in the set at 100%, others in lower percentages. | ||
edits