1 Knowledge Based Systems (CM0377) Lecture 12 (Last modified 2nd May 2002)

Slides:



Advertisements
Similar presentations
Simply Logical – Chapter 2© Peter Flach, 2000 Clausal logic Propositional clausal logic Propositional clausal logic expressions that can be true or false.
Advertisements

Computer Science CPSC 322 Lecture 25 Top Down Proof Procedure (Ch 5.2.2)
Problems Title cfr.Prolog: database of facts, rules, query and solutions.
Inference Rules Universal Instantiation Existential Generalization
Chapter 3 Elementary Number Theory and Methods of Proof.
Logic Programming Automated Reasoning in practice.
Justification-based TMSs (JTMS) JTMS utilizes 3 types of nodes, where each node is associated with an assertion: 1.Premises. Their justifications (provided.
Resolution.
Automated Reasoning Systems For first order Predicate Logic.
1 Logic Logic in general is a subfield of philosophy and its development is credited to ancient Greeks. Symbolic or mathematical logic is used in AI. In.
Default Reasoning the problem: in FOL, universally-quantified rules cannot have exceptions –  x bird(x)  can_fly(x) –bird(tweety) –bird(opus)  can_fly(opus)
Logic Use mathematical deduction to derive new knowledge.
1 DCP 1172 Introduction to Artificial Intelligence Chang-Sheng Chen Topics Covered: Introduction to Nonmonotonic Logic.
Copyright © Cengage Learning. All rights reserved. CHAPTER 5 SEQUENCES, MATHEMATICAL INDUCTION, AND RECURSION SEQUENCES, MATHEMATICAL INDUCTION, AND RECURSION.
Week 11 Review: Statistical Model A statistical model for some data is a set of distributions, one of which corresponds to the true unknown distribution.
Answer Set Programming Overview Dr. Rogelio Dávila Pérez Profesor-Investigador División de Posgrado Universidad Autónoma de Guadalajara
1 Knowledge Based Systems (CM0377) Lecture 8 (Last modified 5th March 2001)
Auto-Epistemic Logic Proposed by Moore (1985) Contemplates reflection on self knowledge (auto-epistemic) Permits to talk not just about the external world,
Well-founded Semantics with Disjunction João Alcântara, Carlos Damásio and Luís Moniz Pereira Centro de Inteligência Artificial.
Cs774 (Prasad)L7Negation1 Negation by Failure
CHORD Semantics January, F-Atoms User Defined Constraint – A::B – A[B->C], A[B=>C] – A[B(V)->C], A[B(P:T0)=>T1] Built-in Constraint – 1 : Integer,
Prolog IV Logic, condensed. 2 Propositional logic Propositional logic consists of: The logical values true and false ( T and F ) Propositions: “Sentences,”
1 Applied Computer Science II Resolution in FOL Luc De Raedt.
CPSC 322 Introduction to Artificial Intelligence September 15, 2004.
UNIVERSITY OF SOUTH CAROLINA Department of Computer Science and Engineering CSCE 580 Artificial Intelligence Ch.5 [P]: Propositions and Inference Sections.
Auto-Epistemic Logic Proposed by Moore (1985) Contemplates reflection on self knowledge (auto-epistemic) Allows for representing knowledge not just about.
Scientific Thinking - 1 A. It is not what the man of science believes that distinguishes him, but how and why he believes it. B. A hypothesis is scientific.
Knowledge Representation and Reasoning University "Politehnica" of Bucharest Department of Computer Science Fall 2010 Adina Magda Florea
Artificial Intelligence Reasoning. Reasoning is the process of deriving logical conclusions from given facts. Durkin defines reasoning as ‘the process.
NONMONOTONIC LOGIC AHMED SALMAN MALIK. OVERVIEW Monotonic Logic Nonmonotonic Logic Usage and Applications Comparison with other forms of logic Related.
17.5 Rule Learning Given the importance of rule-based systems and the human effort that is required to elicit good rules from experts, it is natural to.
Copyright © Cengage Learning. All rights reserved.
Quasigroups Defaults Foundations of AI. Given an N X N matrix, and given N colors, color the matrix in such a way that: -all cells are colored; - each.
Chapter 1-4: Properties Commutative Property: the order in which you add or multiply numbers does not change the sum or product Ex = * 8.
CSNB234 ARTIFICIAL INTELLIGENCE
1 Knowledge Based Systems (CM0377) Lecture 13 (Last modified 2nd May 2002)
Copyright © Cengage Learning. All rights reserved. CHAPTER 4 ELEMENTARY NUMBER THEORY AND METHODS OF PROOF ELEMENTARY NUMBER THEORY AND METHODS OF PROOF.
1 Knowledge Based Systems (CM0377) Lecture 4 (Last modified 5th February 2001)
Steffen Staab Advanced Data Modeling 1 of 32 WeST Häufungspunkte Bifurkation: x n+1 = r x n (1-x n ) Startwert x 0 = 0,25.
1 Knowledge Representation. 2 Definitions Knowledge Base Knowledge Base A set of representations of facts about the world. A set of representations of.
Slide 1 Propositional Definite Clause Logic: Syntax, Semantics and Bottom-up Proofs Jim Little UBC CS 322 – CSP October 20, 2014.
4.8 Writing Equations from Patterns A very useful problem-solving strategy is look for a pattern. When you make a conclusion based on a pattern of examples,
Question of the Day!  We shared a lot of examples of illogical arguments!  But how do you make a LOGICAL argument? What does your argument need? What.
Module #13: Inductive Proofs Rosen 5 th ed., § inference of a generalized conclusion from particular instances 2. mathematical demonstration of the.
Copyright © Cengage Learning. All rights reserved. CHAPTER 8 RELATIONS.
The Problem of Induction. Aristotle’s Inductions Aristotle’s structure of knowledge consisted of explanations such as: Aristotle’s structure of knowledge.
READING #4 “DEDUCTIVE ARGUMENTS” By Robert FitzGibbons from Making educational decisions: an introduction to Philosophy of Education (New York & London:
1.2 Inductive Reasoning. Inductive Reasoning If you were to see dark, towering clouds approaching what would you do? Why?
The construction of a formal argument
KR A Principled Framework for Modular Web Rule Bases and its Semantics Anastasia Analyti Institute of Computer Science, FORTH-ICS, Greece Grigoris.
1 Knowledge Based Systems (CM0377) Introductory lecture (Last revised 28th January 2002)
Reasoning deduction, induction, abduction Problem solving.
1 Knowledge Based Systems (CM0377) Lecture 6 (last modified 20th February 2002)
Chapter 2: Solving One-Step Equations & Inequalities 2.3 Simplifying Variable Expressions.
Inference in First Order Logic. Outline Reducing first order inference to propositional inference Unification Generalized Modus Ponens Forward and backward.
Logic: Proof procedures, soundness and correctness CPSC 322 – Logic 2 Textbook §5.2 March 7, 2011.
Lecture 041 Predicate Calculus Learning outcomes Students are able to: 1. Evaluate predicate 2. Translate predicate into human language and vice versa.
1.2 Reasoning Mathematically Two Types of Reasoning Remember to Silence Your Cell Phone and Put It in Your Bag!
Knowledge Based Systems
Chapter 7. Propositional and Predicate Logic
CST 24 – Logic.
Symbolic Reasoning under uncertainty
Chapter 7: Beyond Definite Knowledge
Week 13.
Logic Use mathematical deduction to derive new knowledge.
CPSC 322 Introduction to Artificial Intelligence
Prolog IV Logic, condensed.
1.3 Classifying Engineering Tasks
Answer Set Programming
Representations & Reasoning Systems (RRS) (2.2)
Presentation transcript:

1 Knowledge Based Systems (CM0377) Lecture 12 (Last modified 2nd May 2002)

2 Reasoning with incomplete information Consider: –‘If I turn the key, the engine will start’ (default reasoning - assumes no fault) –‘The engine doesn’t start, so the starter motor must be faulty’ (abduction - finding explanations for observed facts. Note this isn’t the only explanation) –‘The sky is full of dark clouds: it’s going to precipitate’ (induction from past experience) In each case, the information is incomplete

3 The Closed World Assumption ‘Everything that is not known to be true, must be false’ Recall that the Herbrand Universe U of a program P is the set of terms that can be generated from the constants and functors of P; Herbrand Base B of program P is set of ground atoms that can be generated from predicates in P and ground terms in U. Then for every ground atom A belonging to B that is not a logical consequence of P, we assume that A is false.

4 CWA closure If A is false then :-A is true. The CWA-closure of a program P is the program with :-A added to it for all A in the Herbrand base that are not logical consequences of P: CWA(P) = P  {:-A | A  B and P╞ A}

5 Example Suppose P is: likes(S, andrew) :- student_of(S, andrew). student_of(john, andrew). Then ground atoms which are logical consequences of P are: likes(john, andrew). student_of(john, andrew). Add negation of remaining atoms in Herbrand base to obtain CWA(P)...

6 Example (ctd.) likes(S, andrew) :- student_of(S, andrew). student_of(john, andrew). :-likes(andrew, andrew). :-likes(andrew, john). :-likes(john, john). :-student_of(john, john). :-student_of(andrew, andrew). :-student_of(andrew, john). Note there is only one model, namely: {likes(john, andrew), student_of(john, andrew)} Whereas there are lots of models of P. This model is the intended model of P.

7 Non-monotonicity Now suppose we add the clause C= likes(X, Y) to P. Then CWA(P  {C}) is: likes(S, andrew) :- student_of(S, andrew). likes(X, Y). student_of(john, andrew). :-student_of(john, john). :-student_of(andrew, andrew). :-student_of(andrew, john). and it is no longer true, for example, that :-likes(andrew, john) can be derived. Thus new information can invalidate previous conclusions.

8 Monotonicity and non- monotonicity Deductive reasoning is monotonic in the sense that: Theory├ Conclusion  Theory  {AnyFormula} ├ Conclusion Our closed world assumption makes reasoning non-monotonic in that by adding new clauses we can make negative conclusions no longer derivable.

9 Another way of looking at monotonicity If we define the deductive closure of a theory as set of conclusions that can be derived from it: Closure(Theory) = {Conclusion | Theory ├ Conclusion} Then montonicity can be expressed thus: Theory1  Theory2  Closure(Theory1)  Closure(Theory2) (Monotonic in the sense that as the theory gets bigger, so does the closure)

10 Notes CWA is limited to definite clauses. For a program P comprising only definite clauses then there is a unique model of CWA(P). See Flach pp , if interested, for information about Predicate Completion which applies to a program containing general clauses that has a particular property, namely that it’s ‘stratified’.

11 Next time The last lecture!! Default reasoning: –using not and negation as failure –defining special default rules Basic elements of abduction and induction