**Mathematical logic** is best understood as a branch of logic or mathematics. Mathematical logic is often divided into the subfields of model theory, proof theory, set theory and recursion theory. Research in mathematical logic has contributed to, and been motivated by, the study of foundations of mathematics, but mathematical logic also contains areas of pure mathematics not directly related to foundational questions.

One unifying theme in mathematical logic is the study of the expressive power of formal logics and formal proof systems. This power is measured both in terms of what these formal systems are able to prove and in terms of what they are able to define. Thus it can be said that "mathematical logic has become the general study of the logical structure of axiomatic theories." (Parsons, p. 206)

## Contents |

Earlier names for mathematical logic were **symbolic logic** (as opposed to philosophical logic) and **metamathematics**. The former term is still used (as in the Association for Symbolic Logic), but the latter term is now used for certain aspects of proof theory.

*Mathematical logic* was the name given by Giuseppe Peano to what is also known as symbolic logic. In its classical version, the basic aspects resemble the logic of Aristotle, but written using symbolic notation rather than natural language. Attempts to treat the operations of formal logic in a symbolic or algebraic way were made by some of the more philosophical mathematicians, such as Leibniz and Lambert; but their labors remained little known and isolated. It was George Boole and then Augustus De Morgan, in the middle of the nineteenth century, who presented a systematic mathematical way of regarding logic. The traditional, Aristotelian doctrine of logic was reformed and completed; and out of it developed an instrument for investigating the fundamental concepts of mathematics. It would be misleading to say that the foundational controversies that were alive in the period 1900–1925 have all been settled; but philosophy of mathematics was greatly clarified by the "new" logic.

While the Greek development of logic put heavy emphasis on *forms of arguments*, the attitude of current mathematical logic might be summed up as *the combinatorial study of content*. This covers both the *syntactic* and the *semantic* dimensions. *Syntactic* has to do with the correct or formal structure of a string of symbols in a formal language, as, for example, sending a string from a formal language to a compiler program to write it as sequence of machine instructions. *Semantic* has to do with interpretation or use of a string of symbols, as, for example, constructing specific models or whole sets of them, in model theory. This study of mathematics from the outside is known as metamathematics.

Some landmark publications were the *Begriffsschrift* by Gottlob Frege, Studies in Logic by Charles Peirce, *Principia Mathematica* by Bertrand Russell and Alfred North Whitehead, and *On Formally Undecidable Propositions of Principia Mathematica and Related Systems* by Kurt Gödel.

At its core, mathematical logic deals with mathematical concepts expressed using formal logical systems. The system of first-order logic is the most widely studied because of its applicability to foundations of mathematics and because of its desirable properties. Stronger classical logics such as second-order logic or infinitary logic are also studied, along with nonclassical logics such as intuitionistic logic.

Barwise's "Handbook of Mathematical Logic" (1977) divides mathematical logic into four parts:

**Set theory**is the study of sets, which are abstract collections of objects. The basic concepts of set theory such as subset and relative complement are often called**naive set theory**. Modern research is in the area of**axiomatic set theory**, which uses logical methods to study which propositions are provable in various formal theories such as Zermelo-Frankel set theory, known as ZFC, or New Foundations set theory, known as NF.

**Proof theory**is the study of formal proofs in various logical deduction systems. These proofs are represented as formal mathematical objects, facilitating their analysis by mathematical techniques. Frege worked on mathematical proofs and formalized the notion of a proof.

**Model theory**studies the models of various formal theories. The set of all models of a particular theory is called an elementary class. Classical model theory seeks to determine the properties of models in a particular elementary class, or determine whether certain classes of structures form elementary classes. The method of quantifier elimination is used to show that models of particular theories cannot be too complicated.

**Recursion theory**, also called**computability theory**, studies the properties of computable functions and the Turing degrees, which divide the uncomputable functions into sets which have the same level of uncomputability. The field has grown to include the study of generalized computability and definability. In these areas, recursion theory overlaps with proof theory and effective descriptive set theory.

The border lines between these fields, and also between mathematical logic and other fields of mathematics, are not always sharp; for example, Gödel's incompleteness theorem marks not only a milestone in recursion theory *and* proof theory, but has also led to Loeb's theorem, which is important in modal logic. The mathematical field of category theory uses many formal axiomatic methods resembling those used in mathematical logic, but category theory is not ordinarily considered a subfield of mathematical logic.

There are many connections between mathematical logic and computer science. Many early pioneers in computer science, such as Alan Turing, were also mathematicians and logicians.

