Diagnosis through constrain propagation and dependency recording. 2 ATMS for dependency recording

Size: px
Start display at page:

Download "Diagnosis through constrain propagation and dependency recording. 2 ATMS for dependency recording"

Transcription

1 Diagnosis through constrain propagation and dependency recording 2 ATMS for dependency recording

2 Fundamentals of Truth Maintenance Systems, TMS Motivation (de Kleer): for most search tasks, there is a great similarity among the points in the search space efficiency may be gained by carrying results obtained in one region into other regions unless carefully designed, efficiency is achieved at the cost of coherency and completeness Valladolid 2009 ATMS for dependency recording 2

3 Fundamentals of Truth Maintenance Systems, TMS TMS allows to increase efficiency of problem solvers without giving out coherency or completeness Provides cache for all the inferences ever made allows the problem solver to make non-monotonic inferences ensures that the data base is contradiction-free Valladolid 2009 ATMS for dependency recording 3

4 Basic Architecture Problem Solver justifications beliefs TMS P(a) x P(x) Q(a) Q(x) P(a), x P(x) Q(x) Q(a) Valladolid 2009 ATMS for dependency recording 4

5 Basic definitions Assumption: decision to assume without any commitment as to what is assumed- Assumed datum: problem solver datum that has been assumed The ATMS builds a graph - of nodes An ATMS node corresponds to a problem solver datum Assumption: special kind of node Valladolid 2009 ATMS for dependency recording 5

6 Basic definitions An ATMS justification describes how a node is derivable from other nodes Consequent: the node being justified Antecedent: list of nodes Represented as: x 1, x 2,... x k x n x 1, x 2,... x k are antecedent nodes x n is the consequent node x 1, x 2,... x k, x n are atoms it is a propositional implication Horn clause only the antecedent is kept Valladolid 2009 ATMS for dependency recording 6

7 Basic definitions An ATMS environment is a set of assumptions type of node- A node n holds in environment E if E, J n E conjunction of atoms, J conjunction of implications, propositional An environment is inconsistent if E, J Inconsistent environments are called NOGOODS Valladolid 2009 ATMS for dependency recording 7

8 Basic definitions An ATMS context is the set formed by assumptions of a consistent environment all nodes derivable from those assumptions A characterizing environment for a context is set of assumptions from which every node of the context can be derived existence: at least one unique: if assumptions have no justifications Valladolid 2009 ATMS for dependency recording 8

9 ATMS goals EFFICIENTLY DETERMINE CONTEXT from set of assumptions and justification Efficiency achieved by problem solver supplies justifications and assumptions one at a time the ATMS is incremental updating only the changed context problem solvers rarely requires the content of context Optimised for two queries context consistency checking a node holds in a context Valladolid 2009 ATMS for dependency recording 9

10 ATMS Labels An ATMS Label, L, is a set of environments associate to a node, n, with properties consistent: every E L is consistent sound: E L, E, J n complete: E / E, J n, E L / E E minimal: E L, no E L / E E Valladolid 2009 ATMS for dependency recording 10

11 ATMS Labels Consequences of label s properties A node n with label L is derivable from environment E iff E L / E E A node n with label L holds in a context iff the characterizing environment of the context includes an environment of its label Valladolid 2009 ATMS for dependency recording 11

12 Basic data structures ATMS node: datum :[datum, label, justifications] usually the node is represented by its datum datum: provided by problem solver; ATMS don t even examine it justifications are provided by problem solver; ATMS examine but don t modify label: computed by the ATMS Valladolid 2009 ATMS for dependency recording 12

13 Types of nodes Premise, p [p, {{}}, {()}] true facts, holds universally, not assumed, not justified Assumption, A [A, {{A}}, {(A)}] represents the assuming act Assumed node, a [a, {{A}}, {(A)}] a holds under assumption A Derived node w=1 [w=1, {{A,B},{C},{D}} {(b), (c, d)}] any other node is derived Valladolid 2009 ATMS for dependency recording 13

14 Derived nodes [w=1, {{A,B},{C},{D}} {(b), (c, d)}] means: w=1 is derived from either the node b or the nodes c and d b (c d) w=1 w=1 holds in environments {A, B}, {C}, {D} (A B) C D w=1 Valladolid 2009 ATMS for dependency recording 14

15 Falsity node :[,, {...}] If inconsistent environments were allowed in Labels, the Label of will be made of NOGOODS must be detected by the problem solver Valladolid 2009 ATMS for dependency recording 15

