Skip to content

4.4 Isomorphism and Invariants

Isomorphisms of first order structures, structural invariants, and properties preserved by isomorphism.

Structures are often presented using particular sets, symbols, and operations, but many mathematical questions concern the structure itself rather than the specific names of its elements. Isomorphism formalizes this idea by identifying structures that have the same internal organization, even when their underlying domains are different.

Definition 4.31 (Isomorphism)

Let A\mathcal A and B\mathcal B be structures for the same signature.

An isomorphism from A\mathcal A to B\mathcal B is a bijection:

h:AB h:A \to B

such that constants, functions, and relations are preserved exactly.

For every constant symbol cc:

h(cA)=cB h(c^{\mathcal A}) = c^{\mathcal B}

For every nn ary function symbol ff and all a1,,anAa_1,\dots,a_n \in A:

h(fA(a1,,an))=fB(h(a1),,h(an)) h(f^{\mathcal A}(a_1,\dots,a_n)) = f^{\mathcal B}(h(a_1),\dots,h(a_n))

For every nn ary relation symbol RR and all a1,,anAa_1,\dots,a_n \in A:

RA(a1,,an) R^{\mathcal A}(a_1,\dots,a_n)

holds if and only if:

RB(h(a1),,h(an)) R^{\mathcal B}(h(a_1),\dots,h(a_n))

holds.

If such a map exists, we say that A\mathcal A and B\mathcal B are isomorphic and write:

AB \mathcal A \cong \mathcal B

Example 4.32

Consider two finite graphs:

G=(V,E)andH=(W,F) \mathcal G=(V,E) \quad \text{and} \quad \mathcal H=(W,F)

in the language with one binary relation symbol for adjacency.

An isomorphism:

h:GH h:\mathcal G \to \mathcal H

is a bijection from VV to WW such that for all vertices a,bVa,b \in V:

E(a,b) E(a,b)

holds if and only if:

F(h(a),h(b)) F(h(a),h(b))

holds.

Thus graph isomorphism means that the vertices may be renamed without changing the adjacency pattern.

Example 4.33

The groups:

(Z,+,0) (\mathbb Z,+,0)

and:

(2Z,+,0) (2\mathbb Z,+,0)

are isomorphic as groups.

The map:

h:Z2Z h:\mathbb Z \to 2\mathbb Z

defined by:

h(n)=2n h(n)=2n

is a bijection and satisfies:

h(m+n)=h(m)+h(n) h(m+n)=h(m)+h(n)

and:

h(0)=0 h(0)=0

Although the underlying sets are different, the group structure is the same.

Lemma 4.34 (Isomorphism is an Equivalence Relation)

Isomorphism is reflexive, symmetric, and transitive.

Proof

Reflexivity holds because the identity map:

idA:AA \mathrm{id}_A:A \to A

preserves all constants, functions, and relations, and is therefore an isomorphism from A\mathcal A to itself.

Symmetry holds because if:

h:AB h:\mathcal A \to \mathcal B

is an isomorphism, then hh is a bijection and has an inverse function:

h1:BA h^{-1}:B \to A

The preservation and reflection conditions for hh imply the corresponding conditions for h1h^{-1}, so h1h^{-1} is an isomorphism from B\mathcal B to A\mathcal A.

Transitivity holds because if:

h:AB h:\mathcal A \to \mathcal B

and:

k:BC k:\mathcal B \to \mathcal C

are isomorphisms, then the composite:

kh:AC k \circ h:\mathcal A \to \mathcal C

is a bijection, and preservation of constants, functions, and relations follows by applying the preservation properties first for hh and then for kk.

Invariants

An invariant is a property or quantity that is unchanged under isomorphism. Invariants are useful because they help distinguish structures that cannot be isomorphic.

For example, the cardinality of the domain is an invariant. If:

AB \mathcal A \cong \mathcal B

then:

A=B |A|=|B|

In graph theory, the number of vertices, the number of edges, and the degree sequence are invariants.

In group theory, the order of a group, whether it is abelian, and the number of elements of each finite order are invariants.

An invariant can show that two structures are not isomorphic, but a single invariant usually cannot show that two structures are isomorphic unless it gives a complete classification.

Example 4.35

Let G\mathcal G be a graph with three vertices and three edges, forming a triangle.

Let H\mathcal H be a graph with three vertices and two edges, forming a path.

These graphs are not isomorphic because the number of edges is preserved by isomorphism, and:

32 3 \ne 2

The edge count is therefore enough to distinguish them.

Example 4.36

Consider the groups:

Z/4Z \mathbb Z/4\mathbb Z

and:

Z/2Z×Z/2Z \mathbb Z/2\mathbb Z \times \mathbb Z/2\mathbb Z

