Logic-Based Systems AI Lecture Prof. Carolina Ruiz Worcester Polytechnic Institute.

Slides:



Advertisements
Similar presentations
Completeness and Expressiveness
Advertisements

CS344: Introduction to Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 10– Club and Circuit Examples.
Introducing Formal Methods, Module 1, Version 1.1, Oct., Formal Specification and Analytical Verification L 5.
UIUC CS 497: Section EA Lecture #2 Reasoning in Artificial Intelligence Professor: Eyal Amir Spring Semester 2004.
Resolution Theorem Proving
CPSC 422, Lecture 21Slide 1 Intelligent Systems (AI-2) Computer Science cpsc422, Lecture 21 Mar, 4, 2015 Slide credit: some slides adapted from Stuart.
VIDE als voortzetting van Cocktail SET Seminar 11 september 2008 Dr. ir. Michael Franssen.
SAT and Model Checking. Bounded Model Checking (BMC) A.I. Planning problems: can we reach a desired state in k steps? Verification of safety properties:
CPSC 322, Lecture 19Slide 1 Propositional Logic Intro, Syntax Computer Science cpsc322, Lecture 19 (Textbook Chpt ) February, 23, 2009.
1 Introduction to Computability Theory Lecture12: Decidable Languages Prof. Amos Israeli.
Resolution Refutation Formal Aspects of Computer Science - Week 10 An Automated Theorem Prover Lee McCluskey, room 2/07
1 Polynomial Church-Turing thesis A decision problem can be solved in polynomial time by using a reasonable sequential model of computation if and only.
Logic in Computer Science Transparency No Chapter 3 Propositional Logic 3.6. Propositional Resolution 3.7. Natural Deduction.
Automated Reasoning Matt Whipple and Brian Vees. Overview What is automated reasoning? What is automated reasoning? Properties of inference procedures.
Knoweldge Representation & Reasoning
Administrative stuff On Thursday, we will start class at 11:10, and finish at 11:55 This means that each project will get a 10 minute presentation + 5.
Artificial Intelligence
Using Decision Procedures for Program Verification Christopher Lynch Clarkson University.
CS1502 Formal Methods in Computer Science Lecture Notes 10 Resolution and Horn Sentences.
Notes for Chapter 12 Logic Programming The AI War Basic Concepts of Logic Programming Prolog Review questions.
Using Mathematica for modeling, simulation and property checking of hardware systems Ghiath AL SAMMANE VDS group : Verification & Modeling of Digital systems.
Software Engineering Prof. Dr. Bertrand Meyer March 2007 – June 2007 Chair of Software Engineering Static program checking and verification Slides: Based.
Knowledge representation
The Representation of Medical Reasoning Models in Resolution-based Theorem Provers Originally Presented by Peter Lucas Department of Computer Science,
On realizing shapes in the theory of RNA neutral networks Speaker: Leszek Gąsieniec, U of Liverpool, UK Joint work with: Peter Clote, Boston College, USA.
Theory of Computation, Feodor F. Dragan, Kent State University 1 NP-Completeness P: is the set of decision problems (or languages) that are solvable in.
UIUC CS 497: Section EA Lecture #3 Reasoning in Artificial Intelligence Professor: Eyal Amir Spring Semester 2004.
WinKE A Pedagogic Tool for Teaching Logic and Reasoning.
Logical Agents Logic Propositional Logic Summary
DEDUCTION PRINCIPLES AND STRATEGIES FOR SEMANTIC WEB Resolution principle, Description Logic and Fuzzy Description Logic Hashim Habiballa University of.
Lecture Introduction to Proofs 1.7 Proof Methods and Strategy.
The AI War LISP and Prolog Basic Concepts of Logic Programming
9/30/98 Prof. Richard Fikes Inference In First Order Logic Computer Science Department Stanford University CS222 Fall 1998.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 23 Friday, 17 October.
Computing & Information Sciences Kansas State University Lecture 15 of 42 CIS 530 / 730 Artificial Intelligence Lecture 15 of 42 William H. Hsu Department.
Propositional Logic Predicate Logic
CPSC 422, Lecture 21Slide 1 Intelligent Systems (AI-2) Computer Science cpsc422, Lecture 21 Oct, 30, 2015 Slide credit: some slides adapted from Stuart.
Spring, 2005 CSE391 – Lecture 1 1 Introduction to Artificial Intelligence Martha Palmer CSE391 Spring, 2005.
Chapter 11 Introduction to Computational Complexity Copyright © 2011 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1.
Resolution Theorem Proving in Predicate Calculus Lecture No 10 By Zahid Anwar.
Knowledge Repn. & Reasoning Lecture #9: Propositional Logic UIUC CS 498: Section EA Professor: Eyal Amir Fall Semester 2005.
Computing & Information Sciences Kansas State University Wednesday, 04 Oct 2006CIS 490 / 730: Artificial Intelligence Lecture 17 of 42 Wednesday, 04 October.
Formal Methods. What Are Formal Methods Formal methods refers to a variety of mathematical modeling techniques that are applicable to computer system.
Artificial Intelligence Knowledge Representation.
CS 416 Artificial Intelligence Lecture 13 First-Order Logic Chapter 9 Lecture 13 First-Order Logic Chapter 9.
Computing & Information Sciences Kansas State University Friday, 13 Oct 2006CIS 490 / 730: Artificial Intelligence Lecture 21 of 42 Friday, 13 October.
CS 344 Artificial Intelligence By Prof: Pushpak Bhattacharya Class on 26/Feb/2007.
Certifying and Synthesizing Membership Equational Proofs Patrick Lincoln (SRI) joint work with Steven Eker (SRI), Jose Meseguer (Urbana) and Grigore Rosu.
CENG 424-Logic for CS Introduction Based on the Lecture Notes of Konstantin Korovin, Valentin Goranko, Russel and Norvig, and Michael Genesereth.
EA C461 Artificial Intelligence
Data Structures and Algorithm Analysis Lecture 24
Chapter 7. Propositional and Predicate Logic
Hardware Acceleration of A Boolean Satisfiability Solver
CS 4700: Foundations of Artificial Intelligence
Knowledge Representation and Reasoning
Logical Inference: Through Proof to Truth
Lecture 2 Propositional Logic
Lifting Propositional Interpolants to the Word-Level
Intro to Theory of Computation
Intelligent Systems (AI-2) Computer Science cpsc422, Lecture 20
Emergence of Intelligent Machines: Challenges and Opportunities
ECE 667 Synthesis and Verification of Digital Circuits
Introduction to Proofs Proof Methods and Strategy
2004: Topics Covered in COSC 6368
Resolution in predicate Logic
Instructor: Aaron Roth
7-2 Two Proof Oriented Triangle Theorems
Rich Model Toolkit – An Infrastructure for Reliable Computer Systems
Lecture 23 NP-Hard Problems
Presentation transcript:

