CS475/575 Assignment #4.

Due: at the beginning of the lecture on Thursday, December 2.

Do the following exercises from the textbook.

  1. Exercise 7.5 a,c
  2. Exercise 7.8 c,g,h
  3. Exercise 8.6 b,c,g
  4. Exercise 9.4
  5. Convert into CNF:
  6. Use resolution refutation to prove that the following formula is a tautology:
    [(ForAll x)(p(x)=>q(x))] => [{(ForAll x)p(x)} => {(ForAll x)q(x)}]
  7. Exercise 9.19
  8. Suppose that you wanted to describe the task of writing a program as a planning problem. Assignment statements of the form

    < variable1 > = < variable2 > ;

    might be represented by the following operator:

    assign-val(Var1, Var2):
    Preconditions: holds(Var1, Value1) & holds(Var2, Value2)
    Effects: holds(Var1, Value2) & ¬ holds(Var1, Value1)

    Suppose you have the following planning problem:

    Initial State: holds(v1, a) & holds(v2, b)
    Goal State: holds(v1, b) & holds(v2, a)

    You may assume that in addition to variables v1 and v2, another variable, v3, is also available for use.