Dsy Network www | forum | my | didattica | howto | wiki | el goog | stats | blog | dona | rappresentanti
Homepage
 Register   Calendar   Members  Faq   Search  Logout 
.dsy:it. : Powered by vBulletin version 2.3.1 .dsy:it. > Didattica > Corsi G - M > Logica matematica > Esercizio
  Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
marcoguillermaz
.simpatizzante.

User info:
Registered: Oct 2009
Posts: 12 (0.00 al dì)
Location: Milano
Corso: Informartica per le telecomunicazioni
Anno: 3
Time Online: 6:32:07: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
Esercizio

Ciao a tutti sto facendo i temi d'esame per il compitino e mi è balzato all'occhio un problema con la dpll su un esercizio.
Mi date una mano??

allora nei due temi d'esame c'è questa espressione :

((q->p)->p)->q

l'altra è molto simile

((q->p)->q)->q

In entrambe chiede di verificare se siano tautologie, io come da procedura le nego, arrivando in fondo mi trovo una situzione di soddisfacibilità in entrambe le espressioni.

Potete verificare anche voi???


GRazie

26-03-2010 15:53
Click Here to See the Profile for marcoguillermaz Click here to Send marcoguillermaz a Private Message Find more posts by marcoguillermaz Add marcoguillermaz to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
s4lv0
dsy developer

User info:
Registered: Jun 2009
Posts: 20 (0.00 al dì)
Location: Milano
Corso: Informatica
Anno: III
Time Online: 13:35:18 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Ciao,
la prima:

¬[((q->p)->p)->q]

mi viene:

C={q v p, ¬p v p, ¬q}

ed è SAT


la seconda:

¬[((q->p)->q)->q]

mi da:

C={q v q, ¬p v q, ¬q}

ed è UNSAT

Last edited by s4lv0 on 26-03-2010 at 20:31

26-03-2010 20:27
Click Here to See the Profile for s4lv0 Click here to Send s4lv0 a Private Message Find more posts by s4lv0 Add s4lv0 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
marcoguillermaz
.simpatizzante.

User info:
Registered: Oct 2009
Posts: 12 (0.00 al dì)
Location: Milano
Corso: Informartica per le telecomunicazioni
Anno: 3
Time Online: 6:32:07: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Grazie mille per la risposta, il mio solo dubbio era come trattare i due casi in cui mi trovo :

p V p e p V not P, per il fatto che in entrambe sicuramente q = 0, visto il not q, ma in queste due come funziona ....???

26-03-2010 20:31
Click Here to See the Profile for marcoguillermaz Click here to Send marcoguillermaz a Private Message Find more posts by marcoguillermaz Add marcoguillermaz to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
s4lv0
dsy developer

User info:
Registered: Jun 2009
Posts: 20 (0.00 al dì)
Location: Milano
Corso: Informatica
Anno: III
Time Online: 13:35:18 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Figurati,
quando poni q=0, devi cancellare tt le clausole in cui compare ¬q, mentre cancelli solo il letterale da qll in cui compare q e viceversa se poni q=1

26-03-2010 20:42
Click Here to See the Profile for s4lv0 Click here to Send s4lv0 a Private Message Find more posts by s4lv0 Add s4lv0 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
marcoguillermaz
.simpatizzante.

User info:
Registered: Oct 2009
Posts: 12 (0.00 al dì)
Location: Milano
Corso: Informartica per le telecomunicazioni
Anno: 3
Time Online: 6:32:07: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Questo è chiarissimo, ma se noti quando ho la prima espressione in fnc, mi trovo p V p in questo caso ho capito, ma se mi trovo :

p V p, not q V p , not p

come mi devo comportare ???

26-03-2010 20:49
Click Here to See the Profile for marcoguillermaz Click here to Send marcoguillermaz a Private Message Find more posts by marcoguillermaz Add marcoguillermaz to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
s4lv0
dsy developer

User info:
Registered: Jun 2009
Posts: 20 (0.00 al dì)
Location: Milano
Corso: Informatica
Anno: III
Time Online: 13:35:18 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

ti viene così:
p=0 |-{clausola vuota, ¬q}
quindi UNSAT

Last edited by s4lv0 on 26-03-2010 at 20:57

26-03-2010 20:55
Click Here to See the Profile for s4lv0 Click here to Send s4lv0 a Private Message Find more posts by s4lv0 Add s4lv0 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
marcoguillermaz
.simpatizzante.

User info:
Registered: Oct 2009
Posts: 12 (0.00 al dì)
Location: Milano
Corso: Informartica per le telecomunicazioni
Anno: 3
Time Online: 6:32:07: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Ti ringrazio, se mi dici solo come funziona quando devo per forza porre p = 0 e mi ritrovo p V p ? lo devo considerare come clausola vuota??

26-03-2010 21:00
Click Here to See the Profile for marcoguillermaz Click here to Send marcoguillermaz a Private Message Find more posts by marcoguillermaz Add marcoguillermaz to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
s4lv0
dsy developer

User info:
Registered: Jun 2009
Posts: 20 (0.00 al dì)
Location: Milano
Corso: Informatica
Anno: III
Time Online: 13:35:18 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

certo, visto che ogni clausola la puoi considerare in "or" con la clausola vuota
quindi nel tuo esempio: p v p v clausola vuota ....xciò quando cancelli i due letterali ti rimane la clausola vuota

26-03-2010 21:26
Click Here to See the Profile for s4lv0 Click here to Send s4lv0 a Private Message Find more posts by s4lv0 Add s4lv0 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
franky_fs
.Vulcaniano.

User info:
Registered: May 2008
Posts: 52 (0.01 al dì)
Location: Milano
Corso: Informatica Magistrale
Anno: 2
Time Online: 2 Days, 13:42:14 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Eventualmente per poter verificare se hai sbagliato o meno potresti applicare i valori SAT trovati con la DPLL alla formula di partenza, se il suo valore è FALSE, allora l'esercizio è corretto: hai trovato dei valori che dimostrano che la formula non è una tautologia. Se esce TRUE c'è qualcosa che non va.

__________________
Volere è potere
Memento audere semper
Sia che tu creda di farcela, o che tu creda di non farcela, hai comunque ragione!

27-03-2010 10:22
Click Here to See the Profile for franky_fs Click here to Send franky_fs a Private Message Find more posts by franky_fs Add franky_fs to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 03:23.    Post New Thread    Post A Reply
  Last Thread   Next Thread
Show Printable Version | Email this Page | Subscribe to this Thread | Add to Bookmarks

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is ON
 

Powered by: vBulletin v2.3.1 - Copyright ©2000 - 2002, Jelsoft Enterprises Limited
Mantained by dsy crew (email) | Collabora con noi | Segnalaci un bug | Archive | Regolamento | Licenze | Thanks | Syndacate
Pagina generata in 0.038 seconds (79.60% PHP - 20.40% MySQL) con 26 query.