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.
3.2. ALGEBRE DI BOOLE 89<br />
Si <strong>in</strong><strong>di</strong>chi con ≤ la relazione def<strong>in</strong><strong>it</strong>a da x ≤ y ↔ x ◦ y = x (o da<br />
x ≤ y ↔ x ◦ (−y) = 0 o ancora da x ≤ y ↔ x + y = y; a seconda dei casi<br />
converrà usare l’una o l’altra def<strong>in</strong>izione).<br />
La relazione ≤ è un or<strong>di</strong>ne parziale per l’esercizio 2 <strong>di</strong> 4.2.1.<br />
Si ha 0 ≤ x ≤ 1 per ogni x (esercizio). Questo significa che 0 è il m<strong>in</strong>imo<br />
rispetto alla relazione ≤ e 1 il massimo.<br />
Inseriamo qui una <strong>di</strong>mostrazione dell’equivalenza tra le due def<strong>in</strong>izioni <strong>di</strong><br />
≤ me<strong>di</strong>ante ◦, dove si noterà l’analogia formale con quella fatta per la legge<br />
37 dell’algebra degli <strong>in</strong>siemi.<br />
Se<br />
x ◦ y = x<br />
allora<br />
allora<br />
Viceversa se<br />
1 = x + (−x)<br />
1 = (x ◦ y) + (−x)<br />
1 = (x + (−x)) ◦ (y + (−x))<br />
1 = y + (−x)<br />
0 = x ◦ (−y).<br />
x = x ◦ 1<br />
x ◦ (−y) = 0<br />
x = x ◦ (y + (−y))<br />
x = (x ◦ y) + (x ◦ (−y))<br />
x = x ◦ y.<br />
Esercizio 3.2.4. Dimostrare l’equivalenza con la (versione corrispondente<br />
della) 29 <strong>di</strong> pag<strong>in</strong>a 79.<br />
Si <strong>di</strong>mostra (esercizio) x + y = sup{x, y} e x ◦ y = <strong>in</strong>f{x, y}, sup e <strong>in</strong>f<br />
rispetto a ≤: significano che x + y è il m<strong>in</strong>imo (rispetto a ≤) elemento<br />
maggiore o uguale sia <strong>di</strong> x che <strong>di</strong> y, e che x ◦ y è il massimo elemento m<strong>in</strong>ore<br />
o uguale sia <strong>di</strong> x che <strong>di</strong> y.<br />
Si può anche def<strong>in</strong>ire un’algebra <strong>di</strong> Boole come un <strong>in</strong>sieme parzialmente<br />
or<strong>di</strong>nato da una relazione ≤ tale che<br />
1. per ogni x, y esistano sup{x, y} e <strong>in</strong>f{x, y}, che sono denotati rispettivamente<br />
x + y e x ◦ y,