

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Material Type: Assignment; Class: ARTIFICIAL INTELLIGENCE; Subject: COMPUTER SCIENCE; University: Texas A&M University; Term: Unknown 1989;
Typology: Assignments
1 / 2
This page cannot be seen from the preview
Don't miss anything!


a. {P → (Q → P )} b. {(P → (Q → R)) → ((P → Q) → (P → R))} c. {(P ∧ (P → Q)) → Q} d. {(P ∧ (P → Q)) → ¬Q} e. {((M → X) ∧ ¬X) → ¬M} f. {A → C, B → C, A ∨ B, ¬C} g. {P → Q, Q → R, P ∨ Q, ¬Q ∨ ¬R} h. {(A ⊕ B ⊕ C), ¬(A ⊕ B), ¬(A ⊕ C), ¬(B ⊕ C)}
incorrect: (^) white yellow (^) both
observations: &%
'$
&%
'$
&%
'$
yellow white yellow
Given the initial (incorrect) labelling of the boxes above, and the three observations, use Propositional Logic to derive the correct labelling of the middle box. Begin by writing down a knowledge base you will need (such as what observing a white ball drawn from box 2 implies, that at most one box can contain yellow balls, etc.), along with the initial facts. Use propositional symbols in the following form: O1Y means a yellow ball was drawn (observed) from box 1, L1W means box 1 was initially labelled white, and C1B means box 1 actually contains both types of tennis balls. a) Use Natural Deduction to prove that box 2 contains white tennis balls (i.e. generate the sentence C2W). b) Show that box 2 must contain white balls via a Resolution Refutation proof (may require converting some sentences to CNF).