KRR. Example. Example (formalization) Example (cont.) Knowledge representation & reasoning
|
|
- Katrina Hoover
- 5 years ago
- Views:
Transcription
1 Klassische hemen der Computerwissenschaften Artificial Intelligence Knowledge representation & reasoning Prof. Dr. ranz Wotawa KRR Example Use logic to represent knowledge (e.g., the theory) Represent important aspects of a problem! Separate different kinds of knowledge (background knowledge, case-specific knowledge,..) Describe knowledge from Causes to Effects Use logical reasoning to derive new knowledge orce? But also: Example (cont.) Example (formalization) ormalization in propositional logic: equalorce midposition lowerorce downposition higherorce upposition break downposition 1
2 Abduction: Abductive vs. deductive reasoning Reasoning from Effects to Causes rom downposition follows either break or lowerorce or a definition have a look at previous slides Deduction: Reasoning from Causes to Effects rom break follows downposition using the definition of logical consequences Monotonic vs. Non-monotonic reasoning Monotonic: rom new knowledge we can derive more knowledge If we add downposition shouldhappen to the theory, we can derive shouldhappen when assuming lowerorce. Non-Monotonic: Adding new knowledge leads to a decrease of knowledge that can be derived Non-monotonic reasoning - Inconsistencies What happens when we add: (midposition downposition) (midposition upposition) (upposition downposition) to the theory together with the following observations? higherorce downposition he theory becomes inconsistent!!! Consequences of inconsistencies Everything can be derived! We cannot derive anything meaningful anymore! Solution Change the theorie Use a different schema for deriving new knowledge Allow for removing knowledge in order to retain consistency! New heory: New formalization equalorce break midposition lowerorce break downposition higherorce break upposition break downposition (midposition downposition) (midposition upposition) (upposition downposition) 2
3 Default reasoning Idea In sentences we have some kind of hidden assumptions, i.e., defaults! Example: equalorce break midposition Assumption that the system is not broken, i.e., the system is working as expected. Idea (cont.) Make hidden assumptions explicit (as always in AI) Introduce defaults, i.e., logical sentences that can only be used unless a contradiction can be derived. Definition Default Definition (Default): A default δ is any configuration of the form A : B 1,,B n C where A, B 1,,B n, C are logical sentences (A: prerequisite, B 1,..,B n : justifications, C: consequent). We also write (A : B 1,,B n C) to express defaults. Semantics of defaults Informal semantics: If A is true and it is not contradictory to assume B 1,,B n, then we can conclude C. Given two sets of sentences S and and a default δ. By applying δ to with respect to S (i.e., δ S ), we mean that if A and B 1,, B n S, then C. S is a set of axioms of and all consequences of previously used defaults. Default theories Definition (Default heory): A default theory is a pair (R,Δ) where R is a set of logical sentences and Δ is a set of defaults. Example: Δ = { (bird : fly fly) } and R = { penguin, penguin bird, penguin fly } Using (R,Δ) and the fact penguin we cannot longer derive a contradiction! 3
4 How to handle defaults ake all axioms of the theory R and apply defaults. We define this idea by introducing the smallest set of beliefs Λ (R,Δ) (S) that we can derive from the given knowledge and S: 1. R Λ (R,Δ) (S) 2. h(λ (R,Δ) (S)) = Λ (R,Δ) (S) 3. If δ Δ, then δ S Λ (R,Δ) (S) Extensions Definition: A set E of sentences is an extension for a default theory (R,Δ) iff E is a fixed point of the operator Λ (R,Δ) (i.e., Λ (R,Δ) (E) = E) Example: he default theory ({R,Q},{(R: P P), (Q:P P)}) has two extensions E 1 ={P} and E 2 ={ P} Extensions describe POSSIBLE WORLDS Goals / Problems Compute all extensions of default theories his computation is very complex hus we restrict the default theories to comprise only facts, rules (i.e. implications), and normal defaults. A default is said to be normal iff it is of the form (A : B B). References Philippe Besnard, An Introduction to Default Logic, Springer, Assumption-based reasoning Assumption-based reasoning Use special propositions, i.e., assumptions that can be either true or false. Use assumptions to retain consistency of theories Afterwards extensions and explanations for inconsistencies can be given 4
5 he coffee machine 1. Request request 2. Water water 3. Beans beans 4. request water beans coffee 5. coffee request 6. coffee water 7. coffee beans 8. no_coffee request water no_beans 9. no_coffee request beans no_water 10.no_coffee beans water no_request 11.beans no_beans 12.water no_water 13.request no_request 14.coffee no_coffee 15.no_coffee Coffee Coffee-ilter Coffee-Machine Coffee-Container Coffee-Mill Water-ank Water AMS Basic ideas Assumption-based ruth Maintenance System (AMS) Retain truth Knowledge-base updates irst step for computing explanations AMS Basic ideas (cont.) Request request Proposition Assumption Represent assumptions, propositions and rules as directed graph Request coffee no_coffee request Nogood (Inconsistency, alsum) AMS node Nodes store basic information Nodes for Assumptions, propositions, and Inconsistencies (Contradictions are stored in a node called NOGOOD). Nodes store heir name A set of a set of assumptions which have to be true in order to make the node true (Environments) A set of justifications where a justification is a set of propositions which have to be true in order to make the node true. AMS node (cont.) Request request Request request (Request, {{Request}}, {(Request)}) (request, {{Request}}, {(Request)}) Name Assumption Justification Representation: Some remarks Premises (p,{{}},{()}) Assumptions (A,{{A}},{(A)}) Propositions (p,{s 1,..}, {J 1,..}) Logical interpretation of (p, {{A 11,..,A 1n(1) },..}, {(q 11,..,q 1m(1) ),..} A 11 A 1n(1) p q 11 q 1m(1) p 5
6 ask of the AMS or every rule added to the AMS construct possible new nodes and vertices. Compute the labels, i.e., the set of assumptions, for every node such that the labels are: Consistent Minimal Complete Sound Example Add rules in the given order 1. Request request 2. Water water 3. Beans beans 4. request water beans coffee 5. coffee no_coffee 6. no_coffee (AC, Premise) AMS before adding fact / premise AMS after adding fact Request {{Request}} request {{Request}} Request {{Request}} request {{Request}} Water {{Water}} water {{Water}} coffee {{Request,Water,Beans}} Water {{Water}} water {{Water}} coffee {} coffee {{Request,Water,Beans}} Beans {{Beans}} beans {{beans}} {} Beans {{Beans}} beans {{Beans}} {} {{Request,Water,Beans}} no_coffee {} no_coffee {} no_coffee {{}} What happens when.. Adding the fact request? Adding the fact beans? AMS algorithm (1) Call algorithm if justification (=rule) is added. Remark: J: q 1 q n p Antecedence Consequent When J is supplied call PROPAGAE(J,Φ,{{}}) where Φ indicates the absence of an optional antecedence node. 6
7 AMS algorithm (2) PROPAGAE ( q 1 q n p, a, I) 1. [Compute the incremental update] L = WEAVE (a, I, {q 1,,q n }) 2. [Update label and recure] UPDAE (L,p) AMS algorithm (3) UPDAE (L, p) 1. [Dedect nogoods] If p = the call NOGOOD (E) for each E L and return {} 2. [Update p s label ensuring minimality] 1. Delete every environment from L which is a superset of some label environment of p. 2. Delete every environment from the label of p which is a superset of some element of L. 3. Add every remaining environment of L to the label of p. 3. [Propagate the incremental change of p s label to its consequences] or every justification J in which p is an antecedence node call PROPAGAE (J,p,L). AMS algorithm (4) AMS algorithm (5) WEAVE (p,i,x) 1. [ermination condition] If X is empty, return I. 2. [Iterate over the antecedence nodes] Let h be the first node of the list X and R the rest. 3. [Avoid computing the full label] If h = p, return WEAVE (Φ,I,R) 4. [Incrementally construct the label] Let I be the set of all environments formed by computing the union of an environment of I and an environment of h s label. 5. [Ensure that I is minimal and contains no known inconsistency] Remove from I all duplicates, nogoods, as well as any environment subsumed by any other. 6. Return WEAVE (p, I, R). NOGOOD (E) 1. Mark E as nogood 2. Remove E and any superset from every node label AMS remarks AMS retains consistency by maintaining the node labels and the nogood. Label update for the AMS is NPcomplete! Various extensions mentioned in literature References Johan de Kleer. An assumption-based MS, Artificial Intelligence, 28: , Johan de Kleer: A general labeling algorithm for assumption-based truth maintenance. In proceedings of the AAAI, pp ,
8 Explanations Basic idea AMS retains consistency Inconsistent knowledge is stored in a NOGOOD. he labels of the NOGOOD represent all possible ways for deriving an inconsistency. Hence, the provide information about the explanation for an inconsistency. Example More general Given the nogood NOGOOD {{Water},{Beans}} his means that both Water and Beans lead to an inconsistency. Hence, we have to refill the water and the beans in order to obtain coffee. ormally: Water and Beans In order to explain consistency we have to consider all environments of the nogood node. In particular we have to take one element of each nogood and make it false. Hence, logically the nogood cannot longer be derived! NOGOOD Environments: A 11 A 1n(1) A m1 A mn(1) Selection of A 1i(1) A m i(m) and setting their truth values to false ensures consistency! Computing all selection is equivalent to computing all hitting sets (HS) of a set of sets. Hitting sets Definition: Given a set of sets. A set H x x is called a hitting set for iff the intersection of h with every set x is not empty, i.e., x H. Definition: A hitting set H is minimal if no proper subset H of H is a hitting set. Example - HS Given: = {{a,b},{a,c}} Solution: 2 minimal hitting sets {a} {b,c} 8
9 Computing hitting sets here are many algorithms described in literature, e.g., Ray Reiter, A heory of Diagnosis from irst Principles, Artificial Intelligence, 32(1):57-95, R. Greiner, B.A. Smith, R.W. Wilkerson, A Correction to the Algorithm in Reiter s heory of Diagnosis, Artificial Intelligence, 41(1):79-88, Putting it all together Idea: construct a graph from the given set of sets Computing extensions for normal defaults Given a default theory (R,Δ) where each δ Δ is of the form (X : a a). irst compute a theory = R { A X a (X : a a) Δ} where A is a unique assumable which correspond to a. Let AS be the set of all assumables. eed into an AMS ake the environments of the NOGOOD and compute the hitting sets. We know that all elements of each hitting sets have to be assigned a false truth value. In our case extensions in contrast have only positive elements. All hitting sets are explanations for an inconsistency. We can take a hitting set H and compute h( (H\AS)) which is an extension of (R,Δ). Example Given: ({r,q, np p },{(r:np np), (q:p p)}) = {r,q, np p, NP r np, P q p} he AMS delivers the NOGOOD {{P,NP}}. We obtain two hitting sets H 1 = {P} H 2 = {NP} Hence, we get two extensions E 1 = h( ({P,NP}\H 1 )) = {r,q,np,np} E 2 = h( ({P,NP}\H 2 )) = {r,q,p,p} Alternative computation using truth tables and SA {r,q, np p, NP r np, P q p} r q p np P NP heory SA-Solver Programs for proving satisfiability of propositional theories See E.g. Java-Sat Solver: SA4J 9
10 Conclusion Overview of logic-based AI focusing on some aspects of default and assumption-based reasoning Restricted to propositional logic comprising facts and rules (Horn Clause heories) Applications: Commonsense Reasoning Diagnosis Knowledge-based configuration Conclusion Modeling for AI Abductive vs. deductive reasoning Abduction: rom a theory and observations O derive explanations E, i.e., E O and E is consistent Deduction: rom a theory and facts derive new facts N, i.e., N Non-monotonic vs. monotonic reasoning 10
Klassische Themen der Computerwissenschaften Artificial Intelligence
Klassische Themen der Computerwissenschaften Artificial Intelligence Prof. Dr. Franz Wotawa wotawa@ist.tugraz.at History of AI The following slides are an excerpt from http://www.aaai.org/aitopics/bbhist.html#intro
More informationOverview. Knowledge-Based Agents. Introduction. COMP219: Artificial Intelligence. Lecture 19: Logic for KR
COMP219: Artificial Intelligence Lecture 19: Logic for KR Last time Expert Systems and Ontologies oday Logic as a knowledge representation scheme Propositional Logic Syntax Semantics Proof theory Natural
More informationPropositional Reasoning
Propositional Reasoning CS 440 / ECE 448 Introduction to Artificial Intelligence Instructor: Eyal Amir Grad TAs: Wen Pu, Yonatan Bisk Undergrad TAs: Sam Johnson, Nikhil Johri Spring 2010 Intro to AI (CS
More informationPropositional Logic: Models and Proofs
Propositional Logic: Models and Proofs C. R. Ramakrishnan CSE 505 1 Syntax 2 Model Theory 3 Proof Theory and Resolution Compiled at 11:51 on 2016/11/02 Computing with Logic Propositional Logic CSE 505
More informationCOMP219: Artificial Intelligence. Lecture 20: Propositional Reasoning
COMP219: Artificial Intelligence Lecture 20: Propositional Reasoning 1 Overview Last time Logic for KR in general; Propositional Logic; Natural Deduction Today Entailment, satisfiability and validity Normal
More informationCOMP219: Artificial Intelligence. Lecture 19: Logic for KR
COMP219: Artificial Intelligence Lecture 19: Logic for KR 1 Overview Last time Expert Systems and Ontologies Today Logic as a knowledge representation scheme Propositional Logic Syntax Semantics Proof
More informationDeductive Systems. Lecture - 3
Deductive Systems Lecture - 3 Axiomatic System Axiomatic System (AS) for PL AS is based on the set of only three axioms and one rule of deduction. It is minimal in structure but as powerful as the truth
More informationCOMP219: Artificial Intelligence. Lecture 19: Logic for KR
COMP219: Artificial Intelligence Lecture 19: Logic for KR 1 Overview Last time Expert Systems and Ontologies Today Logic as a knowledge representation scheme Propositional Logic Syntax Semantics Proof
More informationArtificial Intelligence Chapter 7: Logical Agents
Artificial Intelligence Chapter 7: Logical Agents Michael Scherger Department of Computer Science Kent State University February 20, 2006 AI: Chapter 7: Logical Agents 1 Contents Knowledge Based Agents
More informationLogic: Propositional Logic (Part I)
Logic: Propositional Logic (Part I) Alessandro Artale Free University of Bozen-Bolzano Faculty of Computer Science http://www.inf.unibz.it/ artale Descrete Mathematics and Logic BSc course Thanks to Prof.
More informationArgumentation-Based Models of Agent Reasoning and Communication
Argumentation-Based Models of Agent Reasoning and Communication Sanjay Modgil Department of Informatics, King s College London Outline Logic and Argumentation - Dung s Theory of Argumentation - The Added
More informationKnowledge base (KB) = set of sentences in a formal language Declarative approach to building an agent (or other system):
Logic Knowledge-based agents Inference engine Knowledge base Domain-independent algorithms Domain-specific content Knowledge base (KB) = set of sentences in a formal language Declarative approach to building
More informationTutorial: Nonmonotonic Logic
Tutorial: Nonmonotonic Logic PhDs in Logic (2017) Christian Straßer May 2, 2017 Outline Defeasible Reasoning Scratching the Surface of Nonmonotonic Logic 1/52 Defeasible Reasoning What is defeasible reasoning?
More information6. Logical Inference
Artificial Intelligence 6. Logical Inference Prof. Bojana Dalbelo Bašić Assoc. Prof. Jan Šnajder University of Zagreb Faculty of Electrical Engineering and Computing Academic Year 2016/2017 Creative Commons
More informationProduction Inference, Nonmonotonicity and Abduction
Production Inference, Nonmonotonicity and Abduction Alexander Bochman Computer Science Department, Holon Academic Institute of Technology, Israel e-mail: bochmana@hait.ac.il Abstract We introduce a general
More informationMAI0203 Lecture 7: Inference and Predicate Calculus
MAI0203 Lecture 7: Inference and Predicate Calculus Methods of Artificial Intelligence WS 2002/2003 Part II: Inference and Knowledge Representation II.7 Inference and Predicate Calculus MAI0203 Lecture
More informationESSENCE 2014: Argumentation-Based Models of Agent Reasoning and Communication
ESSENCE 2014: Argumentation-Based Models of Agent Reasoning and Communication Sanjay Modgil Department of Informatics, King s College London Outline Logic, Argumentation and Reasoning - Dung s Theory of
More informationMaximal Introspection of Agents
Electronic Notes in Theoretical Computer Science 70 No. 5 (2002) URL: http://www.elsevier.nl/locate/entcs/volume70.html 16 pages Maximal Introspection of Agents Thomas 1 Informatics and Mathematical Modelling
More informationPropositional Logic. Testing, Quality Assurance, and Maintenance Winter Prof. Arie Gurfinkel
Propositional Logic Testing, Quality Assurance, and Maintenance Winter 2018 Prof. Arie Gurfinkel References Chpater 1 of Logic for Computer Scientists http://www.springerlink.com/content/978-0-8176-4762-9/
More informationPossibilistic Logic. Damien Peelman, Antoine Coulon, Amadou Sylla, Antoine Dessaigne, Loïc Cerf, Narges Hadji-Hosseini.
Possibilistic Logic Damien Peelman, Antoine Coulon, Amadou Sylla, Antoine Dessaigne, Loïc Cerf, Narges Hadji-Hosseini November 21, 2005 1 Introduction In real life there are some situations where only
More informationWarm-Up Problem. Is the following true or false? 1/35
Warm-Up Problem Is the following true or false? 1/35 Propositional Logic: Resolution Carmen Bruni Lecture 6 Based on work by J Buss, A Gao, L Kari, A Lubiw, B Bonakdarpour, D Maftuleac, C Roberts, R Trefler,
More informationLogical Agents (I) Instructor: Tsung-Che Chiang
Logical Agents (I) Instructor: Tsung-Che Chiang tcchiang@ieee.org Department of Computer Science and Information Engineering National Taiwan Normal University Artificial Intelligence, Spring, 2010 編譯有誤
More informationCOMP9414: Artificial Intelligence Propositional Logic: Automated Reasoning
COMP9414, Monday 26 March, 2012 Propositional Logic 2 COMP9414: Artificial Intelligence Propositional Logic: Automated Reasoning Overview Proof systems (including soundness and completeness) Normal Forms
More informationPropositional Resolution Introduction
Propositional Resolution Introduction (Nilsson Book Handout) Professor Anita Wasilewska CSE 352 Artificial Intelligence Propositional Resolution Part 1 SYNTAX dictionary Literal any propositional VARIABLE
More informationPropositional Logic. Logic. Propositional Logic Syntax. Propositional Logic
Propositional Logic Reading: Chapter 7.1, 7.3 7.5 [ased on slides from Jerry Zhu, Louis Oliphant and ndrew Moore] Logic If the rules of the world are presented formally, then a decision maker can use logical
More informationPropositional Resolution Part 1. Short Review Professor Anita Wasilewska CSE 352 Artificial Intelligence
Propositional Resolution Part 1 Short Review Professor Anita Wasilewska CSE 352 Artificial Intelligence SYNTAX dictionary Literal any propositional VARIABLE a or negation of a variable a, a VAR, Example
More informationKnowledge representation DATA INFORMATION KNOWLEDGE WISDOM. Figure Relation ship between data, information knowledge and wisdom.
Knowledge representation Introduction Knowledge is the progression that starts with data which s limited utility. Data when processed become information, information when interpreted or evaluated becomes
More informationINTRODUCTION TO NONMONOTONIC REASONING
Faculty of Computer Science Chair of Automata Theory INTRODUCTION TO NONMONOTONIC REASONING Anni-Yasmin Turhan Dresden, WS 2017/18 About the Course Course Material Book "Nonmonotonic Reasoning" by Grigoris
More informationPRUNING PROCEDURE FOR INCOMPLETE-OBSERVATION DIAGNOSTIC MODEL SIMPLIFICATION
PRUNING PROCEDURE FOR INCOMPLETE-OBSERVATION DIAGNOSTIC MODEL SIMPLIFICATION Ivan Havel Department of Cybernetics Faculty of Electrical Engineering, Czech Technical University Karlovo náměstí 13, 121 35
More informationDecision Procedures for Satisfiability and Validity in Propositional Logic
Decision Procedures for Satisfiability and Validity in Propositional Logic Meghdad Ghari Institute for Research in Fundamental Sciences (IPM) School of Mathematics-Isfahan Branch Logic Group http://math.ipm.ac.ir/isfahan/logic-group.htm
More informationAdvanced Topics in LP and FP
Lecture 1: Prolog and Summary of this lecture 1 Introduction to Prolog 2 3 Truth value evaluation 4 Prolog Logic programming language Introduction to Prolog Introduced in the 1970s Program = collection
More informationSEMANTICAL CONSIDERATIONS ON NONMONOTONIC LOGIC. Robert C. Moore Artificial Intelligence Center SRI International, Menlo Park, CA 94025
SEMANTICAL CONSIDERATIONS ON NONMONOTONIC LOGIC Robert C. Moore Artificial Intelligence Center SRI International, Menlo Park, CA 94025 ABSTRACT Commonsense reasoning is "nonmonotonic" in the sense that
More informationLogical Agent & Propositional Logic
Logical Agent & Propositional Logic Berlin Chen 2005 References: 1. S. Russell and P. Norvig. Artificial Intelligence: A Modern Approach. Chapter 7 2. S. Russell s teaching materials Introduction The representation
More informationTwo-Valued Logic Programs
Two-Valued Logic Programs Vladimir Lifschitz University of Texas at Austin, USA Abstract We define a nonmonotonic formalism that shares some features with three other systems of nonmonotonic reasoning
More informationIntelligent Agents. First Order Logic. Ute Schmid. Cognitive Systems, Applied Computer Science, Bamberg University. last change: 19.
Intelligent Agents First Order Logic Ute Schmid Cognitive Systems, Applied Computer Science, Bamberg University last change: 19. Mai 2015 U. Schmid (CogSys) Intelligent Agents last change: 19. Mai 2015
More informationIntroduction to Arti Intelligence
Introduction to Arti Intelligence cial Lecture 4: Constraint satisfaction problems 1 / 48 Constraint satisfaction problems: Today Exploiting the representation of a state to accelerate search. Backtracking.
More informationOutline. Logical Agents. Logical Reasoning. Knowledge Representation. Logical reasoning Propositional Logic Wumpus World Inference
Outline Logical Agents ECE57 Applied Artificial Intelligence Spring 007 Lecture #6 Logical reasoning Propositional Logic Wumpus World Inference Russell & Norvig, chapter 7 ECE57 Applied Artificial Intelligence
More informationCS 4700: Foundations of Artificial Intelligence
CS 4700: Foundations of Artificial Intelligence Bart Selman selman@cs.cornell.edu Module: Knowledge, Reasoning, and Planning Part 2 Logical Agents R&N: Chapter 7 1 Illustrative example: Wumpus World (Somewhat
More informationArtificial Intelligence. Propositional Logic. Copyright 2011 Dieter Fensel and Florian Fischer
Artificial Intelligence Propositional Logic Copyright 2011 Dieter Fensel and Florian Fischer 1 Where are we? # Title 1 Introduction 2 Propositional Logic 3 Predicate Logic 4 Reasoning 5 Search Methods
More informationPropositional Logic. Methods & Tools for Software Engineering (MTSE) Fall Prof. Arie Gurfinkel
Propositional Logic Methods & Tools for Software Engineering (MTSE) Fall 2017 Prof. Arie Gurfinkel References Chpater 1 of Logic for Computer Scientists http://www.springerlink.com/content/978-0-8176-4762-9/
More informationCHAPTER 10. Gentzen Style Proof Systems for Classical Logic
CHAPTER 10 Gentzen Style Proof Systems for Classical Logic Hilbert style systems are easy to define and admit a simple proof of the Completeness Theorem but they are difficult to use. By humans, not mentioning
More information4 ENTER Adaptive Logics
4 0 4 ENTER Adaptive Logics 4.1 The problem 4.2 Characterization of an adaptive Logic 4.3 Annotated dynamic proofs: Reliability 4.4 Semantics 4.5 Annotated dynamic proofs: Minimal Abnormality 4.6 Some
More informationA Unit Resolution Approach to Knowledge Compilation. 2. Preliminaries
A Unit Resolution Approach to Knowledge Compilation Arindama Singh and Manoj K Raut Department of Mathematics Indian Institute of Technology Chennai-600036, India Abstract : Knowledge compilation deals
More informationArgumentation with Abduction
Argumentation with Abduction Neophytos Demetriou Dept. of Computer Science University of Cyprus Nicosia CY-1678, Cyprus nkd@cs.ucy.ac.cy Tel.: (+357) 22892673 Antonis Kakas Dept. of Computer Science University
More informationArtificial Intelligence Knowledge Representation I
Artificial Intelligence Knowledge Representation I Agents that reason logically knowledge-based approach implement agents that know about their world and reason about possible courses of action needs to
More informationIntroduction to Artificial Intelligence Propositional Logic & SAT Solving. UIUC CS 440 / ECE 448 Professor: Eyal Amir Spring Semester 2010
Introduction to Artificial Intelligence Propositional Logic & SAT Solving UIUC CS 440 / ECE 448 Professor: Eyal Amir Spring Semester 2010 Today Representation in Propositional Logic Semantics & Deduction
More informationChapter 3: Propositional Calculus: Deductive Systems. September 19, 2008
Chapter 3: Propositional Calculus: Deductive Systems September 19, 2008 Outline 1 3.1 Deductive (Proof) System 2 3.2 Gentzen System G 3 3.3 Hilbert System H 4 3.4 Soundness and Completeness; Consistency
More information(A 3 ) (A 1 ) (1) COMPUTING CIRCUMSCRIPTION. Vladimir Lifschitz. Department of Computer Science Stanford University Stanford, CA
COMPUTING CIRCUMSCRIPTION Vladimir Lifschitz Department of Computer Science Stanford University Stanford, CA 94305 Abstract Circumscription is a transformation of predicate formulas proposed by John McCarthy
More informationLOGIC PROPOSITIONAL REASONING
LOGIC PROPOSITIONAL REASONING WS 2017/2018 (342.208) Armin Biere Martina Seidl biere@jku.at martina.seidl@jku.at Institute for Formal Models and Verification Johannes Kepler Universität Linz Version 2018.1
More informationDescription Logics. Foundations of Propositional Logic. franconi. Enrico Franconi
(1/27) Description Logics Foundations of Propositional Logic Enrico Franconi franconi@cs.man.ac.uk http://www.cs.man.ac.uk/ franconi Department of Computer Science, University of Manchester (2/27) Knowledge
More informationOn the Complexity of the Reflected Logic of Proofs
On the Complexity of the Reflected Logic of Proofs Nikolai V. Krupski Department of Math. Logic and the Theory of Algorithms, Faculty of Mechanics and Mathematics, Moscow State University, Moscow 119899,
More information----."I I.- *,a Int. Cod. on Tools for AI San Jose, CA-Nov. 1991
----."I I.- *,a Int. Cod. on Tools for AI San Jose, CA-Nov. 1991 Fast Hypothetical Reasoning System using Inference-Path Network Mitsuru Ishizuka and Fumiaki It0 * Institute of Industrial Science, University
More informationTitle: Logical Agents AIMA: Chapter 7 (Sections 7.4 and 7.5)
B.Y. Choueiry 1 Instructor s notes #12 Title: Logical Agents AIMA: Chapter 7 (Sections 7.4 and 7.5) Introduction to Artificial Intelligence CSCE 476-876, Fall 2018 URL: www.cse.unl.edu/ choueiry/f18-476-876
More informationMathematical Logic. Introduction to Reasoning and Automated Reasoning. Hilbert-style Propositional Reasoning. Chiara Ghidini. FBK-IRST, Trento, Italy
Introduction to Reasoning and Automated Reasoning. Hilbert-style Propositional Reasoning. FBK-IRST, Trento, Italy Deciding logical consequence Problem Is there an algorithm to determine whether a formula
More informationPropositional Logic Language
Propositional Logic Language A logic consists of: an alphabet A, a language L, i.e., a set of formulas, and a binary relation = between a set of formulas and a formula. An alphabet A consists of a finite
More informationKnowledge 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 informationPropositional logic. Programming and Modal Logic
Propositional logic Programming and Modal Logic 2006-2007 4 Contents Syntax of propositional logic Semantics of propositional logic Semantic entailment Natural deduction proof system Soundness and completeness
More informationToward Computing Conflict-Based Diagnoses in Probabilistic Logic Programming
Toward Computing Conflict-Based Diagnoses in Probabilistic Logic Programming Arjen Hommersom 1,2 and Marcos L.P. Bueno 2 1 Open University of the Netherlands 2 Radboud University Nijmegen, The Netherlands
More informationInference Methods In Propositional Logic
Lecture Notes, Artificial Intelligence ((ENCS434)) University of Birzeit 1 st Semester, 2011 Artificial Intelligence (ENCS434) Inference Methods In Propositional Logic Dr. Mustafa Jarrar University of
More information-1- THE PROBABILITY THAT TWEETY IS ABLE TO FLY Giangiacomo Gerla Dipartimento di Matematica e Fisica, Università di Camerino ITALY.
-1- THE PROBABILITY THAT TWEETY IS ABLE TO FLY Giangiacomo Gerla Dipartimento di Matematica e Fisica, Università di Camerino ITALY. Abstract. Consider the question of assigning a probabilistic valuation
More informationPřednáška 12. Důkazové kalkuly Kalkul Hilbertova typu. 11/29/2006 Hilbertův kalkul 1
Přednáška 12 Důkazové kalkuly Kalkul Hilbertova typu 11/29/2006 Hilbertův kalkul 1 Formal systems, Proof calculi A proof calculus (of a theory) is given by: A. a language B. a set of axioms C. a set of
More informationOutline. Logical Agents. Logical Reasoning. Knowledge Representation. Logical reasoning Propositional Logic Wumpus World Inference
Outline Logical Agents ECE57 Applied Artificial Intelligence Spring 008 Lecture #6 Logical reasoning Propositional Logic Wumpus World Inference Russell & Norvig, chapter 7 ECE57 Applied Artificial Intelligence
More informationMATHEMATICAL ENGINEERING TECHNICAL REPORTS. Deductive Inference for the Interiors and Exteriors of Horn Theories
MATHEMATICAL ENGINEERING TECHNICAL REPORTS Deductive Inference for the Interiors and Exteriors of Horn Theories Kazuhisa MAKINO and Hirotaka ONO METR 2007 06 February 2007 DEPARTMENT OF MATHEMATICAL INFORMATICS
More informationComputation and Logic Definitions
Computation and Logic Definitions True and False Also called Boolean truth values, True and False represent the two values or states an atom can assume. We can use any two distinct objects to represent
More informationLogic and Inferences
Artificial Intelligence Logic and Inferences Readings: Chapter 7 of Russell & Norvig. Artificial Intelligence p.1/34 Components of Propositional Logic Logic constants: True (1), and False (0) Propositional
More informationCS21 Decidability and Tractability
CS21 Decidability and Tractability Lecture 20 February 23, 2018 February 23, 2018 CS21 Lecture 20 1 Outline the complexity class NP NP-complete probelems: Subset Sum NP-complete problems: NAE-3-SAT, max
More informationReasoning Under Uncertainty: Introduction to Probability
Reasoning Under Uncertainty: Introduction to Probability CPSC 322 Lecture 23 March 12, 2007 Textbook 9 Reasoning Under Uncertainty: Introduction to Probability CPSC 322 Lecture 23, Slide 1 Lecture Overview
More informationChapter 13 Uncertainty
Chapter 13 Uncertainty CS4811 Artificial Intelligence Nilufer Onder Department of Computer Science Michigan Technological University 1 Outline Types of uncertainty Sources of uncertainty Nonmonotonic logics
More informationPropositional Logic Arguments (5A) Young W. Lim 10/11/16
Propositional Logic (5A) Young W. Lim Copyright (c) 2016 Young W. Lim. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version
More informationReasoning Under Uncertainty: Introduction to Probability
Reasoning Under Uncertainty: Introduction to Probability CPSC 322 Uncertainty 1 Textbook 6.1 Reasoning Under Uncertainty: Introduction to Probability CPSC 322 Uncertainty 1, Slide 1 Lecture Overview 1
More informationCritical Reading of Optimization Methods for Logical Inference [1]
Critical Reading of Optimization Methods for Logical Inference [1] Undergraduate Research Internship Department of Management Sciences Fall 2007 Supervisor: Dr. Miguel Anjos UNIVERSITY OF WATERLOO Rajesh
More informationOn the Use of an ATMS for Handling Conflicting Desires
On the Use of an ATMS for Handling Conflicting Desires Leila Amgoud and Claudette Cayrol Institut de Recherche en Informatique de Toulouse 118, route de Narbonne 31062 Toulouse, France {amgoud, ccayrol}@irit.fr
More informationClause/Term Resolution and Learning in the Evaluation of Quantified Boolean Formulas
Journal of Artificial Intelligence Research 1 (1993) 1-15 Submitted 6/91; published 9/91 Clause/Term Resolution and Learning in the Evaluation of Quantified Boolean Formulas Enrico Giunchiglia Massimo
More informationSolvers for the Problem of Boolean Satisfiability (SAT) Will Klieber Aug 31, 2011
Solvers for the Problem of Boolean Satisfiability (SAT) Will Klieber 15-414 Aug 31, 2011 Why study SAT solvers? Many problems reduce to SAT. Formal verification CAD, VLSI Optimization AI, planning, automated
More informationOverview Model-based Debugging Basic Ideas and Relationships
Overview Model-based Debugging Basic Ideas and Relationships Franz Wotawa TU Graz, Institute for SoftwareTechnology Inffeldgasse 16b/, A-8010 Graz, Austria wotawa@ist.tugraz.at Dagstuhl Seminar Understanding
More informationDiscrete Mathematics. (c) Marcin Sydow. Sets. Set operations. Sets. Set identities Number sets. Pair. Power Set. Venn diagrams
Contents : basic definitions and notation A set is an unordered collection of its elements (or members). The set is fully specified by its elements. Usually capital letters are used to name sets and lowercase
More informationMathematical Logic Part Three
Mathematical Logic Part hree riday our Square! oday at 4:15PM, Outside Gates Announcements Problem Set 3 due right now. Problem Set 4 goes out today. Checkpoint due Monday, October 22. Remainder due riday,
More informationPropositional Logic: Review
Propositional Logic: Review Propositional logic Logical constants: true, false Propositional symbols: P, Q, S,... (atomic sentences) Wrapping parentheses: ( ) Sentences are combined by connectives:...and...or
More informationResolving Conflicts in Action Descriptions
Resolving Conflicts in Action Descriptions Thomas Eiter and Esra Erdem and Michael Fink and Ján Senko Institut für Informationssysteme 184/3, Technische Universität Wien Favoritenstraße 9-11, 1040 Wien,
More informationPropositional Logic. Fall () Propositional Logic Fall / 30
Propositional Logic Fall 2013 () Propositional Logic Fall 2013 1 / 30 1 Introduction Learning Outcomes for this Presentation 2 Definitions Statements Logical connectives Interpretations, contexts,... Logically
More informationA 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 Jaurès 78340 Les Clayes-sous-bois FRANCE Abstract
More informationPropositional logic. Programming and Modal Logic
Propositional logic Programming and Modal Logic 2006-2007 4 Contents Syntax of propositional logic Semantics of propositional logic Semantic entailment Natural deduction proof system Soundness and completeness
More informationPropositional Logic: Evaluating the Formulas
Institute for Formal Models and Verification Johannes Kepler University Linz VL Logik (LVA-Nr. 342208) Winter Semester 2015/2016 Propositional Logic: Evaluating the Formulas Version 2015.2 Armin Biere
More informationArtificial Intelligence
Artificial Intelligence Propositional Logic [1] Boolean algebras by examples U X U U = {a} U = {a, b} U = {a, b, c} {a} {b} {a, b} {a, c} {b, c}... {a} {b} {c} {a, b} {a} The arrows represents proper inclusion
More informationIntelligent Agents. Pınar Yolum Utrecht University
Intelligent Agents Pınar Yolum p.yolum@uu.nl Utrecht University Logical Agents (Based mostly on the course slides from http://aima.cs.berkeley.edu/) Outline Knowledge-based agents Wumpus world Logic in
More informationInference Methods In Propositional Logic
Lecture Notes, Advanced Artificial Intelligence (SCOM7341) Sina Institute, University of Birzeit 2 nd Semester, 2012 Advanced Artificial Intelligence (SCOM7341) Inference Methods In Propositional Logic
More informationIntelligent Systems. Propositional Logic. Dieter Fensel and Dumitru Roman. Copyright 2008 STI INNSBRUCK
Intelligent Systems Propositional Logic Dieter Fensel and Dumitru Roman www.sti-innsbruck.at Copyright 2008 STI INNSBRUCK www.sti-innsbruck.at Where are we? # Title 1 Introduction 2 Propositional Logic
More informationKnowledge based Agents
Knowledge based Agents Shobhanjana Kalita Dept. of Computer Science & Engineering Tezpur University Slides prepared from Artificial Intelligence A Modern approach by Russell & Norvig Knowledge Based Agents
More informationPropositional and Predicate Logic - V
Propositional and Predicate Logic - V Petr Gregor KTIML MFF UK WS 2016/2017 Petr Gregor (KTIML MFF UK) Propositional and Predicate Logic - V WS 2016/2017 1 / 21 Formal proof systems Hilbert s calculus
More informationFirst Order Logic: Syntax and Semantics
irst Order Logic: Syntax and Semantics COMP30412 Sean Bechhofer sean.bechhofer@manchester.ac.uk Logic Recap You should already know the basics of irst Order Logic (OL) It s a prerequisite of this course!
More informationLogical Agent & Propositional Logic
Logical Agent & Propositional Logic Berlin Chen Department of Computer Science & Information Engineering National Taiwan Normal University References: 1. S. Russell and P. Norvig. Artificial Intelligence:
More informationTruth-Functional Logic
Truth-Functional Logic Syntax Every atomic sentence (A, B, C, ) is a sentence and are sentences With ϕ a sentence, the negation ϕ is a sentence With ϕ and ψ sentences, the conjunction ϕ ψ is a sentence
More informationA Strong Relevant Logic Model of Epistemic Processes in Scientific Discovery
A Strong Relevant Logic Model of Epistemic Processes in Scientific Discovery (Extended Abstract) Jingde Cheng Department of Computer Science and Communication Engineering Kyushu University, 6-10-1 Hakozaki,
More informationNon-Monotonic Formalisms
Chapter 4 Non-Monotonic Formalisms Não há regra sem excepção. (There is no rule without an exception) Portuguese saying A characteristic of human reasoning is the ability to deal with incomplete information.
More informationPropositional Logic Arguments (5A) Young W. Lim 11/8/16
Propositional Logic (5A) Young W. Lim Copyright (c) 2016 Young W. Lim. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version
More informationComputational Logic. Davide Martinenghi. Spring Free University of Bozen-Bolzano. Computational Logic Davide Martinenghi (1/30)
Computational Logic Davide Martinenghi Free University of Bozen-Bolzano Spring 2010 Computational Logic Davide Martinenghi (1/30) Propositional Logic - sequent calculus To overcome the problems of natural
More informationPropositional Logic: Methods of Proof (Part II)
Propositional Logic: Methods of Proof (Part II) You will be expected to know Basic definitions Inference, derive, sound, complete Conjunctive Normal Form (CNF) Convert a Boolean formula to CNF Do a short
More informationDeliberative Agents Knowledge Representation I. Deliberative Agents
Deliberative Agents Knowledge Representation I Vasant Honavar Bioinformatics and Computational Biology Program Center for Computational Intelligence, Learning, & Discovery honavar@cs.iastate.edu www.cs.iastate.edu/~honavar/
More informationA Static Model Based Engine for Model Based Reasoning
A Static Model Based Engine for Model Based Reasoning Peter Fröhlich and Wolfgang Nejdl University of Hannover Lange Laube 3, 30159 Hannover, Germany ffroehlich, nejdlg@kbs.uni-hannover.de Abstract Most
More information2. The Logic of Compound Statements Summary. Aaron Tan August 2017
2. The Logic of Compound Statements Summary Aaron Tan 21 25 August 2017 1 2. The Logic of Compound Statements 2.1 Logical Form and Logical Equivalence Statements; Compound Statements; Statement Form (Propositional
More information