The study of computability theory in computer science is closely related to the study of computability in mathematical logic. There is a difference of emphasis, however. Computer scientists often focus on concrete programming languages and feasible computability, while researchers in mathematical logic often focus on computability as a theoretical concept and on noncomputability.

The study of programming language semantics is related to model theory, as is program verification (in particular, model checking). The Curry-Howard isomorphism between proofs and programs relates to proof theory; intuitionistic logic and linear logic are significant here. Calculi such as the lambda calculus and combinatory logic are nowadays studied mainly as idealized programming languages.

Computer science also contributes to mathematics by developing techniques for the automatic checking or even finding of proofs, such as automated theorem proving and logic programming.

- The Löwenheim–Skolem theorem (1919) showed that if a set of sentences in a countable first-order language has an infinite model then it has at least one model of each infinite cardinality.
- Gödel's completeness theorem (1929) established the equivalence between semantic and syntactic definitions of logical consequence in first-order logic.
- Gödel's incompleteness theorems (1931) showed that no sufficiently strong formal system can prove its own consistency.
- The algorithmic unsolvability of the Entscheidungsproblem, established independently by Alan Turing and Alonzo Church in 1936, showed that no computer program can be used to correctly decide whether arbitrary mathematical statements are true.
- The independence of the continuum hypothesis from ZFC showed that an elementary proof or disproof of this hypothesis is impossible. The fact that the continuum hypothesis is consistent with ZFC (if ZFC itself is consistent) was proved by Gödel in 1940. The fact that the negation of the continuum hypothesis is consistent with ZFC (if ZFC is consistent) was proved by Paul Cohen in 1963.
- The algorithmic unsolvability of Hilbert's tenth problem, established by Yuri Matiyasevich in 1970, showed that it is not possible for any computer program to correctly decide whether multivariate polynomials with integer coefficients have any integer roots.

- Barwise, Jon (ed.).
*Handbook of Mathematical Logic*. Amsterdam & New York: North-Holland Pub. Co., 1977. ISBN 072042285X - Boolos, George, John Burgess, and Richard Jeffrey.
*Computability and Logic*4th ed. Cambridge & New York: Cambridge University Press, 2002. ISBN 0521007585. - Enderton, Herbert B.
*A Mathematical Introduction to Logic*. San Diego: Harcourt/Academic Press, 2001. ISBN 0122384520 - Hamilton, A. G.
*Logic for Mathematicians*. Cambridge & New York: Cambridge University Press, 1988. ISBN 0521368650 - Hodges, Wilfrid.
*A Shorter Model Theory*. Cambridge & New York: Cambridge University Press, 1997. ISBN 0521587131 - Mendelson, Elliott.
*Introduction to Mathematical Logic*4th ed. Chapman & Hall, 1997. ISBN 0412808307 ISBN 9780412808302 - Parsons, Charles. "Mathematics, Foundations of" in
*The Encyclopedia of Philosophy*Vol. 5. edited by Paul Edwards. New York: Macmillan Publishing Co., Inc. & The Free Press: 1967. ISBN 0028949501 ISBN 9780028949505 - Troelstra, A.S., and H. Schwichtenberg.
*Basic Proof Theory*2nd. ed., Cambridge Tracts in Theoretical Computer Science, Cambridge & New York: Cambridge University Press, 2000. ISBN 0521779111

All links retrieved August 31, 2018.

- London Philosophy Study Guide – offers many suggestions on what to read, depending on the student's familiarity with the subject.
- Logic and set theory around the world.
- forall x: an introduction to formal logic – by P.D. Magnus, is a free textbook.
- Classical Logic – Stanford Encyclopedia of Philosophy.

- Stanford Encyclopedia of Philosophy.
- The Internet Encyclopedia of Philosophy.
- Paideia Project Online.
- Project Gutenberg.

*New World Encyclopedia* writers and editors rewrote and completed the *Wikipedia* article in accordance with *New World Encyclopedia* standards. This article abides by terms of the Creative Commons CC-by-sa 3.0 License (CC-by-sa), which may be used and disseminated with proper attribution. Credit is due under the terms of this license that can reference both the *New World Encyclopedia* contributors and the selfless volunteer contributors of the Wikimedia Foundation. To cite this article click here for a list of acceptable citing formats.The history of earlier contributions by wikipedians is accessible to researchers here:

- Mathematical logic
^{history}

The history of this article since it was imported to *New World Encyclopedia*:

Note: Some restrictions may apply to use of individual images which are separately licensed.