Mathematical Writing - Vivaldi Franco 2014
Predicates
Mathematical Sentences
The sentence
The integer is divisible by 7
contains an unspecified symbol, and thus it assumes a logical value only if the symbol is assigned an integer value. We are prompted to introduce the following function:
(4.14)
We see that is the symbolic translation of our sentence, and that , .
Using a function to encode a sentence is a simple idea with far-reaching consequences. Let us thus define a predicate (or boolean function) to be any function that assumes boolean values. If the domain of a predicate is , then we speak of a predicate on (or over) . So (4.14) is a predicate on the integers.
Let be a predicate on . There is a distinguished subset of , determined by via the following Zermelo definition:
(4.15)
With reference to Eq. (2.9) and the discussion that follows, we see that the expression , which means ’ has property ’, is the definiens of the set . So the Zermelo definition (4.15) may be expressed in the language of functions using an inverse image:
[cf. Definition (2.20)].
Conversely, let be a set and let be a subset of . The predicate
(4.16)
is called the characteristic function of (in ). Explicitly, is equal to if belongs to and to F otherwise. For example, the function (4.14) is the characteristic function of the set of integer multiples of 7.
So to every predicate on a set we associate a unique subset of , and vice-versa. We say that there is a bi-unique correspondence between these two classes of objects, established by expressions (4.15) and (4.16).
Sets are manipulated using set operators. Predicates are manipulated using boolean operators in a natural way by defining, say,
and similarly for all other operators. The following theorem establishes correspondences between these two classes of objects.
Theorem 4.2
Let be a set, let , and let , be the corresponding characteristic functions. The following holds (the prime denotes taking the complement):
(This baroque display of symbols is unappealing. In Sect. 6.6 we’ll make it more digestible by writing a short essay about it without symbols.)
PROOF. To prove (i) we note that the function evaluates to TRUE if and to FALSE otherwise. However, from the definition of the complement of a set, we have .
Next we prove (iv). We’ll prove instead
which, together with (i), gives us (iv). Let and let . From the truth table (4.9) of the operator , we find that is TRUE precisely when is TRUE and is FALSE. This means that
but this is just the definition of the characteristic function of the set , as desired.
The proof of (ii), (iii), (v) is left as an exercise.
We illustrate the significance of this theorem with examples.
EXAMPLE. Let and be real numbers. The predicates and (over ) are the characteristic functions of two rays, the latter without end-point. According to Theorem 4.2 part (ii), the predicate is the characteristic function of the intersection of these rays. Depending on whether , or , this intersection is the half-open interval or the empty set.
EXAMPLE. Let be sets, and let be functions. An equation (on ) is a predicate of the type
In the language of predicates, an equation is the characteristic function of its own solution set (Sect. 3.3). The system of two equations
defined over the same set corresponds to the predicate . From Theorem 4.2, part (ii), it follows that the solution set of a system of two equations is the intersection of the solution sets of the individual equations. The same holds for any number of equations—see (3.19).
EXAMPLE. The standard form of the sigma-notation (see Sect. 3.2) has the following syntax:
(4.17)
where is any predicate over . The range of summation consists of those values of for which is TRUE.
EXAMPLE. If , then is empty, and from part (iv) of the theorem we obtain
The subset relation has been translated into an identity of functions. For example, the functional identity
says that every multiple of four is even.