Earlier quoted context omitted.
Isn't the AND operation often represented using multiplication notation (dot or star) because it is basically a boolean multiplication?
It's not so much that it is "boolean multiplication" (because how do you define that, also because digital representation of booleans implies that integer multiplication still applies) so much as AND follows similar Laws as multiplication, in particular AND is distributive across OR in a similar way multiplication is distributive over addition. [Example: a * (b + c) a * b + a * c] Because it follows similar rules, it…
Minimal Boolean Formulas (2011)
11–20 of 21 posts
Re: Minimal Boolean Formulas (2011)
#12Could one do this directly with transistors or standard cells? Seems very useful for ASICs, particularly structured ASICs which are mapped from FPGA lookup tables of size 4-6.
Re: Minimal Boolean Formulas (2011)
#13Re: Minimal Boolean Formulas (2011)
#14Using the * operator for AND is very non-standard. Unicode provides ¬ for negation, ∧ for conjunction and ∨ for disjunction. These are commonly used in CS literature, along with bar(s) over variables or expressions to denote negation, which are definitely a mixed bag for readability.
Boolean algebra then use product, sum, and complement [2].
Both can express the same thing. In this case `*` is easier to type than `·`.
Re: Minimal Boolean Formulas (2011)
#15Re: Minimal Boolean Formulas (2011)
#16Earlier quoted context omitted.
Isn't the AND operation often represented using multiplication notation (dot or star) because it is basically a boolean multiplication?
It's not so much that it is "boolean multiplication" (because how do you define that, also because digital representation of booleans implies that integer multiplication still applies) so much as AND follows similar Laws as multiplication, in particular AND is distributive across OR in a similar way multiplication is distributive over addition. [Example: a * (b + c) a * b + a * c] Because it follows similar rules, it…
Seems like overkill, abstract algebra seems sufficient to categorize both boolean logic and integer operations as having the common structure of a ring.
Re: Minimal Boolean Formulas (2011)
#17Earlier quoted context omitted.
It's not so much that it is "boolean multiplication" (because how do you define that, also because digital representation of booleans implies that integer multiplication still applies) so much as AND follows similar Laws as multiplication, in particular AND is distributive across OR in a similar way multiplication is distributive over addition. [Example: a * (b + c) a * b + a * c] Because it follows similar rules, it…
Do you really need to introduce category theory for that? Seems like overkill, abstract algebra seems sufficient to categorize both boolean logic and integer operations as having the common structure of a ring.
> […] abstract algebra seems sufficient to categorize both boolean logic and integer operations as having the common structure of a ring.
I don't think Ring Theory is any easier than Category Theory to learn/teach, I rather think that Category Theory is a subset of some of best parts of abstract algebra, especially Group Theory, boiled down to the sufficient parts to describe (among other things) practical function composition tools for computing.
Re: Minimal Boolean Formulas (2011)
#18Earlier quoted context omitted.
Isn't the AND operation often represented using multiplication notation (dot or star) because it is basically a boolean multiplication?
It's not so much that it is "boolean multiplication" (because how do you define that, also because digital representation of booleans implies that integer multiplication still applies) so much as AND follows similar Laws as multiplication, in particular AND is distributive across OR in a similar way multiplication is distributive over addition. [Example: a * (b + c) a * b + a * c] Because it follows similar rules, it…
Yes. Multiplication of unsigned 1-bit integers is the same function as boolean AND.
Re: Minimal Boolean Formulas (2011)
#19Earlier quoted context omitted.
Isn't the AND operation often represented using multiplication notation (dot or star) because it is basically a boolean multiplication?
It's not so much that it is "boolean multiplication" (because how do you define that, also because digital representation of booleans implies that integer multiplication still applies) so much as AND follows similar Laws as multiplication, in particular AND is distributive across OR in a similar way multiplication is distributive over addition. [Example: a * (b + c) a * b + a * c] Because it follows similar rules, it…