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 20 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 is specified. Letโs take some arbitrary constants from our language , using , , and . Letโs also take some arbitrary predicates of the language, using , , and . We can further specify that is of arity , is of arity , and is of arity .
Now letโs take some rather arbitrary atomic formulas, letโs say:
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 and an interpretation 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 . So letโs do just that.
Take a domain , and an interpretation function such that:
-
, , ;
-
-
;
-
;
-
.
-
Call this the structure . Now we can ask: which of the formulas are true relative to the structure ? 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 assigns a member of the domain (see list item 1 above). And to each predicate (of arity ), the interpretation function assigns a set of -tuples (see list item 2 above).
Next, all you have to do is check the value of a constant (or list of constants) under , and compare it against the value of the relevant predicate under . If the value of the constant (or sequence of constants) is in the value of the predicate under , the atomic formula is true, otherwise, it is false.
Take the formula (the formula (1) above). Is it true in ? Well, we see that . And we also see that . Since (which is just ) is in the set , the atomic formula is true. On the other hand, if we take (the formula (2) above), we see that , and , so . So is false in .
This may seem a bit elaborate, but really, all you are doing is checking if the value of the constant under is in the set that is the value of the predicate .
There is a special way of representing the relation โthe formula is true in the structure โ. It is written like this: . You can also read it as: models . This is simply because โmodelsโ a world in which would be true. So again, ( models ), but ( does not model ).
Predicates with more than arity arenโt more elaborate than this. The only difference is that now you have to check that the values of the constants under are in the value of the predicate as an -tuple, and of course, in the right order.
Take (formula (3) above). Again, , and , so the question is whether . By definition, . So . So , or is true in . On the other hand, would make us consider wether , which as you can see it is not. So (formula (4)), or is false in .
Exercise 4.3. Determine whether the formulas (5) and (6) are true in . 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 , we can start with and consider which formulas are true in it. This is really just the reverse reasoning. For example, you can inspect , and see that . You can also see that . Now, since , that means is true in , or .
Exercise 4.5. Find an atomic formula distinct from all the above such that , and an atomic formula distinct from all the above such that . 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 and ask again whether the above formulas are true or false in that structure. Let . In other words, the structure is such that its domain , the set of all positive natural numbers.
We now specify a new interpretation , that interprets our formulas in .
-
, , ;
-
-
;
-
;
-
.
-
In other words, under , means โ is evenโ, means โ is less than โ, and means โโ. And under means , means , and so on.
Then, we can consider and again. Well, doing the calculations, neither nor are even numbers, so and are both false.
On the other hand, one of and must be true, since and mean distinct numbers. In particular, means is smaller than , and means is smaller than under . So , but not .
And incidentally, is true in , since . But , so is false in .
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 .
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 is a pair , where is any set, and is a function from the constants and predicates of (i.e., ) such that:
-
if is any constant of , , and;
-
if is any predicate of arity (-place predicate) of , , where .
For each atomic formula of the language , we have: If , we say models , or is a model of . Alternatively, we say is true in .