Effective Propositional Logic Search

Slides:



Advertisements
Similar presentations
Inference in First-Order Logic
Advertisements

First-Order Logic.
Inference Rules Universal Instantiation Existential Generalization
Standard Logical Equivalences
Inference in first-order logic Chapter 9. Outline Reducing first-order inference to propositional inference Unification Generalized Modus Ponens Forward.
Methods of Proof Chapter 7, second half.. Proof methods Proof methods divide into (roughly) two kinds: Application of inference rules: Legitimate (sound)
Methods of Proof Chapter 7, Part II. Proof methods Proof methods divide into (roughly) two kinds: Application of inference rules: Legitimate (sound) generation.
Logic.
CPSC 422, Lecture 21Slide 1 Intelligent Systems (AI-2) Computer Science cpsc422, Lecture 21 Mar, 4, 2015 Slide credit: some slides adapted from Stuart.
Predicate Calculus Russell and Norvig: Chapter 8,9.
Outline Recap Knowledge Representation I Textbook: Chapters 6, 7, 9 and 10.
Proof methods Proof methods divide into (roughly) two kinds: –Application of inference rules Legitimate (sound) generation of new sentences from old Proof.
Logic in general Logics are formal languages for representing information such that conclusions can be drawn Syntax defines the sentences in the language.
Methods of Proof Chapter 7, second half.
Knoweldge Representation & Reasoning
Inference in First-Order Logic
Predicate Calculus.
Propositional Logic Agenda: Other forms of inference in propositional logic Basics of First Order Logic (FOL) Vision Final Homework now posted on web site.
CHAPTERS 7, 8 Oliver Schulte Logical Inference: Through Proof to Truth.
Logical Agents Logic Propositional Logic Summary
Computing & Information Sciences Kansas State University Wednesday, 20 Sep 2006CIS 490 / 730: Artificial Intelligence Lecture 12 of 42 Wednesday, 20 September.
An Introduction to Artificial Intelligence – CE Chapter 7- Logical Agents Ramin Halavati
S P Vimal, Department of CSIS, BITS, Pilani
CPSC 322, Lecture 23Slide 1 Logic: TD as search, Datalog (variables) Computer Science cpsc322, Lecture 23 (Textbook Chpt 5.2 & some basic concepts from.
Logical Agents Chapter 7. Knowledge bases Knowledge base (KB): set of sentences in a formal language Inference: deriving new sentences from the KB. E.g.:
Logical Agents Chapter 7. Outline Knowledge-based agents Logic in general Propositional (Boolean) logic Equivalence, validity, satisfiability.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 18 of 41 Friday, 01 October.
CPSC 422, Lecture 21Slide 1 Intelligent Systems (AI-2) Computer Science cpsc422, Lecture 21 Oct, 30, 2015 Slide credit: some slides adapted from Stuart.
© Copyright 2008 STI INNSBRUCK Intelligent Systems Propositional Logic.
CSCI 5582 Fall 2006 CSCI 5582 Artificial Intelligence Lecture 11 Jim Martin.
Knowledge Repn. & Reasoning Lec. #5: First-Order Logic UIUC CS 498: Section EA Professor: Eyal Amir Fall Semester 2004.
First-Order Logic Reading: C. 8 and C. 9 Pente specifications handed back at end of class.
Computing & Information Sciences Kansas State University Lecture 12 of 42 CIS 530 / 730 Artificial Intelligence Lecture 12 of 42 William H. Hsu Department.
1 Propositional Logic Limits The expressive power of propositional logic is limited. The assumption is that everything can be expressed by simple facts.
Computing & Information Sciences Kansas State University Wednesday, 13 Sep 2006CIS 490 / 730: Artificial Intelligence Lecture 10 of 42 Wednesday, 13 September.
First-Order Logic Semantics Reading: Chapter 8, , FOL Syntax and Semantics read: FOL Knowledge Engineering read: FOL.
Instructor: Eyal Amir Grad TAs: Wen Pu, Yonatan Bisk Undergrad TAs: Sam Johnson, Nikhil Johri CS 440 / ECE 448 Introduction to Artificial Intelligence.
Logical Agents Chapter 7. Outline Knowledge-based agents Propositional (Boolean) logic Equivalence, validity, satisfiability Inference rules and theorem.
Inference in Propositional Logic (and Intro to SAT) CSE 473.
Proof Methods for Propositional Logic CIS 391 – Intro to Artificial Intelligence.
Artificial Intelligence Logical Agents Chapter 7.
Logical Agents. Outline Knowledge-based agents Logic in general - models and entailment Propositional (Boolean) logic Equivalence, validity, satisfiability.
EA C461 Artificial Intelligence
Inference in Propositional Logic (and Intro to SAT)
Announcements No office hours today!
First Order Logic.
Logical Inference 1 introduction
Recursive stack-based version of Back-chaining using Propositional Logic
EA C461 – Artificial Intelligence Logical Agent
Knowledge Representation III First-Order Logic
Notes 8: Predicate logic and inference
Horn Clauses and Unification
Logical Inference: Through Proof to Truth
Artificial Intelligence
Logical Agents Chapter 7 Selected and slightly modified slides from
Logical Agents Reading: Russell’s Chapter 7
CS 188: Artificial Intelligence Spring 2007
Artificial Intelligence
Artificial Intelligence: Agents and Propositional Logic.
CS 416 Artificial Intelligence
Horn Clauses and Unification
Horn Clauses and Unification
Horn Clauses and Unification
Horn Clauses and Unification
Methods of Proof Chapter 7, second half.
Propositional Logic: Methods of Proof (Part II)
Quiz Nov Logic.
Propositional Logic CMSC 471 Chapter , 7.7 and Chuck Dyer
Quiz Nov Logic.
Problems in AI Problem Formulation Uninformed Search Heuristic Search
Presentation transcript:

Effective Propositional Logic Search Use WalkSAT Use min-Conflict heuristic Similar to hill climbing and simulated annealing Pick unsatisfied clause then pick a symbol to flip to satisfy the clause by Use Min Conflict Or Random Downside will fins solution if they exists fast but not good if no solution exits as it keeps running but faster than David Putman search

First order Logic

First Order Logic (AKA-Predicate Calculus) vs (Propositional Logic) Propositional Logic we talk about atomic facts Propositional logic has no objects. Because it has no objects it also has no relationships between objects, or functions that names objects FOL- Stronger ontological commitment Objects (with individual identities) Objects have properties Relations between objects FOL is very well understood

First Order Logic Syntax ForAll | ThereExists

First order logic has SENTENCES that represent Boolean facts TERMS which represent objects CONSTANTS and VARIABLES which represent objects PREDICATE which given an object (I.e. TERM) it returns true or false FUNCTIONS which given an object will return another object

All students are WPI are smart. There exists a student at WPI that is smart

All students are WPI are smart. AtWPI(x) means a person is at WPI Smart(y) means person y is smart. ForAll(x) AtWPI(x)=> Smart(x) There exists a student at WPI that is smart ThereExists(x) AtMIT(x) ^ Smart(x) What does this mean?  s at(s,MIT) => smart(s) If there is an object that is not at MIT then this statement will be true

Equality : Define Sibling

ForAll x,y Sibling(x,y)  not(x=y) AND ForAll x,y Sibling(x,y)  not(x=y) AND [ThereExists p Parent(p,x) AND Parent(p,y)]

FOL

Unification A substitution x unifies an atomic sentence p and q if px=qx

Unification A substitution x unifies an atomic sentence p and q if px=qx Mother(John)}

Industrial Strength Inference Completeness Resolution Logic Programming

Horn Clauses A Horn Clause is a disjuntion of literals with the additional caveat that there is at most one positive literal. ~a v b v ~c is a Horn Clause (a ^ c) => b ~a v ~b v ~c is very Horn (a ^ b ^ c) => True ~a v b v c is not a Horn Clause(a => b v c) All Horn Clause can we written as a implication where there are a set of things anded together to imply a literal A V B => C Easy to understand. Entailment can be decided in linear time in the size of the KB

Completeness in FOL? Forward and backward chaining are complete for Horn Clause Knowledge Bases but incomplete for general first order logic Eg But should be able to infer Rich(Me) but FC/BC won’t do it Does a complete algorhtm exist?

Draw a proof