Exercise 5        Name __________________        Score __/6

  1. Let Si,j be true when square [i,j] is smelly.

    Let Wi,j be true when square [i,j] is the wumpus.

    The agent is in [1,1]

    The agent moves to square [1,2].

  2. Prove W2,1

    S1,1(W1,2W2,1)      biconditional elimination
          (S1,1(W1,2W2,1))((W1,2W2,1)S1,1)
    ((W1,2W2,1)S1,1)        And reduction
    (S1,1(W1,2W2,1))   Contraposition
    (W1,2W2,1)                  Modus Ponens and percept S1,1
    W1,2W2,1                   de Morgan
    W2,1                               And reduction