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
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
5.1. RISOLUZIONE 113<br />
¬p ∨ q ¬q<br />
↘ ↙<br />
¬p p<br />
↘ ↙<br />
✷<br />
Esempio 5.1.9. La refutazione dell’Esempio 5.1.3 <strong>di</strong> S = {p ∨ ¬q ∨ r, ¬p ∨<br />
¬q, q, ¬q ∨ ¬r} non è l<strong>in</strong>eare. Essa può tuttavia essere sost<strong>it</strong>u<strong>it</strong>a dalla<br />
refutazione l<strong>in</strong>eare or<strong>di</strong>nata:<br />
p ∨ ¬q ∨ r ¬q ∨ ¬r<br />
↘ ↙<br />
p ∨ ¬q q<br />
↘ ↙<br />
p ¬p ∨ ¬q<br />
↘ ↙<br />
¬q q<br />
↘ ↙<br />
✷<br />
Esempio 5.1.10. Nelle due refutazioni degli esempi precedenti, le clausole<br />
laterali sono clausole <strong>di</strong> S. Nella seguente refutazione l<strong>in</strong>eare or<strong>di</strong>nata <strong>di</strong><br />
{p ∨ q, ¬p ∨ q, p ∨ ¬q, ¬p ∨ ¬q}<br />
p ∨ q p ∨ ¬q<br />
↘ ↙<br />
p ¬p ∨ q<br />
↘ ↙<br />
q ¬p ∨ ¬q<br />
↘ ↙<br />
¬p p<br />
↘ ↙<br />
✷<br />
l’ultima clausola laterale p è una clausola centrale precedente.<br />
Non sorprenda il secondo esempio, perché vale la completezza per la risoluzione<br />
l<strong>in</strong>eare or<strong>di</strong>nata. La <strong>di</strong>mostrazione si svolge come quella per la<br />
risoluzione or<strong>di</strong>naria, manipolando ed attaccando derivazioni che esistono<br />
per ipotesi <strong>in</strong>duttiva per <strong>in</strong>siemi ridotti; questa volta tuttavia le due derivazioni<br />
vanno attaccate <strong>in</strong> serie per formare un albero l<strong>in</strong>eare, e qu<strong>in</strong><strong>di</strong> bisogna<br />
poter controllare il top della seconda. Occorre poter affermare cioè che se