Logica Matematica Corso di Laurea in Informatica ... - Mbox.dmi.unict.it
Logica Matematica Corso di Laurea in Informatica ... - Mbox.dmi.unict.it
Logica Matematica Corso di Laurea in Informatica ... - Mbox.dmi.unict.it
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
168 CAPITOLO 8. CALCOLI LOGICI<br />
Non vale più la proprietà <strong>di</strong> term<strong>in</strong>azione, come mostra l’albero per<br />
l’enunciato ∀x∃yR(x, y)<br />
∀x∃yR(x, y)<br />
<br />
∃yR(c, y)<br />
<br />
R(c, c1)<br />
<br />
∃yR(c1, y)<br />
<br />
R(c1, c2)<br />
<br />
∃yR(c2, y)<br />
Valgono però le proprietà fondamentali <strong>di</strong> correttezza e completezza.<br />
<br />
.<br />
Teorema 8.1.2 (Correttezza). Se l’albero <strong>di</strong> refutazione con ra<strong>di</strong>ce A si<br />
chiude, allora A è <strong>in</strong>sod<strong>di</strong>sfacibile. ✷<br />
Teorema 8.1.3 (Completezza). Se A è <strong>in</strong>sod<strong>di</strong>sfacibile, l’albero con ra<strong>di</strong>ce<br />
A si chiude.<br />
La <strong>di</strong>mostrazione segue dal<br />
Lemma 8.1.4. Se l’albero <strong>di</strong> refutazione con ra<strong>di</strong>ce A non si chiude, allora<br />
per ogni ramo non chiuso, f<strong>in</strong><strong>it</strong>o e term<strong>in</strong>ato, o <strong>in</strong>f<strong>in</strong><strong>it</strong>o, esiste un modello <strong>di</strong><br />
A.<br />
Dimostrazione. In ogni caso si def<strong>in</strong>isce un’<strong>in</strong>terpretazione M nel seguente<br />
modo. L’universo M è l’<strong>in</strong>sieme dei term<strong>in</strong>i chiusi che occorrono <strong>in</strong> qualche<br />
enunciato del ramo (anche sottoterm<strong>in</strong>i <strong>di</strong> term<strong>in</strong>i). L’<strong>in</strong>terpretazione è def<strong>in</strong><strong>it</strong>a<br />
solo per i simboli che effettivamente compaiono <strong>in</strong> qualche enunciato<br />
del ramo. Per ogni costante c, dell’alfabeto orig<strong>in</strong>ario o <strong>in</strong>trodotta nel corso<br />
del processo, si pone c M = c; per ogni simbolo funzionale F a n argomenti<br />
e ogni t1, . . . , tn ∈ M, si pone F M (t1, . . . , tn) = F (t1, . . . , tn) se F (t1, . . . , tn)<br />
appartiene a M, altrimenti un term<strong>in</strong>e qualunque. Si ha allora che t M = t<br />
per ogni t ∈ M.<br />
Inf<strong>in</strong>e per ogni simbolo pre<strong>di</strong>cativo P a n argomenti e ogni t1, . . . , tn ∈ M<br />
si pone per def<strong>in</strong>izione<br />
〈t1, . . . , tn〉 ∈ P M se e solo se P (t1, . . . , tn) è un nodo del ramo.