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.
78 CAPITOLO 3. INSIEMI E ALGEBRE DI BOOLE<br />
o<br />
∅ = {x ∈ U | x = x}.<br />
Se si denotasse questo <strong>in</strong>sieme ∅U e si def<strong>in</strong>isse ∅V = {x ∈ V | x = x} si<br />
avrebbe ∅U = ∅V perché i due <strong>in</strong>siemi hanno gli stessi elementi, nessuno per<br />
entrambi.<br />
Caratteristica dell’<strong>in</strong>sieme vuoto è che per ogni x, <strong>in</strong> qualunque U, x /∈ ∅.<br />
Due <strong>in</strong>siemi X e Y la cui <strong>in</strong>tersezione sia vuota, X ∩ Y = ∅, cioè non<br />
abbiano alcun elemento <strong>in</strong> comune, si <strong>di</strong>cono <strong>di</strong>sgiunti.<br />
Le relazioni tra le operazioni <strong>in</strong>siemistiche sono espresse da <strong>di</strong>verse leggi,<br />
un certo numero delle quali è elencato qui <strong>di</strong> segu<strong>it</strong>o.<br />
1 X ∩ X = X idempotenza dell’<strong>in</strong>tersezione<br />
2 X ∪ X = X idempotenza dell’unione<br />
3 X ∩ Y = Y ∩ X commutativ<strong>it</strong>à dell’<strong>in</strong>tersezione<br />
4 X ∪ Y = Y ∪ X commutativ<strong>it</strong>à dell’unione<br />
5 X ∩ (Y ∩ Z) = (X ∩ Y ) ∩ Z associativ<strong>it</strong>à dell’<strong>in</strong>tersezione<br />
6 X ∪ (Y ∪ Z) = (X ∪ Y ) ∪ Z associativ<strong>it</strong>à dell’unione<br />
7 X ∩ (Y ∪ Z) = (X ∩ Y ) ∪ (X ∩ Z) <strong>di</strong>stributiv<strong>it</strong>à <strong>di</strong> ∩ rispetto a ∪<br />
8 X ∪ (Y ∩ Z) = (X ∪ Y ) ∩ (X ∪ Z) <strong>di</strong>stributiv<strong>it</strong>à <strong>di</strong> ∪ rispetto a ∩<br />
9 X ∩ (X ∪ Y ) = X assorbimento<br />
10 X ∪ (X ∩ Y ) = X assorbimento<br />
11 ∼(∼ X) = X doppio complemento<br />
12 ∼(X ∩ Y ) = (∼ X) ∪ (∼ Y ) legge <strong>di</strong> De Morgan<br />
13 ∼(X ∪ Y ) = (∼ X) ∩ (∼ Y ) legge <strong>di</strong> De Morgan<br />
14 ∼ ∅ = U<br />
15 ∼ U = ∅<br />
16 X ∩ (∼ X) = ∅ legge dell’<strong>in</strong>verso per∩<br />
17 X ∪ (∼ X) = U legge dell’<strong>in</strong>verso per ∪<br />
18 X ∩ U = X legge dell’elemento neutro per ∩<br />
19 X ∪ U = U<br />
20 X ∩ ∅ = ∅<br />
21 X ∪ ∅ = X legge dell’elemento neutro per ∪.<br />
Esistono altre leggi che riguardano la relazione ⊆ (alcune già menzionate),<br />
come<br />
22 X ⊆ X<br />
23 ∅ ⊆ X<br />
24 X ⊆ U<br />
25 X ⊆ X ∪ Y<br />
26 X ∩ Y ⊆ X