Summary
This lesson builds, from scratch, the language in which every formula of the course will be written. It first introduces the indispensable minimum about sets (membership, sets given by listing and by set-builder notation, inclusion and union) and applies it to strings of symbols: their length, their concatenation and their prefixes, and the count of the strings that can be written with two symbols. Over the two-symbol alphabet, the circle and the disk, it defines the base language: infinitely many variables, a single formation rule and a closure clause, from which a principle for proving properties of all formulas is derived. It then shows how to decide whether a string is a formula, states unique readability and, finally, builds on the base language the metalanguage that will be used from then on: metavariables, joint denial written with parentheses and the official abbreviations of the other connectives, with their reading in English.
Learning objectives
- Describe sets of strings by listing and by set-builder notation, and decide relations of membership, inclusion and union between them.
- Count the strings of a given length, and those of bounded length, over a two-symbol alphabet.
- Decide whether a string of circles and disks is a formula and, when it is, reconstruct the way it was formed.
- Prove that every formula has a property by means of the closure principle, and use such properties to rule out strings.
- Distinguish the object language from the metalanguage, unfold an abbreviation down to the string of the base language, and read formulas in English.
What is needed about sets
A formal language is, above all, a collection of strings of symbols; if so, speaking about it with precision requires a vocabulary for collections. That vocabulary is the language of sets, from which this lesson takes only what the course will use. A set is a collection of objects, called its elements, which is determined by them: two sets with the same elements are the same set. That an object is an element of the set is written and read “ belongs to ”; that it is not is written .
A set can be given in two ways. By listing, naming its elements one by one between braces, with neither order nor repetitions mattering; and by set-builder notation, stating the condition that its elements, and only they, satisfy, with a colon read “such that”. Thus the natural numbers less than form the set
A variant of set-builder notation, very frequent in what follows, describes the elements by the form they have: is the set of numbers of the form with natural, that is, the set of even numbers. A set given by listing is necessarily finite; by set-builder notation infinite sets can be given as well, such as that of the even numbers.
is said to be included in , written , when every element of is an element of . It follows that two sets are equal if and only if each is included in the other, because then they have the same elements; and this is indeed the usual way of proving an equality of sets: proving both inclusions. Finally, the union is the set of objects that belong to , to or to both; whence each of the two sets is included in their union.
Let , and . We have and ; moreover, , because each element of is twice a natural number, whereas is not included in , because and . The union of and is : the , which lies in both, appears only once.
Loading the content…
Completed
Sign in to save your progress