Chapter 4 Knowledge and Reasoning
Chapter 4 Knowledge and Reasoning
•Logical Agents
•Knowledge Based Agents
•Techniques of Knowledge Representation
•Propositional logic
•Inference of Propositional logic
•Predicate( First-Order ) Logic
•Inference in First-Order Logic
•Knowledge based Systems
Environment
nment
Enviro
Input
from
KBA
Output
Inference Engine
Learning(updating
---------------------------- Knowledge)
Knowledge Base(KB)
• Procedural
– Encode desired behaviors directly as program
code
• Minimizing the role of explicit representation and
reasoning can result in a much more efficient
system
• Example:
Syntax
x + 2• >=
Sentences are well formed
y is a sentence
Semantics
x2 +•yThe
> is“meaning” of the sentence
not a sentence
• The truth of each sentence with respect to each possible world
(model)
x + 2 >= y is true iff x + 2 is no less than y