"

The meaning of terms

As specified above, the terms of โ„’1\mathcal{L}_1 are the constants and variables of โ„’1\mathcal{L}_1. For โ„’0\mathcal{L}_0, assigning a semantic value to any constant was done through the interpretation function of the structure ๐’=โŸจ๐ƒ,IโŸฉ\mathbf{S}=\langle\mathbf{D}, I\rangle. This will be retained, so that the value of a constant ๐” n\mathfrak{c}_{n} (nโˆˆโ„•n \in \mathbb{N}) relative to the structure ๐’\mathbf{S}, in other words (symbols), I(๐” n)I(\mathfrak{c}_{n}), is just some member of ๐ƒ\mathbf{D}. But again, though variables have a function similar to constants, their semantic value is only temporarily assigned, and is otherwise variable. Accordingly, we do not use the interpretation function II to assign values to our variables, but a separate function ๐š\mathbf{a} called a variable assignment.

The variable assignment function ๐š\mathbf{a} assigns to each variable ๐ฑn\mathbf{x}_{n} (nโˆˆโ„•n \in \mathbb{N}) a member of ๐ƒ\mathbf{D}, like II does for constants. But unlike with II, we will introduce a device that will allow us to change the variable assignment inside a structure ๐’\mathbf{S}. The basis of this is what is called an xx-variant assignment ๐šโ€ฒ\mathbf{a}' for an existing assignment ๐š\mathbf{a}. Unsurprisingly, ๐šโ€ฒ\mathbf{a}' is called an xx-variant assignment of ๐š\mathbf{a} because it differs from it in at most what it assigns to the variable xx. (It should be noted that in usual mathematical fashion, ๐š\mathbf{a} may be its own (trivial) xx-variant assignment, in which case nothing is changed from the initial assignment.)

Letโ€™s look at an example for this. Suppose you have a mathematical statement as follows: xร—4<2ร—yx \times 4 < 2 \times y Here, we have multiple variables, so each assignment of values to the variables will assign a value to xx, and to yy. Suppose we assign the value 55 to xx and 1010 to yy. This will result in an incorrect statement, since 20<2020<20 is incorrect. So now take the xx-variant assignment that assigns 44 to xx, but otherwise leaves the assignment as it was. This time, we get a correct statement, since 16<2016 <20. Of course, we can also take a yy-variant assignment. And in general, not all xx– or yy-variant assignment will make the statement correct. For example, the yy-variant assignment (to the initial one) where y=5y=5 will clearly make it incorrect again.

We can make the above ideas more precise as follows:

Definition 7.1 (Variable assignment). Given a structure ๐’=โŸจ๐ƒ,IโŸฉ\mathbf{S}=\langle\mathbf{D}, I\rangle, the function ๐š:๐–ต๐– ๐–ฑโ„’1โ†’๐ƒ\mathbf{a}: \textsf{VAR}_{\mathcal{L}_1} \to \mathbf{D} is a variable assignment in ๐ƒ\mathbf{D}. If ๐šโ€ฒ\mathbf{a}' is a variable assignment in ๐ƒ\mathbf{D} just like ๐š\mathbf{a}, except possibly for some xx, ๐šโ€ฒ(x)โ‰ ๐š(x)\mathbf{a}'(x)\neq \mathbf{a}(x), we call ๐šโ€ฒ\mathbf{a}' an xx-variant variable assignment of ๐š\mathbf{a}. If ๐šโ€ฒ(x)=d\mathbf{a}'(x)=d (dโˆˆDd \in D), i.e., ๐šโ€ฒ\mathbf{a}' is the xx-variant variable assignment of ๐š\mathbf{a} such that xx is sent to dd by ๐šโ€ฒ\mathbf{a}', we may also write ๐šdx\mathbf{a}^x_d.

Letโ€™s return to the general picture. Since some terms of the language โ„’1\mathcal{L}_1 are variables, it wonโ€™t be enough to work solely with the interpretation function II to assign semantic values to our terms in โ„’1\mathcal{L}_1 โ€“ we need a variable assignment too. Clearly, since these terms then go into forming atomic and complex formulas, we will need to relativize the semantic values of expressions of โ„’1\mathcal{L}_1 both to a particular structure ๐’=โŸจ๐ƒ,IโŸฉ\mathbf{S}=\langle\mathbf{D}, I\rangle and to a corresponding variable assignment ๐š\mathbf{a} in ๐ƒ\mathbf{D} at any one time. We will introduce some new notation for this. In particular, if XX is any expression of โ„’1\mathcal{L}_1, then its semantic value relative to a structure ๐’=โŸจ๐ƒ,IโŸฉ\mathbf{S}=\langle\mathbf{D}, I\rangle and variable assignment ๐š\mathbf{a} in ๐ƒ\mathbf{D} will be denoted: I(X)[๐š]I(X)[\mathbf{a}] Using this notation, we can easily specify what it means to assign a semantic value to a term of โ„’1\mathcal{L}_1 as follows:

