CPSC352 -- Artificial Intelligence -- Fall 2011
Homework #1 -- Due Wednesday, September 28

I. Truth Tables. Do exercises 1 (DeMorgan's laws), 2, 3a from pages 77ff in Chapter 2 of Luger. For exercise 1, just do truth tables for both DeMorgan's laws.

II. Proof. Do exercise 3b on page 78. That is, start with the expression (P → Q) ^ (Q → P) and show by a series of substitutions that you can derive (P v Q) → (Q ^ P). An example of a valid substitution that is not shown on page 49 is (~P v Q) = (P → Q).

III. Unification. Do exercise 6 on page 78 of Chapter 2.

IV. Symbolizing Quantified Expressions. Translate each of the following English sentences into predicate calculus notation using existential and universal quantifiers where necessary. Use mnemonic abbreviations letters to symbolize the predicate terms. For example, "All humans are mortal" should be symbolized as ∀X (human(x) → mortal(x)).

  1. Ambassadors are always dignified.

  2. Reporters are present.

  3. The common cold is never fatal.

  4. All that glitters is not gold.

  5. Not every applicant was hired.

  6. Not any applicant was hired.

  7. Nothing of importance was said.

  8. Some children are naughty.

  9. Only citizens of the US can vote in US elections.

  10. Diplomats are not always rich.

Some Translation Rules of Thumb