CS 730/830: Intro AI. 1 handout: slides. Wheeler Ruml (UNH) Lecture 11, CS / 15. Propositional Logic. First-Order Logic

Similar documents
CS 730/730W/830: Intro AI

CS 730/830: Intro AI. 2 handouts: slides, asst 5. Wheeler Ruml (UNH) Lecture 10, CS / 19. What is KR? Prop. Logic. Reasoning

CS 730/830: Intro AI. 3 handouts: slides, asst 6, asst 7. Wheeler Ruml (UNH) Lecture 12, CS / 16. Reasoning.

Propositional Logic: Methods of Proof. Chapter 7, Part II

Propositional Logic: Methods of Proof (Part II)

Propositional Logic: Methods of Proof (Part II)

CS 771 Artificial Intelligence. Propositional Logic

Propositional Logic: Methods of Proof (Part II)

Logic in AI Chapter 7. Mausam (Based on slides of Dan Weld, Stuart Russell, Subbarao Kambhampati, Dieter Fox, Henry Kautz )

Knowledge base (KB) = set of sentences in a formal language Declarative approach to building an agent (or other system):

Knowledge Based Systems: Logic and Deduction

The 30 Years War. Wheeler Ruml (UNH) Lecture 11, CS / 24. Leibniz. Logic in Practice. Satisfiability ILP

Logical Agents. Chapter 7

Outline. Logical Agents. Logical Reasoning. Knowledge Representation. Logical reasoning Propositional Logic Wumpus World Inference

Logic in AI Chapter 7. Mausam (Based on slides of Dan Weld, Stuart Russell, Dieter Fox, Henry Kautz )

EE562 ARTIFICIAL INTELLIGENCE FOR ENGINEERS

Intelligent Agents. Pınar Yolum Utrecht University

Proof Methods for Propositional Logic

Chapter 7 R&N ICS 271 Fall 2017 Kalev Kask

CS 380: ARTIFICIAL INTELLIGENCE PREDICATE LOGICS. Santiago Ontañón

CS 4700: Artificial Intelligence

Knowledge based Agents

CS 380: ARTIFICIAL INTELLIGENCE

Inference in Propositional Logic

Logic in AI Chapter 7. Mausam (Based on slides of Dan Weld, Stuart Russell, Subbarao Kambhampati, Dieter Fox, Henry Kautz )

Propositional Logic: Review

The Wumpus Game. Stench Gold. Start. Cao Hoang Tru CSE Faculty - HCMUT

Artificial Intelligence

Propositional Logic Part 1

Price: $25 (incl. T-Shirt, morning tea and lunch) Visit:

CSCI 5582 Artificial Intelligence. Today 9/28. Knowledge Representation. Lecture 9

Class Assignment Strategies

Logical Inference. Artificial Intelligence. Topic 12. Reading: Russell and Norvig, Chapter 7, Section 5

How to determine if a statement is true or false. Fuzzy logic deal with statements that are somewhat vague, such as: this paint is grey.

Deliberative Agents Knowledge Representation I. Deliberative Agents

AI Programming CS S-09 Knowledge Representation

First Order Logic: Syntax and Semantics

Title: Logical Agents AIMA: Chapter 7 (Sections 7.4 and 7.5)

Logical Agents. Outline

Inference Methods In Propositional Logic

Artificial Intelligence

Inference in first-order logic

Logical agents. Chapter 7. Chapter 7 1

Logic and Reasoning. Foundations of Computing Science. Pallab Dasgupta Professor, Dept. of Computer Sc & Engg INDIAN INSTITUTE OF TECHNOLOGY KHARAGPUR

Propositional Reasoning

Logic and Inferences

Logical agents. Chapter 7. Chapter 7 1

Inference Methods In Propositional Logic

CS 188: Artificial Intelligence Spring 2007

Logical Agents. Santa Clara University

7. Logical Agents. COMP9414/ 9814/ 3411: Artificial Intelligence. Outline. Knowledge base. Models and Planning. Russell & Norvig, Chapter 7.

Propositional Resolution

Reasoning. Inference. Knowledge Representation 4/6/2018. User

Propositional logic II.

TDT4136 Logic and Reasoning Systems

Logic. Introduction to Artificial Intelligence CS/ECE 348 Lecture 11 September 27, 2001

Inference in first-order logic

Artificial Intelligence Chapter 7: Logical Agents

Propositional Definite Clause Logic: Syntax, Semantics and Bottom-up Proofs

Deductive Systems. Lecture - 3

Advanced Topics in LP and FP

Outline. Logical Agents. Logical Reasoning. Knowledge Representation. Logical reasoning Propositional Logic Wumpus World Inference

CS 730/730W/830: Intro AI

Logical Agent & Propositional Logic

Logic: Propositional Logic (Part I)

COMP9414: Artificial Intelligence Propositional Logic: Automated Reasoning

COMP3702/7702 Artificial Intelligence Week 5: Search in Continuous Space with an Application in Motion Planning " Hanna Kurniawati"

COMP219: Artificial Intelligence. Lecture 19: Logic for KR

COMP219: Artificial Intelligence. Lecture 19: Logic for KR

COMP219: Artificial Intelligence. Lecture 20: Propositional Reasoning

Kecerdasan Buatan M. Ali Fauzi

Logical Agent & Propositional Logic

Propositional and First-Order Logic

Inf2D 06: Logical Agents: Knowledge Bases and the Wumpus World

Foundations of Artificial Intelligence

CSC242: Intro to AI. Lecture 11. Tuesday, February 26, 13

Introduction to Artificial Intelligence. Logical Agents

Propositional Logic: Bottom-Up Proofs

CS:4420 Artificial Intelligence

Inference in first-order logic

Logical Agents. Chapter 7

