A case against Boolean logic

boris_m 66 points 83 comments May 22, 2026
abuseofnotation.github.io · View on Hacker News

Discussion Highlights (20 comments)

cheschire

The emphasis on applying false dichotomies to every situation, in my opinion, is what leads to the truthiness[0] inherent in modern partisan politics. https://en.wikipedia.org/wiki/Truthiness

unprovable

An important context here is the one in which George Boole was noticing the patterns that he created an algebra out of; he was actually analysing the Chinese book I Ching... The fact that context is so lost by the amplification of what is, itself, a distillation is, as you rightly argue, the real issue. Not sure what the answer is, but it probably isn't C^* algebras.

0xfedcafe

fp folks trying to reinvent probability theory is hilarious

amiga386

TIL there's a whole rabbithole of "why vs why not intuitionist logic": https://en.wikipedia.org/wiki/Brouwer%E2%80%93Hilbert_contro...

theow838484jj

How about you demand context is always attached to "boolean logic"? Because what author is describing is just plain bait and switch, nothing related to boolean algebra.

mcdonje

In one respect, boolean logic is popular because of bits. If we had ternary processors, ternary logic would be more popular. In another respect, boolean logic is popular because it's easy to reason about. The truth tables are relatively small in size and quantity. Not the case with ternary. Ternary is probably way better at modeling the real world, but the complexity could make code hard to understand. Maybe that can be solved. That said, boolean logic is more expressive than I think the blog post gives it credit for because it's usually only a part of the code. Like, it gets used a lot in SQL, where you're reasoning about with several columns. So, yeah, it's binary thinking on each dimension, but there are N dimensions. The alternative presented is intuitionist logic, which is practically what in the computing world? Where is it used? Or where could or should it be used? I guess it can be represented in lamba calculus...

bena

Boolean algebra is like a NAND gate. It’s simple, but it can construct any other system you want. You can reduce any statement to a series of true/false statements. Now, it may take a lot of statements, but that’s not the point. The point is to have the base be as simple as possible

thin_carapace

stating a binary choice of options to escape binary thinking ... ironic , intentionally ?

isodude

My wife does not care whatever excuse I have to why the kitchen is not in order when she comes home. I failed her anyhow. Should I tell her that boolean logic is not applicable on my intentions?

acrobionic

"Each statement can be true in one context and false in another." Is this statement itself true in all contexts, or only in some contexts? If it's true in all contexts, then we need an explanation for why this specific statement gets an exception from the rule. If it's false in some contexts, then there exist some contexts where absolute truth/falsity exists, so we can go ahead and use boolean logic just fine in those contexts.

Xcelerate

I think this question of what sentences can have truth value attached to them is significant. The liar paradox (a sentence in a formal language stating itself to be false) clearly doesn’t have a truth value. A statement that a specific program halts, however, does seem to be either true or false, regardless of whether or not a general algorithm exists that can answer such questions. In a sense, all sentences that fall on the arithmetical hierarchy seem to me to intuitively have a Boolean truth value (in the standard model, which we assume corresponds to what a program would actually “do” if we ran it forever). Set theoretic questions like AC or CH are much more difficult for me to intuitively grok in the same way, because they don’t seem to “obviously” be either true or false. You can take either and still end up with a (presumably) consistent theory.

gobdovan

This blog is one of the most confused and inaccurate collection of writing that I recurrently find on HN. The account spams a deeply flawed blog post about 'Category theory illustrated' (also referenced from this article) where it misstates central theorems in CT and this 'Case against boolean logic' article, which promises an alternative to Boolean logic, but never formulates one. The article instead gestures toward a heavily conflated 4 epistemic 'categories' (True, False, Unknown / unknowable, Meaningless / senseless) that conflate semantic truth values, epistemic states, and linguistic well-formedness. You can represent all of these distinctions inside ordinary first-order logic. You can have: Meaningless(fact)= True/False Unknown(fact) = True/False ...and so on and so forth. Where's the escape from boolean logic now? If anything, it points you to the fact that boolean logic is much more flexible than the given categories, which box you, from infinite possibilities into a few. Ironically, this could be abused even better by authority. An institution could simply say 'Human rights is a meaningless question, in the context of progress and prosperity. Asking us if we're for or against it is binary thinking.' The biggest blind spot however is the idea that a proof is a universal tool for getting to truth. This completely dismisses the central thesis in philosophy and science of analytic-synthetic distinction. Intuitionistic proof theory works for analytic claims (like math) because their truth is self-contained. But synthetic claims (clamis about how the real world actually is) cannot be proven with mathematical certainty, but only supported, challenged or revised via empirical observation. By trying to map formal proof theory directly onto politics and psychology, the author ignores how empirical truth actually works, e.g. gravity isn't proven like a theorem. as Popper noted, scientific theories are falsifiable and subject to revision, shifting from Newtonian to relativistic contexts while reality stays the same.

gottheUIblues

The normal term for the logic that has two truth values, the law of non-contradiction, and the law of the excluded middle is 'Classical Logic' which dates back centuries before George Boole. Non-classical logics which deny one or more of three properties that I've mentioned also exist

leephillips

Ternary logic seems to be widely regarded as useful in computation, because it’s implemented in several programming languages. For example, in Julia the “missing” value supplements true and false to form a ternary system.

piekvorst

Logic is identification of that which exists . Thus, a proposition either does correspond to reality or doesn’t at all. There is no partial semi-truths: the moment a concept or proposition ceases to describe reality, it becomes false. Contexts don’t change much. They are merely implicit knowledge, subject to the same binary standard. They don’t change the truth, only applicability. Mentioning Gödel here is not just cliche, it’s irrelevant. Gödel is about artificial formal deductive systems. They are not a claim to exclusive philosophy.

mcphage

In addition to the points other commenters here have made, there's a large number of different logics building up from boolean logic—predicate calculus, various modal logics, and more. So rather than argue it's wrong or useless , it seems better to see it as the lowest rung on a ladder, and if boolean logic ain't cutting it, then take a step up the ladder.

andychiare

Boolean logic/black-and-white thinking is convenient for simple processing. But the world isn't simple. If you just consider time, there are statements whose truth you can't determine: "It will rain tomorrow" (BTW, tomorrow "tomorrow" will be the day after tomorrow)

ecoherb

In biological Boolean Networks, this is a long standing form of debate, particularly the last line: "And without the correct context, the statement might not make sense at all." Should we build Boolean networks that represent biological systems that have specific configurational requirements or should the model itself encode the limited context? Often we choose something in-between, where the Boolean model of our biological system has some configurational choices (the context), but we can modify the context to see how the system operates in non-standard conditions. All of this is with the hope that the ways that the model produces contradictions and unexpected behaviors can inform how our reality produces contradictions and unexpected behaviors (most commonly cancers). The states of the representative system, the Boolean network, may make no sense, and we can diagnose why with a Boolean network, when it would be neigh impossible to understand that odd state in the real system.

ufocia

This may be the one of the differences between engineers and lawyers

futter9

Someone needs a new hobby. Goodness me. Possibly bait?

Semantic search powered by Rivestack pgvector
8,303 stories · 78,303 chunks indexed