Fuzzy Logic - Basics of Fuzzy Logic
Fuzzy Logic - Basics of Fuzzy Logic
1 1 1
1 0 0
0 1 0
0 0 0
Truth Tables
Disjunction
1 1 1
1 0 1
0 1 1
0 0 0
Truth Tables
Implication
1 1 1
1 0 0
0 1 1
0 0 1
Truth Tables
Negation
[[ϕ]] [[¬ϕ]]
1 0
0 1
Example
This definition implies that the propositions
Four is an even number AND 2+ 5 = 9.
Four is an even number IMPLICATION 2 + 5 = 9.
Larsen implication: 𝑤→ 𝛼, 𝛽 = 𝛼 ⋅ 𝛽
and not the the Łukasiewicz implication and the Gödel implication
obtained extending propositional logic.
Truth Functions (4)
• In the framework of fuzzy logic, we should always choose a t-norm as the
truth function for conjunction.
• The minimum can be considered as a special t-norm, since it is the only
idempotent t-norm which means that only the minimum satisfies the
property
t (α,α) = α for all α ∈ [ 0, 1] .
• Only the idempotence of a t-norm can guarantee that the truth values of
the proposition ϕ and ϕ ∧ ϕ coincide, which at first sight seems to be a
canonical requirement, letting the minimum seem to be the only
reasonable choice for the truth functions for the conjunction in the context
of fuzzy logic.
• However, the following example shows that the idempotency property is
not always desirable.
Example of conjunction with t-norm
A buyer has to decide between the houses A and B . The houses are very
similar in most aspects. So, the buyer makes the decision considering the
criteria good price and good location. After careful consideration the
following “truth values” are assigned to the decisive aspects:
Example (cont.)
• He chooses house x ∈ {A,B} for which the proposition
“The price of house x is good AND The location of house x is good”
yields the greater truth value.
• This means that the buyer will choose house A if
[[ϕ1 ∧ ϕ2]] > [[ϕ3 ∧ ϕ4]],
and house B otherwise.
• When we determine the truth value of the conjunction by the minimum, we
would obtain the value 0.6 for both of the houses and thus the houses
would be regarded as equally good.
• But this is counterintuitive because house A has definitely a better price
than house B and the locations are equally good.
• However, when we choose a non-idempotent t-norm, for example, the
algebraic product or the Łukasiewicz t-norm, as truth function for the
conjunction, we will always favour house A .
Truth Functions (5)
• Equally, in the framework of fuzzy logic, we should always choose a t-
conorm as the truth function for disjunction.
• Like the minimum is the only idempotent t-conorm which means that
only the minimum satisfies the property
s (α,α) = α for all α ∈ [ 0, 1] .
• Applying the disjunction in the sense of the maximum only the
proposition with the greatest truth value determines the truth value
of the disjunction of the propositions.
• We can avoid this disadvantage, if we give up idempotency.
t-norms and Implications
• In addition to the connection between t-norms and t-conform
(duality), we can also find connections between t-norms and
implications.
⃡
𝑡 (𝛼, 𝛽) = 𝑡⃗ max{𝛼, 𝛽}, min{𝛼, 𝛽}
= t (𝑡⃗(𝛼, 𝛽), 𝑡⃗(𝛽, 𝛼))
=min { 𝑡⃗(𝛼, 𝛽), 𝑡⃗(𝛽, 𝛼)}.
Quantifiers
• Besides the logical operators like conjunction, disjunction, implication or negation in (fuzzy) logic,
there also exist the quantifiers ∀ (all) and ∃ (exists).
• The universal quantifier ∀ and the existential quantifier ∃ are closely related to the conjunction
and the disjunction, respectively.
• If the universal set X is finite, e.g. X = {x1, . . . , xn} , then
The truth value of the statement (∀x ∈ X)(P (x)) would be:
• Other t-norms than the minimum are normally not used for the universal quantifier, because the
non-idempotent property leads easily to the truth value zero in the case of an infinite universe of
discourse.
Quantifiers (2)
The same consideration about the existential quantifier
leads to
[[(∃ x ∈ X)(P (x))]]= sup{[[P(x)]]; x ∈ X}
Example
Consider the predicate P(x) with the interpretation “x is a high velocity”. Let the truth
value [[P(x)]] be given by the fuzzy set of the high velocities from Figure shown before
[[P(x)]] = μhv(x)
We have for instance
[[P( 150)]] = 0, [[P( 170)]] = 0. 5 and [[P( 190)]] = 1.
Analogously, we obtain
[[∃x ∈ [ 100, 180] : P(x)]] = 0. 75.
Summary
• In this session about fuzzy logic we have discussed
• various ways of combining fuzzy propositions.
• An essential assumption we have used is that of truth functionality.
• This means that the truth value of the combination of several propositions depends only on the
truth values of the propositions, but not on the individual propositions.
• If we understand the conjunction in its classical sense, a conjunctive combination of
a proposition with itself should be equivalent to itself, which is not satisfied for
nonidempotent t-norms.
• Another possibility is to understand the conjunction as a list of pro and con
arguments for a thesis or as a proof.
• In any case, the repeated use of the same (fuzzy) argument within a proof might
result in a loss of credibility and thus idempotency is not desirable, even for a
conjunction of a proposition with itself.
• Fortunately, for fuzzy control these consideration are of minor importance, because
in this application area fuzzy logic is used in a more restricted context, where we do
not have to worry about combining the same proposition with itself.