Lecture 12 September 26, 2007

Similar documents
Propositional Logic: Models and Proofs

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

Propositional Logic Language

Warm-Up Problem. Is the following true or false? 1/35

COMP9414: Artificial Intelligence Propositional Logic: Automated Reasoning

Advanced Topics in LP and FP

Description Logics. Foundations of Propositional Logic. franconi. Enrico Franconi

Propositional Reasoning

Deductive Systems. Lecture - 3

7. Propositional Logic. Wolfram Burgard and Bernhard Nebel

Learning Goals of CS245 Logic and Computation

Propositional Logic. Testing, Quality Assurance, and Maintenance Winter Prof. Arie Gurfinkel

Logic: Propositional Logic (Part I)

Knowledge based Agents

Propositional Resolution

Propositional Resolution Introduction

Foundations of Artificial Intelligence

Foundations of Artificial Intelligence

Propositional Logic: Review

Inference in Propositional Logic

Resolution for Predicate Logic

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

Foundations of Artificial Intelligence

ECE473 Lecture 15: Propositional Logic

CS 771 Artificial Intelligence. Propositional Logic

Knowledge representation DATA INFORMATION KNOWLEDGE WISDOM. Figure Relation ship between data, information knowledge and wisdom.

CS 730/730W/830: Intro AI

Normal Forms of Propositional Logic

Logic and Inferences

Propositional Logic: Logical Agents (Part I)

Convert to clause form:

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

Propositional Resolution Part 1. Short Review Professor Anita Wasilewska CSE 352 Artificial Intelligence

Propositional Logic: Methods of Proof (Part II)

Resolution for Predicate Logic

First Order Logic: Syntax and Semantics

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

Inference Methods In Propositional Logic

Propositional Logic: Logical Agents (Part I)

Propositional logic II.


02 Propositional Logic

Part 1: Propositional Logic

a. ~p : if p is T, then ~p is F, and vice versa

Computational Logic. Davide Martinenghi. Spring Free University of Bozen-Bolzano. Computational Logic Davide Martinenghi (1/30)

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

Inference Methods In Propositional Logic

Propositional Logic: Methods of Proof (Part II)

Artificial Intelligence. Propositional Logic. Copyright 2011 Dieter Fensel and Florian Fischer

COMP219: Artificial Intelligence. Lecture 19: Logic for KR

Proof Methods for Propositional Logic

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

COMP219: Artificial Intelligence. Lecture 19: Logic for KR

Propositional Logic Resolution (6A) Young W. Lim 12/12/16

Intelligent Systems. Propositional Logic. Dieter Fensel and Dumitru Roman. Copyright 2008 STI INNSBRUCK

Phase 1. Phase 2. Phase 3. History. implementation of systems based on incomplete structural subsumption algorithms

Logic. Knowledge Representation & Reasoning Mechanisms. Logic. Propositional Logic Predicate Logic (predicate Calculus) Automated Reasoning

Propositional and Predicate Logic - V

Relational Reasoning in Natural Language

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

Comp487/587 - Boolean Formulas

Truth-Functional Logic

Inference in first-order logic

Propositional and First-Order Logic

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.

COMP219: Artificial Intelligence. Lecture 20: Propositional Reasoning

Lecture Notes in Machine Learning Chapter 3: Languages for learning

22c:145 Artificial Intelligence

6. Logical Inference

Propositional Logic Resolution (6A) Young W. Lim 12/31/16

Chapter 7 R&N ICS 271 Fall 2017 Kalev Kask

Logical Agents (I) Instructor: Tsung-Che Chiang

2.5.2 Basic CNF/DNF Transformation

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

Tecniche di Verifica. Introduction to Propositional Logic

Announcements. CS243: Discrete Structures. Propositional Logic II. Review. Operator Precedence. Operator Precedence, cont. Operator Precedence Example

Logical Agents. Knowledge based agents. Knowledge based agents. Knowledge based agents. The Wumpus World. Knowledge Bases 10/20/14

EE562 ARTIFICIAL INTELLIGENCE FOR ENGINEERS

CogSysI Lecture 8: Automated Theorem Proving

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

Part 1: Propositional Logic

Warm-Up Problem. Write a Resolution Proof for. Res 1/32

AI Programming CS S-09 Knowledge Representation

Chapter 2 Background. 2.1 A Basic Description Logic

Logical agents. Chapter 7. Chapter 7 1

MAI0203 Lecture 7: Inference and Predicate Calculus

Fuzzy Answer Set semantics for Residuated Logic programs

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

Resolution (14A) Young W. Lim 8/15/14

Intelligent Agents. Pınar Yolum Utrecht University

Inf2D 13: Resolution-Based Inference

Classical Propositional Logic

Artificial Intelligence Knowledge Representation I

