In
mathematical logic
Mathematical logic is the study of formal logic within mathematics. Major subareas include model theory, proof theory, set theory, and recursion theory. Research in mathematical logic commonly addresses the mathematical properties of formal ...
, model theory is the study of the relationship between
formal theories (a collection of
sentences in a
formal language
In logic, mathematics, computer science, and linguistics, a formal language consists of words whose letters are taken from an alphabet and are well-formed according to a specific set of rules.
The alphabet of a formal language consists of s ...
expressing statements about a
mathematical structure), and their models (those structures in which the statements of the theory hold). The aspects investigated include the number and size of models of a theory, the relationship of different models to each other, and their interaction with the formal language itself. In particular, model theorists also investigate the sets that can be
defined
A definition is a statement of the meaning of a term (a word, phrase, or other set of symbols). Definitions can be classified into two large categories: intensional definitions (which try to give the sense of a term), and extensional definitio ...
in a model of a theory, and the relationship of such definable sets to each other.
As a separate discipline, model theory goes back to
Alfred Tarski
Alfred Tarski (, born Alfred Teitelbaum;School of Mathematics and Statistics, University of St Andrews ''School of Mathematics and Statistics, University of St Andrews''. January 14, 1901 – October 26, 1983) was a Polish-American logician ...
, who first used the term "Theory of Models" in publication in 1954.
Since the 1970s, the subject has been shaped decisively by
Saharon Shelah's
stability theory.
Compared to other areas of mathematical logic such as
proof theory, model theory is often less concerned with formal rigour and closer in spirit to classical mathematics.
This has prompted the comment that ''"if
proof theory is about the sacred, then model theory is about the profane"''.
The applications of model theory to
algebraic and
diophantine geometry reflect this proximity to classical mathematics, as they often involve an integration of algebraic and model-theoretic results and techniques.
The most prominent scholarly organization in the field of model theory is the
Association for Symbolic Logic.
Overview
This page focuses on
finitary first order
In mathematics and other formal sciences, first-order or first order most often means either:
* "linear" (a polynomial of degree at most one), as in first-order approximation and other calculus uses, where it is contrasted with "polynomials of high ...
model theory of infinite structures.
The relative emphasis placed on the class of models of a theory as opposed to the class of definable sets within a model fluctuated in the history of the subject, and the two directions are summarised by the pithy characterisations from 1973 and 1997 respectively:
:model theory =
universal algebra
Universal algebra (sometimes called general algebra) is the field of mathematics that studies algebraic structures themselves, not examples ("models") of algebraic structures.
For instance, rather than take particular Group (mathematics), groups as ...
+
logic
Logic is the study of correct reasoning. It includes both formal and informal logic. Formal logic is the science of deductively valid inferences or of logical truths. It is a formal science investigating how conclusions follow from premis ...
where universal algebra stands for mathematical structures and logic for logical theories; and
:model theory =
algebraic geometry −
fields.
where logical formulas are to definable sets what equations are to varieties over a field.
Nonetheless, the interplay of classes of models and the sets definable in them has been crucial to the development of model theory throughout its history. For instance, while stability was originally introduced to classify theories by their numbers of models in a given
cardinality
In mathematics, the cardinality of a set is a measure of the number of elements of the set. For example, the set A = \ contains 3 elements, and therefore A has a cardinality of 3. Beginning in the late 19th century, this concept was generalized ...
, stability theory proved crucial to understanding the geometry of definable sets.
Fundamental notions of first-order model theory
First-order logic
A first-order ''formula'' is built out of
atomic formulas such as ''R''(''f''(''x'',''y''),''z'') or ''y'' = ''x'' + 1 by means of the
Boolean connectives and prefixing of quantifiers
or
. A sentence is a formula in which each occurrence of a variable is in the scope of a corresponding quantifier. Examples for formulas are φ (or φ(x) to mark the fact that at most x is an unbound variable in φ) and ψ defined as follows:
:
(Note that the equality symbol has a double meaning here.) It is intuitively clear how to translate such formulas into mathematical meaning. In the σ
smr-structure
of the natural numbers, for example, an element ''n'' ''satisfies'' the formula φ if and only if ''n'' is a prime number. The formula ψ similarly defines
irreducibility. Tarski gave a rigorous definition, sometimes called
"Tarski's definition of truth", for the satisfaction relation
, so that one easily proves:
:
is a prime number.
:
is irreducible.
A set
of sentences is called a (first-order)
theory
A theory is a rational type of abstract thinking about a phenomenon, or the results of such thinking. The process of contemplative and rational thinking is often associated with such processes as observational study or research. Theories may ...
, which takes the sentences in the set as its axioms. A theory is ''satisfiable'' if it has a ''model''
, i.e. a structure (of the appropriate signature) which satisfies all the sentences in the set
. A complete theory is a theory that contains every
sentence or its negation.
The complete theory of all sentences satisfied by a structure is also called the ''theory of that structure''.
It's a consequence of Gödel's
completeness theorem (not to be confused with his
incompleteness theorems) that a theory has a model if and only if it is
consistent, i.e. no contradiction is proved by the theory.
Therefore, model theorists often use "consistent" as a synonym for "satisfiable".
Basic model-theoretic concepts
A
signature or
language
Language is a structured system of communication. The structure of a language is its grammar and the free components are its vocabulary. Languages are the primary means by which humans communicate, and may be conveyed through a variety of ...
is a set of
non-logical symbols such that each symbol is either a constant symbol, or a function or relation symbol with a specified
arity
Arity () is the number of arguments or operands taken by a function, operation or relation in logic, mathematics, and computer science. In mathematics, arity may also be named ''rank'', but this word can have many other meanings in mathematics. In ...
. Note that in some literature, constant symbols are considered as function symbols with zero arity, and hence are omitted. A
structure is a set
together with interpretations of each of the symbols of the signature as relations and functions on
(not to be confused with the formal notion of an "
interpretation
Interpretation may refer to:
Culture
* Aesthetic interpretation, an explanation of the meaning of a work of art
* Allegorical interpretation, an approach that assumes a text should not be interpreted literally
* Dramatic Interpretation, an event ...
" of one structure in another).
Example: A common signature for ordered rings is
, where
and
are 0-ary function symbols (also known as constant symbols),
and
are binary (= 2-ary) function symbols,
is a unary (= 1-ary) function symbol, and
is a binary relation symbol. Then, when these symbols are interpreted to correspond with their usual meaning on
(so that e.g.
is a function from
to
and
is a subset of
), one obtains a structure
.
A structure
is said to model a set of first-order sentences
in the given language if each sentence in
is true in
with respect to the interpretation of the signature previously specified for
. (Again, not to be confused with the formal notion of an "
interpretation
Interpretation may refer to:
Culture
* Aesthetic interpretation, an explanation of the meaning of a work of art
* Allegorical interpretation, an approach that assumes a text should not be interpreted literally
* Dramatic Interpretation, an event ...
" of one structure in another)
A
substructure of a σ-structure
is a subset of its domain, closed under all functions in its signature σ, which is regarded as a σ-structure by restricting all functions and relations in σ to the subset.
This generalises the analogous concepts from algebra; For instance, a subgroup is a substructure in the signature with multiplication and inverse.
A substructure is said to be ''elementary'' if for any first-order formula φ and any elements ''a''
1, ..., ''a''
''n'' of
,
:
if and only if
.
In particular, if ''φ'' is a sentence and
an elementary substructure of
, then
if and only if
. Thus, an elementary substructure is a model of a theory exactly when the superstructure is a model.
Example: While the field of algebraic numbers
is an elementary substructure of the field of complex numbers
, the rational field
is not, as we can express "There is a square root of 2" as a first-order sentence satisfied by
but not by
.
An
embedding of a σ-structure
into another σ-structure
is a map ''f'': ''A'' → ''B'' between the domains which can be written as an isomorphism of
with a substructure of
. If it can be written as an isomorphism with an elementary substructure, it is called an elementary embedding. Every embedding is an
injective homomorphism, but the converse holds only if the signature contains no relation symbols, such as in groups or fields.
A field or a vector space can be regarded as a (commutative) group by simply ignoring some of its structure. The corresponding notion in model theory is that of a ''reduct'' of a structure to a subset of the original signature. The opposite relation is called an ''expansion'' - e.g. the (additive) group of the
rational numbers, regarded as a structure in the signature can be expanded to a field with the signature or to an ordered group with the signature .
Similarly, if σ' is a signature that extends another signature σ, then a complete σ'-theory can be restricted to σ by intersecting the set of its sentences with the set of σ-formulas. Conversely, a complete σ-theory can be regarded as a σ'-theory, and one can extend it (in more than one way) to a complete σ'-theory. The terms reduct and expansion are sometimes applied to this relation as well.
Compactness and the Löwenheim-Skolem theorem
The
compactness theorem states that a set of sentences S is satisfiable if every finite subset of S is satisfiable. The analogous statement with ''consistent'' instead of ''satisfiable'' is trivial, since every proof can have only a finite number of antecedents used in the proof. The completeness theorem allows us to transfer this to satisfiability. However, there are also several direct (semantic) proofs of the compactness theorem.
As a corollary (i.e., its contrapositive), the
compactness theorem says that every unsatisfiable first-order theory has a finite unsatisfiable subset. This theorem is of central importance in model theory, where the words "by compactness" are commonplace.
Another cornerstone of first-order model theory is the
Löwenheim-Skolem theorem.
According to the Löwenheim-Skolem Theorem, every infinite structure in a countable signature has a countable elementary substructure. Conversely, for any infinite cardinal κ every infinite structure in a countable signature that is of cardinality less than κ can be elementarily embedded in another structure of cardinality κ (There is a straightforward generalisation to uncountable signatures). In particular, the Löwenheim-Skolem Theorem implies that any theory in a countable signature with infinite models has a countable model as well as arbitrarily large models.
In a certain sense made precise by
Lindström's theorem, first-order logic is the most expressive logic for which both the Löwenheim–Skolem theorem and the compactness theorem hold.
Definability
Definable sets
In model theory,
definable sets are important objects of study. For instance, in
the formula
:
defines the subset of prime numbers, while the formula
:
defines the subset of even numbers.
In a similar way, formulas with ''n'' free variables define subsets of