CLASSICAL LOGIC and FUZZY LOGIC

Slides:



Advertisements
Similar presentations
Fuzzy Sets and Fuzzy Logic
Advertisements

Graphical Technique of Inference
Fuzzy Expert System  An expert might say, “ Though the power transformer is slightly overloaded, I can keep this load for a while”.  Another expert.
Chapter 2 Fundamentals of Logic Dept of Information management National Central University Yen-Liang Chen.
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.
Copyright © Cengage Learning. All rights reserved.
Fuzzy Logic The restriction of classical propositional calculus to a two- valued logic has created many interesting paradoxes over the ages. For example,
CLASSICAL LOGIC and FUZZY LOGIC. CLASSICAL LOGIC In classical logic, a simple proposition P is a linguistic, or declarative, statement contained within.
Fuzzy Expert System. Basic Notions 1.Fuzzy Sets 2.Fuzzy representation in computer 3.Linguistic variables and hedges 4.Operations of fuzzy sets 5.Fuzzy.
Fuzzy Expert Systems. Lecture Outline What is fuzzy thinking? What is fuzzy thinking? Fuzzy sets Fuzzy sets Linguistic variables and hedges Linguistic.
Fuzzy Logic Frank Costanzo – MAT 7670 Spring 2012.
Propositional Logic. Negation Given a proposition p, negation of p is the ‘not’ of p.
From Chapter 4 Formal Specification using Z David Lightfoot
COMP 578 Fuzzy Sets in Data Mining Keith C.C. Chan Department of Computing The Hong Kong Polytechnic University.
Proof by Deduction. Deductions and Formal Proofs A deduction is a sequence of logic statements, each of which is known or assumed to be true A formal.
Propositional Calculus Math Foundations of Computer Science.
Classical Relations and Fuzzy Relations
Rule-Based Fuzzy Model. In rule-based fuzzy systems, the relationships between variables are represented by means of fuzzy if–then rules of the following.
Adapted from Discrete Math
Propositions and Truth Tables
Systems Architecture I1 Propositional Calculus Objective: To provide students with the concepts and techniques from propositional calculus so that they.
Fuzzy Logic. Lecture Outline Fuzzy Systems Fuzzy Sets Membership Functions Fuzzy Operators Fuzzy Set Characteristics Fuzziness and Probability.
Propositional Calculus CS 270: Mathematical Foundations of Computer Science Jeremy Johnson.
Theory and Applications
Logical Agents Chapter 7. Outline Knowledge-based agents Logic in general Propositional (Boolean) logic Equivalence, validity, satisfiability.
“Principles of Soft Computing, 2 nd Edition” by S.N. Sivanandam & SN Deepa Copyright  2011 Wiley India Pvt. Ltd. All rights reserved. CHAPTER 12 FUZZY.
CS6133 Software Specification and Verification
Mathematical Preliminaries
Chapter 2 Logic 2.1 Statements 2.2 The Negation of a Statement 2.3 The Disjunction and Conjunction of Statements 2.4 The Implication 2.5 More on Implications.
Fuzzy Expert System n Introduction n Fuzzy sets n Linguistic variables and hedges n Operations of fuzzy sets n Fuzzy rules n Summary.
Ch.3 Fuzzy Rules and Fuzzy Reasoning
Foundations of Discrete Mathematics Chapter 1 By Dr. Dalia M. Gil, Ph.D.
CT214 – Logical Foundations of Computing Darren Doherty Rm. 311 Dept. of Information Technology NUI Galway
Fuzzy Logic 1. Introduction Form of multivalued logic Deals reasoning that is approximate rather than precise The fuzzy logic variables may have a membership.
March 3, 2016Introduction to Artificial Intelligence Lecture 12: Knowledge Representation & Reasoning I 1 Back to “Serious” Topics… Knowledge Representation.
Artificial Intelligence Logical Agents Chapter 7.
Logical Agents. Outline Knowledge-based agents Logic in general - models and entailment Propositional (Boolean) logic Equivalence, validity, satisfiability.
Chapter 1 Logic and Proof.
Chapter 7. Propositional and Predicate Logic
2. The Logic of Compound Statements Summary
Classical Relations and Fuzzy Relations
Chapter 8 : Fuzzy Logic.
Advanced Algorithms Analysis and Design
Knowledge Representation and Reasoning
Knowledge and reasoning – second part
CHAPTER 3 Logic.
The Propositional Calculus
Fuzzy Control Electrical Engineering Islamic University of Gaza
Propositional Calculus: Boolean Functions and Expressions
Chapter 8 Logic Topics
Propositional Logic and Methods of Inference
Propositional Calculus: Boolean Algebra and Simplification
Propositional Logic Defining Propositional Logic
Chapter 1 The Foundations: Logic and Proof, Sets, and Functions
CSE 311 Foundations of Computing I
CS201: Data Structures and Discrete Mathematics I
Back to “Serious” Topics…
The Method of Deduction
Computer Security: Art and Science, 2nd Edition
MAT 3100 Introduction to Proof
Chapter 7. Propositional and Predicate Logic
Statements of Symbolic Logic
TRUTH TABLES.
This Lecture Substitution model
Foundations of Discrete Mathematics
Logic Logic is a discipline that studies the principles and methods used to construct valid arguments. An argument is a related sequence of statements.
ece 720 intelligent web: ontology and beyond
CS201: Data Structures and Discrete Mathematics I
Introduction to Fuzzy Set Theory
Logical truths, contradictions and disjunctive normal form
Presentation transcript:

