About this book
An Investigation of the Laws of Thought appeared in 1854. Its author, George Boole, was then professor of mathematics at Queen's College, Cork, in the south of Ireland. The full title promises more than logic. It says the book is about the laws of thought on which the mathematical theories of logic and probabilities are founded. That subtitle tells you the plan. Boole wanted one method that could do two jobs: decide what follows from a set of premises, and decide how probable a conclusion is when the premises are only probable.
The book was not his first attempt. In 1847 he had published a short pamphlet, The Mathematical Analysis of Logic, written quickly and with some rough edges. The 1854 book is the mature statement. It is longer, more careful, more philosophical in tone, and it adds the whole second half on probability. Boole regarded it as his chief work, more important to him than his widely respected papers on differential equations.
Who was it written for? Not for engineers, because there were none who needed it. Not mainly for working logicians either, because in the Britain of the 1850s logic was a subject taught from Aristotle and from Oxford and Cambridge textbooks, and few of its teachers knew much algebra. Boole wrote for an educated reader willing to follow symbols: mathematicians curious about a new application, philosophers interested in the nature of reasoning, and anyone who thought the operations of the mind might obey laws as exact as those of the planets.
The question the book sets out to answer can be put simply. When we reason correctly, what exactly are we doing? Boole's answer is that correct reasoning follows laws, that these laws can be discovered by careful reflection on how language and thought work, and that once discovered they can be written as the rules of an algebra. Reasoning then becomes calculation. You translate premises into equations, apply the rules, and translate the result back into words.
This is the book most often named as the birthplace of what is now called Boolean algebra, the algebra of true and false, of on and off, of one and zero. Every digital circuit and every search query with AND, OR and NOT uses a descendant of it. But it is worth saying at once that the book is not about machines and does not foresee them. It is about the human mind. The fact that its algebra later turned out to describe switches is one of the great accidents of intellectual history, and part of what makes the book worth reading is seeing how different Boole's own aims were from the uses later found for his work.
The edition on this shelf is the Dover reprint, which reproduces the original text. It is a thick book with dense pages, many equations and long worked examples. It rewards patience. A reader who comes to it expecting a modern textbook on Boolean algebra will be puzzled, because Boole's system differs in important ways from the algebra that now carries his name. A reader who comes to it as a document of a mind discovering something new will find it absorbing.
The author
George Boole was born in 1815 in Lincoln, in the east of England. His father, John Boole, was a shoemaker with a keen interest in science and instruments, who made telescopes and taught his son what he could. The family was not well off. George had little formal schooling beyond the elementary level and never attended a university. He taught himself Latin and Greek as a boy, then modern languages, and then, in his late teens and twenties, higher mathematics, working through the French masters such as Lagrange and Laplace on his own.
He began earning a living as a schoolteacher at about sixteen, partly to support his parents and siblings, and later ran his own school in Lincoln. Mathematics was done in the evenings. In the late 1830s and 1840s he began to publish in the Cambridge Mathematical Journal, encouraged by its editor Duncan Gregory, a young Scottish mathematician who became an important correspondent. Gregory and others in that circle were interested in what was then called symbolical algebra: the idea that the symbols of algebra could be studied in their own right, apart from what they stood for, and that the same laws might govern very different kinds of object.
That idea is the seed of Boole's logic. His early research was on differential equations and on what he called methods of separating symbols of operation from symbols of quantity. In practice this meant treating an operator such as 'take the derivative' as if it were a number that could be multiplied, added and factored. A paper on this subject won him the Royal Medal of the Royal Society in 1844, a remarkable honour for a provincial schoolmaster without a degree. The habit of mind it shows is the same one that later produced the logic: look at the laws the symbols obey, and let the laws, not the meanings, drive the calculation.
In 1847 a dispute broke out between Augustus De Morgan in London and the Scottish philosopher Sir William Hamilton about who had first proposed a reform of the syllogism. Boole followed the controversy and was moved to write down his own ideas about logic. The result was The Mathematical Analysis of Logic, published the same year as De Morgan's Formal Logic. The two men became friends and correspondents. De Morgan was generous about Boole's work and helped make it known.
In 1849 Boole was appointed the first professor of mathematics at the new Queen's College in Cork. It was the first academic post he held, and he held it for the rest of his life. He was a conscientious teacher and took an active part in the college. The Laws of Thought was written in Cork during his first years there. In 1855 he married Mary Everest, a niece of George Everest, the surveyor after whom the mountain is named. Mary Everest Boole later became a writer on the teaching of mathematics in her own right. They had five daughters, several of whom had notable careers; one, Alicia Boole Stott, did original work on four-dimensional geometry, and another, Ethel Lilian Voynich, became a novelist.
After the Laws of Thought, Boole returned largely to analysis. He wrote two textbooks that were used for decades: A Treatise on Differential Equations in 1859 and A Treatise on the Calculus of Finite Differences in 1860. He kept working on the probability side of the logic and published further papers on it. He died in December 1864, aged forty-nine, of a fever and pneumonia after being caught in heavy rain on his walk to a lecture. He did not live to see his logic taken up and transformed by others.
Two features of his life bear directly on the book. First, he was self-taught, and the Laws of Thought has the confidence and the occasional unevenness of a writer who did not learn the established ways of doing things. He was not bound by them. Second, he was a deeply religious man, of a broadly Unitarian outlook, with a strong sense that the order found in mathematics reflected an order in the mind and in creation. The book's closing chapters, which reflect on the constitution of the intellect, make this explicit. A modern reader may skip those pages, but they show why Boole cared about the subject. For him, finding the laws of thought was a way of understanding what kind of being a thinking person is.
The shape of the argument
The book has two large movements, and it helps to see them before starting. The first movement builds the logic. The second applies it to probability. Between them, and around them, there are reflective chapters about method, about the nature of language and thought, and about the meaning of what has been done.
The first movement begins with aims. Boole explains why he thinks the operations of the mind in reasoning can be studied as a science, and why the right method is not to collect examples of arguments but to reflect on the general operations by which language expresses thought. He then introduces his symbols. Letters such as x and y stand for classes of things, or more precisely for the mental act of selecting a class from a larger universe. Signs of operation stand for ways of combining these acts. He then states the laws these signs obey and notices that they are almost the laws of ordinary algebra, with one crucial exception.
With the symbols and laws in place, the first movement turns to technique. Boole needs general methods for three jobs: to express any proposition as an equation, to eliminate terms that do not appear in the conclusion we want, and to solve for a term we are interested in, so that the conclusion can be read off. He develops a procedure for expanding any expression into a standard form, a procedure for elimination, and a procedure for interpreting the results, including results that at first look meaningless. He then extends the system from statements about classes of things, which he calls primary propositions, to statements about statements, which he calls secondary propositions, by an ingenious use of time.
The first movement ends with applications. Boole shows how classical syllogistic logic fits inside his algebra as a small special case. He then takes passages of real philosophical argument, from Samuel Clarke and from Spinoza, both of whom offered demonstrations about the existence and nature of God, and translates their premises into equations to see what actually follows. This is a bold demonstration. It says, in effect, that the method is not a toy but can test arguments that great minds put forward in earnest.
The second movement begins again from foundations. Boole asks what probability is and argues that it is a measure of expectation grounded in knowledge, which can be attached to events and also to the propositions that describe them. Since events can be combined in the same ways as classes and propositions, the logical algebra can express how complex events are built from simple ones. If we know the probabilities of some simple events, and we know how a complex event is logically related to them, Boole proposes a general method for computing the probability of the complex one. He works through many examples, some from the theory of games of chance, some from testimony and judgement, some from statistical problems of his day.
The book closes with reflection. Boole stands back and asks what his results say about the mind. He argues that the laws he has found are laws of the mind's correct operation, not descriptions of how people always actually think, since people often reason badly. He compares them with the laws of nature, discusses the limits of what such laws can tell us, and touches on questions of free will and the relation between formal reasoning and other forms of knowledge.
Read as a whole, the movement of the book is from language to algebra, from algebra to technique, from technique to application, and from application back to the mind. The algebra is the hinge. Everything before it prepares the ground for symbols; everything after it shows what symbols can do.
Idea one: reasoning has laws, and they can be found
The first and largest idea is the premise of the whole project. Boole believed that correct reasoning is governed by laws that are as definite as the laws of arithmetic. He did not mean rules of good manners for argument, or useful tips. He meant laws in the strong sense: general principles that hold without exception for every valid inference and that can be stated precisely.
This was a contested view in 1854. One tradition, going back to Aristotle and refined in the medieval schools, held that logic was a body of specific valid forms, the syllogisms, together with rules for recognising them. The laws were the forms. Another tradition, strong in Britain through Locke and later through John Stuart Mill, treated logic as part of the study of how knowledge is gained from experience, with induction at its centre. Boole's view differs from both. He thought the forms of the syllogism were only a few special cases of something far more general, and he thought deductive reasoning, while not the whole of knowledge, had its own exact structure that could be studied apart from questions of evidence.
How are such laws discovered? Boole's answer is interesting. He did not think they were found by surveying many arguments and generalising, as one would discover a law of botany. Nor did he think they were simply laid down by convention. He thought that a single clear case, properly reflected on, could reveal a general law, because the law is the law of an operation the mind performs. If you see clearly what it means to select from a group all the things that are both red and round, you see at once that the order of selection does not matter. You do not need a thousand trials. The law is grasped in the act.
An analogy helps. A child learning to count may notice that three stones and four stones make seven, and that four stones and three stones also make seven. At first this is an observation. But once the child understands what adding is, she sees that it could not be otherwise. The law of commutation is not a lucky regularity of stones; it belongs to the operation. Boole thought logic was like this. Its laws belong to the mind's operations of selecting, combining and excluding.
This idea is often confused with psychologism, the view that logic is a branch of empirical psychology and that its laws describe how people happen to think. Boole's title, with its talk of laws of thought, invites that reading, and later logicians such as Frege attacked views of this kind. But Boole himself drew a clear line. People reason badly all the time. The laws he sought were the laws of thought when it works correctly, much as the laws of harmony are not refuted by bad music. So his position sits somewhere between psychology and pure logic. He grounds logic in the mind, but in the mind's normative structure, not its everyday habits.
Where does this idea lead? First, to the possibility of a calculus. If reasoning has exact laws, reasoning can be done by rule, and if it can be done by rule, it can in principle be done mechanically. Boole did not take that last step, but others soon did; the economist and logician William Stanley Jevons built a logical piano, a machine for solving logical problems, in the 1860s. Second, it leads to the idea that logic is a mathematical subject. That idea transformed logic in the following century, though in directions Boole did not foresee.
Idea two: symbols for classes and the acts of mind behind them
Boole's second idea is his choice of what the symbols stand for. A letter such as x stands for a class, such as the class of men, or the class of white things. But Boole does not think of x simply as a collection sitting in the world. He thinks of it as an act of election: the mental act of picking out, from whatever we are talking about, those things that are men, or those that are white. He sometimes calls these elective symbols.
Why does this matter? Because it explains his reading of multiplication. If x selects the white things and y selects the sheep, then xy means doing both selections in turn: first select the sheep, then from those select the white ones. The result is the class of white sheep. In modern language, multiplication is intersection. It is the logical 'and'.
The act-based reading also explains the order of operations. Selecting sheep then white things gives the same result as selecting white things then sheep. So xy equals yx. This is the commutative law of multiplication, the same one that holds for numbers. Selecting white things from the result of selecting sheep and horned things gives the same as selecting white sheep and then horned ones. So multiplication is associative too. Boole draws these laws from the nature of the acts, and he observes, with evident pleasure, that they agree with the laws of ordinary algebra.
Two more symbols complete the basic picture. The symbol 1 stands for the universe of discourse: the whole range of things under discussion in a given argument. Boole was one of the first to make this notion central. We do not usually reason about everything that exists. We reason about men, or about numbers, or about the events of a day. The universe of discourse is whatever field we have agreed to talk about, and it can change from one argument to another. Selecting x from the universe gives x, so 1 times x equals x, just as with numbers. The symbol 0 stands for the empty class, the class with nothing in it. Selecting anything from nothing gives nothing, so 0 times x equals 0.
With 1 in hand, Boole can express negation. If x is the class of white things, then 1 minus x is the class of everything in the universe of discourse that is not white. Negation becomes subtraction from the universe. This is elegant: the logical 'not' turns into an ordinary algebraic operation.
An analogy from daily life: imagine a librarian with a large catalogue. The whole catalogue is 1. A request for 'books in Sanskrit' is an act x. A request for 'books printed before 1900' is an act y. The books that satisfy both requests are xy. The books in the catalogue that are not in Sanskrit are 1 minus x. A request for books that satisfy no condition we can satisfy returns 0. Boole's symbols are, in effect, the language of such requests, made exact.
What is this idea often confused with? It is easy to assume that Boole's letters stand for propositions, true or false, as in a modern truth table. In the first half of the book they do not. They stand for classes. The move to propositions comes later and is handled by a separate device. Keeping this straight prevents a lot of confusion when reading the original.
Idea three: the law that x times x equals x
Here is the point at which Boole's algebra parts company with ordinary algebra, and it is the heart of the book. If x selects the white things, then selecting the white things from the white things gives the white things again. Doing the same selection twice is the same as doing it once. So x times x, which Boole writes as x squared, equals x.
For ordinary numbers this is false in general. Three times three is nine, not three. The equation x squared equals x has only two numerical solutions: x equals 0 and x equals 1. Boole saw this and drew a striking conclusion. His logic is exactly the ordinary algebra of numbers, used with the restriction that the variables can take only the values 0 and 1. Within that restriction, all the familiar laws of algebra hold, and the special law of logic holds too. In the 1854 book he calls this the fundamental law of thought, and he derives a great deal from it.
The most famous derivation is of the law of contradiction. Start from x squared equals x. Move x to the other side: x minus x squared equals 0. Factor: x times (1 minus x) equals 0. Read this back into words. The class of things that are both x and not-x is empty. Nothing can both have and lack a property. The ancient principle of non-contradiction, which Aristotle treated as the firmest of all principles, falls out as a consequence of a simple algebraic law. Boole presents this with understandable satisfaction. It seemed to show that his law was deeper than the classical axiom.
One reason the result matters so much is that it later made Boole's system fit the world of switches. A switch is either open or closed. A wire either carries current or does not. A bit is either 0 or 1. The values to which Boole restricted his variables turned out to be exactly the values of these physical devices. When Claude Shannon wrote his master's thesis at the Massachusetts Institute of Technology in 1937, showing that circuits of relays and switches could be designed and simplified using Boolean algebra, he was building directly on this restriction. The law that Boole found by reflecting on acts of mental selection is the law that a switch obeys when it is closed twice.
There is a common confusion here. Because the variables take only the values 0 and 1, people sometimes say Boole's logic is simply two-valued logic. That is true of the later system but needs care for Boole's own. In Boole, 0 and 1 are first of all the empty class and the universe. The interpretation of 0 and 1 as false and true comes in his treatment of propositions, and even there it is mediated by talk of time. The two readings coincide formally, which is the point, but Boole arrived at the second through the first.
A second subtlety: because Boole kept the full machinery of ordinary algebra, his system contains expressions that do not satisfy the special law. For example, x plus x equals 2x, and 2x is not a class. Boole allowed such expressions to appear in the middle of a calculation, as long as the final result could be interpreted. This is one of the features that later logicians found troubling, and it is part of why the algebra that now bears his name differs from his own.
Idea four: addition, subtraction and the limits of interpretation
If multiplication is 'and', what is addition? Boole's answer is that x plus y stands for the class of things that are either x or y, but only when x and y have no members in common. For him, addition is the joining of disjoint classes. If x is the class of men and y the class of women, x plus y is the class of human beings, and the operation is perfectly clear. If x is the class of men and y the class of Englishmen, then x plus y is, in Boole's view, not properly interpretable as a class, because the Englishmen would be counted twice.
This reading of addition is called exclusive. It matches the way addition works for numbers, where adding the size of two groups gives the size of their union only if the groups do not overlap. It also lets Boole keep subtraction as the inverse of addition. x minus y means the things in x with the things in y removed, which makes sense when y is part of x. Negation, 1 minus x, is a special case.
Boole's choice has consequences. To express 'either x or y, or both', he must write x plus y times (1 minus x), splitting the union into the disjoint parts x and y-but-not-x. This is awkward, but it is always possible, and Boole had a general method for putting any expression into a form where all the added parts are disjoint.
Within ten years, Jevons argued that the exclusive reading was a mistake, and that logical 'or' should be inclusive, so that x plus y means everything that is x or y or both. With inclusive addition, x plus x equals x, mirroring the law for multiplication. This change, together with dropping subtraction and division, produced the cleaner system that later writers such as Charles Sanders Peirce and Ernst Schroder developed, and that Edward Huntington axiomatised in the early twentieth century. That system is what a modern textbook calls a Boolean algebra. It is a different object from Boole's, though they agree in much of their content.
There is also a modern way of seeing that Boole's exclusive addition was not foolish. If you take the values 0 and 1 and use arithmetic modulo two, where 1 plus 1 equals 0, then addition becomes the exclusive or, and the structure is what mathematicians call a Boolean ring. Every Boolean algebra corresponds to a Boolean ring and the other way round. So Boole's instinct that logic is a kind of arithmetic was sound. He used ordinary arithmetic, where 1 plus 1 is 2, rather than arithmetic modulo two, which is why he had to work with intermediate terms that had no meaning. But the core of his idea survived.
The lesson is general and useful. A formal system can be correct in its central insight and clumsy in its first formulation. Later workers keep the insight and replace the formulation. Reading the original shows the insight in its first, rough form, before it was polished into something that looks inevitable.
Idea five: a general method of solution
Boole was not content with an elegant notation. He wanted a method that would take any set of premises and produce any conclusion that followed from them about any chosen term. This ambition is what makes the book a work of mathematics rather than a sketch. The method has three main steps, and each embodies an idea worth understanding.
Expansion into constituents
The first step is what Boole called development. Any expression in his symbols, however complicated, can be rewritten as a sum of terms, each of which is a product of every variable or its negation. With two classes, x and y, there are four such products: xy, x times (1 minus y), (1 minus x) times y, and (1 minus x) times (1 minus y). These four divide the universe into four regions that do not overlap and together cover everything. Every thing is either both, only x, only y, or neither. Boole showed that any expression equals a weighted sum of these regions, and he gave a simple rule for the weights: evaluate the expression with x and y set to 1 or 0 as the region demands.
A modern reader will recognise this at once. It is what a computer scientist calls disjunctive normal form, and the rule for the weights is the same as filling in a truth table. Boole's expansion theorem, as it is often called, says that a function of variables restricted to 0 and 1 is fully determined by its values at the corners. It underlies every truth table drawn in a logic class today and the design of circuits in every chip.
Elimination
The second step is elimination. Often our premises mention a middle term that we want to get rid of. In the classic example, from 'all men are mortal' and 'all Greeks are men' we want a conclusion about Greeks and mortality that does not mention men. Boole gave a general rule for eliminating any term from any equation. Expressed in words, the rule says that a term can be eliminated by considering the case in which it is present and the case in which it is absent and requiring that both cases be possible together. The algebraic form is compact: if f of x equals 0 is the premise, then f of 1 times f of 0 equals 0 is the result after eliminating x. This is the general form of the syllogism, freed from the restrictions of the classical figures.
Solution and interpretation
The third step is to solve for the term we care about, so as to express it in terms of the others. Here Boole made his most daring move. He allowed himself to divide. Solving an equation for x might give x equal to some fraction. Division has no clear meaning for classes. But Boole showed that if you expand the fraction by his method, the coefficients that appear will be of four kinds: 1, 0, the indeterminate 0 over 0, and other numbers such as 1 over 0. He then gave each kind a logical reading. A coefficient of 1 means this region belongs entirely to x. A coefficient of 0 means it belongs not at all. The indeterminate 0 over 0 means some, none, or all of the region may belong to x: we do not know. And a coefficient like 1 over 0 means this region must be empty, which becomes a further condition the premises impose.
This is a remarkable piece of work. Boole took a symbol that looks like nonsense, 0 over 0, and gave it a precise logical meaning: an indefinite class. In this way his algebra could express statements like 'some X are Y', which a simple equation of classes cannot capture directly. He introduced a special symbol for such an indefinite part and handled it with care.
Where does this lead? The general method shows that logical consequence can be computed. Given premises, there is a procedure, not a flash of insight, that produces the strongest conclusion about any term. That is the first clear statement of a decision method in logic. Later results showed which parts of logic can and cannot be decided by such procedures. Boole's propositional and class logic can be. The richer logic developed by Frege and others, with quantifiers over individuals and relations, cannot in general, as Alonzo Church and Alan Turing showed in 1936. Boole stands at the start of that story.
The method is also often misread as a curiosity, a clumsy way of getting syllogisms that one could get more simply. It is better to see it as a demonstration of principle. Boole wanted to show that all of deduction about classes could be done by one uniform procedure. Whether his procedure is the most efficient is a separate question. For hand calculation it is often not. For machines, uniform procedures are exactly what is wanted.
Idea six: secondary propositions and the logic of time
So far the symbols stand for classes of things. But much of our reasoning is about statements, not things. 'If it rains, the match will be cancelled.' 'Either the witness is lying or the accused was present.' These are relations between whole propositions. Boole called propositions about things primary, and propositions about propositions secondary. He wanted his algebra to cover both.
His device is to let a letter such as x stand for the portion of time during which a given proposition is true. The universe of discourse, 1, becomes the whole of the time under consideration. Then 'x is true' becomes x equals 1: the proposition holds throughout the whole time. 'x is false' becomes x equals 0. 'If x then y' becomes the statement that the time during which x is true is contained in the time during which y is true. Combinations of propositions become combinations of time-classes, and the whole algebra of classes carries over without change.
The device is ingenious. It lets Boole reuse every theorem he has already proved. It also shows his conviction that logic has one form whatever its subject matter. Classes of things and truth-conditions of statements obey the same laws because both are acts of selection from a universe.
Later logicians, beginning with Hugh MacColl and then Frege and Peirce, dropped the reference to time. They took propositions themselves as having truth values, and they built the propositional calculus directly. In a modern presentation, a variable stands for a proposition and has the value true or false, and the connectives are defined by truth tables. That is simpler and avoids a puzzle in Boole's account: for many statements, such as mathematical truths, talk of the times when they hold seems out of place. But the formal content is the same. Boole's algebra of time-classes, restricted to the cases 0 and 1, just is propositional logic.
An analogy: imagine a security log for a building, with one column for each condition: 'door open', 'alarm armed', 'guard present'. Each condition is true at some times and false at others. A rule like 'the door is never open when the alarm is armed and no guard is present' is a statement about the overlap of time-intervals. You can check it with Boole's algebra exactly as you would check a statement about overlapping classes of things. This is close to what Boole had in mind, and it is also close to how engineers today specify the behaviour of systems over time.
The idea is sometimes confused with temporal logic, the modern study of words like 'always', 'eventually' and 'until'. Boole's time is not doing that work. He does not reason about the order of events. He uses time only as a convenient universe in which propositions can be pictured as regions. It is a device for interpretation, not a theory of time.
Idea seven: testing real arguments
One of the most striking parts of the book is the decision to apply the algebra to real philosophical arguments. Boole took demonstrations offered by Samuel Clarke, the English philosopher and theologian, and by Spinoza, each of which aimed to prove conclusions about a necessary being, and translated them into his notation. He then asked what actually follows from the premises as stated.
The exercise is instructive in two ways. First, it shows the method working on arguments that were not designed for it. Real arguments are written in natural language, with hidden assumptions and shifts of meaning. Translating them forces every premise into the open. Where a premise is ambiguous, the translator must choose, and the choice has visible consequences. Boole is careful to say that his analysis concerns the logical connection between the premises and conclusion, not the truth of the premises.
Second, the exercise shows the limits of the method. Boole could check whether a conclusion followed from premises about classes and propositions. He could not easily represent the internal structure of statements involving relations, such as 'everything that exists has a cause' or 'there is something that causes everything else'. These involve what logicians now call quantifiers and relations, and Boole's algebra has no clean way to handle them. Much of the force of the old arguments about necessary existence lies in exactly such structure. So the exercise, while impressive, also shows why a more powerful logic would be needed.
This part of the book points to a practice that matters well beyond theology. Any argument in economics, law, policy or engineering can be laid out as premises and conclusion and checked. Doing so often reveals that a conclusion needs a premise nobody stated, or that two premises silently conflict. Boole was one of the first to show, on serious examples, that this checking can be made exact. Modern tools for formal verification of software and hardware descend from the same ambition.
Idea eight: probability as logic extended
The second half of the book is less famous than the first and harder to read, but Boole regarded it as essential. His thought was this. The theory of probability, developed by Pascal, Bernoulli, Laplace and others, tells us how to compute the chance of complex events from the chances of simple ones, provided we know how the events are related. But the relations between events are logical relations. 'A happens and B does not.' 'Either A or B happens, but not both.' So the theory of probability should rest on the theory of logic. If we can express any complex event in terms of simple ones using the algebra, we should be able to compute its probability.
Boole's method goes like this, in outline. Express the events whose probabilities are known, and the event whose probability is sought, in the logical algebra. Use the expansion method to break everything into elementary constituents. Assume that the simple events are independent unless the data say otherwise. Set up equations relating the known probabilities to the unknown probabilities of the constituents. Solve. The answer may be a definite number, or it may be a range, if the data do not fix it.
This was ambitious. It amounted to a general procedure for reasoning under uncertainty, from any set of probabilistic premises to any probabilistic conclusion. Laplace had given many particular methods. Boole wanted a single one.
It ran into trouble almost at once. Henry Wilbraham, a Cambridge mathematician, published a critique in the same year, 1854, arguing that Boole's method relied on hidden assumptions of independence that the data did not justify, so that its answers were sometimes not the only ones consistent with the information given. Others pressed related objections. Boole defended and refined his method in later papers, but the general view of his successors was that the probability half of the book was flawed.
Yet one part of it has been recognised as a lasting contribution. Boole saw that a set of probability assignments can be inconsistent: there may be no way of assigning probabilities to all events that agrees with the numbers given. He worked out what he called conditions of possible experience, inequalities that the given probabilities must satisfy if they are to be coherent. For example, the probability that A and B both happen cannot exceed the probability of A alone, and cannot be less than the sum of their separate probabilities minus one. These are now called Boole's inequalities or the Boole-Frechet bounds, and the general problem of finding the range of probabilities consistent with given data is studied today using linear programming. In the twentieth century the logician Theodore Hailperin reconstructed Boole's probability logic in these terms and showed how much of it can be made rigorous.
So the idea leads in two directions. One is the modern field of probability logic and imprecise probability, where conclusions are bounds rather than single numbers. The other is the broader project of joining logic and probability, which runs through Keynes's treatise on probability, through the work of Rudolf Carnap on inductive logic, and into today's study of probabilistic reasoning in statistics and machine learning. Boole was early, and in places wrong, but he saw that the two subjects belong together.
A common misreading is that Boole simply added probability as an afterthought. He did not. In his view a theory of the laws of thought that covered only certainty would be incomplete, because most reasoning in life is about what is likely. For a reader interested in economics, where almost every judgement is made under uncertainty, this half of the book is a reminder of how old and how hard the problem is.
Idea nine: logic as a mathematical subject
Standing back from the details, the deepest effect of the book was to make logic a branch of mathematics. Before Boole, logic was taught as part of philosophy, with its own vocabulary of terms, propositions, figures and moods, and very little calculation. After Boole, and after the work of De Morgan, Peirce, Schroder, Frege and others who followed, logic became a subject with theorems, proofs and algebraic structures, studied by mathematicians as well as philosophers.
Boole was clear that he was not simply borrowing algebra and applying it to logic, as one might apply calculus to mechanics. His claim was subtler. He held that algebra and logic share a common form because both express the laws of certain mental operations. Ordinary algebra is one interpretation of the symbols; logic is another. The laws are prior to either interpretation. This is the symbolical algebra of his Cambridge friends, carried into a new territory. It anticipates the modern idea of an abstract algebraic structure, defined by its laws, which can have many different models.
This way of thinking has been extraordinarily fruitful. A Boolean algebra, in the modern sense, can be realised as sets and their subsets, as propositions and their truth values, as switching circuits, as the open-and-closed sets of certain spaces, as events in probability theory. Marshall Stone proved in the 1930s that every Boolean algebra can be represented as an algebra of sets, connecting logic to topology. The structure Boole glimpsed is one of the central objects of modern mathematics.
It is worth being clear about what this idea is not. It is not the claim, made later by Frege and Russell, that mathematics can be reduced to logic. That claim, called logicism, runs in the opposite direction. Boole used mathematics to illuminate logic. Frege tried to use logic to found mathematics. The two projects are related, and both shaped the twentieth century, but they should not be confused.
The tradition around it
Boole wrote into a long conversation. The oldest voice in it is Aristotle, whose logical works, gathered as The Organon and shelved in this same bay, set the shape of logic for two thousand years. Aristotle's syllogistic studies arguments built from statements of four kinds: all A are B, no A are B, some A are B, some A are not B. Boole's algebra contains all of these as special cases, and his treatment of the syllogism is a deliberate demonstration that the old logic is a small corner of a larger field. Reading Aristotle and Boole side by side is one of the best ways to see what changed.
Between Aristotle and Boole stand the textbooks of the early modern period. Logic or the Art of Thinking, by Antoine Arnauld and Pierre Nicole, known as the Port-Royal Logic, was the most influential of these. It treated logic as an art of directing the mind, with chapters on ideas, judgement, reasoning and method, and it drew a distinction between the comprehension and the extension of a term that anticipates the later contrast between a concept and its class. Boole's focus on classes and on the universe of discourse belongs to this line, though he made it algebraic.
The dream of a calculus of reasoning is older than Boole. Leibniz, in the late seventeenth century, imagined a universal characteristic, a symbolic language in which disputes could be settled by calculation. He made experiments in logical algebra that anticipate some of Boole's laws, but most of these were not published until long after his death, and Boole does not seem to have known them. The parallel is a striking case of the same idea reached independently.
In Boole's own Britain, the most important book on logic was John Stuart Mill's A System of Logic, first published in 1843 and also on this shelf. Mill's logic is very different. It is mainly about induction, about how general truths are discovered from experience, and it treats deduction as a matter of interpreting general statements we already have. Mill was suspicious of the idea that formal manipulation could add knowledge. Boole was writing in a world shaped by Mill's book, and part of the interest of the Laws of Thought is that it shows a different picture: deduction as a rich subject with its own structure, worth studying with mathematical tools.
Closer still is Augustus De Morgan, whose Formal Logic appeared in the same year as Boole's first pamphlet. De Morgan worked on the logic of relations, which Boole's algebra could not handle, and gave his name to the laws relating the negation of a conjunction to the disjunction of negations. The two men respected each other and their work was complementary.
After Boole, the story divides. One branch is the algebra of logic: Jevons, who made addition inclusive and built a reasoning machine; John Venn, whose diagrams of 1880 were designed to picture Boole's constituents and whose Symbolic Logic of 1881 explained and defended Boole's system; Charles Sanders Peirce in America, who extended the algebra to relations and quantifiers; and Ernst Schroder in Germany, whose large lectures on the algebra of logic summed up the tradition near the end of the century. This branch led to the modern theory of Boolean algebras and, through Shannon, to digital circuits.
The other branch is the logic of Frege, whose The Foundations of Arithmetic sits next to Boole on this shelf. Frege had a different aim. He wanted a logic strong enough to found all of arithmetic, and for that he needed quantifiers, relations and a theory of functions. In 1879 he published a notation for such a logic, and he and his followers were sharply critical of the Boolean school, which they saw as merely an application of algebra rather than a genuine analysis of reasoning. Principia Mathematica, by Alfred North Whitehead and Bertrand Russell, carried Frege's line forward, and Russell's Introduction to Mathematical Philosophy explains it in plain language. Whitehead himself had earlier written a Treatise on Universal Algebra that treated Boole's system as one of several algebras, which shows that the two branches were not entirely separate.
Modern logic is a merger of both branches. The propositional part of any logic course is Boolean. The quantificational part is Fregean. The study of decidability, which asks which questions a mechanical procedure can settle, connects Boole's general method with the results discussed in Godel's Proof by Ernest Nagel and James R. Newman, and explored more playfully in Godel, Escher, Bach by Douglas Hofstadter.
Finally, The Character of Logic in India by Bimal Krishna Matilal offers a useful contrast. Indian logic, in the Nyaya school and its later Navya-Nyaya development, built a technical language for analysing cognition and inference that is in some ways closer to Boole's interest in the operations of mind than to Frege's interest in mathematical foundations. Nyaya treats inference, called anumana, as a means of valid knowledge, and Navya-Nyaya developed an exact vocabulary of qualifiers, absences and relations. Reading Matilal after Boole shows that the project of finding precise laws of reasoning was not only a European one.
Questions and criticisms
The most frequent criticism of the book is technical. Boole's algebra uses operations, such as addition of overlapping classes and division, that have no logical meaning, and allows uninterpretable expressions in the middle of a calculation as long as the end result can be read. Many later logicians found this unsatisfying. A calculation should, they argued, stay meaningful at every step. Jevons, Peirce and others removed the problem by changing the operations. The fair response is that Boole's method does give correct results when used as he prescribed, and that mathematicians had long used intermediate expressions without direct meaning, as with imaginary numbers in solving cubic equations. But the cleaner system won, and for good reason.
A second criticism is that the logic is too weak. It can handle classes and propositions but not relations. It cannot properly express 'every number has a successor' or 'someone loves everyone'. Most of mathematics, and much of ordinary reasoning, depends on such structures. Frege's logic, with quantifiers and relations, became the standard because it could. This is a real limitation, not a matter of taste. It does not diminish what Boole achieved within his chosen field, but it does mean the book cannot be read as a complete theory of deductive reasoning.
A third criticism concerns the title and the philosophy. Boole presents his laws as laws of thought, grounded in the operations of the mind. Frege and the logicians who followed him argued that logic is not about minds at all but about the relations between truths, which hold whether anyone thinks them or not. On this view, Boole confused the subject matter of logic with the process of reasoning about it. The debate is not settled. Some modern work in cognitive science asks how far human reasoning matches formal logic, and finds that it often does not. Boole's own position, that his laws describe correct thought rather than actual thought, anticipates part of this debate, but it leaves open where the normativity comes from.
A fourth criticism concerns the probability half. As noted above, its general method relies on independence assumptions that are not always justified, and it can give answers that look definite when the data do not fix them. Later work, especially Hailperin's, rescued the sound core of the theory by recasting it as the problem of finding bounds. A fair reader should approach these chapters as a pioneering attempt rather than a finished method, and should not trust the numerical answers in the more complex examples without checking them by modern means.
What has held up? The central law, that idempotent selection obeys x times x equals x and that logic is the algebra of 0 and 1, has held up completely and has become one of the most used ideas in all of technology. The expansion theorem has held up and is taught under various names in every introduction to digital design. The idea of a universe of discourse has held up and is now a standard part of logic. The general project of computing consequences mechanically has held up beyond anything Boole imagined. And the insight that logic and probability should be studied together is more alive now than in his day.
What has aged? The notation, the exclusive addition, the use of division, the reliance on time to interpret propositions, and the theological framing of the final chapters. These are best read historically. They show the first form of a set of ideas that later took cleaner shape.
Why it is on this shelf
This shelf gathers books on Vedanta, Jyotish, science, economics and technology. The Laws of Thought belongs to it because it stands at a crossing of several of these. It is a book about the mind written as a book of mathematics, and it gave technology its most basic language.
For a reader of Vedanta, it is a useful counterpoint. Vedanta asks what consciousness is and how knowing is possible. Boole asks a narrower question: what are the exact rules of correct inference? The two questions are different, but they meet at the idea that the mind's operations have a structure that can be known by reflection. Indian philosophy has its own tradition of inquiry into valid means of knowledge, called pramana, and the Nyaya analysis of inference is a natural companion to Boole's algebra.
For a reader of science and technology, the book is a foundation stone. Every logic gate, every database query, every condition in a line of code, every filter in a spreadsheet descends from the algebra worked out here. To read the original is to see that this everyday machinery began as an attempt to understand thought itself. That is worth knowing for anyone who builds with it.
For a reader of economics, the probability half is the relevant part. Economic reasoning works with incomplete information, and the question of what conclusions are justified by partial data, and whether a set of beliefs is coherent, is central to it. Boole's conditions of possible experience are an early and still valid statement of coherence for probabilities.
We keep it also as an example of how ideas travel. Boole wrote for philosophers and mathematicians, about the human mind, in a provincial city, without any thought of machines. Eighty years later his algebra became the theory of electrical switching. A shelf of ideas should hold some books that show how far an idea can go from where it began.
How to read it
This is a demanding book and should be read slowly. The pages are dense and the notation is old. A good plan takes about three weeks at an hour a day, and the first pass need not cover everything.
First pass
- Begin with the opening chapters, which set out the aims, introduce the symbols and state the laws. Read them twice. Make sure you can explain to yourself why multiplication means 'and', why 1 is the universe, and why x times x equals x.
- With a pencil, derive the law of contradiction yourself from the law x squared equals x. Then try the four constituents for two classes and check by hand that they cover the universe without overlap.
- Read the chapters on expansion, elimination and solution carefully, working each small example on paper. Draw a two-circle or three-circle diagram for each to see what the algebra says.
- Read the chapter introducing secondary propositions and the use of time. Translate three or four everyday conditional statements into Boole's notation.
- Read the treatment of the syllogism to see the old logic absorbed into the new.
- Read the analysis of Clarke and Spinoza. Do not try to check every step; aim to see what the method is doing.
What to skip at first
- The longer worked problems in the probability half. Read the opening chapters on the principles of probability and the discussion of conditions of possible experience, and leave the rest for a second reading.
- The more elaborate cases of the general method involving many variables. Once you understand two and three variables, more add labour, not insight.
Second pass and after
- Return to the probability chapters with a modern introduction to probability at hand. Check one or two of Boole's results with a direct calculation and see where his assumptions enter.
- Read the closing reflective chapters as a document of Boole's view of the mind.
A modern introduction to Boolean algebra or to propositional logic, read alongside, will make clear which parts of Boole survived unchanged and which were reformed. From this shelf, read next The Foundations of Arithmetic by Frege, to see the rival programme; then Introduction to Mathematical Philosophy by Russell, for the logicist view in plain language; then Godel's Proof by Nagel and Newman, for the limits of formal systems. For a different tradition, read The Character of Logic in India by Matilal. For the older background, The Organon and the Port-Royal Logic of Arnauld and Nicole.
Questions to carry
- What does it mean to call something a law of thought, if people so often think badly?
- Why should the operations of selecting and combining classes obey nearly the same laws as the arithmetic of numbers?
- Is the law x times x equals x a discovery about the mind, about language, or about classes?
- What is gained and what is lost when 'or' is read exclusively rather than inclusively?
- Can a calculation be trusted if its middle steps have no meaning?
- How does the universe of discourse change the meaning of 'not'?
- Why does treating propositions as portions of time work, and where does it feel strained?
- Which kinds of reasoning cannot be expressed in Boole's algebra, and why do they matter?
- What does it mean for a set of probability judgements to be coherent?
- When the data do not fix a probability, is it better to give a range or to assume independence?
- Why did an algebra designed to describe thought turn out to describe switches?
- Is logic about minds, about language, or about truths that hold whether anyone thinks them?
- How does Nyaya's analysis of inference compare with Boole's view of reasoning as calculation?
- What would it take for a machine that follows Boole's laws to be said to think?
Words to know
- Universe of discourse: The whole range of things under consideration in an argument, written 1 by Boole.
- Elective symbol: Boole's name for a letter standing for the mental act of selecting a class from the universe.
- Class: A collection of things picked out by some property, such as the class of white things.
- Logical product: The combination xy, meaning things that are both x and y; intersection of classes.
- Exclusive addition: Boole's reading of x plus y as joining two classes with no common members.
- Inclusive or: The later reading, introduced by Jevons, in which x or y includes things that are both.
- Idempotent law: The law that x times x equals x; selecting a class twice gives the same class.
- Law of contradiction: The principle that nothing is both x and not-x; written x times (1 minus x) equals 0.
- Constituent: One of the regions formed by a product of each variable or its negation; with n variables there are 2 to the power n.
- Development or expansion: Boole's method of writing any expression as a sum of constituents with coefficients.
- Elimination: Removing a term from a set of premises to obtain a conclusion that does not mention it.
- Indefinite class: The meaning Boole gave to a coefficient of 0 over 0: some, none or all of a region.
- Primary proposition: A statement about things or classes of things.
- Secondary proposition: A statement about other statements, such as a conditional or a disjunction.
- Syllogism: An argument from two premises with a shared middle term to a conclusion, studied since Aristotle.
- Symbolical algebra: The early nineteenth-century view that algebraic symbols can be studied by their laws apart from their meaning.
- Boolean algebra: The modern abstract structure with inclusive or, and, and not, satisfying laws that descend from Boole's.
- Boolean ring: An algebra of 0 and 1 with exclusive or as addition, equivalent to a Boolean algebra.
- Conditions of possible experience: Boole's inequalities that a set of probabilities must satisfy to be consistent.
- Psychologism: The view that logic describes how minds actually work, criticised by Frege and others.
- Logicism: The later programme of Frege and Russell to derive mathematics from logic.
- Pramana: In Indian philosophy, a valid means of knowledge, such as perception or inference.
- Anumana: Inference, as analysed in the Nyaya school of Indian logic.
A note on this edition
This is a study edition written for this shelf in our own words. It is a companion and a commentary, not a substitute for the book. Boole's original text is long out of copyright and is widely reprinted, including in the Dover edition shelved here, which is inexpensive and easy to find. It is worth getting a copy from a library or bookshop and reading it with this companion beside it, a pencil in hand.