Definition 7.2 (Term values). Let ๐’=โŸจ๐ƒ,IโŸฉ\mathbf{S}=\langle\mathbf{D}, I\rangle be any ordered pair such that ๐ƒ\mathbf{D} is a non-empty set and II is defined for each cโˆˆ๐–ข๐–ฎ๐–ญ๐–ฒโ„’1c \in \mathsf{CONS}_{\mathcal{L}_1} so that I(c)โˆˆ๐ƒI(c) \in \mathbf{D}. Let ๐š\mathbf{a} be a variable assignment in ๐ƒ\mathbf{D} as above. Then, for each term tโˆˆ๐–ณ๐–ค๐–ฑ๐–ฌโ„’1t \in \mathsf{TERM}_{\mathcal{L}_1}, we define the value of tt in the structure ๐’\mathbf{S} relative to the variable assignment ๐š\mathbf{a} as follows:

  1. if t=xt=x for some xโˆˆ๐–ต๐– ๐–ฑโ„’1x \in \textsf{VAR}_{\mathcal{L}_1}, I(t)[๐š]=๐š(t)I(t)[\mathbf{a}]=\mathbf{a}(t);

  2. if t=ct=c for some cโˆˆ๐–ข๐–ฎ๐–ญ๐–ฒโ„’1c \in \textsf{CONS}_{\mathcal{L}_1}, I(t)[๐š]=I(c)I(t)[\mathbf{a}]=I(c).

Remark 7.1. Take some time to try and thoroughly understand the above definition. What it says is that if a term is a variable, then its value is taken care of by the variable assignment, while if itโ€™s a constant, then the interpretation function decides.

Exercise 7.1. Let ๐’=โŸจ๐ƒ,IโŸฉ\mathbf{S}=\langle\mathbf{D}, I\rangle be such that ๐ƒ=โ„•\mathbf{D}=\mathbb{N}, I(๐” n)=nร—2I(\mathfrak{c}_{n})=n \times 2, and let ๐š(๐ฑn)=n+7\mathbf{a}(\mathbf{x}_{n})= n + 7 (nโˆˆโ„•n \in \mathbb{N}). Then, determine for each of the expressions below which natural number they stand for. In each case, specify how you reduced the calculation to one of two options, in accordance with the definition.

  1. I(๐” 4)[๐š]I(\mathfrak{c}_{4})[\mathbf{a}]

  2. I(๐ฑ4)[๐š]I(\mathbf{x}_{4})[\mathbf{a}]

  3. I(๐ฑ2)[๐š]I(\mathbf{x}_{2})[\mathbf{a}]

  4. I(๐ฑ5)[๐š9๐ฑ5]I(\mathbf{x}_{5})[\mathbf{a}^{\mathbf{x}_{5}}_9]

  5. I(๐ฑ5)[๐š4๐ฑ8]I(\mathbf{x}_{5})[\mathbf{a}^{\mathbf{x}_{8}}_4]


Remark 7.2. Your answers should look something like this: I(๐ฑ1)[๐š]=๐š(๐ฑ1)=1+7=8.I(\mathbf{x}_{1})[\mathbf{a}]=\mathbf{a}(\mathbf{x}_{1})=1+7=8.


One thing you may notice here is that variables may โ€˜seeโ€™ more of the domain than the constants of a language. For example, since I(๐” n)=nร—2I(\mathfrak{c}_{n})=n \times 2, no odd number in the domain will have a constant that refers to it. On the other hand, a variable may be assigned the value of an odd number nevertheless. In the above case, since ๐š(๐ฑn)=n+7\mathbf{a}(\mathbf{x}_{n})= n + 7, if nn is even, then the variable assignment ๐š\mathbf{a} will assign it an odd number as its value. As we will see soon when we introduce quantifiers, at times, they will be able to see more of the domain than our constants, and this way, they can express more facts about a structure. Indeed, the consequences of this are at the core of many foundational theorems in logic.

License

Icon for the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License

Learning Logic Backwards Copyright © by Peter Susanszky is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License, except where otherwise noted.