Boolean logic
An algebra in which the only values are true and false — 1 and 0 — and the only operations are AND, OR and NOT. It turns reasoning into calculation: logical statements can be combined and simplified by fixed rules, the way ordinary algebra combines numbers.
O arquivo profundo está escrito em inglês por enquanto — traduções verificadas estão nos planos. O recurso de tradução do seu navegador funciona bem nesta página.

✦ Espere, sério?
George Boole's algebra of true and false sat as a mathematical curiosity for about ninety years. Then in 1937 a twenty-one-year-old MIT master's student, Claude Shannon, submitted a thesis showing that Boole's two values map exactly onto electrical switches that are open or closed, and every logical operation onto a wiring pattern of relays. That single thesis — often called the most important master's thesis of the century — is the reason every computer on Earth is built out of AND, OR and NOT gates.
O que é
Boolean logic is arithmetic for truth. Every variable holds one of two values — true or false, 1 or 0 — and three operations combine them: AND (true only if both inputs are true), OR (true if either is true), and NOT (flips true to false). From those three, any logical statement whatsoever can be built and, crucially, simplified by algebraic rules: a tangled condition can be reduced to its smallest equivalent form the way `2x + 3x` reduces to `5x`. Boole laid it out in an 1847 pamphlet and in full in his 1854 book *An Investigation of the Laws of Thought*, proposing that the laws of human reasoning could be written as equations.
Por que importou
For two thousand years logic had been Aristotle's — a catalogue of valid argument forms studied in words. Boole made it mathematics: something you could compute with, prove things about, and mechanize. That last part is everything. A machine cannot follow a rhetorical syllogism, but it can very easily be true or false, on or off, and combine those states by fixed rules. Boolean logic is the bridge that let physical devices — relays, then vacuum tubes, then transistors — carry out reasoning, because it reduced reasoning to operations a switch can perform.
O que desbloqueou
Every digital device is a physical Boolean expression. Logic gates, adders, memory cells, processors, and the entire discipline of digital design are built from AND/OR/NOT acting on 1s and 0s. Boolean algebra also underlies database queries, search engines (AND/OR/NOT keywords), and the conditionals in every program. Boole died in 1864 believing he had formalized the laws of thought; he had, in fact, written the operating manual for machines that would not exist for another eighty years.
Versão mínima viável
A truth table: list every combination of true/false inputs and write down the intended output for each. That table alone completely defines any Boolean function — and two switches in series are AND, two in parallel are OR.
Este verbete ainda aguarda seu relato completo — os cartógrafos estão trabalhando. Seu lugar no grafo já está verificado.
Requer
Fios que passam por esta capacidade
How did counting become the machine that computes?7 passosWhy couldn't the Romans build a computer?7 passosFontes
- — George Boole, *An Investigation of the Laws of Thought* (1854)
- — George Boole, *The Mathematical Analysis of Logic* (1847)
- — Claude E. Shannon, 'A Symbolic Analysis of Relay and Switching Circuits' (MIT master's thesis, 1937)
Algo errado nesta página? Cada afirmação aqui foi feita para sobreviver ao questionamento. Sugerir uma correção →