Difference between revisions of "Fuzzy language logic"

no edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{main menu}}
{{main menu}}
[[File:Fuzzy1.jpg|left|275x275px]]
The chapter on fuzzy logic in the provided text explores the concept of "graded truth," an approach that allows for more nuanced interpretations in fields like medicine where absolute truths are rare. Fuzzy logic is described as "fuzzy" due to its ability to handle degrees of truth rather than black-and-white categorizations, making it particularly useful for medical diagnoses where traditional binary logics fall short.
The text begins by discussing the philosophical underpinnings of fuzzy logic, explaining that unlike classical logic that operates strictly on true or false values, fuzzy logic accommodates a spectrum of possibilities. This flexibility makes it adept at dealing with complex, uncertain, and ambiguous information that often characterizes medical data.
A significant portion of the chapter is devoted to the mathematical formalism integral to fuzzy logic—the membership function <math>\mu_{\displaystyle {\tilde {A}}}(x)</math>. This function quantifies the degree to which a given element belongs to a set, representing the "fuzziness" of categorization. This mathematical approach allows for a more refined and detailed analysis, facilitating more accurate and nuanced diagnostic conclusions.
Despite the advances offered by fuzzy logic, the text acknowledges that there remains a need for continuous improvement and refinement of this logical approach. The chapter suggests that integrating fuzzy logic with other logical frameworks could further enhance its effectiveness and reduce uncertainty in diagnostics.
Overall, the discussion highlights the importance of adopting new logical models like fuzzy logic in improving the precision and reliability of medical diagnostics, especially in complex cases where traditional methods may be inadequate.


{{ArtBy|
{{ArtBy|
Line 22: Line 6:
| autore3 = Flavio Frisardi
| autore3 = Flavio Frisardi
}}
}}
'''Abstract:''' In this chapter, we delve into the cognitive limits of diagnostic reasoning, focusing on how knowledge in medical science is bound by time and context, represented by two parameters: <math>KB_t</math> (time-dependent knowledge base) and <math>KB_c</math> (context-dependent knowledge base). These parameters emphasize how scientific knowledge evolves and is shaped by the specific context in which it operates. Through practical examples, such as research on Temporomandibular Disorders (TMD) and Orofacial Pain (OP), we illustrate the interconnectedness of scientific fields and the significant drop in knowledge integration when topics are combined.
The discussion moves from the limitations of classical logic to the broader framework of probabilistic reasoning, and eventually to fuzzy logic. We examine how classical logic, with its binary nature, is inadequate for medical diagnosis, where uncertainty is inherent. By introducing fuzzy logic, a multivalent approach, we show how it is better suited to handling the complexities and uncertainties of clinical cases, such as that of Mary Poppins.