Logic-Based Systems AI Lecture Prof. Carolina Ruiz Worcester Polytechnic Institute

AI Lecture - Prof. Carolina Ruiz2 Using Theorem Provers AS REASONING SYSTEMS –to implement independent agents that make decisions and act on their own. AS ASSISTANTS tool for mathemathicians Proof-Checkers: –mathematician provides a sketch of the proof and TP checks it and fills in the details. Socratic Reasoners: –(e.g. ONTIC). Mathematician and TP construct proof together.

AI Lecture - Prof. Carolina Ruiz3 Practical uses of Theorem Provers (TPs)

AI Lecture - Prof. Carolina Ruiz4 CS/ECE: Verification of Systems SOFTWARE procedure swap(x,y) var t; {Pre: x = C1, y = C2} t := x; x:= y; y:= t {Post: x = C2, y = C1} HARDWARE x y z w w = ( x OR y) and ~z

AI Lecture - Prof. Carolina Ruiz5 CS/ECE: Verification of Systems SOFTWARE –Boyer & Moore: verified the RSA public key encryption algorithm verified the Boyer & Moore string matching algorithm HARDWARE –Aura: Verifies design of a 10-bit adder –MRS: performs diagnosis of computer systems

AI Lecture - Prof. Carolina Ruiz6 CS/ECE: Synthesis of Systems SOFTWARE procedure swap(x,y) {Pre: x = C1, y = C2} ? {Post: x = C2, y = C1} Prove that there exists a program satisfying the specification. If the proof is constructed, a program can be extracted. HARDWARE x y z w w = ( x OR y) and ~z ? AURA: used to design circuits more compact than before

AI Lecture - Prof. Carolina Ruiz7 Inside a Logic-based System Knowledge Representation First order logic Problem Solving Strategy Refutation using resolution

AI Lecture - Prof. Carolina Ruiz8 Knowledge representation 1st order logic Everybody who can read is literate – x, r(x) -> l(x) Dolphins are not literate – x, d(x) -> !l(x) Some dolphins are intelligent –Э x, [d(x) & i(x) ] Some who are intelligent cannot read – Э x, [i(x) & !r(x)] A A

AI Lecture - Prof. Carolina Ruiz9 Problem Solving Problem Statement A1: Everybody who can read is literate – x, r(x) -> l(x) A2: Dolphins are not literate – x, d(x) -> !l(x) A3: Some dolphins are intelligent –Э x, [d(x) & i(x) ] Conclusion: Some who are intelligent cannot read – Э x, [i(x) & !r(x)] A A

AI Lecture - Prof. Carolina Ruiz10 Problem Solving Proof by Refutation A1: Everybody who can read is literate – x, r(x) -> l(x) A2: Dolphins are not literate – x, d(x) -> !l(x) A3: Some dolphins are intelligent –Э x, [d(x) & i(x) ] ! Conclusion: it is not the case that some who are intelligent cannot read –!Э x, [i(x) & !r(x)] = x, [!i(x) || !!r(x)] = x, [!i(x) || r(x)] A A AA

AI Lecture - Prof. Carolina Ruiz11 Problem Solving Proof by Refutation using Resolution translating formulas into clausal form A1: x, r(x) -> l(x) A2: x, d(x) -> !l(x) A3: Э x, [d(x) & i(x)] !C: x, [!i(x) || r(x)] A A A A1: x, !r(x) || l(x) A2: x, !d(x) || !l(x) A3: Э x, [d(x) & i(x)] !C: x, [!i(x) || r(x)] A A A

AI Lecture - Prof. Carolina Ruiz12 Problem Solving Proof by Refutation using Resolution translating formulas into clausal form – done! A1: !r(x) || l(x) A2: !d(x) || !l(x) A3.1: d(a) A3.2: i(a) !C: !i(x) || r(x) A1: x, !r(x) || l(x) A2: x, !d(x) || !l(x) A3: Э x, [d(x) & i(x) ] !C: x, [!i(x) || r(x)] A A A

AI Lecture - Prof. Carolina Ruiz13 Problem Solving Resolution A1: !r(x) || l(x) A2: !d(x) || !l(x) A3.1: d(a) A3.2: i(a) !C: !i(x) || r(x) A1: !r(x) || l(x) A2: !d(x) || !l(x) A4: !r(x) || !d(x) A3.1: d(a) A5: !r(a) !C: !i(x) || r(x) A6: !i(a) A3.2: i(a) A7:  Hence C is a logical consequence of A1,A2,A3 Contradiction!!!