Mathematical logic is a subfield of mathematics that is concerned with formal systems in relation to the way that they encode intuitive concepts of mathematical objects such as sets and numbers, proofs, and computation.
It is often divided into the subfields of model theory, proof theory, set theory and recursion theory. Research in mathematical logic has played an important role in the study of foundations of mathematics.
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 is not so much the logic of mathematics as it is the mathematics of logic. It includes those parts of logic that can be modeled and studied mathematically. It also includes areas of pure mathematics, such as model theory and recursion theory, in which definability is central to the subject matter.
History
Mathematical logic was the name given by Giuseppe Peano to what is also known as symbolic logic. In essentials, it is still the logic of Aristotle, but from the point of view of notation it is written as a branch of abstract algebra.
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 (of course non-quantitative) way of regarding logic. The traditional, Aristotelian doctrine of logic was reformed and completed; and out of it developed an adequate 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 traditional development of logic (see list of topics in 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 (for example, sending a string from a formal language to a compiler program to write it as sequence of machine instructions), and the semantic (constructing specific models or whole sets of them, in model theory).
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.
Fields of mathematical logic
According to the "Handbook of Mathematical Logic" (1977), Mathematical Logic is traditionally divided into four parts:
The
2000 Mathematics Subject Classification (which is used by the two major reviewing databases for mathematical articles,
Mathematical Reviews and
Zentralblatt MATH) divides mathematical logic into the following areas:
- Philosophical and critical (this area has a large overlap with philosophy)
- General logic (including such fields as modal logic and fuzzy logic)
- Model theory
- Computability and recursion theory
- Set theory
- Proof theory and constructive mathematics
- Algebraic logic (which emphasizes connections to algebra, in particular lattice theory)
- Nonstandard models (this area has a large overlap with other mathematical fields, such as analysis and measure 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.
Connections with computer science
There are many overlaps with
computer science, since many early pioneers in computer science, such as
Alan Turing, were mathematicians and logicians.
The study of programming language semantics
derives from model theory, as does
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 logic by developing techniques for the automatic checking or even finding of proofs, such as automated theorem proving and logic programming.
Some fundamental results
Some important results are:
- The set of valid first-order formulas is recursively enumerable. This follows from Gödel's completeness theorem (which establishes the equivalence of validity and provability), because the set of proofs for first-order logic formulas is recursively enumerable ("semi-decidable"). Therefore, there is a procedure that behaves as follows: Given a first-order formula as its input, the procedure eventually halts if the formula is valid, and runs forever otherwise. Some first-order theorem provers have this completeness property.
- The Löwenheim-Skolem theorem. One form is: If a set of sentences in a countable language has an infinite model, then it has a model of any infinite cardinality.
- The independence of the continuum hypothesis with ZFC. 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.
Technical reference
First-order languages and structures
Definition. A
first-order language is a collection of distinct typographical symbols classified as follows:
- The equality symbol ; the connectives , ; the universal quantifier and the parentheses , .
- A countable set of variable symbols .
- A set of constant symbols .
- A set of function symbols .
- A set of relation symbols .
Thus, in order to specify a language, it is often sufficient to specify only the collection of constant symbols, function symbols and relation symbols, since the first set of symbols is standard. The parentheses serve the only purpose of forming groups of symbols, and are not to be formally used when writing down functions and relations in formulas.
These symbols are just that, symbols. They don't stand for anything. They do not mean anything. However, that deviates further into semantics and linguistic issues not useful to the formalization of mathematical language, yet.
Yet, because it will indeed be necessary to get some meaning out of this formalization. The concept of model over a language provides with such a semantics.
Definition. An
-
structure over the language
, is a bundle consisting of a nonempty set
, the universe of the structure, together with:
- For each constant symbol from , an element .
- For each -ary function symbol from , an -ary function .
- For each -ary relation symbol from , an -ary relation on , that is, a subset .
Often, the word model is used for that of structure in this context. However, it is important to understand perhaps its motivation, as follows.
Terms, formulas and sentences
Definition. An
-
term is a nonempty finite string
of symbols from
such that either
- is a variable symbol.
- is a constant symbol.
- is a string of the form where is an -ary function symbol and , ..., are terms of .
Definition. An -formula that is characterized by either the first or the second clause is called an atomic.
Definition. Let
be an
-formula. A variable symbol
from
is said to be
free in
if either
- is atomic and occurs in .
- is of the form and is free in .
- is of the form and is free in or .
- is of the form where and are not the same variable symbols and is free in .
Definition. A sentence is a formula with no free variables.
Assignment functions
Hereafter, will denote a first-order language, will be an -structure with underlying universe set denoted by . Every formula will be understood to be an -formula.
Definition. A variable assignment function (v.a.f.) into is a function from the set of variables of into .
Definition. Let
be a v.a.f. into
. We define the
term assignment function (t.a.f.)
, from the set of
-terms into
, as follows:
- If is the variable symbol , then .
- If is the constant symbol , then .
- If is of the form , then .
Definition. Let
be a v.a.f. into
and suppose that
is a variable and that
. We define the v.a.f.
, referred to as an
-
modification of the assignment function , by
Logical satisfaction
Definition. Let
be formula and suppose
is a v.a.f. into
. We say that
satisfies with assignment , and write
, if either:
- is of the form and .
- is of the form and .
- is of the form and .
- is of the form and .
- \phi\, is of the form (\forall y)(\alpha)\, and for each element a \in A\,, \mathfrak{A} \models \alpha*]\,.
Definition. Let \Phi\, be a set of formulas and suppose that \mathfrak{A} \models \phi\, for every formula \phi \in \Phi\, then we say that \mathfrak{A}\, models \Phi\,, and write \mathfrak{A} \models \Phi\,.
In the case that \phi\, is a sentence, that is, a formula with no free variables, the existence of a single v.a.f. for which \mathfrak{A} \models \phi*\, immediately implies that \mathfrak{A} \models \phi\,.
Definition. Let \phi\, be a sentence and suppose that \mathfrak{A} \models \phi\,. Then we say that \phi\, is true in \mathfrak{A}\,.
Logical implication and truth
Definition. Let \Psi\, and \Phi\, be sets of formulas. We say that \Psi\, logically implies \Phi\,, and write \Psi \models \Phi\,, if for every structure \mathfrak{A}\,, \mathfrak{A} \models \Psi\, implies \mathfrak{A} \models \Phi\,.
As a shortcut, when dealing with singletons, we often write \Psi \models \phi\, instead of \Psi \models \{\phi\}\,.
Definition. Let \phi\, be a formula and suppose that \varnothing \models \phi\,. Then we say that \phi\, is universally valid, or simply valid, and in this case we simply write \models \phi\,.
To say that a formula \phi\, is valid really means that every \mathfrak{L}\,-structure \mathfrak{A}\, models \phi\,.
Definition. Let \phi\, be a sentence and suppose that \models \phi\,. Then we say that \phi\, is true.
Variable substitution
Definition. Let
u\, be a term and suppose
x\, is a variable and
t\, is another term. We define the term
u_t^x\,, read
u\, with x\, replaced by t\,, as follows:
- If u\, is the variable symbol x\,, then u_t^x\, is defined to be the term t\,.
- If u\, is a variable symbol other than x\,, then u_t^x\, is defined to be the term u\,.
- If u\, is a constant symbol, then u_t^x\, is defined to be the term u\,.
- If u\, is of the form f t_1 ... t_n\,, then u_t^x\, is defined to be the term f {t_1}_t^x ... {t_n}_t^x\,.
Substitutability
Definition. Let
\phi\, be a formula and suppose
x\, is a variable and
t\, is a term. We say that
t\, is substitutable for x\, in \phi\,, if either:
- \phi\, is atomic.
- \phi\, is of the form \lnot(\alpha)\, and t\, is substitutable for x\, in \alpha\,.
- \phi\, is of the form (\alpha \lor \beta)\, and t\, is substitutable for x\, in both \alpha\, and \beta\,.
- \phi\, is of the form (\forall y)(\alpha)\, and either
- x\, is not a free variable in \phi\,.
- y\, does not occur in t\, and t\, is substitutable for x\, in \alpha\,.
The notion of substitutability of terms for variables corresponds to that of the preservation of truth after substitution is carried out in terms or formulas. Strictly speaking, substitution is always allowed, but substitutability will be imperative in order to yield a formula which meaning was not deformed by the substitution.
References
- George Boolos, John Burgess, and Richard Jeffrey (2002) Computability and Logic, 4th ed. Cambridge University Press. ISBN 0521007585.
- Enderton, Herbert (2002) A mathematical introduction to logic, 2nd ed. Academic Press.
- Hamilton, A. G. (1988) Logic for Mathematicians Cambridge University Press.
- Wilfred Hodges, 1997. A Shorter Model Theory. Cambridge University Press.
- Mendelson, Elliott (1997) Introduction to Mathematical Logic, 4th ed. Chapman & Hall.
- A. S. Troelstra & H. Schwichtenberg (2000) Basic Proof Theory, 2nd. ed. (Cambridge Tracts in Theoretical Computer Science). Cambridge University Press. ISBN 0521779111.
External links
See also
Mathematical logic
منطق رياضي | Математическа логика | Матэматычная логіка | Mathematische Logik | Lógica matemática | Ĥ | منطق ریاضی | Logique mathématique | Logica matematica | Matematikai logika | Математичка логика | 数理論理学 | Математическая логика | Logjika Matematikore | Matematická logika | Matematična logika | Matematisk logik | Matematikal na lohika | คณิตตรรกศาสตร์ | Matematiksel mantık | 数理逻辑