Knowledge Processing 1. Aims of session  Introduce types of reasoning  Deterministic  Propositional logic  Predicate logic.

Slides:



Advertisements
Similar presentations
Artificial Intelligence
Advertisements

The Logic of Quantified Statements
1 DCP 1172 Introduction to Artificial Intelligence Chang-Sheng Chen Topics Covered: Introduction to Nonmonotonic Logic.
Knowledge Representation Methods
Reasoning Lindsay Anderson. The Papers “The probabilistic approach to human reasoning”- Oaksford, M., & Chater, N. “Two kinds of Reasoning” – Rips, L.
Propositional Calculus A propositional calculus formula is composed of atomic propositions, which area simply statements that are either true or false.
Logical Agents Chapter 7. Why Do We Need Logic? Problem-solving agents were very inflexible: hard code every possible state. Search is almost always exponential.
1 Chapter 7 Propositional and Predicate Logic. 2 Chapter 7 Contents (1) l What is Logic? l Logical Operators l Translating between English and Logic l.
ARTIFICIAL INTELLIGENCE TECHNIQUES Knowledge Processing 1.
EE1J2 – Discrete Maths Lecture 5 Analysis of arguments (continued) More example proofs Formalisation of arguments in natural language Proof by contradiction.
CSE115/ENGR160 Discrete Mathematics 01/20/11 Ming-Hsuan Yang UC Merced 1.
Survey of Mathematical Ideas Math 100 Chapter 3, Logic
First Order Logic. This Lecture Last time we talked about propositional logic, a logic on simple statements. This time we will talk about first order.
Predicates and Quantifiers
NONMONOTONIC LOGIC AHMED SALMAN MALIK. OVERVIEW Monotonic Logic Nonmonotonic Logic Usage and Applications Comparison with other forms of logic Related.
Artificial Intelligence: Definition “... the branch of computer science that is concerned with the automation of intelligent behavior.” (Luger, 2009) “The.
Notes for Chapter 12 Logic Programming The AI War Basic Concepts of Logic Programming Prolog Review questions.
INTELLIGENT SYSTEMS Rule based systems 1. Aims of session To understand  Basic principles  Forward chaining  Problems with rule-based systems  Backward.
1 Chapter 7 Propositional and Predicate Logic. 2 Chapter 7 Contents (1) l What is Logic? l Logical Operators l Translating between English and Logic l.
Aims of session  Last week  Deterministic  Propositional logic  Predicate logic  This week (Basis of this section Johnson and Picton 1995)  Non-monotonic.
Propositional Calculus Composed of symbols –P – some true statement P might represent something like “It is Monday” or “the car is red” And sentences –a.
Chapter 1 Logic Section 1-1 Statements Open your book to page 1 and read the section titled “To the Student” Now turn to page 3 where we will read the.
Fall 2002CMSC Discrete Structures1 Let’s get started with... Logic !
© Jalal Kawash 2010Peeking into Computer Science George Boole English Mathematician His The Mathematical Analysis of Logic, 1848 is the first.
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.
Chapter 1, Part II: Predicate Logic With Question/Answer Animations.
Fundamentals of Logic 1. What is a valid argument or proof? 2. Study system of logic 3. In proving theorems or solving problems, creativity and insight.
Soft Computing Lecture 19 Part 2 Hybrid Intelligent Systems.
ARTIFICIAL INTELLIGENCE [INTELLIGENT AGENTS PARADIGM] Professor Janis Grundspenkis Riga Technical University Faculty of Computer Science and Information.
Chapter 3: Introduction to Logic. Logic Main goal: use logic to analyze arguments (claims) to see if they are valid or invalid. This is useful for math.
Automated Reasoning Early AI explored how to automated several reasoning tasks – these were solved by what we might call weak problem solving methods as.
Basic Concepts of Logic An Overview of Introduction to Logic Yingrui Yang
Artificial Intelligence 7. Making Deductive Inferences Course V231 Department of Computing Imperial College, London Jeremy Gow.
Lecture 7 – Jan 28, Chapter 2 The Logic of Quantified Statements.
Artificial Intelligence “Introduction to Formal Logic” Jennifer J. Burg Department of Mathematics and Computer Science.
Chapter 2 Symbolic Logic. Section 2-1 Truth, Equivalence and Implication.
Discrete Structures Predicate Logic 1 Dr. Muhammad Humayoun Assistant Professor COMSATS Institute of Computer Science, Lahore.
First Order Logic Lecture 3: Sep 13 (chapter 2 of the book)
1 Knowledge Based Systems (CM0377) Introductory lecture (Last revised 28th January 2002)
Propositions and Arguments. What is a proposition? A proposition is a predicative sentence that only contains a subject and a predicate S is P.
Chapter 2 Fundamentals of Logic 1. What is a valid argument or proof?
Chapter 7. Propositional and Predicate Logic Fall 2013 Comp3710 Artificial Intelligence Computing Science Thompson Rivers University.
Section 1.5 and 1.6 Predicates and Quantifiers. Vocabulary Predicate Domain Universal Quantifier Existential Quantifier Counterexample Free variable Bound.
Lecture 041 Predicate Calculus Learning outcomes Students are able to: 1. Evaluate predicate 2. Translate predicate into human language and vice versa.
3.3 – The Conditional A conditional statement is a compound statement that uses the connective if…then. The conditional is written with an arrow, so “if.
Section 1.4. Propositional Functions Propositional functions become propositions (and have truth values) when their variables are each replaced by a value.
Propositional and predicate logic
Artificial Intelligence Techniques Knowledge Processing 2-MSc.
Intelligent Systems Rule based systems 1. Aims of session To understand Basic principles Forward chaining Problems with rule-based systems Backward chaining.
Propositional Calculus
Knowledge Representation Techniques
CHAPTER 5 Handling Uncertainty BIC 3337 EXPERT SYSTEM.
Chapter 7. Propositional and Predicate Logic
Knowledge Representation and Reasoning
Applied Discrete Mathematics Week 5: Mathematical Reasoning
The function of knowledge representation scheme is
CMSC Discrete Structures
Chapter 1 The Foundations: Logic and Proofs
CHAPTER 1: LOGICS AND PROOF
Introduction to Predicates and Quantified Statements I
Back to “Serious” Topics…
Applied Discrete Mathematics Week 2: Proofs
Chapter 7. Propositional and Predicate Logic
Knowledge Representation I (Propositional Logic)
Discrete Mathematics Lecture 4 & 5: Predicate and Quantifier
George Boole English Mathematician
Predicates and Quantifiers
Logic Logic is a discipline that studies the principles and methods used to construct valid arguments. An argument is a related sequence of statements.
Dr. Unnikrishnan P.C. Professor, EEE
Habib Ullah qamar Mscs(se)
Presentation transcript:

Knowledge Processing 1

Aims of session  Introduce types of reasoning  Deterministic  Propositional logic  Predicate logic

Deterministic  Artistole ( BC)  Basic form  If-Then  First part of rule is either true or false, if true then second part of part activated this can also be true or false.  If first part is true then system can initiate an action to make the second part true  Deduction-truth of a fact can be deducted from another.

Example (Taken from Johnson and Picton)  IF image contains unknown object THEN take evasive action  The known fact “The image has an unknown object” is true  Deduced fact “take evasive action”is true

 George Boole worked out how new statements can be deduced by linking them with AND and OR (connectives).  Using with the previous example the previous known fact can be split into two facts  “image contains an object” is true AND “object cannot be matched in database” is true.  The known facts have been combined into a single statement which is  “image contains an object” AND “object cannot be matched in database” is true.

 Using Boolean logic we can work out the truth of a proposition given the truth values of the sub-propositions.  Propostional logic

Predicate logic  Evaluates truth values of compound propositions for the quantifiers  “for all” (Universal quantifier)  “there exists” (existential quantifier)

Dynamic reasoning  Logical reasoning does allow functioning when faced with incomplete or inconsistent information to deal with a rapidly changing environment.  A classic example (taken from Johnson and Picton 1995) “Tweety is a bird” is true and we know “birds fly” is true deduce “Tweety can fly”

 Problem is a new fact is introduced “Tweety is a penguin” is true and “penguins cannot fly” is true, “Tweety can fly” is false.  What happened?

 Original deduction was based on two propositions and default knowledge. Deterministic logic assumes no default knowledge-so we have a problem.  Non-monotonic logic allows deduction to change as new evidence arrives, so avoiding needing extra quantifiers.

Non-deterministic logic  Introduce extra logic values such as “unknown”  Probability

Proposition and truth  T(X) is true if X is true  T(X) is false if X is false  T(X)=T(Y)

 Why is T(X)=T(Y) not the same as X=Y?

Connectives  X ^Ymeans X AND Y  X v Ymeans X OR Y  ¬Xmeans NOT X  X  Ymeans X implies Y (only false when X is true and Y is False).

Implies  Taken from Johnson and Picton  X is inside Y so if Y is false X cannot be true. X Y

Predicate Logic  In predicate logic we use variable and have quantifiers.  Proposition in predicate logic are split into a subject (argument) and predicate.

 Hot(water)  argument:water  predicate:Hot  True if water is hot  False if water is not hot.  Hot(x) only when a specifc item substituted for x will there it have a truth value.  Predicate can have more than one argument.

Quantifiers  (universal qualifier) For all x, P(x) is true  (existential qualifier) There exists for x such that P(x) is true.

Example  If ( on (sensor x))  Then on(alarm)  The predicate on(sensor x) is true if sensor x is ON, on(alarm) is true if the alarm is sounding. Therefore there exists a value of x such that the predicate on(sensor x) is true then sound the alarm.

Next week  Rules of inference  Uncertainty in reasoning

References  Johnson J and Picton P (1995) Mechatronics : designing intelligent machines. - Vol.2 : concepts in artificial intelligence Oxford : Butterworth-Heinemann pg