CLASSICAL LOGIC and FUZZY LOGIC

CLASSICAL LOGIC In classical logic, a simple proposition P is a linguistic, or declarative, statement contained within a universe of elements, X, that can be identified as being a collection of elements in X that are strictly true or strictly false. The veracity (truth) of an element in the proposition P can be assigned a binary truth value, called T (P), For binary (Boolean) classical logic, T (P) is assigned a value of 1 (truth) or 0 (false). If U is the universe of all propositions, then T is a mapping of the elements, u, in these propositions (sets) to the binary quantities (0, 1), or T : u ∈ U −→ (0, 1)

CLASSICAL LOGIC

CLASSICAL LOGIC Disjunction (∨) Conjunction (∧) Negation (−) Let P and Q be two simple propositions on the same universe of discourse that can be combined using the following five logical connectives Disjunction (∨) Conjunction (∧) Negation (−) Implication (→) Equivalence (↔)

CLASSICAL LOGIC define sets A and B from universe, where these sets might represent linguistic ideas or thoughts. A propositional calculus (sometimes called the algebra of propositions) will exist for the case where proposition P measures the truth of the statement that an element, x, from the universe X is contained in set A and the truth of the statement Q that this element, x, is contained in set B, or more conventionally, P : truth that x ∈ A Q : truth that x ∈ B where truth is measured in terms of the truth value, i.e., İf x ∈ A, T (P) = 1; otherwise, T (P) = 0 İf x ∈ B, T (Q) = 1; otherwise, T (Q) = 0 or, using the characteristic function to represent truth (1) and falsity (0), the following notation results:

CLASSICAL LOGIC The five logical connectives already defined can be used to create compound propositions, where a compound proposition is defined as a logical proposition formed by logically connecting two or more simple propositions.

CLASSICAL LOGIC Truth table for various compound propositions

CLASSICAL LOGIC The implication P →Q can be represented in set-theoretic terms by the relation R, Suppose the implication operation involves two different universes of discourse; P is a proposition described by set A, which is defined on universe X, and Q is a proposition described by set B, which is defined on universe Y.

CLASSICAL LOGIC IF A, THEN B. This implication is also equivalent to the linguistic rule form, IF A, THEN B. Another compound proposition in linguistic rule form is the expression IF A, THEN B, ELSE C

CLASSICAL LOGIC Tautologies In classical logic it is useful to consider compound propositions that are always true, irrespective of the truth values of the individual simple propositions. Classical logical compound propositions with this property are called tautologies. Tautologies are useful for deductive reasoning, for proving theorems, and for making deductive inferences.

