"

Atomic formulas

Remember that we started our discussion in this chapter by setting our aim at assigning truth values to formulas. Once we have assigned meaning to our constants and predicates, we are in the position to do just that! Again, the basic idea underlying the mathematical machinery is not very difficult to grasp, but it is a very fundamental insight in several areas of thought, including philosophy, linguistics, and mathematics, and it was only precisely formulated around the middle of the 20th^\text{th} century by the Polish logician Alfred Tarski.

We can illustrate this basic idea algorithmically, by looking at how one may go on calculating truth-values for atomic formulas, once a structure ๐’\mathbf{S} is specified. Letโ€™s take some arbitrary constants from our language โ„’0\mathcal{L}_0, using aa, bb, and cc. Letโ€™s also take some arbitrary predicates of the language, using PP, QQ, and RR. We can further specify that PP is of arity 11, QQ is of arity 22, and RR is of arity 33.

Now letโ€™s take some rather arbitrary atomic formulas, letโ€™s say:

  1. P(a)P(a)

  2. P(c)P(c)

  3. Q(a,c)Q(a, c)

  4. Q(c,a)Q(c, a)
  5. R(a,b,c)R(a, b, c)
  6. R(a,c,b)R(a, c, b)

What if I ask you to decide whether these formulas are true or false? In that case, you should say: I cannot do that, since you havenโ€™t given me a domain ๐ƒ\mathbf{D} and an interpretation ๐ˆ\mathbf{I} that would tell me what these formulas mean, and against what I should evaluate them! Relative to different structures, different atomic formulas may be true or false, so there is no way to answer this question without first specifying a structure ๐’\mathbf{S}. So letโ€™s do just that.

Take a domain ๐ƒ={๐š,๐›,๐œ,๐}\mathbf{D}=\{\mathbf{a}, \mathbf{b}, \mathbf{c}, \mathbf{d}\}, and an interpretation function such that:

  1. I(a)=๐šI(a)=\mathbf{a}, I(b)=๐›I(b)=\mathbf{b}, I(c)=๐œI(c)=\mathbf{c};

    1. I(P)={๐š,๐}I(P)=\{\mathbf{a}, \mathbf{d}\};

    2. I(Q)={โŸจ๐š,๐œโŸฉ,โŸจ๐,๐šโŸฉ,โŸจ๐š,๐โŸฉ}I(Q)=\{\langle\mathbf{a}, \mathbf{c}\rangle, \langle\mathbf{d}, \mathbf{a}\rangle, \langle\mathbf{a}, \mathbf{d}\rangle\};

    3. I(R)={โŸจ๐š,๐›,๐œโŸฉ,โŸจ๐›,๐œ,๐›โŸฉ,โŸจ๐›,๐›,๐›โŸฉ}I(R)=\{\langle\mathbf{a}, \mathbf{b}, \mathbf{c}\rangle, \langle\mathbf{b}, \mathbf{c}, \mathbf{b}\rangle, \langle\mathbf{b}, \mathbf{b}, \mathbf{b}\rangle\}.

Call this the structure ๐’\mathbf{S}. Now we can ask: which of the formulas are true relative to the structure ๐’\mathbf{S}? To answer this question, again, we need to do some very simple calculations.

The basic idea is this. To each constant of the language, the interpretation function II assigns a member of the domain (see list item 1 above). And to each predicate (of arity nn), the interpretation function assigns a set of nn-tuples (see list item 2 above).

Next, all you have to do is check the value of a constant (or list of constants) under II, and compare it against the value of the relevant predicate under II. If the value of the constant (or sequence of constants) is in the value of the predicate under II, the atomic formula is true, otherwise, it is false.

Take the formula P(a)P(a) (the formula (1) above). Is it true in ๐’\mathbf{S}? Well, we see that I(a)=๐šI(a)=\mathbf{a}. And we also see that I(P)={๐š,๐}I(P)=\{\mathbf{a}, \mathbf{d}\}. Since I(a)I(a) (which is just ๐š\mathbf{a}) is in the set I(P)I(P), the atomic formula P(a)P(a) is true. On the other hand, if we take P(c)P(c) (the formula (2) above), we see that I(c)=๐œI(c)=\mathbf{c}, and ๐œโˆ‰I(P)\mathbf{c} \notin I(P), so I(c)โˆ‰I(P)I(c) \notin I(P). So P(c)P(c) is false in ๐’\mathbf{S}.

