10.06.2013 Views

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

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

76 CAPITOLO 3. INSIEMI E ALGEBRE DI BOOLE<br />

e<br />

se Y ⊆ X e Z ⊆ X allora Y ∪ Z ⊆ X.<br />

Per <strong>di</strong>mostrare X ∩ Y ⊆ X ad esempio, bisogna <strong>di</strong>mostrare che<br />

x ∈ X ∩ Y → x ∈ X<br />

è sempre vera <strong>in</strong> U.<br />

Se si elim<strong>in</strong>a x ∈ X ∩ Y sost<strong>it</strong>uendola con x ∈ X ∧ x ∈ Y , equivalente<br />

per la def<strong>in</strong>izione <strong>di</strong> ∩, si ha<br />

x ∈ X ∧ x ∈ Y → x ∈ X,<br />

dove occorrono solo connettivi e formule del tipo x ∈ X, x ∈ Y . Sost<strong>it</strong>uendo<br />

queste frasi, non ulteriormente analizzabili, con lettere proposizionali, si<br />

ottiene<br />

p ∧ q → p<br />

che è una tautologia (e possiamo chiamare tautologia anche x ∈ X ∧ x ∈<br />

Y → x ∈ X). Poiché per ogni a ∈ U le formule ca ∈ X, ca ∈ Y <strong>di</strong>ventano<br />

vere o false, ogni scelta <strong>di</strong> un a si può pensare come una <strong>in</strong>terpretazione delle<br />

lettere proposizionali. Siccome la proposizione è una tautologia, la frase è<br />

vera per ogni a ∈ U.<br />

Oppure, dal punto <strong>di</strong> vista deduttivo, possiamo osservare che ⊢ x ∈<br />

X ∧ x ∈ Y → x ∈ X. In segu<strong>it</strong>o useremo sempre implic<strong>it</strong>amente questo<br />

ragionamento 5<br />

Per <strong>di</strong>mostrare la massimal<strong>it</strong>à dell’<strong>in</strong>tersezione, cioè che se Z ⊆ X e<br />

Z ⊆ Y allora Z ⊆ X ∩ Y , si deve far vedere che da<br />

e da<br />

segue<br />

ovvero<br />

Ma<br />

x ∈ Z → x ∈ X<br />

x ∈ Z → x ∈ Y<br />

x ∈ Z → x ∈ X ∩ Y<br />

x ∈ Z → x ∈ X ∧ x ∈ Y.<br />

p → q, p → r |= p → q ∧ r.<br />

5 E <strong>in</strong> casi analoghi scriveremo semplicemente x ∈ X ∧ x ∈ Y → x ∈ X omettendo il<br />

segno <strong>di</strong> vali<strong>di</strong>tà logica |= o quello <strong>di</strong> derivalibil<strong>it</strong>à ⊢.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!