Agents that reason logically

Overview. Knowledge-Based Agents. Introduction. COMP219: Artificial Intelligence. Lecture 19: Logic for KR

Propositional Logic: Logical Agents (Part I)

CSCI-495 Artificial Intelligence. Lecture 17

Propositional Logic: Logical Agents (Part I)

Logical Agents. September 14, 2004

Propositional Logic. Logic. Propositional Logic Syntax. Propositional Logic

CS156: The Calculus of Computation

Propositional Logic: Models and Proofs

Logic. proof and truth syntacs and semantics. Peter Antal

Lecture 11: Measuring the Complexity of Proofs

Part 1: Propositional Logic

Description Logics. Deduction in Propositional Logic. franconi. Enrico Franconi

Outline. Logic. Knowledge bases. Wumpus world characteriza/on. Wumpus World PEAS descrip/on. A simple knowledge- based agent

Agenda. Artificial Intelligence. Reasoning in the Wumpus World. The Wumpus World

CS 7180: Behavioral Modeling and Decision- making in AI

Discrete Mathematics for CS Spring 2006 Forbes HW 1 Solutions

Propositional and Predicate Logic - V

cis32-ai lecture # 18 mon-3-apr-2006

Transcription:

CS 730/830: Intro AI 1 handout: slides Wheeler Ruml (UNH) Lecture 11, CS 730 1 / 15

Wheeler Ruml (UNH) Lecture 11, CS 730 2 / 15

Logic A logic is a formal system: syntax: defines sentences semantics: relation to world inference rules: reaching new conclusions three layers: proof, models, reality soundness, completeness flexible, general, principled (Advice Taker, 1958) Wheeler Ruml (UNH) Lecture 11, CS 730 3 / 15

Propositional Reasoning computing entailment soundness, completeness α = β iff α β is unsatisfiable determining satisfiability is NP-complete [ NP-hard = polytime to verify certificate of yes ] therefore, verification that β is not entailed is polytime said another way: α = β iff α β is valid determining validity/tautology is co-np-complete [ co-np-hard = polytime to verify certificate of no ] therefore, verification that β is not entailed is polytime Wheeler Ruml (UNH) Lecture 11, CS 730 4 / 15

Reasoning Methods variable elimination: Davis-Logemann-Loveland exhaustively branch on variable assignments model finding: WalkSAT fix assignment until satisfying modus ponens, resolution: resolution refutation theorem proving derive new clauses until query is proved Wheeler Ruml (UNH) Lecture 11, CS 730 5 / 15

An Example of Propositional Reasoning If the unicorn is mythical, then it is immortal, but if it is not mythical, then it is a mortal mammal. If the unicorn is either immortal or a mammal, then it is horned. The unicorn is magical if it is horned. Prove: the unicorn is magical. Wheeler Ruml (UNH) Lecture 11, CS 730 6 / 15

Resolution Refutation Proofs Given KB, is α entailed? Wheeler Ruml (UNH) Lecture 11, CS 730 7 / 15

Resolution Refutation Proofs Given KB, is α entailed? (Is it true in all models of the KB?) Wheeler Ruml (UNH) Lecture 11, CS 730 7 / 15

Resolution Refutation Proofs Given KB, is α entailed? (Is it true in all models of the KB?) Is KB α unsatisfiable? Wheeler Ruml (UNH) Lecture 11, CS 730 7 / 15

Resolution Refutation Proofs Given KB, is α entailed? (Is it true in all models of the KB?) Is KB α unsatisfiable? Resolution is refutation complete. Wheeler Ruml (UNH) Lecture 11, CS 730 7 / 15

Conversion to Conjunctive Normal Form Syntax:,,, (, ), 1. eliminate 2. eliminate 3. move inward: x, (x y),, (x y) 4. distribute : x (y z) Wheeler Ruml (UNH) Lecture 11, CS 730 8 / 15

Break asst 5 projects: topics, proposals due next Tue grades: canvas A, A, A, A, A, A, A, A-, B+, B, B, B-, C, C, C-, C-, D+, F, F, F, F mode A, median B Wheeler Ruml (UNH) Lecture 11, CS 730 9 / 15

EOLQs Wheeler Ruml (UNH) Lecture 11, CS 730 10 / 15

EOLQs Gottlob Frege (1848-1925) PhD at 25 Begriffsschrift, 1879 (concept script) a formula language, modelled on that of arithmetic, of pure thought. Wheeler Ruml (UNH) Lecture 11, CS 730 11 / 15

EOLQs 1. Things: person ItIsRaining() IsWet(person) constants: John, Chair23 functions (thing thing): MotherOf(John), SumOf(1,2) 2. Relations: predicates (objects T/F): IsWet(John), IsSittingOn(MotherOf(John),Chair23) 3. Complex sentences: connectives: IsWet(John) IsSittingOn(MotherOf(John),Chair23) quantifiers and variables: personiswet(person)..., person... Wheeler Ruml (UNH) Lecture 11, CS 730 12 / 15

EOLQs 1. constants: objects 2. predicates: relations between objects 3. variables 4. quantifiers 5. functions 6. connectives Wheeler Ruml (UNH) Lecture 11, CS 730 13 / 15

More EOLQs person time (ItIsRaining(time) umbrella Holding(person, umbrella, time)) IsWet(person, time) John loves Mary. All crows are black. Dolphin are mammals that live in the water. Everyone loves someone. Mary likes the color of one of John s ties. I can t hold more than one thing at a time. Wheeler Ruml (UNH) Lecture 11, CS 730 14 / 15

EOLQs EOLQs Please write down the most pressing question you have about the course material covered so far and put it in the box on your way out. Thanks! Wheeler Ruml (UNH) Lecture 11, CS 730 15 / 15