Skip to content
ImagineWorld

The Systematic Codification of Formal Logic

node_idnode-book_godels-proof_chapter-04-the-systematic-codification-of-formal-logic
node_typechapter-node
schema_profileworld.chapter_node.v1
statusactive
entropyhigh
manifoldworld
domainimagineworld.net
authorityinforms
layercorpus
chapter_num4
chapter_titleThe Systematic Codification of Formal Logic
governed_byCORPUS
constitutional_citationCONSTITUTION
local graph

Chapter 4 — The Systematic Codification of Formal Logic

Section titled “Chapter 4 — The Systematic Codification of Formal Logic”

There are two more bridges to cross before entering upon Gödel’s proof itself. We must indicate how and why Whitehead and Russell’s Principia Mathematica came into being; and we must give a short illustration of the formalization of a deductive system—we shall take a fragment of Principia—and explain how its absolute consistency can be established.

Ordinarily, even when mathematical proofs conform to accepted standards of professional rigor, they suffer from an important omission. They embody principles (or rules) of inference not explicitly formulated, of which mathematicians are frequently unaware. Take Euclid’s proof that there is no greatest prime number (a number is prime if it is divisible without remainder by no number other than 1 and the number itself). The argument, cast in the form of a reductio ad absurdum, runs as follows:

Suppose, in contradiction to what the proof seeks to establish, that there is a greatest prime number. We designate it by ‘x’. Then:

  1. xx is the greatest prime
  2. Form the product of all primes less than or equal to xx, and add 1 to the product. This yields a new number yy, where y=y= (2×3×5×7×⋯×x)+1(2\times3\times5\times7\times\cdots\times x)+1
  3. If yy is itself a prime, then xx is not the greatest prime, for yy is obviously greater than xx
  4. If yy is composite (i.e., not a prime), then again xx is not the greatest prime. For if yy is composite, it must have a prime divisor zz; and zz must be different from each of the prime numbers 2,3,5,7,…,x2, 3, 5, 7, \ldots, x, smaller than or equal to xx; hence zz must be a prime greater than xx
  5. But yy is either prime or composite
  6. Hence xx is not the greatest prime
  7. There is no greatest prime

We have stated only the main links of the proof. It can be shown, however, that in forging the complete chain a fairly large number of tacitly accepted rules of inference, as well as theorems of logic, are essential. Some of these belong to the most elementary part of formal logic, others to more advanced branches; for example, rules and theorems are incorporated that belong to the “theory of quantification.” This deals with relations between statements containing such “quantifying” particles as ‘all’, ‘some’, and their synonyms. We shall exhibit one elementary theorem of logic and one rule of inference, each of which is a necessary but silent partner in the demonstration.

Look at line 5 of the proof. Where does it come from? The answer is, from the logical theorem (or necessary truth): ‘Either pp or non-pp’, where ‘pp’ is called a sentential variable. But how do we get line 5 from this theorem? The answer is, by using the rule of inference known as the “Rule of Substitution for Sentential Variables,” according to which a statement can be derived from another containing such variables by substituting any statement (in this case, ‘y is prime’) for each occurrence of a distinct variable (in this case, the variable ‘pp’). The use of these rules and logical theorems is, as we have said, frequently an all but unconscious action. And the analysis that exposes them, even in such relatively simple proofs as Euclid’s, depends upon advances in logical theory made only within the past one hundred years.1 Like Molière’s M.Jourdain, who spoke prose all his life without knowing it, mathematicians have been reasoning for at least two millennia without being aware of all the principles underlying what they were doing. The real nature of the tools of their craft has become evident only within recent times.

For almost two thousand years Aristotle’s codification of valid forms of deduction was widely regarded as complete and as incapable of essential improvement.

As late as 1787, the German philosopher Immanuel Kant was able to say that since Aristotle formal logic “has not been able to advance a single step, and is to all appearances a closed and completed body of doctrine.” The fact is that the traditional logic is seriously incomplete, and even fails to give an account of many principles of inference employed in quite elementary mathematical reasoning.2 A renaissance of logical studies in modern times began with the publication in 1847 of George Boole’s The Mathematical Analysis of Logic. The primary concern of Boole and his immediate successors was to develop an algebra of logic which would provide a precise notation for handling more general and more varied types of deduction than were covered by traditional logical principles. Suppose it is found that in a certain school those who graduate with honors are made up exactly of boys majoring in mathematics and girls not majoring in this subject. How is the class of mathematics majors made up, in terms of the other classes of students mentioned? The answer is not readily forthcoming if one uses only the apparatus of traditional logic. But with the help of Boolean algebra it can easily be shown that the class of mathematics majors consists exactly of boys graduating with honors and girls not graduating with honors.

