06.03.2013 Views

Artificial Intelligence and Soft Computing: Behavioral ... - Arteimi.info

Artificial Intelligence and Soft Computing: Behavioral ... - Arteimi.info

Artificial Intelligence and Soft Computing: Behavioral ... - Arteimi.info

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

) p→ (q→ r) ⇔ (p Λ q) → r<br />

c) (p → q) Λ (q → p) ⇔ (p Λ q) \/ (¬p Λ ¬q)<br />

[Note: For (b) <strong>and</strong> (c ), prove the theorems first from left to right <strong>and</strong> then<br />

from right to left.]<br />

3. Apply resolution theorem to prove the following theorem:<br />

p \/ q, p → r, q → r ⇒ r .<br />

[Hints: Here, goal is r ; so resolve ¬ r with the CNF form of premise<br />

clauses to prove a resulting null clause.]<br />

4. For a triangle ABC, it is given that the sum of the interior angles: ∠A +<br />

∠B + ∠C = 180 degrees. Show by resolution theorem that the exterior<br />

angle is the sum of the opposite interior angles.<br />

[Hints: We denote the exterior angle ∠A by EXT∠A. Use the following<br />

predicates:<br />

Equal (sum (∠A , ∠B , ∠C) ,180)<br />

Equal (sum (∠A, EXT(∠A), 180)<br />

<strong>and</strong> rules<br />

Equal (X, Y), Equal(Z, Y) →Equal (X, Z)<br />

Equal (sum (X, Y), sum (X, Z)) →Equal (Y, Z).<br />

Equal (Y, Z) → Equal (Z, Y).<br />

The rest of the proof is obvious.]<br />

5. Represent the following sentences into clause form:<br />

a) On (X, Y) Λ (Above (Y, Z) ∨ On (Y, Z)) Λ On (Z, W) → On (X, W)<br />

b) ∀ X Fly (X) Λ ∃ X Has-wings (X) →Bird(X) ∨ Kite(X)<br />

c) ∀ X Man (X) Λ ∀ Y (Child (Y) ∨ Woman (Y)) → ¬Dislikes (X, Y)<br />

6. Prove that Dog (fido) follows from the following statements by the<br />

resolution theorem.<br />

a) ∀ X Barks (X) → Dog (X).<br />

b) ∀ X ∀ Y ∃ Z Has-master (X, Y) Λ Likes (X, Y) Λ Unprecedentedsituation<br />

(Z) → Barks (X).<br />

c) Unprecedented-situation (noise).<br />

d) Likes (fido, jim).<br />

e) Has-master (fido, jim).

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

Saved successfully!

Ooh no, something went wrong!