Theory and Applications

Slides:



Advertisements
Similar presentations
Artificial Intelligence
Advertisements

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.
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.
L41 Lecture 2: Predicates and Quantifiers.. L42 Agenda Predicates and Quantifiers –Existential Quantifier  –Universal Quantifier 
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 SYSTEMS. Fuzzy Systems Fuzzy Sets – To quantify and reason about fuzzy or vague terms of natural language – Example: hot, cold temperature small,
Fuzzy Sets and Fuzzy Logic Theory and Applications
Fuzzy Logic Frank Costanzo – MAT 7670 Spring 2012.
Computability and Complexity 9-1 Computability and Complexity Andrei Bulatov Logic Reminder (Cnt’d)
Exercise Assume four types of fuzzy predicates applicable to persons (age, height, weight, and level of education). Several specific fuzzy predicates.
Lecture 19 Exam: Tuesday June14 4-6pm Overview. Disclaimer The following is a only study guide. You need to know all the material treated in class.
Fuzzy Expert System.
PART 7 Constructing Fuzzy Sets 1. Direct/one-expert 2. Direct/multi-expert 3. Indirect/one-expert 4. Indirect/multi-expert 5. Construction from samples.
PART 8 Approximate Reasoning 1. Fuzzy expert systems 2. Fuzzy implications 3. Selecting fuzzy implications 4. Multiconditional reasoning 5. Fuzzy relation.
Lecture 19 Exam: Tuesday June15 4-6pm Overview. General Remarks Expect more questions than before that test your knowledge of the material. (rather then.
Theory and Applications
Mathematical Induction
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.
Theoretical basis of GUHA Definition 1. A (simplified) observational predicate language L n consists of (i) (unary) predicates P 1,…,P n, and an infinite.
1st-order Predicate Logic (FOL)
Chap. 2 Fundamentals of Logic. Proposition Proposition (or statement): an declarative sentence that is either true or false, but not both. e.g. –Margret.
Theory and Applications
Mathematical Preliminaries (Hein 1.1 and 1.2) Sets are collections in which order of elements and duplication of elements do not matter. – {1,a,1,1} =
1 Math/CSE 1019C: Discrete Mathematics for Computer Science Fall 2011 Suprakash Datta Office: CSEB 3043 Phone: ext
Pattern-directed inference systems
2.3Logical Implication: Rules of Inference From the notion of a valid argument, we begin a formal study of what we shall mean by an argument and when such.
Copyright © Cengage Learning. All rights reserved. CHAPTER 3 THE LOGIC OF QUANTIFIED STATEMENTS THE LOGIC OF QUANTIFIED STATEMENTS.
Copyright © Curt Hill Quantifiers. Copyright © Curt Hill Introduction What we have seen is called propositional logic It includes.
DISCRETE COMPUTATIONAL STRUCTURES
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.
Logical Systems and Knowledge Representation Fuzzy Logical Systems 1.
1 Introduction to Computational Linguistics Eleni Miltsakaki AUTH Spring 2006-Lecture 8.
Hazırlayan DISCRETE COMPUTATIONAL STRUCTURES Propositional Logic PROF. DR. YUSUF OYSAL.
1 Introduction to Abstract Mathematics Expressions (Propositional formulas or forms) Instructor: Hayk Melikya
“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.
Fuzzy Inference and Reasoning
LOGIC AND QUANTIFIERS. INTRODUCTION Many algorithms and proofs use logical expressions such as: “IF p THEN q” or “If p1 AND p2, THEN q1 OR q2” Therefore.
Logical Operations – Page 1CSCI 1900 – Discrete Structures CSCI 1900 Discrete Structures Logical Operations Reading: Kolman, Section 2.1.
Predicates and Quantifiers Dr. Yasir Ali. 1.Predicates 2.Quantifiers a.Universal Quantifiers b.Existential Quantifiers 3.Negation of Quantifiers 4.Universal.
Predicate Logic One step stronger than propositional logic Copyright © Curt Hill.
Chapter 2 Fundamentals of Logic 1. What is a valid argument or proof?
We will now study some special kinds of non-standard quantifiers. Definition 4. Let  (x),  (x) be two fixed formulae of a language L n such that x is.
Week 4 - Friday.  What did we talk about last time?  Floor and ceiling  Proof by contradiction.
Section 1.4. Propositional Functions Propositional functions become propositions (and have truth values) when their variables are each replaced by a value.
Ch.3 Fuzzy Rules and Fuzzy Reasoning
Foundations of Discrete Mathematics Chapter 1 By Dr. Dalia M. Gil, Ph.D.
Discrete Mathematical Structures: Theory and Applications 1 Logic: Learning Objectives  Learn about statements (propositions)  Learn how to use logical.
Propositional Logic. Assignment Write any five rules each from two games which you like by using propositional logic notations.
Fuzzy Relations( 關係 ), Fuzzy Graphs( 圖 形 ), and Fuzzy Arithmetic( 運算 ) Chapter 4.
Chapter 1 Logic and proofs
رياضيات متقطعة لعلوم الحاسب MATH 226. Chapter 1 Predicates and Quantifiers 1.4.
Chapter 8 : Fuzzy Logic.
Advanced Algorithms Analysis and Design
(State) Model-Based Approaches I Software Specification Lecture 35
Discrete Mathematics Logic.
Proposition & Predicates
Fuzzy Logic and Approximate Reasoning
CLASSICAL LOGIC and FUZZY LOGIC
CS201: Data Structures and Discrete Mathematics I
CS201: Data Structures and Discrete Mathematics I
Back to “Serious” Topics…
MA/CSSE 474 More Math Review Theory of Computation
Discrete Mathematics Logic.
CS201: Data Structures and Discrete Mathematics I
Logic Logic is a discipline that studies the principles and methods used to construct valid arguments. An argument is a related sequence of statements.
CS201: Data Structures and Discrete Mathematics I
Introduction to Fuzzy Set Theory
Presentation transcript:

Theory and Applications FUZZY SETS AND FUZZY LOGIC Theory and Applications PART 6 Fuzzy Logic 1. Classical logic 2. Multivalued logics 3. Fuzzy propositions 4. Fuzzy quantifiers 5. Linguistic hedges

Theory and Applications FUZZY SETS AND FUZZY LOGIC Theory and Applications 6. Inference from conditional fuzzy propositions 7. Inference from conditional and qualified propositions 8. Inference from quantified propositions

Classical logic Inference rules Various forms of tautologies can be used for making deductive inferences. They are referred to as inference rules. Examples : 3

Classical logic Existential quantifier Existential quantification of a predicate P(x) is expressed by the form "There exists an individual x (in the universal set X of the variable x) such that x is P". We have the following equality: 4

Classical logic Universal quantifier Universal quantification of a predicate P(x) is expressed by the form. “For every individual x (in the universal set) x is P". Clearly, the following equality holds: 5

Classical logic General quantifier Q The quantifier Q applied to a predicate P(x), x X, as a binary relation where α, β specify the number of elements of X for which P(x) is true or false, respectively. Formally, 6

Multivalued logics 7

Multivalued logics n-valued logics For any given n, the truth values in these generalized logics are usually labelled by rational numbers in the unit interval [0, 1]. The set Tn of truth values of an n-valued logic is thus defined as These values can be interpreted as degrees of truth. 8

Multivalued logics Lukasiewicz uses truth values in Tn and defines the primitives by the following equations: 9

Multivalued logics Lukasiewicz, in fact, used only negation and implication as primitives and defined the other logic operations in terms of these two primitives as follows: 10

Fuzzy propositions Unconditional and unqualified proposition The canonical form of fuzzy propositions of this type, p, is expressed by the sentence where V is a variable that takes values v from some universal set V, and F is a fuzzy set on V that represents a fuzzy predicate, such as tall, expensive, low, normal, and so on. 11

Fuzzy propositions Given a particular value of V (say, v), this value belongs to F with membership grade F(v). This membership grade is then interpreted as the degree of truth, T(p), of proposition p. That is, for each given particular value v of variable V in proposition p. This means that T is in effect a fuzzy set on [0,1], which assigns the membership grade F(v) to each value v of variable V. 12

Fuzzy propositions 13

Fuzzy propositions In some fuzzy propositions, values of variable V are assigned to individuals in a given set / . That is, variable V becomes a function V : / → V, where V ( i ) is the value of V for individual i in V. The canonical form must then be modified to the form 14

Fuzzy propositions Unconditional and qualified proposition Propositions p of this type are characterized by either the canonical form or the canonical form 15

Fuzzy propositions In general, the degree of truth, T(p), of any truth-qualified proposition p is given for each v V by the equation An example of a truth-qualified proposition is the proposition "Tina is young is very true." 16

Fuzzy propositions 17

Fuzzy propositions Let us discuss now probability-qualified propositions of the form (8.8). For any given probability distribution f on V, we have and, then, the degree T(p) to which proposition p of the form (8.8) is true is given by the formula 18

Fuzzy propositions As an example, let variable V be the average daily temperature t in °F at some place on the Earth during a certain month. Then, the probability-qualified proposition p : Pro { temperature t (at given place and time) is around 75 °F } is likely may provide us with a meaningful characterization of one aspect of climate at the given place and time. 19

Fuzzy propositions 20

Fuzzy propositions Conditional and unqualified proposition Propositions p of this type are expressed by the canonical form where X, Y are variables whose values are in sets X, Y, respectively, and A, B are fuzzy sets on X, Y, respectively. 21

Fuzzy propositions These propositions may also be viewed as propositions of the form where R is a fuzzy set on X x Y that is determined for each x X and each y Y by the formula where J denotes a binary operation on [0, 1] representing a suitable fuzzy implication. 22

Fuzzy propositions Here, let us only illustrate the connection for one particular fuzzy implication, the Lukasiewicz implication This means, for example, that T(p) = 1 when X = x1 and Y = y1; T(p) = .7 when X = x2 and Y = y1 and so on. 23

Fuzzy propositions Conditional and unqualified proposition Propositions of this type can be characterized by either the canonical form or the canonical form where Pro {X is A | Y is B} is a conditional probability. 24

Fuzzy quantifiers First Kind - Ⅰ There are two basic forms of propositions that contain fuzzy quantifiers of the first kind. One of them is the form where V is a variable that for each individual i in a given set / assumes a value V(i), F is a fuzzy set defined on the set of values of variable V, and Q is a fuzzy number on R. 25

Fuzzy quantifiers Any proposition p of this form can be converted into another proposition, p', of a simplified form, where E is a fuzzy set on a given set / that is defined by the composition 26

Fuzzy quantifiers For example, the proposition p : "There are about 10 students in a given class whose fluency in English is high“ can be replaced with the proposition p’ : "There are about 10 high-fluency English-speaking students in a given class." Here, E is the fuzzy set of "high-fluency English-speaking students in a given class." 27

Fuzzy quantifiers Proposition p' may be rewritten in the form where W is a variable taking values in R that represents the scalar cardinality, W = |E|, and, 28

Fuzzy quantifiers Example : p : There are about three students in / whose fluency in English, V( i ), is high. Assume that / = {Adam, Bob, Cathy, David, Eve}, and V is a variable with values in the interval [0, 100] that express degrees of fluency in English. 29

Fuzzy quantifiers 30

Fuzzy quantifiers First Kind - Ⅱ Fuzzy quantifiers of the first kind may also appear in fuzzy propositions of the form where V1, V2 are variables that take values from sets V1, V2, respectively, / is an index set by which distinct measurements of variables V1,V2 are identified (e.g., measurements on a set of individuals or measurements at distinct time instants), Q is a fuzzy number on R, and F1, F2 are fuzzy sets on V1, V2 respectively. 31

Fuzzy quantifiers Any proposition p of this form can be expressed in a simplified form, where E1, E2 are 32

Fuzzy quantifiers Moreover, p’ may be interpreted as we may rewrite it in the form where W is a variable taking values in R and W = | E1 ∩ E2|. 33

Fuzzy quantifiers Using the standard fuzzy intersection, we have Now, for any given sets E1 and E2 , 34

Fuzzy quantifiers Second Kind These are quantifiers such as "almost all," "about half," "most," and so on. They are represented by fuzzy numbers on the unit interval [0, 1]. Examples of some quantifiers of this kind are shown in Fig. 8.5. 35

Fuzzy quantifiers 36

Fuzzy quantifiers Fuzzy propositions with quantifiers of the second kind have the general form where Q is a fuzzy number on [0, 1], and the meaning of the remaining symbols is the same as previously defined. 37

Fuzzy quantifiers Any proposition of the this form may be written in a simplified form, where E1, E2 are fuzzy sets on X defined by 38

Fuzzy quantifiers we may rewrite p’ in the form where for any given sets E1 and E2. 39

Linguistic hedges Linguistic hedges Given a fuzzy predicate F on X and a modifier h that represents a linguistic hedge H, the modified fuzzy predicate HF is determined for each x X by the equation This means that properties of linguistic hedges can be studied by studying properties of the associated modifiers. 40

Linguistic hedges Every modifier h satisfies the following conditions: 41

Linguistic hedges A convenient class of functions that satisfy these conditions is the class where α R+ is a parameter by which individual modifiers in this class are distinguished and a [0, 1]. When α < 1, hα is a weak modifier; when α > 1, hα is a strong modifier; h1 is the identity modifier. 42

Inference from conditional propositions For classical logic Assume that the variables are related by an arbitrary relation on X × Y, not necessarily a function. Given X = u and a relation R, we can infer that Y B, where B = { y Y |<x, y> R } (Fig. 8.7a). Similarly, given X A, we can infer that Y B, where B = { y Y |<x, y> R, x A } (Fig. 8.7b).

Inference from conditional propositions Observe that this inference may be expressed equally well in terms of characteristic functions XA, XB, XR of sets A, B, R respectively, by the equation

Inference from conditional propositions

Inference from conditional propositions For fuzzy logic Assume that R is a fuzzy relation on X x Y, and A', B' are fuzzy sets on X and Y, respectively. Then, if R and A' are given, we can obtain B' by the equation which is a generalization by replacing the

Inference from conditional propositions characteristic functions with the corresponding membership functions. It can also be written in the matrix form as called the compositional rule of inference.

Inference from conditional propositions

Inference from conditional propositions Viewing proposition p as a rule and proposition q as a fact, the generalized modus ponens is expressed by the following schema:

Inference from conditional propositions Example 8.1

Inference from conditional propositions

Inference from conditional propositions Another inference rule in fuzzy logic, which is a generalized modus tollens, is expressed by the following schema: In this case, the compositional rule of inference has the form

Inference from conditional propositions Example 8.2

Inference from conditional propositions The generalized hypothetical syllogism is expressed by the following schema: X, Y, Z are variables taking values in sets X, Y, Z, respectively, and A, B,C are fuzzy sets on sets X, Y, Z, respectively.

Inference from conditional propositions Given R1, R2, R3, obtained by these equations, we say that the generalized hypothetical syllogism holds if which again expresses the compositional rule of inference. This equation may also be written in the matrix form

Inference from conditional propositions Example 8.3

Inference from conditional and qualified propositions Given a conditional and qualified fuzzy proposition p of the form p : If X is A, then Y is B is S, (8.46) where S is a fuzzy truth qualifier, and a fact is in the form "X is A’," we want to make an inference in the form “Y is B’."

Inference from conditional and qualified propositions The method of truth-value restrictions is based on a manipulation of linguistic truth values. It involves the following four steps.

Inference from conditional and qualified propositions

Inference from conditional and qualified propositions Example 8.4

Inference from conditional and qualified propositions

Inference from conditional and qualified propositions

Inference from conditional and qualified propositions Theorem 8.1 Let a fuzzy proposition of the form (8.46) be given, where S is the identity function (i.e., S stands for true), and let a fact be given in the form "X is A'," where for all and some x0 such that A(x0)= . Then, the inference “Y is B‘ " obtained by the method of truth-value restrictions is equal to the one obtained by the generalized modus ponens, provided that we use the same fuzzy implication in both inference methods.

Inference from qualified propositions Given n quantified fuzzy propositions of the form where Qi is either an absolute quantifier or a relative quantifier, and Wi is a variable compatible with the quantifier Qi, what can we infer from these propositions?

Inference from qualified propositions Quantifier extension principle Assume that the prospective inference is expressed in terms of a quantified fuzzy proposition of the form The principle states the following: if there exists a function f : Rn →R such that W = f (W1, W2, …, Wn) and Q = f (Q1, Q2, …, Qn), where the meaning of f (Q1, Q2, …, Qn) is defined by the extension principle, then we may conclude that p follows from p1, p2, …, pn.

Inference from qualified propositions Intersection / product syllogism where E, F, G are are fuzzy sets on a universal set X, Q1 and Q2 are relative quantifiers (fuzzy numbers on [0, 1]), and Q1 • Q2 is the arithmetic product of the quantifiers.

Inference from qualified propositions Propositions p1, p2, and p may be expressed in the form where W1 = Prop(F / E), W2 = Prop(G / E∩F), and W = Prop(F∩G / E).

Inference from qualified propositions Consequent conjunction syllogism where E, F, G are are fuzzy sets on a universal set X, Q1 and Q2 are relative quantifiers and Q is a relative quantifier given by

Inference from qualified propositions that is, Q is at least MAX(0, Q1 + Q2 - 1) and at most MIN(Q1, Q2). Here, MIN and MAX are extensions of min and max operations on real numbers to fuzzy numbers (Sec. 4.5).

Exercise 6 6.4 6.8 6.9 70