Reference articles on history, science, culture and more
Encyclopedia

Type (model theory)

Concept in model theory

In model theory and related areas of mathematics, a type is an object that describes how a (real or possible) element or finite collection of elements in a mathematical structure might behave. More precisely, it is a set of first-order formulas in a language L with free variables x1, x2,..., xn that are true of a set of n-tuples of an L-structure {\mathcal {M}}. Depending on the context, types can be complete or partial and they may use a fixed set of constants, A, from the structure {\mathcal {M}}. The question of which types represent actual (tuples of) elements of {\mathcal {M}} leads to the ideas of saturated models and omitting types.

01Definitions

Consider a structure {\mathcal {M}} for a language L. Let M be the universe of the structure. For every A  M, let L(A) be the language obtained from L by adding a constant ca for every a  A. In other words,

L(A)=L\cup \{c_{a}:a\in A\}.

A 1-type (of {\mathcal {M}}) over A is a set p(x) of formulas in L(A) with at most one free variable x, such that for every finite subset p0(x)  p(x) there is some b  M, depending on p0(x), with {\mathcal {M}}\models p_{0}(b). In other words,{\mathcal {M}}\models \exists x\left(\bigwedge p_{0}(x)\right)More generally, an n-type (of {\mathcal {M}}) over A is defined to be a set p(x1,...,xn) = p(x) of formulas in L(A), each having its free variables occurring only among the given n free variables x1,...,xn, such that for every finite subset p0(x)  p(x) there are some elements b1,...,bn  M with {\mathcal {M}}\models p_{0}(b_{1},\ldots ,b_{n}).

A complete type of {\mathcal {M}} over A is one that is maximal with respect to inclusion. Equivalently, for every \phi ({\boldsymbol {x}})\in L(A,{\boldsymbol {x}}) either \phi ({\boldsymbol {x}})\in p({\boldsymbol {x}}) or \lnot \phi ({\boldsymbol {x}})\in p({\boldsymbol {x}}). Any non-complete type is called a partial type. For example, the only complete 0-type is the set of all sentences of L(A) that are modelled by {\mathcal {M}}.

The word type in general refers to any n-type, partial or complete, over any chosen set of parameters (possibly the empty set).

An n-type p(x) is said to be realized in {\mathcal {M}} if there is an element b  Mn such that {\mathcal {M}}\models p({\boldsymbol {b}}). By the compactness theorem, any type is realizable, although the realization might take place in some elementary extension of {\mathcal {M}}, rather than in {\mathcal {M}} itself. If a complete type is realized by b in {\mathcal {M}}, then the type is typically denoted tp_{n}^{\mathcal {M}}({\boldsymbol {b}}/A) and referred to as the complete type of b over A.

A type p(x) is said to be isolated by \varphi, for \varphi \in p(x), if for all \psi ({\boldsymbol {x}})\in p({\boldsymbol {x}}), we have \operatorname {Th} ({\mathcal {M}})\models \varphi ({\boldsymbol {x}})\rightarrow \psi ({\boldsymbol {x}}). Since finite subsets of a type are always realized in {\mathcal {M}}, there is always an element b  Mn such that φ(b) is true in {\mathcal {M}}; i.e. {\mathcal {M}}\models \varphi ({\boldsymbol {b}}), thus b realizes the entire isolated type. So isolated types will be realized in every elementary substructure or extension. Because of this, isolated types can never be omitted (see below).

A model that realizes the maximum possible variety of types is called a saturated model, and the ultrapower construction provides one way of producing saturated models.

02Examples

Consider the language L with one binary relation symbol, which we denote as \in. Let {\mathcal {M}} be the structure \langle \omega ,\in _{\omega }\rangle for this language, which is the ordinal \omega with its standard well-ordering. Let {\mathcal {T}} denote the first-order theory of {\mathcal {M}}.

Consider the set of L(ω)-formulas p(x):=\{n\in _{\omega }x\mid n\in \omega \}. First, we claim this is a type. Let p_{0}(x)\subseteq p(x) be a finite subset of p(x). We need to find a b\in \omega that satisfies all the formulas in p_{0}. Well, we can just take the successor of the largest ordinal mentioned in the set of formulas p_{0}(x). Then this will clearly contain all the ordinals mentioned in p_{0}(x). Thus we have that p(x) is a type. Next, note that p(x) is not realized in {\mathcal {M}}. For, if it were there would be some n\in \omega that contains every element of \omega. If we wanted to realize the type, we might be tempted to consider the structure \langle \omega +1,\in _{\omega +1}\rangle, which is indeed an extension of {\mathcal {M}} that realizes the type. Unfortunately, this extension is not elementary, for example, it does not satisfy {\mathcal {T}}. In particular, the sentence \exists x\forall y(y\in x\lor y=x) is satisfied by this structure and not by {\mathcal {M}}.

