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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

58 CAPITOLO 2. LOGICA PROPOSIZIONALE<br />

2.2.1 Vali<strong>di</strong>tà e conseguenza<br />

Se i ∗ (A) = 1, si <strong>di</strong>ce che A è vera nell’<strong>in</strong>terpretazione i, o che i sod<strong>di</strong>sfa A,<br />

o che i è un modello <strong>di</strong> A, e si scrive anche<br />

i |= A.<br />

Se esiste almeno una i tale che i |= A, si <strong>di</strong>ce che A è sod<strong>di</strong>sfacibile, o<br />

(semanticamente) consistente. Se non esiste alcun modello <strong>di</strong> A, si <strong>di</strong>ce che<br />

A è <strong>in</strong>sod<strong>di</strong>sfacibile, o (semanticamente) <strong>in</strong>consistente, o contrad<strong>di</strong>ttoria, o<br />

una contrad<strong>di</strong>zione. Se per ogni i si ha i |= A, si <strong>di</strong>ce che A è logicamente<br />

valida, o logicamente vera, o una tautologia, e si scrive<br />

|= A.<br />

Si <strong>di</strong>ce che B è conseguenza logica <strong>di</strong> A, o che A implica B, e si scrive<br />

A |= B<br />

se per ogni i, se i |= A allora i |= B. Si noti che<br />

Osservazione 2.2.3. Per ogni A e B,<br />

A |= B se e solo se |= A → B.<br />

Siccome i |= A1 ∧ . . . ∧ An se e solo se i |= Aj per ogni j con 1 ≤ j ≤ n, la<br />

def<strong>in</strong>izione <strong>di</strong> modello si può generalizzare <strong>di</strong>cendo che i sod<strong>di</strong>sfa un <strong>in</strong>sieme<br />

<strong>di</strong> proposizioni T se e solo se i |= A per ogni A ∈ T .<br />

Qu<strong>in</strong><strong>di</strong> se A è A1 ∧ . . . ∧ An, <strong>in</strong>vece <strong>di</strong> A1 ∧ . . . ∧ An |= B si scrive<br />

{A1, . . . , An} |= B, o anche A1, . . . , An |= B.<br />

Se A |= B e B |= A, si <strong>di</strong>ce che A e B sono logicamente equivalenti, o<br />

anche solo equivalenti, e si scrive A ≡ B.<br />

Osservazione 2.2.4. Per ogni A e B,<br />

A ≡ B se e solo se |= A ↔ B.<br />

Si noti che |= e ≡ sono segni metal<strong>in</strong>guistici, non connettivi.<br />

Dalle def<strong>in</strong>izioni semantiche segue imme<strong>di</strong>atamente che<br />

A1, . . . , An |= B se e solo se {A1, . . . , An, ¬B} è <strong>in</strong>sod<strong>di</strong>sfacibile.<br />

Questo significa che si può assumere come concetto semantico fondamentale<br />

sia quello <strong>di</strong> conseguenza logica sia quello <strong>di</strong> sod<strong>di</strong>sfacibil<strong>it</strong>à, e a seconda <strong>di</strong><br />

quale sia privilegiato orientare <strong>di</strong>versamente la ricerca dei meto<strong>di</strong> più efficienti<br />

per rispondere alle domande semantiche.

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

Saved successfully!

Ooh no, something went wrong!