This may seem a bit elaborate, but really, all you are doing is checking if the value of the constant under II is in the set that is the value of the predicate PP.

There is a special way of representing the relation โ€˜the formula XX is true in the structure ๐’\mathbf{S}โ€™. It is written like this: ๐’โŠจX\mathbf{S} \models X. You can also read it as: ๐’\mathbf{S} models XX. This is simply because ๐’\mathbf{S} โ€˜modelsโ€™ a world in which XX would be true. So again, ๐’โŠจP(a)\mathbf{S}\models P(a) (๐’\mathbf{S} models P(a)P(a)), but ๐’โŠจฬธP(c)\mathbf{S}\not\models P(c) (๐’\mathbf{S} does not model P(c)P(c)).

Predicates with more than 11 arity arenโ€™t more elaborate than this. The only difference is that now you have to check that the values of the constants under II are in the value of the predicate as an nn-tuple, and of course, in the right order.

Take Q(a,c)Q(a, c) (formula (3) above). Again, I(a)=๐šI(a)=\mathbf{a}, and I(c)=๐œI(c)=\mathbf{c}, so the question is whether โŸจ๐š,๐œโŸฉโˆˆI(Q)\langle\mathbf{a}, \mathbf{c}\rangle \in I(Q). By definition, I(Q)={โŸจ๐š,๐œโŸฉ,โŸจ๐,๐šโŸฉ,โŸจ๐š,๐โŸฉ}I(Q)=\{\langle\mathbf{a}, \mathbf{c}\rangle, \langle\mathbf{d}, \mathbf{a}\rangle, \langle\mathbf{a}, \mathbf{d}\rangle\}. So โŸจ๐š,๐œโŸฉโˆˆI(Q)\langle\mathbf{a}, \mathbf{c}\rangle \in I(Q). So ๐’โŠจQ(a,c)\mathbf{S} \models Q(a, c), or Q(a,c)Q(a,c) is true in ๐’\mathbf{S}. On the other hand, Q(c,a)Q(c, a) would make us consider wether โŸจ๐œ,๐šโŸฉโˆˆI(Q)\langle\mathbf{c}, \mathbf{a}\rangle \in I(Q), which as you can see it is not. So ๐’โŠจฬธQ(c,a)\mathbf{S}\not\models Q(c, a) (formula (4)), or Q(c,a)Q(c, a) is false in ๐’\mathbf{S}.

Exercise 4.3. Determine whether the formulas R(a,b,c)R(a, b, c) (5) and R(a,c,b)R(a, c, b) (6) are true in ๐’\mathbf{S}. In each case, give a proof just like the ones above for (1), (2), (3), and (4).

Exercise 4.4. One of the members of the domain does not have a name! That means that unfortunately, we cannot talk about it, even if the object itself shows up in our properties and relations. Which member is this?

Note that we can also take the reverse of this question. Namely, instead of considering whether a given formula is true in ๐’\mathbf{S}, we can start with ๐’\mathbf{S} and consider which formulas are true in it. This is really just the reverse reasoning. For example, you can inspect I(R)I(R), and see that I(R)={โŸจ๐š,๐›,๐œโŸฉ,โŸจ๐›,๐œ,๐›โŸฉ,โŸจ๐›,๐›,๐›โŸฉ}I(R)=\{\langle\mathbf{a}, \mathbf{b}, \mathbf{c}\rangle, \langle\mathbf{b}, \mathbf{c}, \mathbf{b}\rangle, \langle\mathbf{b}, \mathbf{b}, \mathbf{b}\rangle\}. You can also see that I(b)=๐›I(b)=\mathbf{b}. Now, since โŸจ๐›,๐›,๐›โŸฉโˆˆI(R)\langle\mathbf{b}, \mathbf{b}, \mathbf{b}\rangle \in I(R), that means R(b,b,b)R(b, b, b) is true in ๐’\mathbf{S}, or ๐’โŠจR(b,b,b)\mathbf{S} \models R(b, b, b).

Exercise 4.5. Find an atomic formula XX distinct from all the above such that ๐’โŠจฬธX\mathbf{S} \not\models X, and an atomic formula YY distinct from all the above such that ๐’โŠจY\mathbf{S} \models Y. Donโ€™t forget to give an appropriate proof as to why that is the case.