So, we wish to realize the type in an elementary extension. We can do this by defining a new L-structure, which we will denote {\mathcal {M}}'. The domain of the structure will be \omega \cup \mathbb {Z} ' where \mathbb {Z} ' is the set of integers adorned in such a way that \mathbb {Z} '\cap \omega =\emptyset. Let < denote the usual order of \mathbb {Z} '. We interpret the symbol \in in our new structure by \in _{{\mathcal {M}}'}=\in _{\omega }\cup <\cup \,(\omega \times \mathbb {Z} '). The idea being that we are adding a "\mathbb {Z}-chain", or copy of the integers, above all the finite ordinals. Clearly any element of \mathbb {Z} ' realizes the type p(x). Moreover, one can verify that this extension is elementary.

Another example: the complete type of the number 2 over the empty set, considered as a member of the natural numbers, would be the set of all first-order statements (in the language of Peano arithmetic), describing a variable x, that are true when x = 2. This set would include formulas such as \,\!x\neq 1+1+1, x\leq 1+1+1+1+1, and \exists y(y<x). This is an example of an isolated type, since, working over the theory of the naturals, the formula x=1+1 implies all other formulas that are true about the number 2.

As a further example, the statements

\forall y(y^{2}<2\implies y<x)

and

\forall y((y>0\land y^{2}>2)\implies y>x)

describing the square root of 2 are consistent with the axioms of ordered fields, and can be extended to a complete type. This type is not realized in the ordered field of rational numbers, but is realized in the ordered field of reals. Similarly, the infinite set of formulas (over the empty set) {x>1, x>1+1, x>1+1+1, ...} is not realized in the ordered field of real numbers, but is realized in the ordered field of hyperreals. Similarly, we can specify a type \{0<x<1/n\mid n\in \mathbb {N} \} that is realized by an infinitesimal hyperreal that violates the Archimedean property.

The reason it is useful to restrict the parameters to a certain subset of the model is that it helps to distinguish the types that can be satisfied from those that cannot. For example, using the entire set of real numbers as parameters one could generate an uncountably infinite set of formulas like x\neq 1, x\neq \pi, ... that would explicitly rule out every possible real value for x, and therefore could never be realized within the real numbers.

03Stone spaces

It is useful to consider the set of complete n-types over A as a topological space. Consider the following equivalence relation on formulas in the free variables x1,..., xn with parameters in A:

\psi \equiv \phi \Leftrightarrow {\mathcal {M}}\models \forall x_{1},\ldots ,x_{n}(\psi (x_{1},\ldots ,x_{n})\leftrightarrow \phi (x_{1},\ldots ,x_{n})).

One can show that \psi \equiv \phi if and only if they are contained in exactly the same complete types.

The set of formulas in free variables x1,...,xn over A up to this equivalence relation is a Boolean algebra (and is canonically isomorphic to the set of A-definable subsets of Mn). The complete n-types correspond to ultrafilters of this Boolean algebra. The set of complete n-types can be made into a topological space by taking the sets of types containing a given formula as a basis of open sets. This constructs the Stone space associated to the Boolean algebra, which is a compact, Hausdorff, and totally disconnected space.

Example. The complete theory of algebraically closed fields of characteristic 0 has quantifier elimination, which allows one to show that the possible complete 1-types (over the empty set) correspond to:

In other words, the 1-types correspond exactly to the prime ideals of the polynomial ring Q[x] over the rationals Q: if r is an element of the model of type p, then the ideal corresponding to p is the set of polynomials with r as a root (which is only the zero polynomial if r is transcendental). More generally, the complete n-types correspond to the prime ideals of the polynomial ring Q[x1,...,xn], in other words to the points of the prime spectrum of this ring. (The Stone space topology can in fact be viewed as the Zariski topology of a Boolean ring induced in a natural way from the Boolean algebra. While the Zariski topology is not in general Hausdorff, it is in the case of Boolean rings.) For example, if q(x,y) is an irreducible polynomial in two variables, there is a 2-type whose realizations are (informally) pairs (x,y) of elements with q(x,y)=0.

04Omitting types theorem

Given a complete n-type p one can ask if there is a model of the theory that omits p, in other words there is no n-tuple in the model that realizes p. If p is an isolated point in the Stone space, i.e. if {p} is an open set, it is easy to see that every model realizes p (at least if the theory is complete). The omitting types theorem says that conversely if p is not isolated then there is a countable model omitting p (provided that the language is countable).

Example: In the theory of algebraically closed fields of characteristic 0, there is a complete 1-type represented by elements that are transcendental over the prime field Q. This is a non-isolated point of the Stone space (in fact, the only non-isolated point). The field of algebraic numbers is a model omitting this type, and the algebraic closure of any transcendental extension of the rationals is a model realizing this type.

All the other complete types are "algebraic numbers" (more precisely, they are the sets of first-order statements satisfied by some given algebraic number), and all such types are realized in all algebraically closed fields of characteristic 0.

Watch videos about Type (model theory)Explainers and documentaries on YouTube (opens in a new tab)

Sources and credits

This article is adapted from the Wikipedia article Type (model theory), written by its contributors and licensed under CC BY-SA 4.0. Fathomly has changed the layout, removed citation markers, navigation and maintenance notices, and adjusted punctuation. This adapted version is shared under the same license. For references, see the original article.

Fathomly is not affiliated with or endorsed by the Wikimedia Foundation. Spotted a problem? Tell us.