Jump to content

Talk:Boolean algebra

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Boole did not invent Boolean Algebra

[edit]

According to a paper by Stanley Burris ( https://www.math.uwaterloo.ca/~snburris/htdocs/MYWORKS/PREPRINTS/aboole.pdf): "Contrary to popular belief Boole did not work with a two-element Boolean algebra, nor with the Boolean algebra of subsets of a given set. Boole was simply not doing Boolean algebra, nor Boolean rings."

Tashiro~enwiki (talk) 05:56, 26 December 2021 (UTC)[reply]

CS guy tackles modus ponens with mixed results

[edit]

See the current status of my new section on Boolean algebra at modus ponens. For discussion, here's my addition just added:

The equivalent concept as formulated in Boolean algebra, the material conditional, expressing x implies y, is notated and defined by .

Modus ponens and modus tollens follow from the definition above, the rules of negation, and the commutative constant identity for disjunction:

For modus ponens, assuming (x implies y is true) and we have:

For modus tollens, again assuming and , we have:

This is Boolean algebra as filtered through how an ancient CS guy conceptualizes symbolic reasoning. Pedantic we can do. My problem is to make the rule set complete, I seemed to need to add a problematic rule:

This is problematic because it seems to hoist a level above the definition of rightarrow recently introduced.

I scanned the rules here at this page, and my extremely formal and pedantic justification for doing this seems lacking. I'm not even sure this page has defined equality as an operator resolving to a truth value (as common in many computer languages). A better mathematician than I will spot whether this is indeed an axiomatic gap at this page, or a merely an expository gap, or merely a gap of implied application, or even more merely the braino of an antique from across the aisle.

Also, if you can standardize the pedagogy, fill your boots. I was trying to avoid the arithmetic metaphor for this slight application, though perhaps that was misguided.

Note that I'm an extreme tumbleweed editor and I'm unlikely to return here; this is already far more time than I ordinarily expend in any one place. — MaxEnt 02:22, 14 October 2022 (UTC)[reply]

Just to be clear, my strange rule reads to a CS guy as "rewrites as" at the level of whole equations. I'm well aware this is a frame jump, even if it also happens to be algebraically sound. — MaxEnt 02:27, 14 October 2022 (UTC)[reply]
You seem to be looking for the law of the excluded middle, but this is a distinct axiom, and if it is rejected, then you get intuitionistic logic. From there, things snowball into Heyting algebras and assorted other logics. Much of it is not straight-forward. 67.198.37.16 (talk) 01:48, 28 April 2023 (UTC)[reply]

Countable boolean algebras?

[edit]

The word "countable" does not appear in this article. Nor is it mentioned that some boolean algebras are not power sets. Never mind that there are (40-year-old) classification theorems for countable boolean algebras. I would love it if this was remedied, either in this article, or in some other. Alas, I am not finding such an exposition in Wikipedia. I do not have the wherewithal to be bold and write such content myself. Anyone? 67.198.37.16 (talk) 01:40, 28 April 2023 (UTC)[reply]

Oooh, seems that Boolean algebras canonically defined begins to tackle this. Still, this article should mention this. 67.198.37.16 (talk) 02:05, 28 April 2023 (UTC)[reply]
This article is not about Boolean algebras — that's at Boolean algebra (structure). This is about "Boolean algebra" as a mass noun — basically the same as the propositional calculus. --Trovatore (talk) 02:12, 28 April 2023 (UTC)[reply]

Duality

[edit]

To find the dual operator one has to negate the operands and find the operator that provides the opposite results with the negated operands. Here are the truth tables of all 8 dual operator pairs:

000111
001110
100011
111000
010101
011100
110001
101010
010101
011100
100011
111000
010101
001110
110001
111000
000111
001110
110001
111000
000111
011100
100011
111000
010101
001110
100011
111000
010101
011100
110001
111000

Motivation:

In lambda calculus for instance Boolean values can be represented by the and combinators. Let be a function that takes two arguments and returns the first (selector-1) and let be a function that returns the second (selector-2).

Lambda calculus is written in prefix-notation, so the leftmost symbol is the operator.

Suppose we try to figure out which combinator should be 0 and which one should be 1 by applying and to pairs of and . There are 64 ways to combine tree of , and two variables to form such a binary function application. The 32 triplets with or in the operator position merely select an argument. Almost half of the others are duplicates with renamed variables.

Let's have a look at the ones with just one of the variables (either a or b) first.

If we bind the variables with lambda expressions, we get all four possible Boolean unary operators - but not unambiguously.

Now let's have a look at the expressions with both variables.

We get 8 of 16 Boolean binary operators but because of duality it is impossible to decide whether or is the Boolean 0 or 1, respectively. 41.66.98.160 (talk) 22:43, 19 March 2024 (UTC)[reply]

Not edit warring

[edit]

Hi, I remade the edit as an accident, I didn't notice it was reverted. The logical connectives sidebar really does fit better in the "Operations" section semantically speaking, but I was moving it to the lead because that section looked crowded in my monitor, since the template pushed the table downwards and created a big blank space. As to whether it's useless, I think the template is useful as soon as any logical notation is featured, since it shows different notational variants for each of the connectives, so readers who are used to, say, & instead of ∧, will not be confused by the discrepancy between what they're used to and the article. But if you don't want it in the lead, again, I don't actually care enough to undo your edits, I did it by accident because I thought I must have forgotten to do it. Thiagovscoelho (talk) 18:55, 23 March 2024 (UTC)[reply]

Incorrect notation?

[edit]

The article suggests that Boolean algebra uses the same notation as propositional logic, but this is incorrect. Modern Boolean algebra uses the same notation as elementary algebra (i.e., the dot symbol, plus sign, etc.). Could an established editor research with mainstream sources and update the article? Thanks.... 2600:1008:A111:42FB:3041:712:E13E:4B2F (talk) 17:36, 21 July 2024 (UTC)[reply]

Boolean algebras and Boolean rings are equivalent structures, one using logical connectives as operators, and the other using arithmetic operations. You are asserting that Boolean rings are more used in modern mathematics. This seems not true. If this were true, the exclusive or (the multiplication of Boolean rings) would be more used than the ordinary or. This is not the case. D.Lazard (talk) 18:46, 21 July 2024 (UTC)[reply]