1
$\begingroup$

If you walk your dog, he'll be happy. If you don't walk him, he'll chew up your furniture. If he's happy or if he chews your furniture, he'll mess up your apartment. If he messes up your apartment, you'll be annoyed. Does your dog mess up your apartment? Are you annoyed at him?

  1. Write the knowledge base given above in propositional logic.
  2. Convert the knowledge base into conjunctive normal form.
  3. Use resolution to prove by contradiction that your dog made a mess. Connect the two clauses to a new clause that the can be collapsed into (see the example figure).

Example figure: Example figure

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.