Note that the structure above was rather trivial and intuitive. But we can give a completely different structure ๐\mathbf{N} and ask again whether the above formulas are true or false in that structure. Let ๐=โŸจโ„•+,Iโ€ฒโŸฉ\mathbf{N}=\langle\mathbb{N}^+, I'\rangle. In other words, the structure SS is such that its domain ๐ƒ=โ„•+\mathbf{D}=\mathbb{N}^+, the set of all positive natural numbers.

We now specify a new interpretation Iโ€ฒI', that interprets our formulas in ๐\mathbf{N}.

  1. Iโ€ฒ(a)=1I'(a)=1, Iโ€ฒ(b)=2I'(b)=2, Iโ€ฒ(3)=cI'(3)=c;

    1. Iโ€ฒ(P)={nโˆฃn is even}I'(P)=\{n \mid n\text{ is even}\};

    2. Iโ€ฒ(Q)={โŸจn,kโŸฉโˆฃn<k}I'(Q)=\{\langle n, k\rangle \mid n < k\};

    3. Iโ€ฒ(R)={โŸจn,k,iโŸฉโˆฃn+k=i}I'(R)=\{\langle n, k, i\rangle \mid n+k=i\}.

In other words, under Iโ€ฒI', P(x)P(x) means โ€˜xx is evenโ€™, Q(x,y)Q(x, y) means โ€˜xx is less than yyโ€™, and R(x,y,z)R(x, y, z) means โ€˜x+y=zx+y=zโ€™. And aa under Iโ€ฒI' means 11, bb means 22, and so on.

Then, we can consider P(a)P(a) and P(c)P(c) again. Well, doing the calculations, neither 11 nor 33 are even numbers, so P(a)P(a) and P(c)P(c) are both false.

On the other hand, one of Q(a,c)Q(a, c) and Q(c,a)Q(c, a) must be true, since aa and cc mean distinct numbers. In particular, Q(a,c)Q(a, c) means 11 is smaller than 33, and Q(c,a)Q(c, a) means 33 is smaller than 11 under Iโ€ฒI'. So ๐โŠจQ(a,c)\mathbf{N}\models Q(a, c), but not Q(c,a)Q(c, a).

And incidentally, R(a,b,c)R(a, b, c) is true in ๐\mathbf{N}, since 1+2=31+2=3. But 1+3โ‰ 21+3\neq 2, so R(a,c,b)R(a, c, b) is false in โ„•\mathbb{N}.

Exercise 4.6. The above proofs are sketchy, referring to โ€˜doing the calculationsโ€™ and โ€˜meaningsโ€™. Write them down in a precise manner, following the style of the proofs for ๐’\mathbf{S}.

Putting it all together

Now we are in the position to further extend our definition to include assigning truth values to atomic formulas. It goes like this:

Definition 4.5. A structure ๐’\mathbf{S} is a pair โŸจ๐ƒ,IโŸฉ\langle\mathbf{D}, I\rangle, where ๐ƒ\mathbf{D} is any set, and II is a function from the constants and predicates of โ„’0\mathcal{L}_0 (i.e., ๐–ข๐–ฎ๐–ญโ„’0โˆช๐–ฏ๐–ฑ๐–ค๐–ฃโ„’0\mathsf{CON}_{\mathcal{L}_0} \cup \mathsf{PRED}_{\mathcal{L}_0}) such that:

  1. if cc is any constant of โ„’0\mathcal{L}_0, I(c)โˆˆ๐ƒI(c) \in \mathbf{D}, and;

  2. if PnP^n is any predicate of arity nn (nn-place predicate) of โ„’0\mathcal{L}_0, I(Pn)=๐‘I(P^n)=\mathbf{R}, where ๐‘โІ๐ƒn\mathbf{R} \subseteq \mathbf{D}^n.

For each atomic formula Pn(c1,...,cn)P^n(c_1, …, c_n) of the language โ„’0\mathcal{L}_0, we have: ๐’โŠจP(c1,...,cn) if, and only if, โŸจI(c1),...,I(cn)โŸฉโˆˆI(Pn).\mathbf{S} \models P(c_1, …, c_n)\text{ if, and only if, }\langle I(c_1), …, I(c_n)\rangle \in I(P^n). If ๐’โŠจP(c1,...,cn)\mathbf{S} \models P(c_1, …, c_n), we say ๐’\mathbf{S} models P(c1,...,cn)P(c_1, …, c_n), or is a model of P(c1,...,cn)P(c_1, …, c_n). Alternatively, we say P(c1,...,cn)P(c_1, …, c_n) is true in ๐’\mathbf{S}.

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.