ALC Concept Learning with Refinement Operators

Theory of Computer Science

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

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

Lecture 15: Validity and Predicate Logic

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

Propositional Logic: Gentzen System, G

Transcription:

CS 6604: Data Mining Fall 2007 Lecture: Naren Ramakrishnan Lecture 12 September 26, 2007 Scribe: Sheng Guo 1 Overview In the last lecture we began discussion of relational data mining, and described two major methods of RDM: taking logic and adding some induction (inductive logic programming - ILP), and taking induction and adding some logic. In this lecture, we will focus on the Inverse Resolution method. 2 Inverse Resolution Method Resolution is a rule of inference typically used in a refutation-mode of theorem-proving, for sentences in propositional logic and in predicate logic. In other words, iteratively applying the resolution rule in a suitable way allows for telling whether a given formula is unsatisfiable. By negating the goal and verifying that it is unsatisfiable, we can prove that the goal logically follows from the premises. We will first study resolution before formally characterizing inverse resolution. Further, we will first study propositional logic before turning our attention to predicate logic. 2.1 Resolution and Inverse Resolution for Propositional Logic Here we give an example to show how it works. Figure 1: Resolution in propositional logic. We think of a clause (disjunction) as a set of (negated or non-negated) propositional variables. We define formally resolution and inverse resolution procedures. 2.1.1 Resolution Given clauses C 1 & C 2, 1

1. find a literal L such that L appears in C 1 and L appears in C 2. 2. Then the resolvent is given by (C 1 {L}) (C 2 { L}). 2.1.2 Inverse Resolution Given C 1 which is of the form A B, and resolvent which is of the form B C, the aim is to find C 2. 1. Find a literal L that appears in C 1 but not in the resolvent. 2. Then C 2 is given by either (Resolvent (Resolvent C 1 )) { L} or by (Resolvent (C 1 {L})) { L} 2.2 Resolution and Inverse Resolution for Predicate Logic Figure 2: Resolution in predicate logic. There is a typo; the expression on the right must have a negation for A(y). 2.2.1 Resolution Given C 1, C 2, 1. find a literal L 1 in C 1 and a literal L 2 in C 2 that L 1 θ = L 2 θ. (For instance, L 1 is A(x), L 2 is A(Y ), and θ is {x/y}). 2. Resolvent is (C 1 {L 1 })θ (C 2 {L 2 })θ 2.2.2 Inverse Resolution Before we present inverse resolution, observe that to resolve two expressions such as: 2

A(x) B(x) A(y) B(y) there could exist multiple substitutions as shown in Fig. 3. If we assume that substitutions can be factored into two parts θ 1 and θ 2 that apply to each of the two clauses being resolved (on separate literals L 1 and L 2 ), we get: L 1 θ = L 2 θ L 1 θ 1 = L 2 θ 2 L 1 θ 1 θ2 1 = L 2 L 2 = L 1 θ 1 θ2 1 Thus the inverse resolution procedure can be cast as: Figure 3: Inverse resolution in predicate logic. 1. Find two subsitutions θ 1, θ 2 as suggested by the above figure. 2. Then C 2 is given by This ideas is used in the CIGOL ILP system. (Resolvent (C 1 {L 1 })θ 1 )θ 1 2 { L 1 θ 1 θ 1 2 } 3 θ-subsumption Consider the example below, which depicts multiple relations and assume our goal is to learn the two clauses: 3

ancestor(x,z) parent(x,z). ancestor(x,z) ancestor (x,m), parent(m,z). + mary + eve - eve - eve mary eve ian mary eve Table 1: daughter Table 2: parent Table 3: female Figure 4: Searching for relational rules with same consequent. To search across the specialization/generalization relationship, we introduce the idea of θ-subsumption. C 1 θ-subsumes C 2 if there exists a substitution θ s.t. C 1 θ C 2. If C 1 θ-subsumes C 2, then C 1 is at least as general as C 2. C 1 is more general than C 2, if C 1 θ-subsumes C 2, but C 2 does not θ-subsume C 1. Observe that θ-subsumption is purely a syntactic notion, not a semantic one. In semantic terminology, we say C 1 C 2 iff mdoels of C 1 are also models of C 2. Note that if C 1 θ- subsumes C 2, then C 1 C 2, but not the other way round. Moral of the story: θ-subsumption is a poor cousin to entailment. For instance, suppose we have two clauses: C 1 : elephant(x) elephant(father(x)). C 2 : elephant(x) elephant(father(father(x))). 4

It is easy to see that C 1 C 2, i.e., if we treat C 1 as a given rule, we can conclude C 2, since knowing that an elephant s father is an elephant, we can say that the elephant s father s father is also an elephant. But observe that C 1 does not θ-subsume C 2. 5