Substructures, generated substructures, homomorphisms, embeddings, and preservation of atomic formulas.
A structure may contain smaller structures inside it, provided that the smaller domain is closed under the operations of the language and carries the relations inherited from the larger structure.
Definition 4.13 (Substructure)
Let and be structures for the same signature, and let and be their underlying domains.
We say that is a substructure of , written:
if the following conditions hold.
First:
Second, every constant symbol has the same interpretation:
Third, for every ary function symbol and all :
and:
Fourth, for every ary relation symbol and all :
holds if and only if:
holds.
Thus a substructure is obtained by restricting the larger structure to a subset that is closed under all functions and contains the interpretations of all constants.
Example 4.14
Consider the language of groups:
A subgroup of a group is exactly a substructure in this language, because contains the identity, is closed under multiplication, and is closed under inverse.
Thus:
corresponds to:
as structures in the group language.
Example 4.15
Consider the ordered set:
The subset:
with the usual order is a substructure in the language containing only the relation symbol , because there are no function symbols that must be closed under.
However, in the language:
the natural numbers are not a substructure of the integers if is taken to include , because closure under additive inverses is not required, but closure under addition is required and holds, while the constant is included.
If the language also contains unary negation:
then is not a substructure of , because it is not closed under negation.
Generated Substructures
Given a subset of the domain of a structure, there is often a smallest substructure containing that subset.
Definition 4.16 (Generated Substructure)
Let be a structure and let .
The substructure generated by , denoted:
is the smallest substructure of whose domain contains .
Equivalently, it is the intersection of all substructures of that contain .
The generated substructure is obtained by closing under all constant symbols and all function symbols of the language.
Example 4.17
In a group , the substructure generated by a subset is the subgroup generated by .
It consists of all finite products of elements of and their inverses:
where each and each is either or .
Homomorphisms
A homomorphism is a map between structures that preserves the interpretations of constants, functions, and relations in the appropriate direction.
Definition 4.18 (Homomorphism)
Let and be structures for the same signature.
A homomorphism:
is a function:
such that the following conditions hold.
For every constant symbol :
For every ary function symbol and all :
For every ary relation symbol and all , if:
then:
A homomorphism preserves positive atomic information from the source structure to the target structure.
Definition 4.19 (Embedding)
An embedding:
is an injective homomorphism that also reflects relations.
Thus, for every relation symbol and all :
holds if and only if:
holds.
An embedding identifies with a substructure of through the map .
Example 4.20
The inclusion map:
is an embedding in the language of rings:
It preserves the constants and , preserves addition, subtraction, and multiplication, and is injective.
Lemma 4.21 (Image of an Embedding)
Let:
be an embedding. Then the image:
carries a natural substructure of , and is an isomorphism from onto this image.
Proof
Since preserves constants, every constant interpretation of that corresponds to a constant in the signature lies in the image .
Since preserves functions, if:
for , then:
which lies in .
Thus the image is closed under all function symbols and contains all constant interpretations.
Relations on the image are inherited from , and since both preserves and reflects relations, the relational structure on agrees exactly with the structure transported from .
Therefore is a substructure of , and is an isomorphism between and this substructure.
Atomic Preservation
Embeddings preserve the truth of atomic formulas and their negations.
Lemma 4.22 (Atomic Preservation)
Let:
be an embedding.
For every atomic formula and all :
if and only if:
Proof
Atomic formulas are either equalities between terms or applications of relation symbols to terms.
For equality, the claim follows because preserves the interpretation of function symbols and is injective.
For relation symbols, the claim follows directly from the definition of embedding, which says that relations are both preserved and reflected.
Since terms are evaluated by repeated application of function symbols, preservation of functions ensures that the value of a term in is carried by to the value of the corresponding term in .
Thus every atomic formula has the same truth value before and after applying the embedding.
Inclusion Embeddings
If is a substructure of , then the inclusion map:
is an embedding.
Conversely, every embedding may be viewed as an inclusion after identifying the source structure with its image.
This is why one often writes:
when the embedding is understood.