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.
80 CAPITOLO 3. INSIEMI E ALGEBRE DI BOOLE<br />
21 X ∪ ∅ = X.<br />
Dimostrazione. Se x ∈ X ∪∅, allora x ∈ X ∨x ∈ ∅, ma x ∈ ∅ qu<strong>in</strong><strong>di</strong> per<br />
elim<strong>in</strong>azione della <strong>di</strong>sgiunzione x ∈ X. Il viceversa segue dalla 25.<br />
24 X ⊆ U.<br />
Dimostrazione. x ∈ U → (x ∈ X → x ∈ U) (esercizio).<br />
23 ∅ ⊆ X.<br />
Dimostrazione. Per ogni x, x ∈ ∅ → x ∈ X segue da x ∈ ∅, qualunque<br />
sia X.<br />
17 X ∪ (∼ X) = U.<br />
Dimostrazione. Per ogni x, x ∈ X ∨ ¬(x ∈ X). Così si <strong>di</strong>mostra ⊇, il<br />
viceversa è 24.<br />
30 X ⊆ Y se e solo se X ∩ (∼ Y ) = ∅.<br />
Dimostrazione. Da s<strong>in</strong>istra a destra. Se x ∈ X allora x ∈ Y ; se ora<br />
esistesse un x ∈ X ∩ (∼ Y ) si avrebbe una contrad<strong>di</strong>zione x ∈ Y e x ∈<br />
∼ Y . La <strong>di</strong>mostrazione è per assurdo: per <strong>di</strong>mostrare A → B si assume<br />
A <strong>in</strong> vista della <strong>in</strong>troduzione del con<strong>di</strong>zionale, qu<strong>in</strong><strong>di</strong> si assume ¬B <strong>in</strong><br />
vista dell’elim<strong>in</strong>azione della negazione. Si ottiene una contrad<strong>di</strong>zione,<br />
qu<strong>in</strong><strong>di</strong> B.<br />
Si potrebbe pensare anche che una contrad<strong>di</strong>zione si deriva da A ∧ ¬B,<br />
qu<strong>in</strong><strong>di</strong> ¬(A ∧ ¬B); ma ¬(A ∧ ¬B) ⊢ A → B e A → B ⊢ ¬(A ∧ ¬B)<br />
(esercizio).<br />
Il viceversa per esercizio.<br />
Grazie alla vali<strong>di</strong>tà delle leggi associative per unione e <strong>in</strong>tersezione, queste<br />
operazioni possono essere generalizzate a più <strong>di</strong> due <strong>in</strong>siemi.<br />
Se A1, . . . , An sono n sotto<strong>in</strong>siemi <strong>di</strong> U, la loro unione è l’<strong>in</strong>sieme i cui<br />
elementi sono gli elementi <strong>di</strong> U che appartengono a qualche Ai, <strong>in</strong> simboli:<br />
n<br />
Ai = {x ∈ U | per qualche i, 1 ≤ i ≤ n, x ∈ Ai}<br />
i=1