Download Let`s Play Wumpus!

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Pleonasm wikipedia , lookup

Regular expression wikipedia , lookup

Junction Grammar wikipedia , lookup

Musical syntax wikipedia , lookup

Cognitive semantics wikipedia , lookup

Semantic holism wikipedia , lookup

Meaning (philosophy of language) wikipedia , lookup

Propositional formula wikipedia , lookup

Interpretation (logic) wikipedia , lookup

Transcript
Wumpus World Description
Let’s play another game
Review : Knowledge Bases
Review:Knowledge-Based Agent
Logic
• When we have too many states, we want a
convenient way of dealing with sets of states.
• The sentence “It’s sunny” stands for all the states
of the world in which it is sunny.
• Logic provides a way of manipulating big
collections of sets by manipulating short
descriptions instead.
• Instead of thinking about all the ways a world
could be, we’re going to work in a language of
expressions that describe those sets.
What is a logic?
• A formal language
– Syntax – what expressions are legal
– Semantics – what legal expressions mean
– Proof system – a way of manipulating syntactic
expressions to get other syntactic expressions (which
will tell us something new)
• Why proofs? Two kinds of inferences an agent
might want to make:
– Multiple percepts  conclusions about the world
– Current state & operator  properties of next state
Logic in general
Types of logic
Propositional logic: syntax
Propositional logic: semantics
Truth tables
• Truth value: whether a statement is true or false.
• Truth table: complete list of truth values for a
statement given all possible values of the
individual atomic expressions.
Example:
P
T
T
F
F
Q
T
F
T
F
PVQ
T
T
T
F
Truth tables for basic connectives
P
Q
¬P
P^Q
PVQ
P Q
Q P
PQ
f
f
t
f
f
t
t
t
f
t
t
f
t
t
f
f
t
f
f
f
t
f
t
f
t
t
f
t
t
t
t
t
Note that implication is not “causality”, if P is f then P -> Q is t
Standard Logical Equivalences
Inference
rules
Entailment
Models
Propositional inference:
enumeration method