
Page 1
CS 416
Artificial Intelligence
Lecture 17
First-Order Logic
Chapter 9
Guest Speaker
•Topics in Optimal Control, Minimax Control, and Game Theory
•March 28th, 2 p.m. OLS 005
•Onesimo Hernandez-Lerma
•Department of Mathematics
•CINVESTAV-IPN, Mexico City
•This is a nontechnical introduction, mainly thru examples, to some
recent topics in control and game theory, including adaptive control,
minimax control (a.k.a. "worst-case control" or "games against nature"),
partially observable systems (a.k.a. controlled "hidden Markov models"),
cooperative and noncooperative game equilibria, etc.
Inference in first-order logic
•Our goal is to prove that KB entails a fact, α
– We use logical inference
– Forward chaining
– Backward chaining
– Resolution
•All three logical inference systems rely on search to
find a sequence of actions that derive the empty
clause
Search and forward chaining
•Start with KB full of first-order definite clauses
– Disjunction of literals with exactly one positive
• Equivalent to implication with conjunction of positive literals
on left (antecedent / body / premise) and one positive literal
on right (consequent / head / conclusion)
• Propositional logic used Horn clauses, which permit zero or
one to be positive
– Look for rules with premises that are satisfied (use
substitution to make matches) and add conclusions to
KB
Search and forward chaining
– Which rules have premises
that are satisfied (modus
ponens)?
• A ^ E => C… nope
• B ^ D => E… yes
• E ^ C ^ G ^ H => I… nope
–A ^ E = C… yes
– E ^ C ^ G ^ H ^ I… nope
one more try… yes
Breadth First
Breadth First
•
•A, B, D, G, H
A, B, D, G, H
•
•A ^ E => C
A ^ E => C
•
•B ^ D => E
B ^ D => E
•
•E ^ C ^ G ^ H => I
E ^ C ^ G ^ H => I
Search and forward chaining
• Would other search methods work?
– Yes, this technique falls in standard domain of all
searches