My objective for this post is to set parallels between logical, set, and numerical unary and binary operations. That is, I want to relate:
Union($\cup$) --> Or($\vee$) --> Addition (+)
Intersection($\cap$) --> And($\wedge$) --> Multiplication(*)
The definitions of the union and intersection include the and and or operators, so their relationship is clear. Addition and multiplication were set in their positions because multiplication can be seen as "stronger" than addition, as an intersection can be seen as a "stronger" operation than a union (In my eyes).
In set theory and Boolean algebra, De-Morgan's law states:
Sets: $(A\cup B)^c=A^c \cap B^c \text{ and } (A\cap B)^c=A^c \cup B^c$
Logic: $\neg (A\vee B)=\neg A \wedge \neg B \text{ and } \neg (A\wedge B)=\neg A \vee \neg B$
However, numerical operations are different. I want to find a function $f(x)$ such that:
$f(a+b)=f(a)f(b) \text{ and } f(ab)=f(a)+f(b)$
This $f(x)$ would be the "complement" or "negation" of the reals.
The exponential ($r^x$) satisfies the first equation but not the second, and the logarithm $\log_r (x)$ satisfies the second equation but not the first, but I want a function that satisfies both at once. I've tried taking the convolution of those functions (assuming a range of $(0,\infty)$), but the resulting function did not hold the desired properties. Other combinations, such as multiplication and addition, also do not work. Using this unknown function $f(x)$, we can include in our table:
$(A-B)^c$ --> Implication($\Rightarrow$) --> $a+f(b)$
Difference($A-B$) --> Non-implication($\not\Rightarrow$) --> $f(a)\cdot b$
$(A\backslash B)^c$ --> XOR($\not\Leftrightarrow$) --> $bf(a)+af(b)$
Symmetric Difference($A\backslash B$) --> Biconditional(XNOR*)($\Leftrightarrow$) --> $f(bf(a)+af(b))$ *This association is not completely correct, but okay for this case
Another couple of associations I made, which may be wrong:
$\subset$ --> $\Leftarrow$ --> $<$
$\subseteq$ --> $\Leftarrow$ --> $\leq$
$\supset$ --> $\Rightarrow$ --> $>$
$\supseteq$ --> $\Rightarrow$ --> $\geq$
My three questions are:
- What is this unknown function $f(x)$?
- Can we find any comparisons for other types of binary/unary operators, and are there better operations to use in the reals for this example with a “complement” function that satisfies De-Morgan’s law for this specific pair of operations (except for use of logic operators with numbers, eg. $3\wedge 5$)?
- Can we add any other operations on sets, logic, or numbers to these associations of operators?
Please correct me if I get any of these details wrong!
The domain of $f$ only has to include to positive real numbers. While 0 and negative numbers would be nice to include, logarithm properties make that extremely difficult.
This question is already answered for question 1 (the function must be 0), but answers for questions 2 and 3 would be welcome!