Definition of definable sets and functions in first order structures, with parameters, examples, closure properties, and proofs.
Definability is one of the central ideas of model theory. Once a first order language and a structure have been fixed, formulas can be used to describe subsets of the domain, relations on the domain, and functions between definable sets. In this way, syntax gives rise to geometry inside a structure: a formula becomes a description of a set of points satisfying a condition.
In this section, we work with a first order language and an -structure . The domain of will be denoted by . Variables range over elements of , and formulas are interpreted in using the satisfaction relation developed earlier.
Definable Sets
Let be an -formula with one free variable . The formula defines a subset of by collecting exactly those elements of that satisfy the formula in .
Definition 6.1 (Definable Subset)
Let be an -structure with domain . A subset is definable in if there is an -formula with one free variable such that:
In this case, we say that defines in .
The notation means that the formula is true in when the variable is assigned the value . More formally, if is an assignment with , then:
The set defined by is often denoted:
This notation emphasizes that the same formula may define different sets in different structures.
Example 6.2
Consider the structure:
The formula:
defines the set of even natural numbers.
Indeed:
The formula says that is the sum of some natural number with itself. Since , this is exactly the condition that is divisible by .
Example 6.3
In the ordered field:
the formula:
defines the positive real numbers:
The formula:
defines the set of nonnegative real numbers:
This is because a real number is a square of another real number exactly when it is nonnegative.
Definable Relations
A formula may have more than one free variable. If is a formula with free variables among , then it defines a subset of .
Definition 6.4 (Definable Relation)
Let be an -structure with domain . An -ary relation is definable in if there is an -formula such that:
Thus definable subsets of are the special case , and definable relations are the general case.
Example 6.5
In the structure:
the formula:
defines the relation:
Indeed, in exactly when there exists such that .
This example shows that a relation can be definable even if its symbol is not included as a primitive symbol of the language, provided that it can be expressed using the available symbols.
Definability With Parameters
Sometimes we want to define a set using particular elements of the structure as fixed constants. This leads to definability with parameters.
Definition 6.6 (Definability With Parameters)
Let be an -structure with domain , and let . A subset is definable over , or -definable, if there is an -formula:
and parameters such that:
If , then is said to be definable without parameters.
A definable set without parameters is sometimes called -definable.
Example 6.7
In the structure:
the interval:
is definable without parameters by:
The interval:
for arbitrary real numbers is definable with parameters and by:
Unless and are already named by terms of the language, the formula defining uses parameters.
Remark 6.8
There is a useful way to think about definability with parameters. If , then one can expand the language by adding a new constant symbol for each , and interpret as in . In that expanded language, -definable sets become definable without parameters.
This does not change the underlying structure , but it changes the language available for describing subsets of .
Boolean Closure of Definable Sets
Definable sets are closed under the usual Boolean operations. This follows from the fact that formulas are closed under logical connectives.
Lemma 6.9 (Closure Under Complement)
Let be definable in . Then is definable in .
Proof
Since is definable, there is a formula such that:
Consider the formula:
For any tuple , we have:
if and only if:
This is true if and only if . Hence:
Therefore is definable.
Lemma 6.10 (Closure Under Intersection)
Let be definable in . Then is definable in .
Proof
Since and are definable, there are formulas and such that:
and:
Consider the formula:
For any , we have:
if and only if:
and:
This is equivalent to saying:
Thus:
Therefore is definable.
Lemma 6.11 (Closure Under Union)
Let be definable in . Then is definable in .
Proof
Choose formulas and defining and , respectively.
Consider:
For any , the formula is true exactly when is true or is true. This is exactly the condition that or .
Therefore:
Hence is definable.
Lemma 6.12 (Closure Under Difference)
Let be definable in . Then is definable in .
Proof
Choose formulas and defining and .
The difference consists of those tuples that belong to and do not belong to . Therefore it is defined by:
Indeed, for any :
if and only if:
Thus is definable.
Projection and Existential Quantification
Definable sets are also closed under projection. This is the semantic counterpart of existential quantification.
Definition 6.13 (Projection)
Let . The projection of onto the first coordinates is:
Projection forgets one coordinate while remembering whether there exists a value of that coordinate making the tuple belong to .
Lemma 6.14 (Closure Under Projection)
Let be definable in . Then its projection is definable in .
Proof
Since is definable, there is a formula:
such that:
We claim that is defined by:
Let . Then:
if and only if there exists such that:
By the definition of , this is equivalent to:
for some .
By the semantics of the existential quantifier, this is equivalent to:
Therefore:
Hence is definable.
Universal Quantification
Universal quantification can also be understood in terms of definable sets. If a formula defines a subset of , then the formula:
defines the set of such that every possible satisfies the relation.
This can be reduced to complement and projection, since:
is equivalent to:
Thus closure under universal quantification follows from closure under complement and projection.
Lemma 6.15 (Closure Under Universal Quantification)
Let be an -formula. The set:
is definable in .
Proof
The set is defined directly by the formula:
Equivalently, using negation and existential quantification, the same set is defined by:
For any , this formula holds exactly when there is no such that fails, which is exactly the condition that holds for all .
Definable Functions
A function is definable when its graph is definable. This is the standard model theoretic definition because first order formulas naturally define relations, and the graph of a function is a relation.
Definition 6.16 (Definable Function)
Let and . A function:
is definable in if its graph:
is a definable subset of .
Equivalently, there is a formula:
such that:
if and only if:
The formula defining the graph must determine a unique output for each input in .
Example 6.17
In the structure:
the function:
is definable.
Its graph is:
This graph is defined by the formula:
Therefore is definable.
Example 6.18
In the ordered field:
the function:
is definable by the formula:
The function:
is also definable, because its graph is defined by:
Here can be expressed as the unique element such that:
If the language includes subtraction or unary minus, the formula can be written more directly.
Lemma 6.19 (Composition of Definable Functions)
Let and be definable functions in . Then:
is definable in .
Proof
Since is definable, its graph is defined by a formula:
Since is definable, its graph is defined by a formula:
The graph of consists of pairs such that there exists with:
and:
Therefore the graph of is defined by:
For any and , this formula holds exactly when there is an intermediate value such that lies in the graph of and lies in the graph of . Since and are functions, this means precisely that:
Hence is definable.
Lemma 6.20 (Preimage of a Definable Set)
Let be a definable function, and let be definable. Then:
is definable.
Proof
Let define the graph of , and let define .
The preimage consists of those for which . This is expressed by:
For any , this formula holds if and only if there exists such that and . Since is a function, this is equivalent to .
Therefore the preimage is definable.
Lemma 6.21 (Image of a Definable Set)
Let be a definable function, and let be definable. Then:
is definable.
Proof
Let define the graph of , and let define .
The image consists of all such that for some . This is expressed by:
For any , this formula holds exactly when there exists satisfying and lying in the graph relation with . This is precisely the condition that belongs to the image of under .
Therefore is definable.
Definable Families
Definable families are collections of definable sets that vary with parameters. They are important because many constructions in model theory involve a single formula whose parameters define many different sets.
Definition 6.22 (Definable Family)
Let be a formula, where may stand for a tuple of object variables and may stand for a tuple of parameter variables.
For each parameter tuple , define:
The collection:
is called the definable family determined by .
Example 6.23
In the ordered field of real numbers, the formula:
defines a family of open intervals:
as the parameters and vary over .
Thus one formula defines many subsets of , each obtained by choosing different parameter values.
Definability and Automorphisms
Definable sets without parameters are preserved by automorphisms. This gives a useful test for non-definability.
Definition 6.24 (Automorphism)
An automorphism of an -structure is a bijection:
that preserves the interpretations of all symbols of .
This means that constants, functions, and relations are respected by .
For example, if is a binary relation symbol, then:
if and only if:
Lemma 6.25 (Parameter Free Definable Sets Are Automorphism Invariant)
Let be definable without parameters in . If is an automorphism of , then:
if and only if:
Proof
Since is definable without parameters, there is a formula such that:
We prove by induction on formulas that automorphisms preserve truth of parameter free formulas. For atomic formulas, preservation follows from the definition of automorphism, since automorphisms preserve equality, relations, functions, and constants.
The Boolean connectives are preserved because truth of compound formulas is determined from truth of their immediate subformulas. For example, if truth of is preserved, then truth of is also preserved. Similarly, preservation for conjunction, disjunction, implication, and biconditional follows from the corresponding truth rules.
For quantifiers, suppose:
Then there is such that:
By the induction hypothesis:
Hence:
The converse follows by applying the same argument to , since an automorphism is a bijection whose inverse is also an automorphism.
Thus:
if and only if:
Therefore is invariant under .
Example 6.26
Consider the pure equality structure:
with no non-logical symbols besides equality, and suppose has at least two elements.
No singleton is definable without parameters.
Indeed, if were definable without parameters, it would be fixed by every automorphism of . But in the pure equality structure, every permutation of is an automorphism. If , there is a permutation sending to . Such a permutation does not preserve the set . Hence is not definable without parameters.
However, is definable with parameter by the formula:
Definable Closure
Definable closure records which elements are uniquely determined by parameters.
Definition 6.27 (Definable Closure)
Let be an -structure and let . An element belongs to the definable closure of , written:
if there is a formula with parameters from such that:
and:
Here means “there exists a unique ”.
Thus lies in if is uniquely definable using parameters from .
Example 6.28
In the ordered field:
the element:
is definable without parameters because it is the unique element satisfying:
More generally, every rational number is definable without parameters in this structure, since it can be described using , , addition, multiplication, and additive inverses.
If , then belongs to , since it is uniquely defined by:
Lemma 6.29 (Basic Properties of Definable Closure)
For any , the following hold:
If , then:
Also:
Proof
First, let . Then is uniquely defined over by the formula:
Therefore:
This proves:
Second, suppose and let . Then is uniquely defined by some formula with parameters from . Since every parameter from is also a parameter from , the same formula defines uniquely over . Hence:
This proves monotonicity:
It remains to prove idempotence. By monotonicity and the inclusion , we have:
For the reverse inclusion, suppose:
Then is uniquely defined by a formula using finitely many parameters:
For each , choose a formula with parameters from that uniquely defines over .
The element is defined over the parameters by some formula:
Replace the parameters by variables , and define a new formula over :
Because each uniquely defines , this formula uniquely defines the same element over . Therefore:
Thus:
Combining both inclusions gives: