Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8374

Off topic discussion • Re: Boolean Algebra?

$
0
0
I came across this just now so it seems that at least I am not the only person coming to these "naive" conclusions. Lots of reasons to wonder this, like why the order of precedence is so similar as well.

https://www.allaboutcircuits.com/textbo ... rithmetic/

In Boolean Algebra there is only 1 or 0. In numerical terms these are also 1 and 0. Nothing else exists. Addition and multiplication work nicely with it.

Thanks Hippy for your kind input, however reading this suggests there is no subtraction (and therefore no division)... apparently ... so NOT is something else to get my head around. It's obvious what NOT does thanks, I can explain it using Venn diagrams and set theory but what I can't do is link it to simple maths like I can with and and or.

I don't think Wikipedia is quite what I'm looking for, think I'll find myself a mathematician and buy them a drink or three
Firstly, in Boolean algebra there is True and False. Any numeric value is an equivalence, usually for the purpose of implementation on a general purpose computer. It is, in theory, arbitrary, though 0 for False and non-0 for True is a common equivalence that makes for easy implementation of Boolean operations in most high-level languages, because of the structure of the hardware and machine code instructions.

Secondly, you seem to be persisting in the myth that finding equivalent patterns between Boolean logic and arithmetic is either anything other than coincidence, or in any way useful. To be clear, there is no reason why such equivalences should exist, and no value in those that might appear, from the surface form, to exist. To persist with trying to find consistent equivalences is to deceive yourself and potentially others. I will say it another way, Boolean logic and arithmetic are two separate, unrelated, mathematical concepts. This (at least the Boolean side of it) is what the Wikipedia article is trying to establish. By ignoring it, you are throwing out the underlying theory of Boolean logic, and opening yourself to alternative, mythical and even mystic, explanations.

Statistics: Posted by davidcoton — Thu Sep 12, 2024 11:43 pm



Viewing all articles
Browse latest Browse all 8374

Trending Articles