Fuzzy logic allows for a more flexible representation of truth, enabling the partial inclusion of concepts within sets, and thus reducing diagnostic errors. The chapter emphasizes the importance of expanding our knowledge base across different contexts and integrating interdisciplinary perspectives, particularly in dentistry and neurophysiology. Finally, it concludes with a call for continued exploration of system logic, setting the stage for the following chapter on the "System Language Logic."
==Introduction==
==Introduction==
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. 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>). These two parameters of epistemology characterize the scientific age in which we live. 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.<ref>{{Cite book  
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. 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>). These two parameters of epistemology characterize the scientific age in which we live. 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.<ref>{{Cite book  
Line 55: Line 43:
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. 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.
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. 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.


<math>\{a \in x \mid \forall \text{x} \; A(\text{x}) \rightarrow {B}(\text{x}) \vdash A( a)\rightarrow B(a) \}</math> (see chapter [[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> (see chapter [[The logic of the classical language|The logic of the classic language]]),


argues that: "every normal patient ''<math>\forall\text{x}</math>'' which is positive on the radiographic examination of the TMJ ''<math>\mathrm{\mathcal{A}}(\text{x})</math>'' has TMDs''<math>\rightarrow\mathrm{\mathcal{B}}(\text{x})</math>'', as a direct consequence ''<math>\vdash</math>'' 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 ''<math>\rightarrow \mathcal{B}(a)</math>''
argues that: "every normal patient ''<math>\forall\text{x}</math>'' which is positive on the radiographic examination of the TMJ ''<math>\mathrm{\mathcal{A}}(\text{x})</math>'' has TMDs''<math>\rightarrow\mathrm{\mathcal{B}}(\text{x})</math>'', as a direct consequence ''<math>\vdash</math>'' 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 ''<math>\rightarrow \mathcal{B}(a)</math>''
Line 88: Line 76:


{{q2|<!--46-->Probability or Possibility?|}}
{{q2|<!--46-->Probability or Possibility?|}}
----
==Fuzzy truth==
==Fuzzy truth==
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.
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.
Line 101: Line 88:


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.
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.
----
==Set theory==
==Set theory==
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. 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.
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. 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.
Line 111: Line 97:
*Universal quantifier, which is indicated by the symbol <math>\forall</math> (for each)
*Universal quantifier, which is indicated by the symbol <math>\forall</math> (for each)
*Demonstration, which is indicated by the symbol <math>\mid</math> (such that)
*Demonstration, which is indicated by the symbol <math>\mid</math> (such that)
----
===Set operators===
===Set operators===


Line 136: Line 121:


In other words, if any element does not belong to the whole, it must necessarily belong to its complementary.
In other words, if any element does not belong to the whole, it must necessarily belong to its complementary.
----
==Fuzzy set <math>\tilde{A}</math> and membership function <math>\mu_{\displaystyle {\tilde {A}}}(x)</math>==
==Fuzzy set <math>\tilde{A}</math> and membership function <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.
Line 191: Line 175:
[[File:Fuzzy_crisp.svg|alt=|left|thumb|400px|'''Figure 1:''' Types of graphs for the membership function.]]
[[File:Fuzzy_crisp.svg|alt=|left|thumb|400px|'''Figure 1:''' Types of graphs for the membership function.]]


The '''support set''' of a fuzzy set is defined as the zone in which the degree of membership results <math>0<\mu_ {\tilde {A}}(x) < 1</math>; <!--131-->on the other hand, the '''core''' is defined as the area in which the degree of belonging assumes value <math>\mu_ {\tilde {A}}(x) = 1</math>
The '''support set''' of a fuzzy set is defined as the zone in which the degree of membership results <math>0<\mu_ {\tilde {A}}(x) < 1</math>; on the other hand, the '''core''' is defined as the area in which the degree of belonging assumes value <math>\mu_ {\tilde {A}}(x) = 1</math>


The 'Support set' represents the values of the predicate deemed '''possible''', while the 'core' represents those deemed more '''plausible'''.
The 'Support set' represents the values of the predicate deemed '''possible''', while the 'core' represents those deemed more '''plausible'''.


If <math>{A}</math> <!--134-->represented a set in the ordinary sense of the term or classical language logic previously described, its membership function could assume only the values <math>1</math> <!--135-->or <math>0</math>, <math>\mu_{\displaystyle {{A}}}(x)= 1 \; \lor \;\mu_{\displaystyle {{A}}}(x)= 0</math> <!--136-->depending on whether the element <math>x</math> <!--137-->belongs to the whole or not, as considered. <!--138-->Figure 2 shows a graphic representation of the crisp (rigidly defined) or fuzzy concept of membership, which clearly recalls Smuts's considerations.<ref name=":0">•SMUTS J.C. 1926, [[wikipedia:Holism_and_Evolution|<!--139-->Holism and Evolution]], London: Macmillan.</ref>  
If <math>{A}</math> represented a set in the ordinary sense of the term or classical language logic previously described, its membership function could assume only the values <math>1</math> or <math>0</math>, <math>\mu_{\displaystyle {{A}}}(x)= 1 \; \lor \;\mu_{\displaystyle {{A}}}(x)= 0</math> depending on whether the element <math>x</math> belongs to the whole or not, as considered. Figure 2 shows a graphic representation of the crisp (rigidly defined) or fuzzy concept of membership, which clearly recalls Smuts's considerations.<ref name=":0">•SMUTS J.C. 1926, [[wikipedia:Holism_and_Evolution|<!--139-->Holism and Evolution]], London: Macmillan.</ref>  


Let us go back to the specific case of our Mary Poppins, in which we see a discrepancy between the assertions of the dentist and the neurologist and we look for a comparison between classical logic and fuzzy logic:
Let us go back to the specific case of our Mary Poppins, in which we see a discrepancy between the assertions of the dentist and the neurologist and we look for a comparison between classical logic and fuzzy logic:
[[File:Fuzzy1.jpg|thumb|400x400px|'''<!--141-->Figure 2:''' <!--142-->Representation of the comparison between a classical and fuzzy ensemble.]]
[[File:Fuzzy1.jpg|thumb|400x400px|'''Figure 2:''' Representation of the comparison between a classical and fuzzy ensemble.]]
'''Figure 2:''' Let us imagine the Science Universe <math>U</math> <!--145-->in which there are two parallel worlds or contexts, <math>{A}</math> <!--146-->and <math>\tilde{A}</math>.
'''Figure 2:''' Let us imagine the Science Universe <math>U</math> in which there are two parallel worlds or contexts, <math>{A}</math> and <math>\tilde{A}</math>.


<math>{A}=</math>  In the scientific context, the so-called ‘crisp’, and we have converted into ''the logic'' of ''Classic Language'', in which the physician has an absolute scientific background information <math>KB</math>  <!--148-->with a clear dividing line that we have named <math>KB_c</math>.  
<math>{A}=</math>  In the scientific context, the so-called ‘crisp’, and we have converted into ''the logic'' of ''Classic Language'', in which the physician has an absolute scientific background information <math>KB</math>  with a clear dividing line that we have named <math>KB_c</math>.  


<math>\tilde{A}=</math> In another scientific context called  ‘fuzzy logic’, and in which there is a union between the subset <math>{A}</math> <!--150-->in <math>\tilde{A}</math> <!--151-->that we can go so far as to say: union between <math>KB_c</math>.
<math>\tilde{A}=</math> In another scientific context called  ‘fuzzy logic’, and in which there is a union between the subset <math>{A}</math> in <math>\tilde{A}</math> that we can go so far as to say: union between <math>KB_c</math>.


We will remarkably notice the following deductions:
We will remarkably notice the following deductions:
Line 213: Line 197:
*'''Fuzzy logic''' in a dental context <math>\tilde{A}</math> in which they are represented beyond the basic knowledge <math>KB</math> of the dental context also those partially acquired from the neurophysiological world <math>0<\mu_ {\tilde {A}}(x) < 1</math> will have the prerogative to return a result <math>\mu_\tilde{A}(x)= 1
*'''Fuzzy logic''' in a dental context <math>\tilde{A}</math> in which they are represented beyond the basic knowledge <math>KB</math> of the dental context also those partially acquired from the neurophysiological world <math>0<\mu_ {\tilde {A}}(x) < 1</math> will have the prerogative to return a result <math>\mu_\tilde{A}(x)= 1
  </math> and a result <math>0<\mu_ {\tilde {A}}(x) < 1</math> because of basic knowledge <math>KB</math> which at this point is represented by the union of <math>KB_c</math> dental and neurological contexts. The result of this scientific-clinical implementation of dentistry would allow a {{q2|Reduction of differential diagnostic error|}}
  </math> and a result <math>0<\mu_ {\tilde {A}}(x) < 1</math> because of basic knowledge <math>KB</math> which at this point is represented by the union of <math>KB_c</math> dental and neurological contexts. The result of this scientific-clinical implementation of dentistry would allow a {{q2|Reduction of differential diagnostic error|}}
----
==Consideraciones finales==
==Consideraciones finales==
Los temas que podían distraer la atención del lector eran, de hecho, esenciales para demostrar el mensaje. Normalmente, en efecto, cuando cualquier mente más o menos brillante se permite arrojar una piedra al estanque de la Ciencia, se genera una onda expansiva, propia del período de la ciencia extraordinaria de Kuhn, contra la que se pelean la mayoría de los miembros de la comunidad científica internacional. De buena fe podemos decir que este fenómeno —en lo que se refiere a los temas que aquí abordamos— está bien representado en la premisa al inicio del capítulo.
Los temas que podían distraer la atención del lector eran, de hecho, esenciales para demostrar el mensaje. Normalmente, en efecto, cuando cualquier mente más o menos brillante se permite arrojar una piedra al estanque de la Ciencia, se genera una onda expansiva, propia del período de la ciencia extraordinaria de Kuhn, contra la que se pelean la mayoría de los miembros de la comunidad científica internacional. De buena fe podemos decir que este fenómeno —en lo que se refiere a los temas que aquí abordamos— está bien representado en la premisa al inicio del capítulo.
Editor, Editors, USER, admin, Bureaucrats, Check users, dev, editor, founder, Interface administrators, member, oversight, Suppressors, Administrators, translator
11,492

edits