Skip to content

2.3 Structures and Interpretations

Structures, domains, and interpretations of symbols in first order logic.

In first order logic, formulas do not have meaning by themselves, and meaning is provided by specifying a structure in which the symbols of the language are interpreted as actual objects, functions, and relations.

Structures

A structure consists of a domain together with interpretations of all symbols in the signature, and it serves as the semantic environment in which formulas are evaluated.

Definition 2.19 (Structure)

A structure M\mathcal{M} for a given signature consists of the following data.

A non empty set:

M M

called the domain of the structure.

For each constant symbol cc, an element:

cMM c^{\mathcal{M}} \in M

For each function symbol ff of arity nn, a function:

fM:MnM f^{\mathcal{M}} : M^n \to M

For each predicate symbol PP of arity nn, a relation:

PMMn P^{\mathcal{M}} \subseteq M^n

Thus every symbol in the language is assigned a concrete meaning inside the structure.

Example 2.20

Let M\mathcal{M} be a structure with domain:

M=N M = \mathbb{N}

Suppose the signature contains a constant symbol 00, a unary function symbol ss, and a binary predicate symbol <<.

We may interpret these symbols as follows:

0M=0 0^{\mathcal{M}} = 0

sM(x)=x+1 s^{\mathcal{M}}(x) = x + 1

<M={(x,y)N2:x<y} <^{\mathcal{M}} = \{(x, y) \in \mathbb{N}^2 : x < y\}

This structure represents the natural numbers with their usual operations and relations.

Assignments

Formulas may contain free variables, and to interpret such formulas we need to assign elements of the domain to these variables.

Definition 2.21 (Assignment)

An assignment in a structure M\mathcal{M} is a function:

s:VarM s : \mathrm{Var} \to M

which assigns to each variable an element of the domain.

Thus an assignment tells us which object each variable refers to.

Interpretation of Terms

Terms denote elements of the domain once a structure and an assignment have been fixed.

Definition 2.22 (Value of a Term)

Let M\mathcal{M} be a structure and ss an assignment.

The value of a term tt in M\mathcal{M} under ss, written:

tM,s t^{\mathcal{M}, s}

is defined inductively.

If tt is a variable xx, then:

tM,s=s(x) t^{\mathcal{M}, s} = s(x)

If tt is a constant symbol cc, then:

tM,s=cM t^{\mathcal{M}, s} = c^{\mathcal{M}}

If t=f(t1,,tn)t = f(t_1, \dots, t_n), then:

tM,s=fM(t1M,s,,tnM,s) t^{\mathcal{M}, s} = f^{\mathcal{M}}(t_1^{\mathcal{M}, s}, \dots, t_n^{\mathcal{M}, s})

This definition assigns a unique element of the domain to every term.

Example 2.23

In the structure of natural numbers described above, let the assignment ss be given by:

s(x)=2 s(x) = 2

Then:

xM,s=2 x^{\mathcal{M}, s} = 2

and:

s(x)M,s=3 s(x)^{\mathcal{M}, s} = 3

if ss denotes the successor function.

Interpretation of Atomic Formulas

Atomic formulas express basic relations between terms.

Definition 2.24 (Truth of Atomic Formulas)

Let M\mathcal{M} be a structure and ss an assignment.

If AA is an atomic formula of the form:

P(t1,,tn) P(t_1, \dots, t_n)

then:

M,sA \mathcal{M}, s \models A

if and only if:

(t1M,s,,tnM,s)PM (t_1^{\mathcal{M}, s}, \dots, t_n^{\mathcal{M}, s}) \in P^{\mathcal{M}}

If AA is of the form:

t1=t2 t_1 = t_2

then:

M,sA \mathcal{M}, s \models A

if and only if:

t1M,s=t2M,s t_1^{\mathcal{M}, s} = t_2^{\mathcal{M}, s}

Thus atomic formulas are evaluated by checking whether the corresponding relation holds in the structure.

Extension to All Formulas

The truth of general formulas is defined recursively.

Definition 2.25 (Satisfaction)

Let M\mathcal{M} be a structure and ss an assignment.

The relation:

M,sA \mathcal{M}, s \models A

is defined inductively.

For atomic formulas, the definition is as above.

For negation:

M,s¬A \mathcal{M}, s \models ¬A

if and only if:

M,s⊭A \mathcal{M}, s \not\models A

For conjunction:

M,sAB \mathcal{M}, s \models A \land B

if and only if:

M,sAandM,sB \mathcal{M}, s \models A \quad \text{and} \quad \mathcal{M}, s \models B

The other connectives are defined similarly.

For the universal quantifier:

M,sxA \mathcal{M}, s \models \forall x \, A

if and only if for every element aMa \in M, we have:

M,s[xa]A \mathcal{M}, s[x \mapsto a] \models A

For the existential quantifier:

M,sxA \mathcal{M}, s \models \exists x \, A

if and only if there exists an element aMa \in M such that:

M,s[xa]A \mathcal{M}, s[x \mapsto a] \models A

Here s[xa]s[x \mapsto a] denotes the assignment that agrees with ss except that it assigns aa to xx.

Example 2.26

Let M\mathcal{M} be the structure of natural numbers, and let ss be any assignment.

Then:

M,sx(x=x) \mathcal{M}, s \models \forall x \, (x = x)

because for every element aNa \in \mathbb{N}:

a=a a = a

holds.

However:

M,sx(x<0) \mathcal{M}, s \models \exists x \, (x < 0)

is false, because there is no natural number less than 00.

Lemma 2.27 (Uniqueness of Evaluation)

For every structure M\mathcal{M}, assignment ss, and formula AA, the truth value of AA is uniquely determined.

Proof

The proof is by structural induction on formulas.

The value of atomic formulas is uniquely determined by the interpretation of symbols and the values of terms.

The logical connectives define truth values uniquely from the truth values of their components.

The quantifiers define truth uniquely by ranging over all elements of the domain.

Thus every formula has a well defined truth value in a given structure under a given assignment.

Closed Formulas

If a formula has no free variables, then its truth does not depend on the assignment.

In this case we write:

MA \mathcal{M} \models A

to mean that AA is true in the structure M\mathcal{M}.

Such formulas are called sentences, and they express properties of the structure itself rather than properties of particular elements.

Example 2.28

In the structure of natural numbers:

Mx(x=x) \mathcal{M} \models \forall x \, (x = x)

but:

Mx(x<0) \mathcal{M} \models \exists x \, (x < 0)

does not hold.

Thus sentences describe global properties of the domain and its operations.