Let be a set of letters such as ; suppose the symbols are not in . We define an alphabet consisting of letters in together with the symbols . We will define a formal system on this alphabet and investigate its properties.
Definition.
The set of well-formed formulas of is the least set of strings of such that
Definition.
A string is an initial part of if there is a string of symbols of nonnegative length (possibly zero) from such that is the concatenation .
Exercise 2.1.
Prove the Unique Readability Lemma that says that if and is an initial part of then . (Hint: use induction.)
Definition.
Suppose . We extend to a function as follows.
Definition.
Suppose and . We write to mean: whenever there is some such that .
Exercise 2.2.
Prove that if and only if .
Definition.
A formal system is devised such that is least such that
Exercise 2.3.
Prove the Soundness Theorem, implies . (Use induction on length of proofs.)
Exercise 2.4.
Show that if and then implies either or .
Exercise 2.5.
Show that if and then if and only if .
Exercise 2.6.
Assuming and , show that there is such that for all . (Hint: show there is a maximal such that .)
Exercise 2.7.
Prove the Completeness Theorem, implies . (Use previous results.)