Mathematical logic
Encyclopedia : M : MA : MAT : Mathematical logic
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.
- 1 History
- 2 Fields of mathematical logic
- 3 Connections with computer science
- 4 Some fundamental results
- 5 Technical reference
- 5.1 First-order languages and structures
- 5.2 Terms, formulas and sentences
- 5.3 Assignment functions
- 5.4 Logical satisfaction
- 5.5 Logical implication and truth
- 5.6 Variable substitution
- 5.7 Substitutability
- 6 References
- 7 External links
- 8 See also
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, andOn 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:
- model theory
- set theory (usually interpreted as axiomatic set theory)
- recursion theory (often now referred to as computability theory)
- proof theory.
- 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)
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 set of valid first-order formulas in a sufficiently rich language is not recursive, i.e., there is no algorithm for checking for universal validity. This follows from Gödel's incompleteness theorem.
- The set of all universally valid second-order formulas is not even recursively enumerable. This is also a consequence of Gödel's incompleteness theorem.
- 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
- The equality symbol [=\,]; the connectives [\lor\,], [\lnot\,]; the universal quantifier [\forall\,] and the parentheses [(\,], [)\,].
- A countable set of variable symbols [\_^\infty\,].
- 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.
- For each constant symbol [c\,] from [\mathfrak\,], an element [c^} \in A\,].
- For each [n\,]-ary function symbol [f\,] from [\mathfrak\,], an [n\,]-ary function [f^} : A^n \longrightarrow A\,].
- For each [n\,]-ary relation symbol [R\,] from [\mathfrak\,], an [n\,]-ary relation on [A\,], that is, a subset [R^} \subseteq A^n\,].
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
- [t\,] is a variable symbol.
- [t\,] is a constant symbol.
- [t\,] is a string of the form [f t_1 ... t_n\,] where [f\,] is an [n\,]-ary function symbol and [t_1\,], ..., [t_n\,] are terms of [\mathfrak\,].
- [\phi\,] is a string of the form [t_1 = t_2\,] where [t_1\,] and [t_2\,] are terms of [\mathfrak\,].
- [\phi\,] is a string of the form [R t_1 ... t_n\,] where [R\,] is an [n\,]-ary relation symbol and [t_1\,], ..., [t_n\,] are terms of [\mathfrak\,].
- [\phi\,] is of the form [\lnot(\alpha)\,] where [\alpha\,] is an [\mathfrak\,]-formula.
- [\phi\,] is of the form [(\alpha \lor \beta)\,] where both [\alpha\,] and [\beta\,] are [\mathfrak\,]-formulas.
- [\phi\,] is of the form [(\forall y)(\alpha)\,] where [y\,] is a variable symbol from [\mathfrak\,] and [\alpha\,] is an [\mathfrak\,]-formula.
- [\phi\,] is atomic and [x\,] occurs in [\phi\,].
- [\phi\,] is of the form [\lnot(\alpha)\,] and [x\,] is free in [\alpha\,].
- [\phi\,] is of the form [(\alpha \lor \beta)\,] and [x\,] is free in [\alpha\,] or [\beta\,].
- [\phi\,] is of the form [(\forall y)(\alpha)\,] where [x\,] and [y\,] are not the same variable symbols and [x\,] is free in [\alpha\,].
Assignment functions
Hereafter, [\mathfrak\,] will denote a first-order language, [\mathfrak\,] will be an [\mathfrak\,]-structure with underlying universe set denoted by [A\,]. Every formula will be understood to be an [\mathfrak\,]-formula.
- If [t\,] is the variable symbol [x\,], then [\overline(t) = s(x)\,].
- If [t\,] is the constant symbol [c\,], then [\overline(t) = c^}\,].
- If [t\,] is of the form [f t_1 ... t_n\,], then [\overline(t) = f^}(\overline(t_1), ..., \overline(t_n))\,].
Logical satisfaction
- [\phi\,] is of the form [t_1 = t_2\,] and [\overline(t_1) = \overline(t_2)\,].
- [\phi\,] is of the form [R t_1 ... t_n\,] and [(\overline(t_1), ..., \overline(t_n)) \in R^}\,].
- [\phi\,] is of the form [\lnot(\alpha)\,] and [\mathfrak\mbox\not\models\mbox\alpha[s]\,].
- [\phi\,] is of the form [(\alpha \lor \beta)\,] and [\mathfrak \models \alpha[s]\,] or [\mathfrak \models \beta[s]\,].
- [\phi\,] is of the form [(\forall y)(\alpha)\,] and for each element [a \in A\,], [\mathfrak \models \alpha[s[y|a]]\,].
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 \models \phi[s]\,] immediately implies that [\mathfrak \models \phi\,].
Logical implication and truth
As a shortcut, when dealing with singletons, we often write [\Psi \models \phi\,] instead of [\Psi \models \\,].
To say that a formula [\phi\,] is valid really means that every [\mathfrak\,]-structure [\mathfrak\,] models [\phi\,].
Variable substitution
- 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^x ... _t^x\,].
- If [\phi\,] is of the form [t_1 = t_2\,], then [\phi_t^x\,] is defined to be the formula [_t^x = _t^x\,].
- If [\phi\,] is of the form [R t_1 ... t_n\,], then [\phi_t^x\,] is defined to be the formula [R _t^x, ..., _t^x\,].
- If [\phi\,] is of the form [\lnot(\alpha)\,], then [\phi_t^x\,] is defined to be the formula [\lnot(\alpha_t^x)\,].
- If [\phi\,] is of the form [(\alpha \lor \beta)\,], then [\phi_t^x\,] is defined to be the formula [(\alpha_t^x \lor \beta_t^x)\,].
- If [\phi\,] is of the form [(\forall y)(\alpha)\,], then
- * if [x\,] and [y\,] are the same variable symbol, [\phi_t^x\,] is defined to be the formula [\phi\,].
- * else, [\phi_t^x\,] is defined to be the formula [(\forall y)(\alpha_t^x)\,].
Substitutability
- [\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
- [Mathematical Logic around the world]
- [Polyvalued logic]
- Detlovs, Vilnis, and Podnieks, Karlis (University of Latvia) [Introduction to Mathematical Logic.] A hyper-textbook.
- Stanford Encyclopedia of Philosophy: [Classical Logic] -- by Stewart Shapiro.
See also
- List of mathematical logic topics
- Logic
- Foundations of mathematics
- Metamathematics
- List of Boolean algebra topics
- List of computability and complexity topics
- List of large cardinal properties
- consistency
- completeness
- decidable
- Set theory
- Axiomatic set theory
- List of set theory topics
- Category theory
- Model Theory
- Proof theory
- Recursion theory
- Algebraic logic
- Propositional logic
- Predicate logic
- First-order logic
- List of first order theories
- Intuitionistic logic
- Infinitary logic
- Provability logic
- Computability logic
- Theory of institutions
- Table of mathematical symbols
| Major fields of mathematics |
|---|
| Algebra | Abstract algebra | Linear algebra | Analysis | Functional analysis | Numerical analysis | Calculus | Differential equations | Category theory | Combinatorics | Geometry | Algebraic geometry | Logic | Number theory | Set theory | Optimization | Probability | Statistics | Topology | Algebraic topology |
From Wikipedia, the Free Encyclopedia. Original article here. Support Wikipedia by contributing or donating.
All text is available under the terms of the GNU Free Documentation License See Wikipedia Copyrights for details.
