28.04.2013 Views

3.3 Teoria de la demostració - La Salle

3.3 Teoria de la demostració - La Salle

3.3 Teoria de la demostració - La Salle

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Revisió <strong>de</strong>l concepte <strong>de</strong> Clàusu<strong>la</strong><br />

Si <strong>la</strong> matriu està en FNC aleshores les disjuncions són clàusules.<br />

Un conjunt S <strong>de</strong> clàusules es pot veure com una conjunció <strong>de</strong> totes les clàusules <strong>de</strong> S<br />

en què cada variable en S és consi<strong>de</strong>rada quantificada universalment. Així, una<br />

fórmu<strong>la</strong> en FSS pot ser representada per un conjunt <strong>de</strong> clàusules.<br />

Sigui <strong>la</strong> fórmu<strong>la</strong>: (∀x)((¬P(x,f(x)) ∨ R(x,f(x),g(x))) ∧ (Q(x,g(x)) ∨ R(x,f(x),g(x))))<br />

Pot ser vista com el següent conjunt <strong>de</strong> clàusules:<br />

S = { (¬P(x,f(x)) ∨ R(x,f(x),g(x)), Q(x,g(x)) ∨ R(x,f(x),g(x))}<br />

Els quantificadors s'han eliminat sense que s’afecti <strong>la</strong> propietat d'inconsistència.<br />

Teorema<br />

<strong>La</strong> inconsistència d’una fórmu<strong>la</strong> es pot <strong>de</strong>mostrar provant <strong>la</strong> inconsistència <strong>de</strong>l conjunt<br />

<strong>de</strong> clàusules que <strong>la</strong> representen. Utilitzarem aquest fet en Resolució.<br />

3.2.2 Problemes<br />

Transformació d’una fórmu<strong>la</strong> en conjunt c<strong>la</strong>usal.<br />

Problema resolt<br />

Transformeu <strong>la</strong> fórmu<strong>la</strong> a conjunt c<strong>la</strong>usal.<br />

Problemari CP1 (Exercici 2.3, Solució 2.3)<br />

Transformació <strong>de</strong> fórmules en FNP<br />

Feu els següents exercicis <strong>de</strong>l llibre d’exercicis.<br />

Problemari CP1 (Exercici 2.1d i e)<br />

Transformació <strong>de</strong> fórmules en FSS<br />

Fer els següents exercicis <strong>de</strong>l llibre d’exercicis.<br />

Problemari CP1 (Exercici 2.2)<br />

64

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

Saved successfully!

Ooh no, something went wrong!