CM3112 Artificial Intelligence
Fuzzy logic:
Implicative model of approximate reasoning
Steven Schockaert
SchockaertS1@cardiff.ac.uk
School of Computer Science & Informatics Cardiff University
Modus ponens X is A
if X is A then Y is B Y is B
temperature > 25o
if temperature > 25o then driving time to the beach > 60 minutes
driving time to the beach > 60 minutes
Modus ponens
Y
B
AX
“if X is A then Y is B” puts a restriction on the possible elements in X × Y
Note in particular that we can model this restriction as a relation R from X to Y, in which case B= A∘R
Generalised modus ponens temperature is rather high
if temperature is high then driving time to the beach is long driving time to the beach is quite long
X is A’
fuzzy set A’
if X is A then Y is B fuzzy relation R Y is B’ B’= A’∘R
max T (A(x), R(x, y)) = B(y)
y
T (A(x), R(x, y) B(y) Modelling if-then rules as fuzzy relations
R(x, y) IT (A(x), B(y))
It can be shown that this view leads to the following choice for R:
R(x, y) = IT (A(x), B(y))
3
max T (A(x), R(x, y)) = B(y)
y
T (A(x), R(x, y) B(y) Modelling if-then rules as fuzzy relations
R(x, y) IT (A(x), B(y))
It can be shown that this view leads to the following choice for R:
R(x, y) = IT (A(x), B(y))
Instead of a residual implicator, it is also possible to use an S-implicator,
but this changes the nature of the rule
‣ With a residual implicator, we are modelling truth-qualifying rules
the more X is A the more it is true that Y is B Example: “If the temperature is high, you need to drink a lot”
‣3
With an S-implicator, we are modelling uncertainty-qualifying rules
the more X is A the more it is certain that Y is B Example: “If the temperature is cold, I come to work by car”