All gentlemen are polite. No bankers are polite. No gentlemen are bankers.

g⊂pb⊂pˉ∴g⊂bˉ\begin{aligned} g \subset p \\ b \subset \bar{p} \\ \therefore g \subset \bar{b} \end{aligned} gpˉ=0bp=0gb=0\begin{array}{c} g\bar{p} = 0 \\ bp = 0 \\ \hline gb = 0 \end{array}

Symbolic logic was invented in the middle of the 19th century by the English mathematician George Boole. In this illustration a syllogism is translated into his notation in two different ways. In the upper group of formulas, the symbol ‘⊂’ means “is contained in.” Thus ‘g⊂p’ says that the class of gentlemen is included in the class of polite persons. In the lower group of formulas two letters together mean the class of things having both characteristics. For example, ‘bp’ means the class of individuals who are bankers and polite; and the equation ‘bp=0’ says that this class has no members. A line above a letter means “not.” (‘\bar{p}’, for example, means impolite.)

TABLE 1

Another line of inquiry, closely related to the work of nineteenth-century mathematicians on the foundations of analysis, became associated with the Boolean program. This new development sought to exhibit pure mathematics as a chapter of formal logic; and it received its classical embodiment in the Principia Mathematica of Whitehead and Russell in 1910. Mathematicians of the nineteenth century succeeded in “arithmetizing” algebra and what used to be called the “infinitesimal calculus” by showing that the various notions employed in mathematical analysis are definable exclusively in arithmetical terms (i.e., in terms of the integers and the arithmetical operations upon them). For example, instead of accepting the imaginary number −1\sqrt{-1} as a somewhat mysterious “entity,” it came to be defined as an ordered pair of integers (0,1)(0, 1) upon which certain operations of “addition” and “multiplication” are performed. Similarly, the irrational number 2\sqrt{2} was defined as a certain class of rational numbers—namely, the class of rationals whose square is less than 2. What Russell (and, before him, the German mathematician Gottlob Frege) sought to show was that all arithmetical notions can be defined in purely logical ideas, and that all the axioms of arithmetic can be deduced from a small number of basic propositions certifiable as purely logical truths.

To illustrate: the notion of class belongs to general logic. Two classes are defined as “similar” if there is a one-to-one correspondence between their members, the notion of such a correspondence being explicable in terms of other logical ideas. A class that has a single member is said to be a “unit class” (e.g., the class of satellites of the planet Earth); and the cardinal number 1 can be defined as the class of all classes similar to a unit class. Analogous definitions can be given of the other cardinal numbers; and the various arithmetical operations, such as addition and multiplication, can be defined in the notions of formal logic. An arithmetical statement, e.g., ‘1+1=2’, can then be exhibited as a condensed transcription of a statement containing only expressions belonging to general logic; and such purely logical statements can be shown to be deducible from certain logical axioms.

Principia Mathematica thus appeared to advance the final solution of the problem of consistency of mathematical systems, and of arithmetic in particular, by reducing the problem to that of the consistency of formal logic itself. For, if the axioms of arithmetic are simply transcriptions of theorems in logic, the question whether the axioms are consistent is equivalent to the question whether the fundamental axioms of logic are consistent.

The Frege-Russell thesis that mathematics is only a chapter of logic has, for various reasons of detail, not won universal acceptance from mathematicians. Moreover, as we have noted, the antinomies of the Cantorian theory of transfinite numbers can be duplicated within logic itself, unless special precautions are taken to prevent this outcome. But are the measures adopted in Principia Mathematica to outflank the antinomies adequate to exclude all forms of self-contradictory constructions? This cannot be asserted as a matter of course. Therefore the Frege-Russell reduction of arithmetic to logic does not provide a final answer to the consistency problem; indeed, the problem simply emerges in a more general form. But, irrespective of the validity of the Frege-Russell thesis, two features of Principia have proved of inestimable value for the further study of the consistency question. Principia provides a remarkably comprehensive system of notation, with the help of which all statements of pure mathematics (and of arithmetic in particular) can be codified in a standard manner; and it makes explicit most of the rules of formal inference used in mathematical demonstrations (eventually, these rules were made more precise and complete). Principia, in sum, created the essential instrument for investigating the entire system of arithmetic as an uninterpreted calculus—that is, as a system of meaningless marks, whose formulas (or “strings”) are combined and transformed in accordance with stated rules of operation.

  1. For a more detailed discussion of the rules of inference and logical theorems needed for obtaining lines 6 and 7 of the above proof, the reader is referred to the Appendix, no. 2. ↩

  2. For example, of the principles involved in the inference: 5 is greater than 3; therefore, the square of 5 is greater than the square of 3. ↩