Processing math: 100%
Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Mathematics LibreTexts

2.5.8: Truth in a Structure

( \newcommand{\kernel}{\mathrm{null}\,}\)

It is at last time to tie together the syntax and the semantics. We have some formal rules about what constitutes a language, and we can identify the terms, formulas, and sentences of a language. We can also identify L-structures for a given language L. In this section we will decide what it means to say that an L-formula ϕ is true in an L-structure A.

To begin the process of tying together the symbols with the structures, we will introduce assignment functions. These assignment functions will formalize what it means to interpret a term or a formula in a structure.

Definition 1.7.1. If A is an L-structure, a variable assignment function into A is a function s that assigns to each variable an element of the universe A. So a variable assignment function into A is any function with domain Vars and codomain A.

Variable assignment functions need not be injective or bijective. For example, if we work with LNT and the standard structure N, then the function s defined by s(vi)=i is a variable assignment function, as is the function s defined by

s(vi)=the smallest prime number that does not dividei.

We will have occasion to want to fix the value of the assignment function s for certain variables.

Definition 1.7.2. If s is a variable assignment function into A and x is a variable and aA, then s[x|a] is the variable assignment function into A defined as follows:

s[x|a]={s(v)ifvis a variable other thanxaifvis the variablex

We call the function s[x|a] an x-modification of the assignment function s.

So an x-modification of s is just like s, except that the variable x is assigned to a particular element of the universe.

What we will do next is extend a variable assignment function s to a term assignment function, ˉs. This function will assign an element of the universe to each term of the language L.

Definition 1.7.3. Suppose that A is an L-structure and s is a variable assignment function into A. The function ˉs, called the term assignment function generated by s, is the function with domain consisting of the set of L-terms and codomain A defined recursively as follows:

  1. If t is a variable, ˉs(t)=s(t).
  2. If t is a constant symbol c, then ˉs(t)=cA.
  3. If t:≡ft1t2tn, then ˉs(t)=fA(ˉs(t1),ˉs(t2),,ˉs(tn)).

Although we will be primarily interested in truth of sentences, we will first describe truth (or satisfaction) for arbitrary formulas, relative to an assignment function.

Definition 1.7.4. Suppose that A is an L-structure, ϕ is an L-formula, and s:VarsA is an assignment function. We will say that A satisfies ϕ with assignment s, and write Aϕ[s], in the following circumstances:

  1. If ϕ:≡t1t2 and ˉs(t1) is the same element of the universe A as ˉs(t2), or
  2. If ϕ:≡Rt1t2tn and (ˉs(t1),ˉs(t2),,ˉs(tn))RA, or
  3. If ϕ:≡(¬α) and Aα[s], (where means "does not satisfy"), or
  4. If ϕ:≡(αβ) and Aα[s], or Aβ[s] (or both), or
  5. If ϕ:≡(x)(α) and, for each element a of A, Aα[s(x|a)].

If Γ is a set of L-formulas, we say that A satisfies Γ with assignment s, and write AΓ[s] if for each γΓ, Aγ[s].

Chaff: Notice that the symbol is not part of the language L. Rather, is a metalinguistic symbol that we use to talk about formulas in the language and structures for the language.

Chaff: Also notice that we have at last tied together the syntax and semantics of our language! The definition above is the place where we formally put the meanings on the symbols that we will use, so that means "or" and means "for all".

Example 1.7.5. Let us work with the empty language, so L has no constant symbols, no function symbols, and no relation symbols. So an L-structure is simply a nonempty set, and let us consider the L-structure A, where A={Humphrey, Ingrid}. Consider the formula x=y and the assignment function s, where s(x) is Humphrey and s(y) is also Humphrey. If we ask whether Ax=y[s], we have to check whether bars(x) is the same element of A as ˉs(y). Since the two objects are identical, the formula is true.

To emphasize this, the formula x=y can be true in some universes with some assignment functions. Although the variables x and y are distinct, the truth or falsity of the formula depends not on the variables (which are not equal) but rather, on which elements of the structure the variables denote, the values of the variables (which are equal for this example). Of course, there are other assignment functions and other structures that make our formula false. We are sure you can think of some.

To talk about the truth or falsity of a sentence in a structure, we will take our definition of satisfaction relative to an assignment function and prove that for sentences, the choice of the assignment function is inconsequential. Then we will say that a sentence σ is true in a structure A if and only if Aσ[s] for any (and therefore all) variable assignment functions s.

Chaff: The next couple of proofs are proofs by induction on the complexity of terms or formulas. You may want to reread the proof of Theorem 1.4.2 if you find these difficult.

Lemma 1.7.6. Suppose that s1 and s2 are variable assignment functions into a structure A such that s1(v)=s2(v) for every variable v in the term t. Then ¯s1(t)=¯s2(t).

Proof. We use induction on the complexity of the term t. If t is either a variable or a constant symbol, the result is immediate. If t:≡ft1t2tn, then as ¯s1(ti)=¯s2(ti) for 1in by the inductive hypothesis, the definition of ¯s1(t) and the definition of ¯s2(t) are identical, and thus ¯s1(t)=¯s2(t).

Proposition 1.7.7. Suppose that s1 and s2 are variable assignment functions into a structure A such that s1(v)=s2(v) for every free variable v in the formula ϕ. Then mathfrakAϕ[s1] if and only if Aϕ[s2].

Proof. We use induction on the complexity of ϕ. If ϕ:≡=t1t2, then the free variables of ϕ are exactly the variables that occur in ϕ. Thus Lemma 1.7.6 tells us that ¯s1(t1)=¯s2(t1) and ¯s1(t2)=¯s2(t2), meaning that they are the same element of the universe A, so A(=t1t2)[s1] if and only if A(=t1t2)[s2], as needed.

The other base case, if ϕ:≡Rt1t2tn, is similar and is left as part of Exercise 6.

To begin the first inductive clause, if ϕ:≡¬α, notice that the free variables of ϕ are exactly the free variables of α, so s1 and s2 agree on the free variables of α. By the inductive hypothesis, Aα[s1] if and only if Aα[s2], and thus (by the definition of satisfaction), Aϕ[s1] if and only if Aϕ[s2]. The second inductive clause, if ϕ:≡αβ, is another part of Exercise 6.

If ϕ:≡(x)(α), we first note that the only variable that might be free in α that is not free in ϕ is x. Thus, if aA, the assignment functions s1[x|a] and s2[x|a] agree on all of the free variables of α. Therefore, by inductive hypothesis, for each aA, A =α[s1[x|a]] if and only if Aα[s2[x|a]]. So, by Definition 1.7.4, Aϕ[s1] if and only if \(\mathfrak{A} \models \phi \left[ s_2 \right]|). This finishes the last inductive clause, and our proof.

Corollary 1.7.8 If σ is a sentence in the language L and A is an L-structure, either Aσ[s] for all assignment functions s, or Aσ[s] for no assignment function s.

Proof. There are no free variables in σ, so if s1 and s2 are two assignment functions, they agree on all of the free variables of σ, there just aren't all that many of them. So by Proposition 1.7.7, Aσ[s1] if and only if Aσ[s2], as needed.

Definition 1.7.9. If ϕ is a formula in the language L and A is an L-structure, we say that A is a model of ϕ, and write Aϕ, if and only if Aϕ[s] for every assignment function s. If Φ is a set of L-formulas, we will say that A models Φ, and write AΦ, if and only if Aϕ for each ϕΦ.

Notice that if σ is a sentence, then Aσ if and only if Aσ[s] for any assignment function s. In this case we will say that the sentence σ is true in A.

Example 1.7.10. Let's work in LNT, and let

N=(N,0,S,+,,E,<)

be the standard structure. Let s be the variable assignment function that assigns vi to the number 2i. Now let the formula ϕ(v1) be v1+v2=SSSS0.

To show that Nϕ[s], notice that

ˉs(v1+v1)is+N(ˉs(v1),ˉs(v1))is+N(2,2)is4

while

ˉs(SSSS0)isSN(SN(SN(SN(0N))))is4

Now, in the same setting, consider σ, the sentence

(v1)¬(v2)¬(v1=v2+v1),

which states that everything is even. [That is hard to see unless you know to look for that ¬(v2)¬ and to read it as (v2). See the last couple of paragraphs of this section.] You know that σ is false in the standard structure, but to show how the formal argument goes, let s be any variable assignment function and notice that

Nσ[s]iffFor every aN,N¬(v2)¬(v1=v2+v2)s[v1|a]iffFor every aN,N(v2)¬(v1=v2+v2)s[v1|a]iffFor every aN,there is a bN,Nv1=v2+v2s[v1|a][v2|b].

Now, if we consider the case when a is the number 3, it is perfectly clear that there is no such b, so we have shown Nσ[s]. Then, by Definition 1.7.9, we see that the sentence σ is false in the standard structure. As you well knew.

When you were introduced to symbolic logic, you were probably told that there were five connectives. In the mathematics that you have learned recently, you have been using two quantifiers. We hope you have noticed that we have not used all of those symbols in this book, but is now time to make those symbols available. Rather than adding the symbols to our language, however, we will introduce them as abbreviations. This will help us to keep our proofs slightly less complex (as our inductive proofs will have fewer cases) but will still allow us to use the more familiar symbols, at least as shorthand.

Thus, let us agree to use the following abbreviations in constructing L-formulas: We will write (αβ) instead of (¬((¬α)(¬β))), (αβ) instead of ((¬α)β), and (αβ) instead of ((αβ)(βα)). We will also introduce our missing existential quantifier as an abbreviation, writing (x)(α) instead of (¬(x)(¬α)). It is an easy exercise to check that the introduced connectives , , and behave as you would expect them to. Thus A(αβ)[s] if and only if both Aα[s] and Aβ[s]. The existential quantifier is only slightly more difficult. See Exercise 7.

Exercises

  1. We suggested after Definition 1.5.3 that the truth or falsity of the sentences 1+1=2 and (x)(x+1=x) might not be automatic. Find a structure for the language discussed there that makes the sentence 1+1=2 true. Find another structure where 1+1=2 is false. Prove your assertions. Then show that you can find a structure where (x)(x+1=x) is true, and another structure where it is false.
  2. Let the language L be {S,C}, where S is a unary function symbol and < is a binary relation symbol. Let ϕ be the formula (x)(y)(Sx<y).
    (a) Find an L-structure A such that Aϕ.
    (b) Find an L-structure B such that B(¬ϕ).
    (c) Prove that your answer to part (a) or part (b) is correct.
    (d) Write an L-sentence that is true in a structure A if and only if the universe A of A consists of exactly two elements.
  3. Consider the language and structure of Example 1.6.4. Write two nontrivial sentences in the language, one of which is true in the structure and one of which (not the denial of the first) is false in the structure. Justify your assertions.
  4. Consider the sentence σ: (x)(y)[x<yx+1¬y]. Find two structures for a suitable language, one of which makes σ true, and the other of which makes σ false.
  5. One more bit of shorthand. Assume that the language L contains the binary relation symbol , which you are intending to use to mean the elementhood relation (so pq will mean that p is an element of q). Often, it is the case that you want to claim that ϕ(x) is true for every element of a set b. Of course, to do this you could write
    (x)[(xb)ϕ(x)].
    We will abbreviate this formula as
    (xb)(ϕ(x)).
    Similarly, (xb)(ϕ(x)) will be an abbreviation for the formula (x)[(xb)ϕ(x)]. Notice that this formula has a conjunction where the previous formula had an implication!. We do that just to see if you are paying attention. (Well, if you think about what the abbreviations are supposed to mean, you'll see that the change is necessary. We'll have to do something else just to see if you're paying attention.)
    Now suppose that A is a structure for the language of set theory. So L has only this one binary relation symbol, , which is interpreted as the elementhood relation. Suppose, in addition, that
    A={u,v,w,{u},{u,v},{u,v,w}}.
    In particular, notice that there is no element x of A such that xx. Consider the sentence
    (yy)(xx)(x=y).
    Is this sentence true or false in A?
  6. Fill in the details to complete the proof of Proposition 1.7.7.
  7. Show that A(x)(α)[s] if and only if there is an element aA such that Aα[s[x|a]].

This page titled 2.5.8: Truth in a Structure is shared under a CC BY-NC-SA 4.0 license and was authored, remixed, and/or curated by Christopher Leary and Lars Kristiansen (OpenSUNY) via source content that was edited to the style and standards of the LibreTexts platform.

Support Center

How can we help?