Both groups have four elements, so cardinality does not distinguish them.

However, Z/4Z\mathbb Z/4\mathbb Z has an element of order 44, while:

Z/2Z×Z/2Z \mathbb Z/2\mathbb Z \times \mathbb Z/2\mathbb Z

has no element of order 44.

Since element orders are preserved by group isomorphism, the two groups are not isomorphic.

Lemma 4.37 (Terms are Preserved by Isomorphism)

Let:

h:AB h:\mathcal A \to \mathcal B

be an isomorphism.

For every term t(x1,,xn)t(x_1,\dots,x_n) and all a1,,anAa_1,\dots,a_n \in A:

h(tA(a1,,an))=tB(h(a1),,h(an)) h(t^{\mathcal A}(a_1,\dots,a_n)) = t^{\mathcal B}(h(a_1),\dots,h(a_n))

Proof

The proof is by induction on the construction of the term tt.

If tt is a variable xix_i, then:

tA(a1,,an)=ai t^{\mathcal A}(a_1,\dots,a_n)=a_i

and:

tB(h(a1),,h(an))=h(ai) t^{\mathcal B}(h(a_1),\dots,h(a_n))=h(a_i)

so the equality holds.

If tt is a constant symbol cc, then the equality follows from the defining condition:

h(cA)=cB h(c^{\mathcal A})=c^{\mathcal B}

If:

t=f(t1,,tm) t=f(t_1,\dots,t_m)

then by the induction hypothesis each tit_i is preserved by hh. Since hh also preserves the function symbol ff, we obtain:

h(tA(a1,,an))=tB(h(a1),,h(an)) h(t^{\mathcal A}(a_1,\dots,a_n)) = t^{\mathcal B}(h(a_1),\dots,h(a_n))

Lemma 4.38 (Formulas are Preserved by Isomorphism)

Let:

h:AB h:\mathcal A \to \mathcal B

be an isomorphism.

For every formula φ(x1,,xn)\varphi(x_1,\dots,x_n) and all a1,,anAa_1,\dots,a_n \in A:

Aφ(a1,,an) \mathcal A \models \varphi(a_1,\dots,a_n)

if and only if:

Bφ(h(a1),,h(an)) \mathcal B \models \varphi(h(a_1),\dots,h(a_n))

Proof

The proof is by structural induction on the formula φ\varphi.

For atomic formulas involving equality, the result follows from Lemma 4.37 and the injectivity of hh.

For atomic formulas involving relation symbols, the result follows from the relation preservation and reflection condition in the definition of isomorphism.

For formulas built using logical connectives, the result follows immediately from the induction hypothesis and the truth definitions of the connectives.

For quantified formulas, consider first:

xψ(x,a1,,an) \exists x\,\psi(x,a_1,\dots,a_n)

If this formula is true in A\mathcal A, then there is some aAa \in A such that:

Aψ(a,a1,,an) \mathcal A \models \psi(a,a_1,\dots,a_n)

By the induction hypothesis:

Bψ(h(a),h(a1),,h(an)) \mathcal B \models \psi(h(a),h(a_1),\dots,h(a_n))

so the existential formula is true in B\mathcal B.

Conversely, if the existential formula is true in B\mathcal B, then there is some bBb \in B satisfying the corresponding formula. Since hh is surjective, there is some aAa \in A with:

h(a)=b h(a)=b

The induction hypothesis then transfers the truth back to A\mathcal A.

The universal case is similar, or follows from the existential case using negation.

Corollary 4.39 (Isomorphism Implies Elementary Equivalence)

If:

AB \mathcal A \cong \mathcal B

then:

AB \mathcal A \equiv \mathcal B

Proof

A sentence has no free variables, so Lemma 4.38 applies without parameters.

Therefore every sentence true in A\mathcal A is true in B\mathcal B, and every sentence true in B\mathcal B is true in A\mathcal A.

Hence:

Th(A)=Th(B) \mathrm{Th}(\mathcal A)=\mathrm{Th}(\mathcal B)

which means:

AB \mathcal A \equiv \mathcal B

Complete Invariants

A collection of invariants is complete for a class of structures if two structures in that class are isomorphic exactly when all invariants in the collection agree.

For example, finite dimensional vector spaces over a fixed field are classified up to isomorphism by their dimension.

If VV and WW are finite dimensional vector spaces over the same field FF, then:

VW V \cong W

if and only if:

dimFV=dimFW \dim_F V = \dim_F W

In this class, dimension is a complete invariant.

For many classes of structures, complete invariants are difficult or impossible to give in a simple form. Model theory studies both the properties that are preserved by isomorphism and the logical tools available for comparing structures when complete classification is not available.