<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="it">
	<id>https://wiki.dsy.it/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Delca85</id>
	<title>WikiDsy - Contributi utente [it]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.dsy.it/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Delca85"/>
	<link rel="alternate" type="text/html" href="https://wiki.dsy.it/w/Speciale:Contributi/Delca85"/>
	<updated>2026-05-09T12:58:59Z</updated>
	<subtitle>Contributi utente</subtitle>
	<generator>MediaWiki 1.31.16</generator>
	<entry>
		<id>https://wiki.dsy.it/index.php?title=Logica_fuzzy&amp;diff=21259</id>
		<title>Logica fuzzy</title>
		<link rel="alternate" type="text/html" href="https://wiki.dsy.it/index.php?title=Logica_fuzzy&amp;diff=21259"/>
		<updated>2012-11-12T21:45:46Z</updated>

		<summary type="html">&lt;p&gt;Delca85: /* Relationship between syntax and semantic */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{introduzione}}&lt;br /&gt;
&lt;br /&gt;
==A.A. passati ==&lt;br /&gt;
{{Annipassati|2007-2008|(Marra, Aguzzoli)|}}&lt;br /&gt;
==Information ==&lt;br /&gt;
[http://logicafuzzy.di.unimi.it/ Course's website]&amp;lt;br&amp;gt;&lt;br /&gt;
Times and classrooms:&amp;lt;br&amp;gt;&lt;br /&gt;
Monday 15:30 - 17:30 - Room 5 (Ground floor - via comelico 39)&amp;lt;br&amp;gt;&lt;br /&gt;
Friday 10:30 - 12:30 - Room 5&amp;lt;br&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
==Lessons' notes==&lt;br /&gt;
''This notes are written in english to help foreign students to follow this course.''&lt;br /&gt;
===Classical Propositional Logic===&lt;br /&gt;
We are going to describe the classical propositional logic (L.P.C) language.&lt;br /&gt;
====Syntax====&lt;br /&gt;
''The syntax of a language is the set of rules that specify '''how''' the elements of the language are formed regardless their meaning''.&lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;\mathbb{N} = \{1, 2, ... \} &amp;lt;/math&amp;gt; be the set of the natural numbers and &amp;lt;math&amp;gt;\mathbb{A} = \{ (, ), X, |, $, \rightarrow, \and, \or, \neg, \top, \bot \}&amp;lt;/math&amp;gt; an alphabet of symbols.&amp;lt;br&amp;gt;&lt;br /&gt;
The symbols &amp;lt;math&amp;gt;\bot, \top&amp;lt;/math&amp;gt; are called respectively &amp;quot;falsum&amp;quot;, &amp;quot;verum&amp;quot;.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\mathbb{A}^\star&amp;lt;/math&amp;gt; is the set of strings on this alphabet. For example &amp;lt;math&amp;gt;''(\top \and \bot)'' ,  ''(\neg \and'' , ''X(('' \in \mathbb{A}^\star&amp;lt;/math&amp;gt;.&amp;lt;br&amp;gt;&lt;br /&gt;
We have now to define the set of the &amp;quot;well formed formula&amp;quot; &amp;lt;math&amp;gt;FORM&amp;lt;/math&amp;gt;, that is the set of the elements of the L.P.C.&amp;lt;br&amp;gt;&lt;br /&gt;
'''Definition (well formed formulas).''' &amp;lt;math&amp;gt;FORM \subset \mathbb{A}^\star&amp;lt;/math&amp;gt; is defined with some conditions:&lt;br /&gt;
#&amp;lt;math&amp;gt;\top, \bot \in FORM&amp;lt;/math&amp;gt;&lt;br /&gt;
#&amp;lt;math&amp;gt;\forall n \in \mathbb{N}&amp;lt;/math&amp;gt;&amp;lt;br&amp;gt;&amp;lt;math&amp;gt;\qquad X||...|$ \in FORM&amp;lt;/math&amp;gt;, where | is taken n times. For example: &amp;lt;math&amp;gt;X|$, X||$, X|||$, .... \in FORM&amp;lt;/math&amp;gt; &lt;br /&gt;
# if &amp;lt;math&amp;gt;\alpha, \beta \in FORM&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt; (\neg\alpha) \in FORM&amp;lt;/math&amp;gt;.&lt;br /&gt;
# if &amp;lt;math&amp;gt;\alpha, \beta \in FORM&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt; (\alpha\and\beta) \in FORM&amp;lt;/math&amp;gt;.&lt;br /&gt;
# if &amp;lt;math&amp;gt;\alpha, \beta \in FORM&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt; (\alpha\or\beta) \in FORM&amp;lt;/math&amp;gt;.&lt;br /&gt;
# if &amp;lt;math&amp;gt;\alpha, \beta \in FORM&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt; (\alpha\rightarrow\beta) \in FORM&amp;lt;/math&amp;gt;.&lt;br /&gt;
Well formed formulas is often abbreviated with f.b.f.&lt;br /&gt;
The strings in condition (2) are called &amp;quot;propositional variables&amp;quot; or &amp;quot;atomic formulas&amp;quot; or &amp;quot;propositional letters&amp;quot; or simply &amp;quot;variables&amp;quot;. They are abbreviated with this notation:&lt;br /&gt;
&amp;lt;math&amp;gt;X_1, X_2, X_3, ..., X_n&amp;lt;/math&amp;gt;(In other books p, q, r, .., are used to refer to variables). &amp;lt;br&amp;gt;The set of variables is &amp;lt;math&amp;gt;VAR&amp;lt;/math&amp;gt;.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;VAR \subset FORM&amp;lt;/math&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Example of well formed formulas:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;(((X_1 \and X_2) \or \top) \rightarrow (X_1 \or \bot)) \in FORM&amp;lt;/math&amp;gt;&amp;lt;br&amp;gt;Instead&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;(X_1 \and \and) \notin FORM&amp;lt;/math&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
In this notes we omit (, ) where it is clear the precedence of the connectives. (Connectives are &amp;lt;math&amp;gt;\neg, \and, \or, \rightarrow, \bot, \top&amp;lt;/math&amp;gt;)&amp;lt;br&amp;gt;&lt;br /&gt;
'''Why don't we use directly '''&amp;lt;math&amp;gt;X_1, X_2, ... &amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;p, q, r, s, ...&amp;lt;/math&amp;gt;? &amp;lt;br&amp;gt;&lt;br /&gt;
Because it is important that '''the alphabet is a finited set'''. Although, in this notes, we use &amp;lt;math&amp;gt;X_1, X_2, ..., &amp;lt;/math&amp;gt;notation.&lt;br /&gt;
It is essential, even, that the L.P.C. language is decidable, that is it must exist an algorithm that tell us if a string is &amp;lt;math&amp;gt; \in FORM&amp;lt;/math&amp;gt; or not.&lt;br /&gt;
For this reason it is crucial the &amp;lt;br&amp;gt;&lt;br /&gt;
'''Unique readability of well formed formulas'''. For all &amp;lt;math&amp;gt; \alpha \in FORM &amp;lt;/math&amp;gt;one (and only one) of the following sentences must be true:&lt;br /&gt;
#&amp;lt;math&amp;gt;\alpha = \bot&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt; \alpha = \top&amp;lt;/math&amp;gt; but not both.&lt;br /&gt;
#Exists an unique &amp;lt;math&amp;gt;n \in \mathbb{N}&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\alpha = X_n&amp;lt;/math&amp;gt;.&lt;br /&gt;
#Exists an unique &amp;lt;math&amp;gt;\beta \in FORM&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\alpha = (\neg \beta)&amp;lt;/math&amp;gt;.&lt;br /&gt;
#Exist unique &amp;lt;math&amp;gt;\beta, \gamma \in FORM&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\alpha = (\beta \and \gamma)&amp;lt;/math&amp;gt;.&lt;br /&gt;
#Exist unique &amp;lt;math&amp;gt;\beta, \gamma \in FORM&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\alpha = (\beta \or \gamma)&amp;lt;/math&amp;gt;.&lt;br /&gt;
#Exist unique &amp;lt;math&amp;gt;\beta, \gamma \in FORM&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\alpha = (\beta \rightarrow \gamma)&amp;lt;/math&amp;gt;.&lt;br /&gt;
Let's, infact, consider the parser of the algorithm we talked above:&lt;br /&gt;
When it find, for example, &amp;lt;math&amp;gt;\neg(\alpha \and \beta)&amp;lt;/math&amp;gt;, to decide if the string belongs to FORM, it have to decide (for the unique readability of well formed formulas) if &amp;lt;math&amp;gt;\alpha \and \beta \in FORM&amp;lt;/math&amp;gt;. But how can it do this? Deciding if &amp;lt;math&amp;gt;\alpha \in FORM&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\beta \in FORM&amp;lt;/math&amp;gt;.&lt;br /&gt;
This is what the above theorem tell us. Try to draw the parser tree. It is unique thanks to, again, that theorem.&lt;br /&gt;
&lt;br /&gt;
Formally, a string &amp;lt;math&amp;gt;\alpha&amp;lt;/math&amp;gt; is a finite sequence of elements:&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha = s_1s_2...s_n, s_i \in \mathbb{A}, i \in \{1, .., n\}&amp;lt;/math&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
A substring of &amp;lt;math&amp;gt;\alpha&amp;lt;/math&amp;gt; is a string in the form &amp;lt;math&amp;gt;s_is_{i+1}...s_{i+j}&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;j \in \{0, 1, .., n\}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;i+j\le n&amp;lt;/math&amp;gt;.&amp;lt;br&amp;gt;&lt;br /&gt;
A subformula is a substring &amp;lt;math&amp;gt;\in FORM&amp;lt;/math&amp;gt;.&amp;lt;br&amp;gt;&lt;br /&gt;
For example: &lt;br /&gt;
&amp;lt;math&amp;gt;\alpha = (X_1 \and X_2) \rightarrow \top&amp;lt;/math&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\beta = (X_1 \and \qquad \gamma = (X_1 \and X_2)&amp;lt;/math&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\beta, \gamma&amp;lt;/math&amp;gt; are both substring of &amp;lt;math&amp;gt;\alpha&amp;lt;/math&amp;gt; but only &amp;lt;math&amp;gt;\gamma&amp;lt;/math&amp;gt; is a subformula.&lt;br /&gt;
With &amp;lt;math&amp;gt;Var(\alpha)&amp;lt;/math&amp;gt; we indicate the set of variables that are subformulas of &amp;lt;math&amp;gt;\alpha&amp;lt;/math&amp;gt;.&lt;br /&gt;
With &amp;lt;math&amp;gt;\alpha(X_1, X_2, .., X_n)&amp;lt;/math&amp;gt; we denote a formula whose variables are a '''subset''' of &amp;lt;math&amp;gt;\{X_1, X_2, .., X_n\}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
====Semantic====&lt;br /&gt;
''The semantic of a language is the relation between the elements of that language and their '''meaning'''.''&amp;lt;br&amp;gt;&lt;br /&gt;
The set {0,1} is called truth values set. '''0 means false and 1 means true'''.&lt;br /&gt;
Definition(Assignment). An atomic assignment is any function &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\mu_0: Var \rightarrow \{0, 1\}&amp;lt;/math&amp;gt;.&amp;lt;br&amp;gt;&lt;br /&gt;
An assignment (or interpretation) is a function&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\mu: FORM \rightarrow \{0, 1\}&amp;lt;/math&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
that extends &amp;lt;math&amp;gt;\mu_0&amp;lt;/math&amp;gt; and respects the following rules for every &amp;lt;math&amp;gt;\alpha, \beta \in FORM&amp;lt;/math&amp;gt;.&amp;lt;br&amp;gt;&lt;br /&gt;
#&amp;lt;math&amp;gt;\mu(\bot)= 0&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\mu(\top) = 1&amp;lt;/math&amp;gt;&lt;br /&gt;
#&amp;lt;math&amp;gt;\mu((\neg\alpha)) = \begin{cases}1 &amp;amp; if\quad\mu(\alpha) = 0\\0 &amp;amp; if\quad\mu(\alpha) = 1\end{cases}&amp;lt;/math&amp;gt;&lt;br /&gt;
#&amp;lt;math&amp;gt;\mu((\alpha \and \beta)) = \begin{cases}1 &amp;amp; if\quad\mu(\alpha)= 1\quad and \quad\mu(\beta) = 1\\0 &amp;amp; else\end{cases}&amp;lt;/math&amp;gt;&lt;br /&gt;
#&amp;lt;math&amp;gt;\mu((\alpha \or \beta)) = \begin{cases}1 &amp;amp; if\quad\mu(\alpha)= 1\quad or \quad\mu(\beta) = 1\quad or \quad both\\0 &amp;amp; else\end{cases}&amp;lt;/math&amp;gt;&lt;br /&gt;
#&amp;lt;math&amp;gt;\mu((\alpha \rightarrow \beta)) = \begin{cases}0 &amp;amp; if \quad \mu(\alpha) = 0 \quad and \quad \mu(\beta) = 1\\1 &amp;amp; else \end{cases}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Informally we can say that the variables represent propositions with one verb and one or more complement. For example:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;X_1 = &amp;lt;/math&amp;gt; &amp;quot;It rains&amp;quot;;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;X_2 = &amp;lt;/math&amp;gt; &amp;quot;I go to school&amp;quot;.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\neg X_2 = &amp;lt;/math&amp;gt; &amp;quot;I don't go to school&amp;quot;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;X_1 \and X_2 = &amp;lt;/math&amp;gt; &amp;quot;It rains and I go to school&amp;quot;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;X_1 \or X_2 = &amp;lt;/math&amp;gt; &amp;quot;it rains or I go to school&amp;quot;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;X_1 \rightarrow X_2 = &amp;lt;/math&amp;gt; &amp;quot;'''If''' it rains '''then''' I will go to school&amp;quot;&amp;lt;br&amp;gt;&lt;br /&gt;
I can choose &amp;lt;math&amp;gt;\mu_0&amp;lt;/math&amp;gt; such as &amp;lt;math&amp;gt;\mu_0(X_1) = 1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; \mu_0(X_2) = 0&amp;lt;/math&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Consequently we have&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\mu(\neg X_2) = 1 \quad \mu(X_1 \and X_2) = 0 \quad \mu(X_1 \or X_2) = 1 \quad \mu(X_1 \rightarrow X_2) = 0&amp;lt;/math&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Proposition''' (Unique extendibility of atomic assignment): Every atomic assignment &amp;lt;math&amp;gt;\mu_0: Var \rightarrow \{0, 1\} &amp;lt;/math&amp;gt; admits exactly one extension to an assignment &amp;lt;math&amp;gt;\mu: FORM \rightarrow \{0, 1\}&amp;lt;/math&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
More informally, as you can see in the example above, when we choose the values of the variables we determinate the values of the formulas within those variables.&lt;br /&gt;
&lt;br /&gt;
'''Definition''' (truth and falsehood). Let &amp;lt;math&amp;gt;\alpha \in FORM&amp;lt;/math&amp;gt;. When we have &amp;lt;math&amp;gt;\mu(\alpha) = 1 &amp;lt;/math&amp;gt; we say that &amp;lt;math&amp;gt;\alpha&amp;lt;/math&amp;gt; is true in the interpretation of &amp;lt;math&amp;gt;\mu&amp;lt;/math&amp;gt;, or &amp;lt;math&amp;gt;\mu&amp;lt;/math&amp;gt; is a model of &amp;lt;math&amp;gt;\alpha&amp;lt;/math&amp;gt;. Instead, when we have &amp;lt;math&amp;gt;\mu(\alpha) = 0&amp;lt;/math&amp;gt; we say that &amp;lt;math&amp;gt;\alpha&amp;lt;/math&amp;gt; is false in the interpretation of &amp;lt;math&amp;gt;\mu&amp;lt;/math&amp;gt;, or &amp;lt;math&amp;gt;\mu&amp;lt;/math&amp;gt; is an anti-model of &amp;lt;math&amp;gt;\alpha&amp;lt;/math&amp;gt;.&amp;lt;br&amp;gt;&lt;br /&gt;
In symbols:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\mu \models \alpha&amp;lt;/math&amp;gt; when &amp;lt;math&amp;gt;\mu(\alpha)=1&amp;lt;/math&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\mu \not\models \alpha&amp;lt;/math&amp;gt; when &amp;lt;math&amp;gt;\mu(\alpha)=0&amp;lt;/math&amp;gt;.&amp;lt;br&amp;gt;&lt;br /&gt;
When &amp;lt;math&amp;gt;\alpha&amp;lt;/math&amp;gt; is true for every &amp;lt;math&amp;gt;\mu&amp;lt;/math&amp;gt; we say that &amp;lt;math&amp;gt;\alpha&amp;lt;/math&amp;gt; is a tautology. Instead when we have &amp;lt;math&amp;gt;\alpha&amp;lt;/math&amp;gt; false for every assignment &amp;lt;math&amp;gt;\mu&amp;lt;/math&amp;gt; we say that &amp;lt;math&amp;gt;\alpha&amp;lt;/math&amp;gt; is a contradiction. &lt;br /&gt;
When exists a &amp;lt;math&amp;gt;\mu&amp;lt;/math&amp;gt; such as &amp;lt;math&amp;gt;\mu(\alpha) = 1&amp;lt;/math&amp;gt; we say that &amp;lt;math&amp;gt;\alpha&amp;lt;/math&amp;gt; is satisfiable; instead when exists a &amp;lt;math&amp;gt;\mu&amp;lt;/math&amp;gt; such as &amp;lt;math&amp;gt;\mu(\alpha) = 0&amp;lt;/math&amp;gt; we say that &amp;lt;math&amp;gt;\alpha&amp;lt;/math&amp;gt; is refutable.&amp;lt;br&amp;gt;&lt;br /&gt;
In symbols:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\models \alpha&amp;lt;/math&amp;gt; tautology&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\not\models \alpha&amp;lt;/math&amp;gt; refutable&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In these notes we abbreviate&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;((\alpha \to \beta) \and (\beta \to \alpha))&amp;lt;/math&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
with&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;(\alpha \leftrightarrow \beta)&amp;lt;/math&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
and it can be read as &amp;quot;if and only if&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Exercise. Prove that the following formulas are tautologies for all &amp;lt;math&amp;gt;\alpha, \beta \in  FORM&amp;lt;/math&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
''Hint: use the truth table''&amp;lt;br&amp;gt;&lt;br /&gt;
#&amp;lt;math&amp;gt;\alpha \or \neg\alpha&amp;lt;/math&amp;gt;     (Excluded middle)&lt;br /&gt;
#&amp;lt;math&amp;gt;\neg(\alpha \and \neg\alpha)&amp;lt;/math&amp;gt;     (Not contradiction)&lt;br /&gt;
#&amp;lt;math&amp;gt;\neg\neg\alpha \leftrightarrow \alpha&amp;lt;/math&amp;gt;        (Law of double negation)&lt;br /&gt;
#&amp;lt;math&amp;gt;\neg(\alpha \and \beta) \leftrightarrow \neg\alpha \or \neg\beta&amp;lt;/math&amp;gt;           (De Morgan rule I)&lt;br /&gt;
#&amp;lt;math&amp;gt;\neg(\alpha \or \beta) \leftrightarrow \neg\alpha \and \neg\beta&amp;lt;/math&amp;gt;           (De Morgan rule II)&lt;br /&gt;
#&amp;lt;math&amp;gt;\alpha \and \neg \alpha \to \beta&amp;lt;/math&amp;gt;    (Ex falso quodlibet)&lt;br /&gt;
#&amp;lt;math&amp;gt;(\alpha \to \beta) \or (\beta \to \alpha)&amp;lt;/math&amp;gt;    (Prelinearity)&amp;lt;br&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
Exercise. Prove that exist &amp;lt;math&amp;gt;\alpha, \beta \in FORM&amp;lt;/math&amp;gt; for those the following formulas aren't tautologies. Which of these are contradiction?&amp;lt;br&amp;gt;Hint: to prove that a formula isn't a tautology is sufficient an counter-example but to prove that it is a contradiction it isn't sufficient. You can use the truth table again.&lt;br /&gt;
#&amp;lt;math&amp;gt;X_1&amp;lt;/math&amp;gt;&lt;br /&gt;
#&amp;lt;math&amp;gt;\alpha \to \neg\alpha&amp;lt;/math&amp;gt;&lt;br /&gt;
#&amp;lt;math&amp;gt;(\alpha \to \beta) \to (\neg \alpha \to \beta)&amp;lt;/math&amp;gt;&lt;br /&gt;
#&amp;lt;math&amp;gt;\neg((\alpha \to \beta) \to (\neg \beta \to \neg \alpha))&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Relationship between syntax and semantic====&lt;br /&gt;
&lt;br /&gt;
Definition (Axioms of LPC (Classical propositional logic)). For all &amp;lt;math&amp;gt;\alpha, \beta, \gamma \in FORM&amp;lt;/math&amp;gt;, let's consider the following formulas.&lt;br /&gt;
#&amp;lt;math&amp;gt;\alpha \to (\beta \to \alpha)&amp;lt;/math&amp;gt;&lt;br /&gt;
#&amp;lt;math&amp;gt;(\alpha \to \beta) \to ((\alpha \to (\beta \to \gamma)) \to (\alpha \to \gamma))&amp;lt;/math&amp;gt;&lt;br /&gt;
#&amp;lt;math&amp;gt;\alpha \to (\beta \to (\alpha \and \beta))&amp;lt;/math&amp;gt;&lt;br /&gt;
#&amp;lt;math&amp;gt;(\alpha \and \beta) \to \alpha&amp;lt;/math&amp;gt;&lt;br /&gt;
#&amp;lt;math&amp;gt;(\alpha \and \beta) \to \beta&amp;lt;/math&amp;gt;&lt;br /&gt;
#&amp;lt;math&amp;gt;(\alpha \to (\alpha \and \beta))&amp;lt;/math&amp;gt;&lt;br /&gt;
#&amp;lt;math&amp;gt;(\alpha \to (\alpha \and \beta))&amp;lt;/math&amp;gt;&lt;br /&gt;
#&amp;lt;math&amp;gt;(\alpha \to \gamma) \to ((\beta \to \gamma) \to ((\alpha \or \beta) \to \gamma))&amp;lt;/math&amp;gt;&lt;br /&gt;
#&amp;lt;math&amp;gt;(\alpha \to \beta) \to ((\alpha \to \neg \beta) \to \neg \alpha)&amp;lt;/math&amp;gt;&lt;br /&gt;
#&amp;lt;math&amp;gt;\alpha \to (\neg \alpha \to \beta)&amp;lt;/math&amp;gt;&lt;br /&gt;
#&amp;lt;math&amp;gt;\neg\neg\alpha \to \alpha&amp;lt;/math&amp;gt;&lt;br /&gt;
#&amp;lt;math&amp;gt;\alpha \to \neg\neg \alpha&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The formulas between 1 and 12 &amp;lt;math&amp;gt;\in AXIOM \subset FORM&amp;lt;/math&amp;gt;.&amp;lt;br&amp;gt;&amp;lt;math&amp;gt;AXIOM&amp;lt;/math&amp;gt; is called '''set of the axioms of the classical propositional logic'''.&amp;lt;br&amp;gt;&lt;br /&gt;
Why these formulas are axioms and not others? Because they are needed to prove the theorem of completeness that is very important for logic. We will talk about this theorem later..&lt;br /&gt;
The cardinality of &amp;lt;math&amp;gt;AXIOM&amp;lt;/math&amp;gt; is &amp;lt;math&amp;gt;\infty&amp;lt;/math&amp;gt; because &amp;lt;math&amp;gt;\alpha, \beta, \gamma&amp;lt;/math&amp;gt; can be other formulas. For example:&amp;lt;br&amp;gt;&lt;br /&gt;
Let &amp;lt;math&amp;gt;\alpha := \beta \and \gamma&amp;lt;/math&amp;gt; and substitute in the first axiom; it becomes&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;(\beta \and \gamma) \to (\beta \to (\beta \and \gamma)) \in AXIOM&amp;lt;/math&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
It is important to understand that the axioms are defined only through syntax, because we don't speak about values of formulas. Axioms, for definition, are demostrable without demonstration.&lt;br /&gt;
Think about syntax and semantic as two different worlds. In &amp;quot;syntax world&amp;quot; there are &amp;lt;math&amp;gt;AXIOM \subset FORM&amp;lt;/math&amp;gt; but even &amp;lt;math&amp;gt;THM&amp;lt;/math&amp;gt;, the set of theorems. So we have&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;AXIOM \subset THM \subset FORM&amp;lt;/math&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The elements of &amp;lt;math&amp;gt; THM&amp;lt;/math&amp;gt; are the demonstrable formulas. &amp;lt;br&amp;gt;'''Definition'''. We say that a formula &amp;lt;math&amp;gt;\alpha&amp;lt;/math&amp;gt; is demonstrable (or '''syntactic consequence'''), &amp;lt;math&amp;gt;\vdash \alpha&amp;lt;/math&amp;gt;if exist a finite sequence of formulas &amp;lt;math&amp;gt;\alpha_1, \alpha_2, ... , \alpha_n\quad n \in \mathbb{N}&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\alpha_n = \alpha, \forall i \in \{1, .. , n\}&amp;lt;/math&amp;gt;one of the following conditions is true.&lt;br /&gt;
*&amp;lt;math&amp;gt;\alpha_i \in AXIOM&amp;lt;/math&amp;gt;&lt;br /&gt;
*Exist indexes &amp;lt;math&amp;gt;j, k \in {1, .. , n}\quad j, k \le i&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\alpha_i&amp;lt;/math&amp;gt; is deducible from &amp;lt;math&amp;gt;\alpha_j&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha_k&amp;lt;/math&amp;gt; through '''modus ponens'''.&lt;br /&gt;
A sequence of formulas like that is a formal demonstration of &amp;lt;math&amp;gt;\alpha&amp;lt;/math&amp;gt;.&amp;lt;br&amp;gt;&lt;br /&gt;
'''Definition''' (modus ponens). Let &amp;lt;math&amp;gt;\alpha, \beta \in FORM&amp;lt;/math&amp;gt;. We say that &amp;lt;math&amp;gt;\gamma \in FORM&amp;lt;/math&amp;gt; is deducible, through modus ponens, if &amp;lt;math&amp;gt;\alpha = (\beta \to \gamma)&amp;lt;/math&amp;gt;.&lt;br /&gt;
For example:&amp;lt;br&amp;gt;&amp;lt;math&amp;gt;\alpha := &amp;lt;/math&amp;gt;&amp;quot;If it rains then I will stay home&amp;quot; &amp;lt;math&amp;gt;\beta := &amp;lt;/math&amp;gt;&amp;quot;It rains&amp;quot; &amp;lt;math&amp;gt;\gamma := &amp;lt;/math&amp;gt;&amp;quot;I will stay home&amp;quot;.&lt;br /&gt;
We know that &amp;lt;math&amp;gt;\alpha, \beta&amp;lt;/math&amp;gt; are true, hence we can say that &amp;lt;math&amp;gt;\gamma&amp;lt;/math&amp;gt; is true.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;The elements of &amp;lt;math&amp;gt;THM&amp;lt;/math&amp;gt; are found in this way through modus ponens starting from elements of &amp;lt;math&amp;gt;AXIOM&amp;lt;/math&amp;gt;. &lt;br /&gt;
Modus ponens is one of the inference rules.&lt;br /&gt;
Example of demonstration:&lt;br /&gt;
We want to prove that &amp;lt;math&amp;gt;\gamma \to ((\gamma \and \delta) \to \gamma) \in THM&amp;lt;/math&amp;gt;.&lt;br /&gt;
We start from axioms 1, 4.&lt;br /&gt;
&lt;br /&gt;
1A       &amp;lt;math&amp;gt;\alpha \to (\beta \to \alpha)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4A       &amp;lt;math&amp;gt;(\alpha \and \beta) \to \alpha&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha \longmapsto (\gamma \and \delta) \to \gamma\qquad \beta \longmapsto \gamma&amp;lt;/math&amp;gt; (substitution of &amp;lt;math&amp;gt;\alpha, \beta&amp;lt;/math&amp;gt; in A1 (first axiom)&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_1 := ((\gamma \and \delta) \to \gamma) \to (\gamma \to (\gamma \and \delta) \to \gamma)) \in AXIOM&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha \longmapsto \gamma \qquad \beta \longmapsto \delta&amp;lt;/math&amp;gt; (substitution in A4) &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_2 := (\gamma \and \delta) \to \gamma \in AXIOM&amp;lt;/math&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Now we have &amp;lt;math&amp;gt;\alpha_1 = (\alpha_2 \to \alpha_3)&amp;lt;/math&amp;gt; hence we can conclude that &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha_3 = \gamma \to ((\gamma \and \delta) \to \gamma) \in THM&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It is really hard to find theorems in this way: in this course we don't have to learn this, just have to know how a formal syntactic demonstration are made.&lt;br /&gt;
Thanks to completeness and validity theorem we can prove theorem through an easier way; infact it says that &amp;lt;math&amp;gt;THM \equiv TAUT&amp;lt;/math&amp;gt; the set of theorems and the set of tautologies coincide.&lt;br /&gt;
Hence, proving that a formula is a tautology is equals to prove that a formula is a theorem. This is the bridge between Syntax and Semantic.&lt;br /&gt;
&lt;br /&gt;
'''Theorem of validity and completeness'''. For all &amp;lt;math&amp;gt;\alpha \in FORM&amp;lt;/math&amp;gt; we have &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\vdash \alpha \leftrightarrow \models \alpha&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The demonstrable formulas coincide with tautologies.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
If I prove that &amp;lt;math&amp;gt;\neg(\alpha \and \neg\alpha) \in TAUT&amp;lt;/math&amp;gt; (using truth table or by reduction to absurd or any other way that use '''the values of the formulas''' (semantic)) then, it must exist a syntactical demonstration (starting from axioms and going on through modus ponens) to prove that formula.&lt;br /&gt;
&lt;br /&gt;
We can divide the theorem in two part:&lt;br /&gt;
#Theorem of validity: &amp;lt;br&amp;gt;&amp;lt;math&amp;gt;\vdash \alpha \to \models \alpha&amp;lt;/math&amp;gt;&lt;br /&gt;
#Theorem of completeness: &amp;lt;br&amp;gt;&amp;lt;math&amp;gt;\vdash \alpha \leftarrow \models \alpha&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It is very difficult to prove the theorem of completeness (in this course it isn't requested), but it is simple to prove the theorem of validity.&lt;br /&gt;
&lt;br /&gt;
Theorem of validity proof:&lt;br /&gt;
Before prove this theorem we have to prove that modus ponens (MP) preserves tautology:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\forall \alpha, \beta \in FORM&amp;lt;/math&amp;gt; if &amp;lt;math&amp;gt;\alpha, (\alpha \to \beta)&amp;lt;/math&amp;gt; are tautologies then &amp;lt;math&amp;gt;\beta&amp;lt;/math&amp;gt; is a tautology.&amp;lt;br&amp;gt;&lt;br /&gt;
Proof by absurdity:&lt;br /&gt;
Let's suppose &amp;lt;math&amp;gt;\mu(\alpha) = 1, \mu(\alpha\to\beta) = 1, \mu(\beta) = 0&amp;lt;/math&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
We have a contraddiction because &amp;lt;math&amp;gt;\mu(\alpha \to \beta)=0&amp;lt;/math&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
So MP preserves tautologicity.&amp;lt;br&amp;gt;&lt;br /&gt;
Now we can face theorem of validity proof:&lt;br /&gt;
&amp;lt;math&amp;gt;\forall \alpha \in FORM \vdash \alpha \to \models \alpha&amp;lt;/math&amp;gt; infact the hypothesis &amp;lt;math&amp;gt;\vdash \alpha&amp;lt;/math&amp;gt; means:&lt;br /&gt;
#&amp;lt;math&amp;gt;\exists \alpha_1, \alpha_2, .. , \alpha_n \in FORM &amp;lt;/math&amp;gt; such that&amp;lt;math&amp;gt;\alpha_n = \alpha&amp;lt;/math&amp;gt;&lt;br /&gt;
#&amp;lt;math&amp;gt;\forall i = 1, .., n &amp;lt;/math&amp;gt; &lt;br /&gt;
##or &amp;lt;math&amp;gt;\alpha_i \in AXIOM&amp;lt;/math&amp;gt; (then is a tautology for definition)&lt;br /&gt;
##or &amp;lt;math&amp;gt;\alpha_i&amp;lt;/math&amp;gt; is proved by modus ponens.&lt;br /&gt;
So, thanks to preservation of tautologicy of MP, we have that &amp;lt;math&amp;gt;\alpha \in TAUT&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When a logic is decidable?&lt;br /&gt;
When exists a program that:&amp;lt;br&amp;gt;&lt;br /&gt;
Input: &amp;lt;math&amp;gt;\alpha \in FORM&amp;lt;/math&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Output: YES, if&amp;lt;math&amp;gt;\alpha \in THM&amp;lt;/math&amp;gt;, else NO.&amp;lt;br&amp;gt;&lt;br /&gt;
The classical propositional logic is decidable because, for the theorem of completeness (and validity), we have &amp;lt;math&amp;gt;THM = TAUT&amp;lt;/math&amp;gt;, so the program can make the truth table of the formula and then check if all the evaluation are 1. Infact, if a formula's truth table have all the entry 1, we can say that &amp;lt;math&amp;gt;\alpha \in TAUT&amp;lt;/math&amp;gt; and so &amp;lt;math&amp;gt;\alpha \in THM&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Godel logic===&lt;br /&gt;
====Syntax====&lt;br /&gt;
The syntax of Godel logic is the same of the syntax of the classical propositional logic, so we have that &amp;lt;math&amp;gt;FORM_G = FORM_{LC}&amp;lt;/math&amp;gt;.&amp;lt;br&amp;gt;&lt;br /&gt;
So we can write &amp;lt;math&amp;gt;FORM&amp;lt;/math&amp;gt;.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Semantic====&lt;br /&gt;
The semantic in the Godel logic is polyvalent infact &amp;lt;math&amp;gt;\alpha \in FORM&amp;lt;/math&amp;gt; assumes values in &amp;lt;math&amp;gt;[0,1]&amp;lt;/math&amp;gt;.&amp;lt;br&amp;gt;&lt;br /&gt;
When:&lt;br /&gt;
#&amp;lt;math&amp;gt;\mu(\alpha) = 0 &amp;lt;/math&amp;gt; we say that &amp;lt;math&amp;gt;\alpha&amp;lt;/math&amp;gt; is false, or absolutely false;&lt;br /&gt;
#&amp;lt;math&amp;gt;\mu(\alpha) = 1 &amp;lt;/math&amp;gt; we say that &amp;lt;math&amp;gt;\alpha&amp;lt;/math&amp;gt; is true, or absolutely true;&lt;br /&gt;
#&amp;lt;math&amp;gt;\mu(\alpha) \in (0,1) &amp;lt;/math&amp;gt; we cannot say that &amp;lt;math&amp;gt;\alpha&amp;lt;/math&amp;gt; is true neither false. Although these values represent difference degrees of truth.&lt;br /&gt;
For example:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\mu(\alpha)=0.7\qquad \mu(\beta)=0.3&amp;lt;/math&amp;gt; we can say that &amp;lt;math&amp;gt;\alpha&amp;lt;/math&amp;gt; '''is truer''' then &amp;lt;math&amp;gt;\beta&amp;lt;/math&amp;gt;. &amp;lt;br&amp;gt;&lt;br /&gt;
Infact let &amp;lt;math&amp;gt;\alpha=&amp;lt;/math&amp;gt;&amp;quot;Matteo is young&amp;quot; and &amp;lt;math&amp;gt;\beta=&amp;lt;/math&amp;gt;&amp;quot;Matteo is old&amp;quot;. &amp;lt;br&amp;gt;&lt;br /&gt;
I'm 23 so I can say that I'm not absolutely young and not absolutely old so we can assign a value 0.7 to &amp;lt;math&amp;gt;\alpha&amp;lt;/math&amp;gt; and 0.3 &amp;lt;math&amp;gt;\beta&amp;lt;/math&amp;gt; because I'm more young than old.&lt;br /&gt;
&lt;br /&gt;
Definition(Assignment). An atomic assignment is any function &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\mu_0: Var \rightarrow [0, 1]&amp;lt;/math&amp;gt;.&amp;lt;br&amp;gt;&lt;br /&gt;
An assignment (or interpretation) is a function&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\mu: FORM \rightarrow [0, 1]&amp;lt;/math&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
that extends &amp;lt;math&amp;gt;\mu_0&amp;lt;/math&amp;gt; and respects the following rules for every &amp;lt;math&amp;gt;\alpha, \beta \in FORM&amp;lt;/math&amp;gt;.&amp;lt;br&amp;gt;&lt;br /&gt;
#&amp;lt;math&amp;gt;\mu(\bot)= 0&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\mu(\top) = 1&amp;lt;/math&amp;gt;&lt;br /&gt;
#&amp;lt;math&amp;gt;\mu((\neg\alpha)) = \begin{cases}1 &amp;amp; if\quad\mu(\alpha) = 0\\0 &amp;amp; if\quad\mu(\alpha) &amp;gt;0\end{cases}&amp;lt;/math&amp;gt;&lt;br /&gt;
#&amp;lt;math&amp;gt;\mu((\alpha \and \beta)) = min(\mu(\alpha), \mu(\beta))&amp;lt;/math&amp;gt;&lt;br /&gt;
#&amp;lt;math&amp;gt;\mu((\alpha \or \beta)) = max(\mu(\alpha), \mu(\beta))&amp;lt;/math&amp;gt;&lt;br /&gt;
#&amp;lt;math&amp;gt;\mu((\alpha \rightarrow \beta)) = \begin{cases}1 &amp;amp; if \quad \mu(\alpha) \le \mu(\beta)\\\mu(\beta) &amp;amp; else \end{cases}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This is the sematic of Goedel logic but it is not the only fuzzy logic. There are many fuzzy logic with different semantic. So the question is &amp;quot;why those functions and not others?&amp;quot;&lt;br /&gt;
The answer is because the semantic of every fuzzy logic must behave, for assignment in &amp;lt;math&amp;gt;{0,1}&amp;lt;/math&amp;gt; as classical propositional logic.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Even Godel logic satisfy the '''principle of truth-functionality''' so the value of &amp;lt;math&amp;gt;\mu(\alpha(X_1, ... , X_n))&amp;lt;/math&amp;gt; depends only from the values assigned to &amp;lt;math&amp;gt;X_1, ..., X_n&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
'''Exercise'''. Let &amp;lt;math&amp;gt;\mu: FORM \to \{0,1\}&amp;lt;/math&amp;gt;. Prove that the semantic of Goedel logic coincide with semantic of classical propositional logic for the formulas &amp;lt;math&amp;gt;\bot, \top, \neg \alpha, \alpha \and \beta, \alpha \or \beta, \alpha \to \beta&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
'''Exercise'''. let &amp;lt;math&amp;gt;\alpha, \beta \in FORM&amp;lt;/math&amp;gt;. Prove that&lt;br /&gt;
#&amp;lt;math&amp;gt;\mu(\neg\alpha)) = \mu(\alpha \to \bot)  \forall \mu: FORM \to [0, 1]&amp;lt;/math&amp;gt; &amp;lt;br&amp;gt;The negation is semantically definable from implication and &amp;quot;falsum&amp;quot; (&amp;lt;math&amp;gt;\bot&amp;lt;/math&amp;gt;).&lt;br /&gt;
#&amp;lt;math&amp;gt;\mu(\alpha \leftrightarrow \beta) = 1&amp;lt;/math&amp;gt; if and only if &amp;lt;math&amp;gt;\mu(\alpha) = \mu(\beta)&amp;lt;/math&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Exercise'''. Make a plot of every function of Goedel logic. (Some are in 3D).&amp;lt;br&amp;gt;&lt;br /&gt;
Here's the graph of &amp;lt;math&amp;gt;\mu(\alpha \and \beta)&amp;lt;/math&amp;gt; [http://www.livephysics.com/tools/mathematical-tools/online-3-d-function-grapher/?xmin=0&amp;amp;xmax=1&amp;amp;ymin=0&amp;amp;ymax=1&amp;amp;zmin=0&amp;amp;zmax=1&amp;amp;f=min%28x%2Cy%29 graph]&lt;br /&gt;
&lt;br /&gt;
It is important to said that evary fuzzy logic assign &amp;lt;math&amp;gt;\mu(\alpha \to \beta) = 1&amp;lt;/math&amp;gt; when &amp;lt;math&amp;gt;\mu(\alpha) \le \mu(\beta)&amp;lt;/math&amp;gt; infact, without this, MP wouldn't preserve tautology in fuzzy logic and it would be impossible to prove the theorem of completeness in that fuzzy logic.&lt;br /&gt;
&lt;br /&gt;
'''Definition''' (truth, not truth, falsehood). Let &amp;lt;math&amp;gt;\alpha \in FORM&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\mu : FORM \to [0,1]&amp;lt;/math&amp;gt;. When we have &amp;lt;math&amp;gt;\mu(\alpha) = 1 &amp;lt;/math&amp;gt; we say that &amp;lt;math&amp;gt;\alpha&amp;lt;/math&amp;gt; is true in the interpretation of &amp;lt;math&amp;gt;\mu&amp;lt;/math&amp;gt;, or &amp;lt;math&amp;gt;\mu&amp;lt;/math&amp;gt; is a model of &amp;lt;math&amp;gt;\alpha&amp;lt;/math&amp;gt;. Instead, when we have &amp;lt;math&amp;gt;\mu(\alpha) &amp;lt; 1&amp;lt;/math&amp;gt; we say that &amp;lt;math&amp;gt;\alpha&amp;lt;/math&amp;gt; is not true in the interpretation of &amp;lt;math&amp;gt;\mu&amp;lt;/math&amp;gt;.&amp;lt;br&amp;gt;In particular we say that &amp;lt;math&amp;gt;\alpha&amp;lt;/math&amp;gt; is false in the interpretation of &amp;lt;math&amp;gt;\mu&amp;lt;/math&amp;gt; when we have &amp;lt;math&amp;gt;\mu(\alpha) = 0&amp;lt;/math&amp;gt;.&lt;br /&gt;
In symbols:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\mu \models_g \alpha&amp;lt;/math&amp;gt; when &amp;lt;math&amp;gt;\mu(\alpha)=1&amp;lt;/math&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\mu \not\models_g \alpha&amp;lt;/math&amp;gt; when &amp;lt;math&amp;gt;\mu(\alpha)&amp;lt;1&amp;lt;/math&amp;gt;.&amp;lt;br&amp;gt;&lt;br /&gt;
When &amp;lt;math&amp;gt;\alpha&amp;lt;/math&amp;gt; is true for every &amp;lt;math&amp;gt;\mu&amp;lt;/math&amp;gt; we say that &amp;lt;math&amp;gt;\alpha&amp;lt;/math&amp;gt; is a tautology. Instead when we have &amp;lt;math&amp;gt;\alpha&amp;lt;/math&amp;gt; false for every assignment &amp;lt;math&amp;gt;\mu&amp;lt;/math&amp;gt; we say that &amp;lt;math&amp;gt;\alpha&amp;lt;/math&amp;gt; is a contradiction. &lt;br /&gt;
When exists a &amp;lt;math&amp;gt;\mu&amp;lt;/math&amp;gt; such as &amp;lt;math&amp;gt;\mu(\alpha) = 1&amp;lt;/math&amp;gt; we say that &amp;lt;math&amp;gt;\alpha&amp;lt;/math&amp;gt; is satisfiable; instead when exists a &amp;lt;math&amp;gt;\mu&amp;lt;/math&amp;gt; such as &amp;lt;math&amp;gt;\mu(\alpha) &amp;lt; 1&amp;lt;/math&amp;gt; we say that &amp;lt;math&amp;gt;\alpha&amp;lt;/math&amp;gt; is refutable.&amp;lt;br&amp;gt;&lt;br /&gt;
In symbols:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\models_g \alpha&amp;lt;/math&amp;gt; tautology&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\not\models_g \alpha&amp;lt;/math&amp;gt; refutable&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Exercise. Establish which of the following formulas are tautology in Godel Logic and which not.&amp;lt;br&amp;gt;&lt;br /&gt;
#&amp;lt;math&amp;gt;\alpha \or \neg\alpha&amp;lt;/math&amp;gt;     (Excluded middle)&lt;br /&gt;
#&amp;lt;math&amp;gt;\neg(\alpha \and \neg\alpha)&amp;lt;/math&amp;gt;     (Not contradiction)&lt;br /&gt;
#&amp;lt;math&amp;gt;\neg\neg\alpha \leftrightarrow \alpha&amp;lt;/math&amp;gt;        (Law of double negation)&lt;br /&gt;
#&amp;lt;math&amp;gt;\neg(\alpha \and \beta) \leftrightarrow \neg\alpha \or \neg\beta&amp;lt;/math&amp;gt;           (De Morgan rule I)&lt;br /&gt;
#&amp;lt;math&amp;gt;\neg(\alpha \or \beta) \leftrightarrow \neg\alpha \and \neg\beta&amp;lt;/math&amp;gt;           (De Morgan rule II)&lt;br /&gt;
#&amp;lt;math&amp;gt;\alpha \and \neg \alpha \to \beta&amp;lt;/math&amp;gt;    (Ex falso quodlibet)&lt;br /&gt;
#&amp;lt;math&amp;gt;(\alpha \to \beta) \or (\beta \to \alpha)&amp;lt;/math&amp;gt;    (Prelinearity)&amp;lt;br&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
For example: The law of Excluded middle is not a tautology in Godel Logic, infact for &amp;lt;math&amp;gt;\mu(\alpha)=0.5&amp;lt;/math&amp;gt; we have that &amp;lt;math&amp;gt;\mu(\alpha \or \neg\alpha)=0.5&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
It is clear that the semantic of Godel logic is equal to classical logic only for boolean values of the variables. The exercise above shows that some tautology in classical logic aren't tautology in Godel logic. Summing up:&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Proposition'''. If &amp;lt;math&amp;gt;\alpha&amp;lt;/math&amp;gt; is a tautology is Godel logic then is a tautology &amp;lt;math&amp;gt;\alpha&amp;lt;/math&amp;gt; is a tautology in classical logic, but the reverse isn't true.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\models_g \alpha \to \models \alpha&amp;lt;/math&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;TAUT_g \subset TAUT&amp;lt;/math&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Exercise. Prove the above proposition.&lt;br /&gt;
Here's my proof:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha \in TAUT_g \leftrightarrow \forall \mu \in MU_g \quad \mu(\alpha) = 1 &amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;MU_g&amp;lt;/math&amp;gt; is the set of all the possibile &amp;lt;math&amp;gt;\mu : FORM \to [0,1]&amp;lt;/math&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\alpha \in TAUT \leftrightarrow \forall \mu \in MU \quad \mu(\alpha) = 1 &amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;MU&amp;lt;/math&amp;gt; is the set of all the possibile &amp;lt;math&amp;gt;\mu : FORM \to \{0,1\}&amp;lt;/math&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;MU \subset MU_g&amp;lt;/math&amp;gt; so if the former is true, the latter is true too.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Relationship between syntax and semantic====&lt;br /&gt;
&lt;br /&gt;
Definition (Axioms of GL (Godel logic)). For all &amp;lt;math&amp;gt;\alpha, \beta, \gamma \in FORM&amp;lt;/math&amp;gt;, let's consider the following formulas.&lt;br /&gt;
#&amp;lt;math&amp;gt;\alpha \to (\beta \to \alpha)&amp;lt;/math&amp;gt;&lt;br /&gt;
#&amp;lt;math&amp;gt;(\alpha \to \beta) \to ((\alpha \to (\beta \to \gamma)) \to (\alpha \to \gamma))&amp;lt;/math&amp;gt;&lt;br /&gt;
#&amp;lt;math&amp;gt;\alpha \to (\beta \to (\alpha \and \beta))&amp;lt;/math&amp;gt;&lt;br /&gt;
#&amp;lt;math&amp;gt;(\alpha \and \beta) \to \alpha&amp;lt;/math&amp;gt;&lt;br /&gt;
#&amp;lt;math&amp;gt;(\alpha \and \beta) \to \beta&amp;lt;/math&amp;gt;&lt;br /&gt;
#&amp;lt;math&amp;gt;(\alpha \to (\alpha \and \beta))&amp;lt;/math&amp;gt;&lt;br /&gt;
#&amp;lt;math&amp;gt;(\alpha \to (\alpha \and \beta))&amp;lt;/math&amp;gt;&lt;br /&gt;
#&amp;lt;math&amp;gt;(\alpha \to \gamma) \to ((\beta \to \gamma) \to ((\alpha \or \beta) \to \gamma))&amp;lt;/math&amp;gt;&lt;br /&gt;
#&amp;lt;math&amp;gt;(\alpha \to \beta) \to ((\alpha \to \neg \beta) \to \neg \alpha)&amp;lt;/math&amp;gt;&lt;br /&gt;
#&amp;lt;math&amp;gt;\alpha \to (\neg \alpha \to \beta)&amp;lt;/math&amp;gt;&lt;br /&gt;
#&lt;br /&gt;
#&amp;lt;math&amp;gt;\alpha \to \neg\neg \alpha&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The formulas between 1 and 10, 12 &amp;lt;math&amp;gt;\in AXIOM_g \subset FORM&amp;lt;/math&amp;gt;.&amp;lt;br&amp;gt;&amp;lt;math&amp;gt;AXIOM_g&amp;lt;/math&amp;gt; is called '''set of the axioms of Godel logic'''.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;AXIOM_g \subset AXIOM&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Exercise. Choose some formulas &amp;lt;math&amp;gt;\in AXIOM_g&amp;lt;/math&amp;gt; and prove that they are tautology. Note: to prove that a formula isn't a tautology we used a counter-example but now we have to prove that a formula is a tautology. The cardinality of &amp;lt;math&amp;gt;[0,1]&amp;lt;/math&amp;gt; is &amp;lt;math&amp;gt;\infty&amp;lt;/math&amp;gt; so we can't try every assignment...The solution is to choose &amp;lt;math&amp;gt;\mu&amp;lt;/math&amp;gt; that represents a class of &amp;lt;math&amp;gt;\mu&amp;lt;/math&amp;gt;. For example, we want to prove that &amp;lt;math&amp;gt;\alpha \to \neg\neg \alpha&amp;lt;/math&amp;gt; is a tautology. So we have three cases:&lt;br /&gt;
#&amp;lt;math&amp;gt;\mu(\alpha) = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
#&amp;lt;math&amp;gt;\mu(\alpha) = 1&amp;lt;/math&amp;gt;&lt;br /&gt;
#&amp;lt;math&amp;gt;\mu(\alpha) = 0.5&amp;lt;/math&amp;gt; that represents all the &amp;lt;math&amp;gt;0 &amp;lt; \mu(\alpha) &amp;lt; 1&amp;lt;/math&amp;gt;&lt;br /&gt;
We have to evaluate the whole formula in these three cases. The evaluation is always true.&lt;br /&gt;
Hint: the number of cases depends on the number of variables; infact, to prove A1, we have to consider 3 x 3 assignment.&lt;br /&gt;
This will be clearer when we will face Decidibility of Godel Logic. &lt;br /&gt;
&lt;br /&gt;
'''Theorem of validity and completeness'''. For all &amp;lt;math&amp;gt;\alpha \in FORM&amp;lt;/math&amp;gt; we have &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\vdash_g \alpha \leftrightarrow \models_g \alpha&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The demonstrable formulas coincide with tautologies also in Godel Logic. &lt;br /&gt;
The demonstration of validity theorem is equal to that of classical logic.&amp;lt;br&amp;gt;&lt;br /&gt;
Exercise. Prove that modus ponens preserves tautology in Godel Logic.&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Delca85</name></author>
		
	</entry>
</feed>