PropLogicA271 f09
PropLogicA271 f09
Chapter 7
Why Do We Need Logic?
Problem-solving agents were very inflexible: hard code
every possible state.
Environment
Squares adjacent to wumpus are smelly
Squares adjacent to pit are breezy
Glitter iff gold is in the same square
Shooting kills wumpus if you are facing it
Shooting uses up the only arrow
Grabbing picks up gold if in same square
Releasing drops the gold in same square
semantics
x+2 y is true in a world where x = 7, y = 1
x+2 y is false in a world where x = 0, y = 6
Entailment
Entailment means that one thing follows from
another:
KB
2 = "[2,2] is safe", KB 2
Inference Procedures