# Today I Learned

Some of the things I've learned every day since Oct 10, 2016

## 113: One Generalization of AND, OR, NOT to Fuzzy Logic

July 14, 2017

Posted by on In fuzzy logic, where the set of possible values is replaced with the range , generalizations of the basic AND, OR, and NOT operators is needed which can handle input from the new domain. The only requirement of such generalizations is that they agree with their more specific counterparts when given input from . However, there are choices which are more intuitive and advantageous than others.

One such choice is defining

- AND(a, b) = a*b
- OR(a, b) = a + b – a*b
- NOT(a) = 1 – a

The formulas for AND and NOT are intuitive enough, and even though the formula for OR may not be, it’s easily derived from those of the other 2 using the equivalence

OR(a, b) = NOT(AND(NOT(a), NOT(b))).

Advertisements

## Recent Comments