CLASSICAL LOGIC Tautologies Some common tautologies follow: Proof ?

CLASSICAL LOGIC Tautologies Truth table (modus ponens) Truth table (modus tollens)

CLASSICAL LOGIC Deductive Inferences The modus ponens deduction is used as a tool for making inferences in rule-based systems. A typical if–then rule is used to determine whether an antecedent (cause or action) infers a consequent (effect or reaction). Suppose we have a rule of the form IF A, THEN B, where A is a set defined on universe X and B is a set defined on universe Y. As discussed before, this rule can be translated into a relation between sets A and B;

CLASSICAL LOGIC Deductive Inferences Suppose a new antecedent, say A’, is known. Can we use modus ponens deduction to infer a new consequent, say B’, resulting from the new antecedent? That is, can we deduce, in rule form, IF A’, THEN B’? Yes, through the use of the composition operation. Since ‘‘A implies B’’ is defined on the Cartesian space X × Y, B can be found through the following set-theoretic formulation,

CLASSICAL LOGIC Deductive Inferences

CLASSICAL LOGIC Deductive Inferences The compound rule IF A, THEN B, ELSE C can also be defined in terms of a matrix relation as where the membership function is determined as

CLASSICAL LOGIC EXAMPLE Suppose we have two universes of discourse for a heat exchanger problem described by the following collection of elements, X = {1, 2, 3, 4} and Y = {1, 2, 3, 4, 5, 6}. Suppose X is a universe of normalized temperatures and Y is a universe of normalized pressures. Define crisp set A on universe X and crisp set B on universe Y as follows: A = {2, 3} and B = {3, 4}. The deductive inference IF A, THEN B (i.e., IF temperature is A, THEN pressure is B) will yield a matrix describing the membership values of the relation R, i.e., χR(x, y) That is, the matrix R represents the rule IF A, THEN B as a matrix of characteristic (crisp membership) values.

FUZZY LOGIC The restriction of classical propositional calculus to a two-valued logic has created many interesting paradoxes over the ages. For example, the Barber of Seville is a classic paradox (also termed Russell’s barber). In the small Spanish town of Seville, there is a rule that all and only those men who do not shave themselves are shaved by the barber. Who shaves the barber? Another example comes from ancient Greece. Does the liar from Crete lie when he claims, ‘‘All Cretians are liars?’’ If he is telling the truth, his statement is false. But if his statement is false, he is not telling the truth. A simpler form of this paradox is the two-word proposition, ‘‘I lie.’’ The statement can not be both true and false.

FUZZY LOGIC A fuzzy logic proposition, P∼ , is a statement involving some concept without clearly defined boundaries. Most natural language is fuzzy, in that it involves vague and imprecise terms. Statements describing a person’s height or weight or assessments of people’s preferences about colors or menus can be used as examples of fuzzy propositions. The truth value assigned to P∼ can be any value on the interval [0, 1]. The assignment of the truth value to a proposition is actually a mapping from the interval [0, 1] to the universe U of truth values, T , as indicated

FUZZY LOGIC indicates that the degree of truth for the proposition is equal to the membership grade of x in the fuzzy set A∼ .

FUZZY LOGIC The logical connectives of negation, disjunction, conjunction, and implication are also defined for a fuzzy logic.

FUZZY LOGIC As before in binary logic, the implication connective can be modeled in rule-based form; and it is equivalent to the following fuzzy relation, The membership function of R∼ is expressed by the following formula:

FUZZY LOGIC

FUZZY LOGIC

FUZZY LOGIC Approximate reasoning The ultimate goal of fuzzy logic is to form the theoretical foundation for reasoning about imprecise propositions; such reasoning has been referred to as approximate reasoning [Zadeh, 1976, 1979]. Approximate reasoning is analogous to classical logic for reasoning with precise propositions, and hence is an extension of classical propositional calculus that deals with partial truths.

FUZZY LOGIC Approximate reasoning

FUZZY LOGIC