(25 points) Using the following first-order logic predicates:
- BREEZE(x,y) means that a breeze is sensed in square x,y
- PIT(x,y) means that square x,y contains a pit
- GLITTER(x,y) means that glitter is sensed in square x,y
- GOLD(x,y) means that square x,y contains the gold
- WUMPUS(x,y) means that square x,y contains the wumpus
- STENCH(x,y) means that a stench is sensed in square x,y
- ARCHER(x,y) means that the archer is in square x,y
- hasArrow(ARCHER) means that the archer has his arrow (in other
words, he hasn't shot the
arrow yet).
- Create a KB that expresses all of the properties of entire wumpus world maze and the archer shown in Figure
7.2, and logical axioms that show the
relationship between the maze properties
(PIT(x,y), WUMPUS(x,y), GOLD(x,y)) and the
perceptions they cause. (HINT: your KB
should include at least 7 facts and 3
axioms.) You can use arithmetic operators + and - as predicates.
- Assume your archer has moved through the maze beginning from position (1,1) to all of the safe squares in the first 2 rows of the maze, and has inferred new KB statements expressing all the percepts and facts possible from these squares. Use these facts and the axioms you created in part (a) to
prove ~PIT(2,3) using Resolution Proof by negation
only (see figure 7.13 for an example) .
Submission instructions:
You will submit your work to be graded electronically. Submit your
answers either as plain text or pdf. Please don't use any formatted
text product, such as Microsoft Word, but do format your text for
readability to the extent possible. Put the following header at the
top of your file: Name
CSE630 Assignment 3
Put only the file or files that you want to submit in a directory on
STDSUN called hw3, and use the
submit command to send the files to the grader by the
submission deadline. The syntax
of the submit command is:
> submit c630aa lab3 hw3
You can learn about using the submit
command by typing man submit at a unix command
prompt. If you cannot get the submit command to work, you can
email your files to the grader, but please don't use this
option unless you're having trouble with submit.