16 Inconsistent environments: example Problem solver rule base nodes [b, {{B}}, {(B)}] [d, {{B}}, {(b)}] [p, {{B}}, {(d)}] [c, {{C}}, {(C)}] [ p, {{C}}, {(c)}] r-1 b d r-2 d p r-3 c p problem solver steps assumption B r-1 fire r-2 fire assumption C r-3 fire the problem solver must inform the ATMS ATMS updates :[,, {(p, p}] ATMS registers {B, C} as NOGOOD Valladolid 2009 ATMS for dependency recording 16

17 Inconsistent environments: example Problem solver rule base nodes [b, {{B}}, {(B)}] [d, {{B}}, {(b)}] [p, {{B}}, {(d)}] [c, {{C}}, {(C)}] [ p, {{C}}, {(c)}] r-1 b d r-2 d p r-3 c p problem solver steps assumption B r-1 fire r-2 fire assumption C r-3 fire nodes [d, {{D}}, {(D)}] [d, {{B}, {D}}, {(b), (D)}] [p, {{B}, {D}}, {(d)}] [,, {(p, p}] problem solver assumption D ATMS new justification, label d new label p update NOGOODS Valladolid 2009 ATMS for dependency recording 17

18 The environment lattice Every consistent environment characterizes a context potentially,2 n context for n assumptions {A, B, C, D} n k {A, B, C} {A, B, D} {A, C, D} {B, C, D} {A, B} {A, C} {A, D} {B, C} {B, D} {C, D} {A} {B} {C} {D} Valladolid 2009 ATMS for dependency recording 18

19 Ruling out inconsistent environments via NOGOOD NOGOOD for example rules: {B, C} & {D, C} {A, B, C, D} {A, B, C} {A, B, D} {A, C, D} {B, C, D} {A, B} {A, C} {A, D} {B, C} {B, D} {C, D} {A} {B} {C} {D} Valladolid 2009 ATMS for dependency recording 19

20 Does a node holds in a context? Iff context includes an environment of its label p label: {{B}, {D}} {A, B, C, D} {A, B, C} {A, B, D} {A, C, D} {B, C, D} {A, B} {A, C} {A, D} {B, C} {B, D} {C, D} {A} {B} {C} {D} Valladolid 2009 ATMS for dependency recording 20

21 Basic operations creating node datum creating node assumption adding justification to a node Labels update after every justification Valladolid 2009 ATMS for dependency recording 21

22 Basic algorithm for labels update adding justification to node n, a consistent, solid, complete and minimal label may be obtained L i,k label i-th node, k-th justification of n L = k {x / x = i x i, x i L i,k } solid, complete label eliminating subsumed and inconsistent environments, a minimal, consistent label is obtained if new and former label are equal, end if node, all label environments are NOGOOG and must be registered and eliminated from every label, end if no node, update labels of every node which justifications includes node n Valladolid 2009 ATMS for dependency recording 22

23 Diagnosis application example [3] [2] [2] [3] [3] A B C D E M1 M2 M3 X Z Y A1 A2 F G [10] [12] Prediction If M1 OK, X=6 If M2 OK, Y=6 If A1 OK, F=12 Inconsistency: F=12 & F=[10] [M1, M2, A1] is a NOGOOD Valladolid 2009 ATMS for dependency recording 23

24 Inference recording via ATMS Graphical representation ATMS nodes facts Inference recording if A=3, C=2 and A1 OK, X=6 A=3 assumed node {{M1}} derived node C=2 X=6 M1 {{M1}} Valladolid 2009 ATMS for dependency recording 24

25 Inference recording via ATMS With current observations, F=12 in every context which includes its label: {M1, M2, A1} A=3 C=2 X=6 {{M1}} M1 {{M1}} B=2 A1 {{A1}} F=12 {{M1, M2, A1}} D=3 M2 {{M2}} Y=6 {{M2}} Valladolid 2009 ATMS for dependency recording 25

26 Inference recording via ATMS Adding F=10 generate a NOGOOD A=3 C=2 X=6 {{M1}} M1 {{M1}} B=2 A1 {{A1}} F=12 {{M1, M2, A1}} NOGOOD: {{M1, M2, A1}} D=3 M2 {{M2}} Y=6 {{M2}} F=10 Valladolid 2009 ATMS for dependency recording 26

Truth Maintenance Systems. EECS 344 Winter 2008

Truth Maintenance Systems. EECS 344 Winter 2008 Truth Maintenance Systems EECS 344 Winter 2008 Outline What is a TMS? Basic TMS model Justification-based TMS What is a TMS? A useful problem-solver module Justifications, assumptions Inference Engine

More information

Integrity Constraints (Chapter 7.3) Overview. Bottom-Up. Top-Down. Integrity Constraint. Disjunctive & Negative Knowledge. Proof by Refutation

Integrity Constraints (Chapter 7.3) Overview. Bottom-Up. Top-Down. Integrity Constraint. Disjunctive & Negative Knowledge. Proof by Refutation CSE560 Class 10: 1 c P. Heeman, 2010 Integrity Constraints Overview Disjunctive & Negative Knowledge Resolution Rule Bottom-Up Proof by Refutation Top-Down CSE560 Class 10: 2 c P. Heeman, 2010 Integrity

More information

Knowledge-based Systems for Industrial Applications - Propositional Logic

Knowledge-based Systems for Industrial Applications - Propositional Logic Knowledge-based Systems for Industrial Applications - Propositional Logic P. Struss WS 16/17 WS 16/17 KBSIA 2A - 1 Logic 2A Logic und Knowledge Representation 2A.1 Propositional logic WS 16/17 KBSIA 2A

More information

/86$ , Elsevier Science Publishers B.V. (North-Holland) Artificial Intelligence 28 (1986)

/86$ , Elsevier Science Publishers B.V. (North-Holland) Artificial Intelligence 28 (1986) ARTIFICIAL INTELLIGENCE 127 An Assumption-based TMS Johan de Kleer Intelligent Systems Laboratory, XEROX Palo Alto Research Center, 3333 Coyote Hill Road, Palo Alto, CA 94304, U.S.A. Recommended by Daniel

More information

CSL105: Discrete Mathematical Structures. Ragesh Jaiswal, CSE, IIT Delhi

CSL105: Discrete Mathematical Structures. Ragesh Jaiswal, CSE, IIT Delhi is another way of showing that an argument is correct. Definitions: Literal: A variable or a negation of a variable is called a literal. Sum and Product: A disjunction of literals is called a sum and a

More information

ackgroun COLLINS & DECOSTE 281

ackgroun COLLINS & DECOSTE 281 From: AAAI-91 Proceedings. Copyright 1991, AAAI (www.aaai.org). All rights reserved. e Beckman Institute University of Illinois 605 N. Mathews St. Urbana, Illinois 61801 em& jcollins@cs.uiuc.edu Institute

More information

CATMS : AN ATMS WHICH AVOIDS LABEL EXPLOSIONS Technical Report # 13 " May, 1991

CATMS : AN ATMS WHICH AVOIDS LABEL EXPLOSIONS Technical Report # 13  May, 1991 Northwestern University The Institute for the Learning Sciences CATMS : AN ATMS WHICH AVOIDS LABEL EXPLOSIONS Technical Report # 13 " May, 1991 Dennis DeCoste John W. Collins Established in 1989 with the

More information

LOGIC-BASED TRUTH MAINTENANCE SYSTEMS. EECS 344 Winter, 2008

LOGIC-BASED TRUTH MAINTENANCE SYSTEMS. EECS 344 Winter, 2008 LOGIC-BASED TRUTH MAINTENANCE SYSTEMS EECS 344 Winter, 2008 Overview Limitations of the JTMS LTMS basics Logical Specification of LTMS Boolean Constraint Propagation Interface to inference engine Example:

More information

A COMPARISON OF ATMS AND CSP TECHNIQUES

A COMPARISON OF ATMS AND CSP TECHNIQUES A COMPARISON OF ATMS AND CSP TECHNIQUES Johan de Kleer Xerox Palo Alto Research Center 3333 Coyote Hill Road, Palo Alto CA 94304 Abstract A fundamental problem for most AI problem solvers is how to control

More information

Multiagent Systems for Service-Oriented Computing

Multiagent Systems for Service-Oriented Computing for Service-Oriented Computing Challenge: Organizing a decentralized computation What services constitute a service engagement Who provides what services to whom Without the benefit of a central designer

More information

Logic (or Declarative) Programming Foundations: Prolog. Overview [1]

Logic (or Declarative) Programming Foundations: Prolog. Overview [1] Logic (or Declarative) Programming Foundations: Prolog In Text: Chapter 12 Formal logic Logic programming Prolog Overview [1] N. Meng, S. Arthur 2 1 Logic Programming To express programs in a form of symbolic

More information

A PROBLEM-SOLVER/TMS ARCHITECTURE FOR GENERAL CONSTRAINT SATISFACTION PROBLEMS. Albert Croker. Vasant Dhar

A PROBLEM-SOLVER/TMS ARCHITECTURE FOR GENERAL CONSTRAINT SATISFACTION PROBLEMS. Albert Croker. Vasant Dhar A PROBLEM-SOLVER/TMS ARCHITECTURE FOR GENERAL CONSTRAINT SATISFACTION PROBLEMS by Albert Croker and Vasant Dhar Information S ysterns Department Leonard N. Stern School of Business New York University

More information

Constraint Solving. Systems and Internet Infrastructure Security

Constraint Solving. Systems and Internet Infrastructure Security Systems and Internet Infrastructure Security Network and Security Research Center Department of Computer Science and Engineering Pennsylvania State University, University Park PA Constraint Solving Systems

More information

PROPOSITIONAL LOGIC (2)

PROPOSITIONAL LOGIC (2) PROPOSITIONAL LOGIC (2) based on Huth & Ruan Logic in Computer Science: Modelling and Reasoning about Systems Cambridge University Press, 2004 Russell & Norvig Artificial Intelligence: A Modern Approach

More information

An Initial Investigation into Querying an Untrustworthy and Inconsistent Web

An Initial Investigation into Querying an Untrustworthy and Inconsistent Web An Initial Investigation into Querying an Untrustworthy and Inconsistent Web Yuanbo Guo and Jeff Heflin Dept. of Computer Science and Engineering, Lehigh University, Bethlehem, PA18015, USA {yug2, heflin}@cse.lehigh.edu

More information

Knowledge Representation and Reasoning Logics for Artificial Intelligence

Knowledge Representation and Reasoning Logics for Artificial Intelligence Knowledge Representation and Reasoning Logics for Artificial Intelligence Stuart C. Shapiro Department of Computer Science and Engineering and Center for Cognitive Science University at Buffalo, The State

More information

Computing Stable Models By Using the ATMS

Computing Stable Models By Using the ATMS From: AAAI-90 Proceedings. Copyright 1990, AAAI (www.aaai.org). All rights reserved. Computing Stable Models By Using the ATMS Kave Eshghi Hewlett Packard Laboratories, Filton Road, Stoke Gifford, Bristol

More information

A Logical Notion of Conditional Independence: Properties and Applications

A Logical Notion of Conditional Independence: Properties and Applications From: AAAI Technical Report FS-94-02. Compilation copyright 1994, AAAI (www.aaai.org). All rights reserved. A Logical Notion of Conditional Independence: Properties and Applications Adnan Darwiche Rockwell

More information

A Logically Complete Reasoning Maintenance System Based on a Logical Constraint Solver

A Logically Complete Reasoning Maintenance System Based on a Logical Constraint Solver A Logically Complete Reasoning Maintenance System Based on a Logical Constraint Solver J.C. Madre and O. Coudert Bull Corporate Research Center Rue Jean Jaures 78340 Les Clayes-sous-bois FRANCE Abstract

More information

Representing Actions with an Assumption-Based Truth Maintenance System

Representing Actions with an Assumption-Based Truth Maintenance System From: AAAI-86 Proceedings. Copyright 1986, AAAI (www.aaai.org). All rights reserved. Representing Actions with an Assumption-Based Truth Maintenance System Paul H. Morris and Robert A. Nado IntelliCorp

More information

Extending Prolog with Incomplete Fuzzy Information

Extending Prolog with Incomplete Fuzzy Information Extending Prolog with Incomplete Fuzzy Information Susana Muñoz-Hernández Claudio Vaucheret Facultad de Informática Universidad Politécnica de Madrid 28660 Madrid, Spain susana@fi.upm.es vaucheret@ibap.com.ar

More information

Introduction to Logic Programming

Introduction to Logic Programming Introduction to Logic Programming York University CSE 3401 Vida Movahedi York University CSE 3401 V. Movahedi 1 Overview Programming Language Paradigms Logic Programming Functional Programming Brief review

More information

Data Integration: Logic Query Languages

Data Integration: Logic Query Languages Data Integration: Logic Query Languages Jan Chomicki University at Buffalo Datalog Datalog A logic language Datalog programs consist of logical facts and rules Datalog is a subset of Prolog (no data structures)

More information

A deterministic action is a partial function from states to states. It is partial because not every action can be carried out in every state

A deterministic action is a partial function from states to states. It is partial because not every action can be carried out in every state CmSc310 Artificial Intelligence Classical Planning 1. Introduction Planning is about how an agent achieves its goals. To achieve anything but the simplest goals, an agent must reason about its future.

More information

Knowledge Representation and Reasoning Logics for Artificial Intelligence

Knowledge Representation and Reasoning Logics for Artificial Intelligence Knowledge Representation and Reasoning Logics for Artificial Intelligence Stuart C. Shapiro Department of Computer Science and Engineering and Center for Cognitive Science University at Buffalo, The State

More information

Section 2.4: Arguments with Quantified Statements

Section 2.4: Arguments with Quantified Statements Section 2.4: Arguments with Quantified Statements In this section, we shall generalize the ideas we developed in Section 1.3 to arguments which involve quantified statements. Most of the concepts we shall

More information

Logic Programming Languages

Logic Programming Languages Logic Programming Languages Introduction Logic programming languages, sometimes called declarative programming languages Express programs in a form of symbolic logic Use a logical inferencing process to

More information

Inconsistency-tolerant logics

Inconsistency-tolerant logics Inconsistency-tolerant logics CS 157 Computational Logic Autumn 2010 Inconsistent logical theories T 1 = { p(a), p(a) } T 2 = { x(p(x) q(x)), p(a), q(a) } Definition: A theory T is inconsistent if T has

More information

Tractable Cover Compilations*

Tractable Cover Compilations* I Tractable Cover Compilations* Yacine Boufkhad 1, Eric Gregoire 2, Pierre Marquis 2, 1 LIP6 Bertrand Mazure 2, Lakhdar Sais 2,3 CRIL 3 IUT de Lens University Paris 6 University d'artois 4, place Jussieu

More information

Compiling Devices and Processes

Compiling Devices and Processes Compiling Devices and Processes Johan de Kleer Xerox Palo Alto Research Center 3333 Coyote Hill Road, Palo Alto CA 94304 USA Unfinished Draft - Please do not redistribute February 26, 1990 Abstract This

More information

Linear Time Unit Propagation, Horn-SAT and 2-SAT

Linear Time Unit Propagation, Horn-SAT and 2-SAT Notes on Satisfiability-Based Problem Solving Linear Time Unit Propagation, Horn-SAT and 2-SAT David Mitchell mitchell@cs.sfu.ca September 25, 2013 This is a preliminary draft of these notes. Please do

More information

Knowledge Representation. CS 486/686: Introduction to Artificial Intelligence

Knowledge Representation. CS 486/686: Introduction to Artificial Intelligence Knowledge Representation CS 486/686: Introduction to Artificial Intelligence 1 Outline Knowledge-based agents Logics in general Propositional Logic& Reasoning First Order Logic 2 Introduction So far we

More information

Notes for Chapter 12 Logic Programming. The AI War Basic Concepts of Logic Programming Prolog Review questions

Notes for Chapter 12 Logic Programming. The AI War Basic Concepts of Logic Programming Prolog Review questions Notes for Chapter 12 Logic Programming The AI War Basic Concepts of Logic Programming Prolog Review questions The AI War How machines should learn: inductive or deductive? Deductive: Expert => rules =>

More information

CS-E3220 Declarative Programming

CS-E3220 Declarative Programming CS-E3220 Declarative Programming Lecture 5: Premises for Modern SAT Solving Aalto University School of Science Department of Computer Science Spring 2018 Motivation The Davis-Putnam-Logemann-Loveland (DPLL)

More information

Semantic Forcing in Disjunctive Logic Programs

Semantic Forcing in Disjunctive Logic Programs Semantic Forcing in Disjunctive Logic Programs Marina De Vos and Dirk Vermeir Dept of Computer Science Free University of Brussels, VUB Pleinlaan 2, Brussels 1050, Belgium Abstract We propose a semantics

More information

HANDBOOK OF LOGIC IN ARTIFICIAL INTELLIGENCE AND LOGIC PROGRAMMING

HANDBOOK OF LOGIC IN ARTIFICIAL INTELLIGENCE AND LOGIC PROGRAMMING HANDBOOK OF LOGIC IN ARTIFICIAL INTELLIGENCE AND LOGIC PROGRAMMING Volume 5 Logic Programming Edited by DOV M. GABBAY and C. J. HOGGER Imperial College of Science, Technology and Medicine London and J.

More information

Part I Logic programming paradigm

Part I Logic programming paradigm Part I Logic programming paradigm 1 Logic programming and pure Prolog 1.1 Introduction 3 1.2 Syntax 4 1.3 The meaning of a program 7 1.4 Computing with equations 9 1.5 Prolog: the first steps 15 1.6 Two

More information

A new algorithm for incremental prime implicate generation

A new algorithm for incremental prime implicate generation A new algorithm for incremental prime implicate generation Teow-Hin Ngair Institute of Systems Science National University of Singapore Kent Ridge, Singapore 0511 Republic of Singapore Abstract Traditional

More information

1. Logic as a subject matter is the study of logics, understood as models of acceptable inference patterns

1. Logic as a subject matter is the study of logics, understood as models of acceptable inference patterns Lecture 9: Propositional Logic I Philosophy 130 23 & 28 October 2014 O Rourke I. Administrative A. Problem sets due Thursday, 30 October B. Midterm course evaluations C. Questions? II. Logic and Form A.

More information

8. Negation 8-1. Deductive Databases and Logic Programming. (Sommer 2017) Chapter 8: Negation

8. Negation 8-1. Deductive Databases and Logic Programming. (Sommer 2017) Chapter 8: Negation 8. Negation 8-1 Deductive Databases and Logic Programming (Sommer 2017) Chapter 8: Negation Motivation, Differences to Logical Negation Syntax, Supported Models, Clark s Completion Stratification, Perfect

More information

THE LOGIC OF QUANTIFIED STATEMENTS

THE LOGIC OF QUANTIFIED STATEMENTS CHAPTER 3 THE LOGIC OF QUANTIFIED STATEMENTS Copyright Cengage Learning. All rights reserved. SECTION 3.4 Arguments with Quantified Statements Copyright Cengage Learning. All rights reserved. Arguments

More information

First-Order Predicate Logic. CSCI 5582, Fall 2007

First-Order Predicate Logic. CSCI 5582, Fall 2007 First-Order Predicate Logic CSCI 5582, Fall 2007 What Can t We Do in FOPL? We can t take anything back once we ve asserted it. We can t make statements about relations themselves (e.g., Brother is a commutative

More information

Chapter 16. Logic Programming Languages

Chapter 16. Logic Programming Languages Chapter 16 Logic Programming Languages Chapter 16 Topics Introduction A Brief Introduction to Predicate Calculus Predicate Calculus and Proving Theorems An Overview of Logic Programming The Origins of

More information

On Combining Backward and Forward Chaining in Constraint Logic Programming

On Combining Backward and Forward Chaining in Constraint Logic Programming On Combining Backward and Forward Chaining in Constraint Logic rogramming Rémy Haemmerlé Universidad olitécnica de Madrid & IMDEA Software Institute, Spain Abstract We address the problem of designing

More information

Deduction Rule System vs Production Rule System. Prof. Bob Berwick. Rules Rule

Deduction Rule System vs Production Rule System. Prof. Bob Berwick. Rules Rule Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science 6.034 Artificial Intelligence, Fall 2003 Recitation 2, September 11/12 Rules Rule Prof. Bob Berwick Agenda

More information

CSC 501 Semantics of Programming Languages

CSC 501 Semantics of Programming Languages CSC 501 Semantics of Programming Languages Subtitle: An Introduction to Formal Methods. Instructor: Dr. Lutz Hamel Email: hamel@cs.uri.edu Office: Tyler, Rm 251 Books There are no required books in this

More information

What's the difference between the entailment symbol with the equals vs the entailment symbol with one line? Single turnstile meaning

What's the difference between the entailment symbol with the equals vs the entailment symbol with one line? Single turnstile meaning Propositional connectives, satisfying values, Get expression from venn diagram Definitions (tautology, satisfiability, etc) and basic entailment and arrow rule 3-sat to 2-sat, turning a cnf into arrow

More information

Chapter 16. Logic Programming Languages ISBN

Chapter 16. Logic Programming Languages ISBN Chapter 16 Logic Programming Languages ISBN 0-321-49362-1 Chapter 16 Topics Introduction A Brief Introduction to Predicate Calculus Predicate Calculus and Proving Theorems An Overview of Logic Programming

More information

Principles of Knowledge Representation and Reasoning

Principles of Knowledge Representation and Reasoning Principles of Knowledge Representation and Reasoning Nonmonotonic Reasoning Bernhard Nebel, Stefan Wölfl, and Felix Lindner December 14 & 16, 2015 1 Motivation Different forms of reasoning Different formalizations

More information

(More) Propositional Logic and an Intro to Predicate Logic. CSCI 3202, Fall 2010

(More) Propositional Logic and an Intro to Predicate Logic. CSCI 3202, Fall 2010 (More) Propositional Logic and an Intro to Predicate Logic CSCI 3202, Fall 2010 Assignments Next week: Guest lectures (Jim Martin and Nikolaus Correll); Read Chapter 9 (but you can skip sections on logic

More information

Introduction & Review

Introduction & Review Introduction & Review York University Department of Computer Science and Engineering 1 Why this course? Overview Programming Language Paradigms Brief review of Logic Propositional logic Predicate logic

More information

Module 6. Knowledge Representation and Logic (First Order Logic) Version 2 CSE IIT, Kharagpur

Module 6. Knowledge Representation and Logic (First Order Logic) Version 2 CSE IIT, Kharagpur Module 6 Knowledge Representation and Logic (First Order Logic) Lesson 15 Inference in FOL - I 6.2.8 Resolution We have introduced the inference rule Modus Ponens. Now we introduce another inference rule

More information

Propositional Logic. Part I

Propositional Logic. Part I Part I Propositional Logic 1 Classical Logic and the Material Conditional 1.1 Introduction 1.1.1 The first purpose of this chapter is to review classical propositional logic, including semantic tableaux.

More information

C eason Maintenance and Inference Control for Constraint Propagation over Intervals

C eason Maintenance and Inference Control for Constraint Propagation over Intervals From: AAAI-91 Proceedings Copyright 1991, AAAI (wwwaaaiorg) All rights reserved C eason Maintenance and Inference Control for Constraint Propagation over Intervals Walter Hamscher Price Waterhouse Technology

More information

Declarative programming. Logic programming is a declarative style of programming.

Declarative programming. Logic programming is a declarative style of programming. Declarative programming Logic programming is a declarative style of programming. Declarative programming Logic programming is a declarative style of programming. The programmer says what they want to compute,

More information

Focusing ATMS Problem-Solving: A Formal Approach

Focusing ATMS Problem-Solving: A Formal Approach University of Pennsylvania ScholarlyCommons Technical Reports (CIS) Department of Computer & Information Science July 1992 Focusing ATMS Problem-Solving: A Formal Approach Teow-Hin Ngair University of

More information

CS 540: Introduction to Artificial Intelligence

CS 540: Introduction to Artificial Intelligence CS 540: Introduction to Artificial Intelligence Final Exam: 12:25-2:25pm, December 17, 2014 Room 132 Noland CLOSED BOOK (two sheets of notes and a calculator allowed) Write your answers on these pages

More information

Access-Control Policies via Belnap logic: expressive composition and simple analysis

Access-Control Policies via Belnap logic: expressive composition and simple analysis Access-Control Policies via Belnap logic: expressive composition and simple analysis Michael Huth imperial.ac.uk/quads/ Abschlussveranstaltung des Graduiertenkollegs Mathematische Logik und Anwendungen

More information

Set 9: Planning Classical Planning Systems. ICS 271 Fall 2013

Set 9: Planning Classical Planning Systems. ICS 271 Fall 2013 Set 9: Planning Classical Planning Systems ICS 271 Fall 2013 Outline: Planning Classical Planning: Situation calculus PDDL: Planning domain definition language STRIPS Planning Planning graphs Readings:

More information

Reasoning With Characteristic Models

Reasoning With Characteristic Models This papers appears in the Proceedings of the Eleventh National Conference on Artificial Intelligence (AAAI-93), Washington, D.C., 1993. Reasoning With Characteristic Models Henry A. Kautz, Michael J.

More information

Logic Programming and Reasoning about Actions

Logic Programming and Reasoning about Actions Chapter 4 Logic Programming and Reasoning about Actions [Chitta Baral & Michael Gelfond] In this chapter we discuss how recent advances in logic programming can be used to represent and reason about actions

More information

Propositional Logic Formal Syntax and Semantics. Computability and Logic

Propositional Logic Formal Syntax and Semantics. Computability and Logic Propositional Logic Formal Syntax and Semantics Computability and Logic Syntax and Semantics Syntax: The study of how expressions are structured (think: grammar) Semantics: The study of the relationship

More information

Answers. The University of Nottingham SCHOOL OF COMPUTER SCIENCE A LEVEL 3 MODULE, AUTUMN SEMESTER KNOWLEDGE REPRESENTATION AND REASONING

Answers. The University of Nottingham SCHOOL OF COMPUTER SCIENCE A LEVEL 3 MODULE, AUTUMN SEMESTER KNOWLEDGE REPRESENTATION AND REASONING Answers The University of Nottingham SCHOOL OF COMPUTER SCIENCE A LEVEL 3 MODULE, AUTUMN SEMESTER 2016-2017 KNOWLEDGE REPRESENTATION AND REASONING Time allowed TWO hours Candidates may complete the front

More information

Versi ss 9 * (Extended Abstract)

Versi ss 9 * (Extended Abstract) From: AAAI-91 Proceedings. Copyright 1991, AAAI (www.aaai.org). All rights reserved. e erof Versi ss 9 * (Extended Abstract) Carl A. Gunter Teow-Min Ngair University of Pennsylvania University of Pennsylvania

More information

Alignment of Heterogeneous Ontologies: A Practical Approach to Testing for Similarities and Discrepancies

Alignment of Heterogeneous Ontologies: A Practical Approach to Testing for Similarities and Discrepancies Proceedings of the Twenty-First International FLAIRS Conference (2008) Alignment of Heterogeneous Ontologies: A Practical Approach to Testing for Similarities and Discrepancies Neli P. Zlatareva Department

More information

BACK TO BACKTRACKING: CONTROLLING THE ATMS

BACK TO BACKTRACKING: CONTROLLING THE ATMS BACK TO BACKTRACKING: CONTROLLING THE ATMS Johan de Kleer Intelligent Systems Laboratory XEROX Palo Alto Research Center 3333 Coyote Hill Road Palo Alto, California 94304 and Brian C. Williams M.I.T. Artificial

More information

Scaling up Logic-based Truth Maintenance Systems via Fact Garbage Collection

Scaling up Logic-based Truth Maintenance Systems via Fact Garbage Collection From: AAAI-96 Proceedings. Copyright 1996, AAAI (www.aaai.org). All rights reserved. Scaling up Logic-based Truth Maintenance Systems via Fact Garbage Collection John 0. Everett and Kenneth D. Forbus QuaIitative

More information

Automatic Reasoning (Section 8.3)

Automatic Reasoning (Section 8.3) Automatic Reasoning (Section 8.3) Automatic Reasoning Can reasoning be automated? Yes, for some logics, including first-order logic. We could try to automate natural deduction, but there are many proof

More information

Exploiting locality in a TMS

Exploiting locality in a TMS Exploiting locality in a TMS Johan de Kleer Xerox Palo Alto Research Center 3333 Coyote Hill Road, Palo Alto CA 94304 USA Email: dekleer xerox.com Abstract This paper presents a new approach for exploiting

More information

Mixed Integer Linear Programming

Mixed Integer Linear Programming Mixed Integer Linear Programming Part I Prof. Davide M. Raimondo A linear program.. A linear program.. A linear program.. Does not take into account possible fixed costs related to the acquisition of new

More information

A proof-producing CSP solver: A proof supplement

A proof-producing CSP solver: A proof supplement A proof-producing CSP solver: A proof supplement Report IE/IS-2010-02 Michael Veksler Ofer Strichman mveksler@tx.technion.ac.il ofers@ie.technion.ac.il Technion Institute of Technology April 12, 2010 Abstract

More information

Answer Sets and the Language of Answer Set Programming. Vladimir Lifschitz

Answer Sets and the Language of Answer Set Programming. Vladimir Lifschitz Answer Sets and the Language of Answer Set Programming Vladimir Lifschitz Answer set programming is a declarative programming paradigm based on the answer set semantics of logic programs. This introductory

More information

COMP4418 Knowledge Representation and Reasoning

COMP4418 Knowledge Representation and Reasoning COMP4418 Knowledge Representation and Reasoning Week 3 Practical Reasoning David Rajaratnam Click to edit Present s Name Practical Reasoning - My Interests Cognitive Robotics. Connect high level cognition

More information

Circuit versus CNF Reasoning for Equivalence Checking

Circuit versus CNF Reasoning for Equivalence Checking Circuit versus CNF Reasoning for Equivalence Checking Armin Biere Institute for Formal Models and Verification Johannes Kepler University Linz, Austria Equivalence Checking Workshop 25 Madonna di Campiglio,

More information

CSI30. Chapter 1. The Foundations: Logic and Proofs Rules of inference with quantifiers Logic and bit operations Specification consistency

CSI30. Chapter 1. The Foundations: Logic and Proofs Rules of inference with quantifiers Logic and bit operations Specification consistency Chapter 1. The Foundations: Logic and Proofs 1.13 Rules of inference with quantifiers Logic and bit operations Specification consistency 1.13 Rules of inference with quantifiers universal instantiation

More information

Problem Solving with the ATMS

Problem Solving with the ATMS ARTIFICIAL INTELLIGENCE 197 Problem Solving with the ATMS Johan de Kleer Intelligent Systems. Laboratory, XEROX Palo Alto Research Center, 3333 Coyote Hill Road, Palo Alto, CA 94304, U.S.A. Recommended

More information

Distributed Data Analytics Transactions

Distributed Data Analytics Transactions Distributed Data Analytics G-3.1.09, Campus III Hasso Plattner Institut must ensure that interactions succeed consistently An OLTP Topic Motivation Most database interactions consist of multiple, coherent

More information

Logic Programming and Resolution Lecture notes for INF3170/4171

Logic Programming and Resolution Lecture notes for INF3170/4171 Logic Programming and Resolution Lecture notes for INF3170/4171 Leif Harald Karlsen Autumn 2015 1 Introduction This note will explain the connection between logic and computer programming using Horn Clauses

More information

SomeWhere: a scalable peer-to-peer infrastructure for querying distributed ontologies

SomeWhere: a scalable peer-to-peer infrastructure for querying distributed ontologies SomeWhere: a scalable peer-to-peer infrastructure for querying distributed ontologies Marie-Christine Rousset 1 Joint work with Philippe Adjiman, Philippe Chatalic, François Goasdoué, Gia-Hien Nguyen,

More information

6.034 Notes: Section 10.1

6.034 Notes: Section 10.1 6.034 Notes: Section 10.1 Slide 10.1.1 A sentence written in conjunctive normal form looks like ((A or B or not C) and (B or D) and (not A) and (B or C)). Slide 10.1.2 Its outermost structure is a conjunction.

More information

Handling first-order linear constraints with SCIP

Handling first-order linear constraints with SCIP Handling first-order linear constraints with SCIP James Cussens, University of York KU Leuven, 2015-02-16 James Cussens, University of York FO with SCIP KU Leuven, 2015-02-16 1 / 18 MIP Mixed integer programs

More information

Constraint Propagation for Efficient Inference in Markov Logic

Constraint Propagation for Efficient Inference in Markov Logic Constraint Propagation for Efficient Inference in Tivadar Papai 1 Parag Singla 2 Henry Kautz 1 1 University of Rochester, Rochester NY 14627, USA 2 University of Texas, Austin TX 78701, USA September 13,

More information

Section 1.1 Logic LOGIC

Section 1.1 Logic LOGIC Section 1.1 Logic 1.1.1 1.1 LOGIC Mathematics is used to predict empirical reality, and is therefore the foundation of engineering. Logic gives precise meaning to mathematical statements. PROPOSITIONS

More information

Lecture Outline. Rule Based Systems. Production Systems. Production Systems. Production Systems. Production Systems

Lecture Outline. Rule Based Systems. Production Systems. Production Systems. Production Systems. Production Systems Lecture Outline Rule Based Systems Michael J. Watts http://mike.watts.net.nz Production systems Facts & Templates Production rules The inference process Advantages of production systems Disadvantages of

More information

Drake: An Efficient Executive for Temporal Plans with Choice

Drake: An Efficient Executive for Temporal Plans with Choice Journal of Artificial Intelligence Research 42 (2011) 607-659 Submitted 09/11; published 12/11 Drake: An Efficient Executive for Temporal Plans with Choice Patrick R. Conrad Brian C. Williams Room 32-227

More information

Symbolic Trajectory Evaluation - A Survey

Symbolic Trajectory Evaluation - A Survey Automated Verification Symbolic Trajectory Evaluation - A Survey by Mihaela Gheorghiu Department of Computer Science University of Toronto Instructor: Prof. Marsha Chechik January 3, 24 Motivation Simulation

More information

Applications of Annotated Predicate Calculus to Querying Inconsistent Databases

Applications of Annotated Predicate Calculus to Querying Inconsistent Databases Applications of Annotated Predicate Calculus to Querying Inconsistent Databases Marcelo Arenas, Leopoldo Bertossi, and Michael Kifer 1 P. Universidad Catolica de Chile, Depto. Ciencia de Computacion Casilla

More information

Range Restriction for General Formulas

Range Restriction for General Formulas Range Restriction for General Formulas 1 Range Restriction for General Formulas Stefan Brass Martin-Luther-Universität Halle-Wittenberg Germany Range Restriction for General Formulas 2 Motivation Deductive

More information

Lecture 17 of 41. Clausal (Conjunctive Normal) Form and Resolution Techniques

Lecture 17 of 41. Clausal (Conjunctive Normal) Form and Resolution Techniques Lecture 17 of 41 Clausal (Conjunctive Normal) Form and Resolution Techniques Wednesday, 29 September 2004 William H. Hsu, KSU http://www.kddresearch.org http://www.cis.ksu.edu/~bhsu Reading: Chapter 9,

More information

Module 6. Knowledge Representation and Logic (First Order Logic) Version 2 CSE IIT, Kharagpur

Module 6. Knowledge Representation and Logic (First Order Logic) Version 2 CSE IIT, Kharagpur Module 6 Knowledge Representation and Logic (First Order Logic) 6.1 Instructional Objective Students should understand the advantages of first order logic as a knowledge representation language Students

More information

Week 4. COMP62342 Sean Bechhofer, Uli Sattler

Week 4. COMP62342 Sean Bechhofer, Uli Sattler Week 4 COMP62342 Sean Bechhofer, Uli Sattler sean.bechhofer@manchester.ac.uk, uli.sattler@manchester.ac.uk Today Some clarifications from last week s coursework More on reasoning: extension of the tableau

More information

Towards a Logical Reconstruction of Relational Database Theory

Towards a Logical Reconstruction of Relational Database Theory Towards a Logical Reconstruction of Relational Database Theory On Conceptual Modelling, Lecture Notes in Computer Science. 1984 Raymond Reiter Summary by C. Rey November 27, 2008-1 / 63 Foreword DB: 2

More information

Consistency and Set Intersection

Consistency and Set Intersection Consistency and Set Intersection Yuanlin Zhang and Roland H.C. Yap National University of Singapore 3 Science Drive 2, Singapore {zhangyl,ryap}@comp.nus.edu.sg Abstract We propose a new framework to study

More information

EXTENDING SAT SOLVER WITH PARITY CONSTRAINTS

EXTENDING SAT SOLVER WITH PARITY CONSTRAINTS TKK Reports in Information and Computer Science Espoo 2010 TKK-ICS-R32 EXTENDING SAT SOLVER WITH PARITY CONSTRAINTS Tero Laitinen TKK Reports in Information and Computer Science Espoo 2010 TKK-ICS-R32

More information

CS221 / Autumn 2017 / Liang & Ermon. Lecture 17: Logic II

CS221 / Autumn 2017 / Liang & Ermon. Lecture 17: Logic II CS221 / Autumn 2017 / Liang & Ermon Lecture 17: Logic II Review: ingredients of a logic Syntax: defines a set of valid formulas (Formulas) Example: Rain Wet Semantics: for each formula, specify a set of

More information

Fuzzy Reasoning. Linguistic Variables

Fuzzy Reasoning. Linguistic Variables Fuzzy Reasoning Linguistic Variables Linguistic variable is an important concept in fuzzy logic and plays a key role in its applications, especially in the fuzzy expert system Linguistic variable is a

More information

SAT Solver. CS 680 Formal Methods Jeremy Johnson

SAT Solver. CS 680 Formal Methods Jeremy Johnson SAT Solver CS 680 Formal Methods Jeremy Johnson Disjunctive Normal Form A Boolean expression is a Boolean function Any Boolean function can be written as a Boolean expression s x 0 x 1 f Disjunctive normal

More information

STABILITY AND PARADOX IN ALGORITHMIC LOGIC

STABILITY AND PARADOX IN ALGORITHMIC LOGIC STABILITY AND PARADOX IN ALGORITHMIC LOGIC WAYNE AITKEN, JEFFREY A. BARRETT Abstract. Algorithmic logic is the logic of basic statements concerning algorithms and the algorithmic rules of deduction between

More information

Conflict-driven ASP Solving with External Source Access

Conflict-driven ASP Solving with External Source Access Conflict-driven ASP Solving with External Source Access Thomas Eiter, Michael Fink, Thomas Krennwallner, Christoph Redl redl@krtuwienacat September 05, 2012 Redl C (TU Vienna) HEX-Programs September 05,

More information

For next Tuesday. Read chapter 8 No written homework Initial posts due Thursday 1pm and responses due by class time Tuesday

For next Tuesday. Read chapter 8 No written homework Initial posts due Thursday 1pm and responses due by class time Tuesday For next Tuesday Read chapter 8 No written homework Initial posts due Thursday 1pm and responses due by class time Tuesday Any questions? Program 1 Imperfect Knowledge What issues arise when we don t know

More information