The c.e. sets are the sets defined by an existential quantifier over a computable relation (Theorem 4.3 of “Computably enumerable sets”). Allowing more quantifiers, alternating between and , gives a classification of sets by the complexity of their definitions: the arithmetic hierarchy, due to Kleene and Mostowski. The set of indices of total functions, for instance, is defined by ”, the computation converges at stage ”: a universal quantifier followed by an existential one, over a computable relation. This lesson defines the hierarchy and establishes the closure properties used to place sets in it. The next lesson relates it to the Turing jump.
1.1 Definition
Let and . A relation is
- if there is a computable relation such that
with alternating quantifiers, the last one being if is odd and if is even; 2. if the same holds with the quantifiers , starting with a universal one; 3. if it is both and .
By convention, the , and relations are the computable relations. A relation is arithmetic if it is for some .
The superscript indicates that the quantifiers range over integers, that is, first-order objects; the analytic hierarchy , studied in the course on higher computability, quantifies over sets of integers. Some authors use for the relations defined by formulas with bounded quantifiers only; these are particular computable relations.
- A set is if it is of the form with computable: these are exactly the c.e. sets (Theorem 4.3 of “Computably enumerable sets”).
- is , since the relation is computable (Proposition 1.4 of “Programs as numbers”).
- is , once the two universal quantifiers are merged (see below).
- is .
1.2 Normal forms
Let .
- A relation is if and only if its complement is .
- Every or relation is .
- Contraction. If with a relation, then ; dually for universal quantifiers. Consequently, a relation defined by a prefix of quantifiers over a computable relation is if the prefix starts with and has blocks of quantifiers of the same kind, and if it starts with and has blocks.
- The negation of is , and the complement of a computable relation is computable.
- Add a dummy quantifier: if , then and , where does not depend on or . The first form is , the second . The case of relations is symmetric.
- The pairing function is a bijection, so ranges over the same pairs as with . The relation is : substitute for in the computable relation of a normal form of , which gives a computable relation, since and are computable. So merging two adjacent quantifiers of the same kind does not change the level. Applying this to the quantifiers of a prefix over a computable relation, which may stand anywhere in the prefix, merges each block into a single quantifier.
1.3 Closure properties
To place a set in the hierarchy, one writes a definition and counts alternations. This is justified by the following closure properties.
Let . The relations and the relations are closed under:
- finite unions and intersections;
- substitution of total computable functions: if is and are total computable, then is , and likewise for ;
- bounded quantifiers and .
Moreover, relations are closed under existential quantification , and relations under universal quantification .
By induction on . For , the relations are the c.e. relations, and their closure under finite unions and intersections, substitution (preimages under computable functions), projection and bounded universal quantification is Proposition 4.5 of “Computably enumerable sets”; bounded existential quantification is the projection . The case follows by complementation, using item 1 of Proposition 1.3.
Suppose the statement holds for , and let and be : and , with and in (by definition, after grouping the quantifiers following the first one).
- , and . The relations inside are by the induction hypothesis (substitution, then intersection or union).
- , and the relation inside is by the induction hypothesis.
- , which is . For the bounded universal quantifier, the key equivalence is
From left to right, choose for each of the finitely many a witness , and let exceed all of them; the converse is clear. By the induction hypothesis, is (bounded quantification), then is (bounded quantification again), so the right-hand side is .
Existential quantification: is contracted to a single quantifier. The case follows by complementation.
The equivalence used for the bounded universal quantifier is called collection: finitely many witnesses can be bounded by a single number. It fails for unbounded quantifiers, which is why cannot in general be rewritten as .
1.4 Relativization and reductions
For , the classes , and are defined as in Definition 1.1, with -computable relations in place of computable ones.
All the results above relativize. In particular, the sets are the -c.e. sets, and the sets are the -computable sets.
- A set is if and only if it is c.e., and if and only if it is computable.
- If and is , then is ; likewise for and .
- The first statement is Theorem 4.3 of “Computably enumerable sets”. A set is if and only if it and its complement are c.e., that is, if and only if it is computable (Proposition 4.8 of “Computably enumerable sets”).
- If reduces to , then , and the result is the substitution property of Proposition 1.4, relativized to .
Many-one reducibility preserves the levels of the hierarchy, while Turing reducibility does not: every set is Turing equivalent to its complement, and the complement of a set that is not computable is not . This is why completeness at a level of the hierarchy is defined with many-one reductions.
A set is -complete if it is and for every set ; -complete sets are defined similarly.
By Theorem 4.12 of “Computably enumerable sets”, is -complete, and so its complement is -complete, since if and only if . A -complete set is not as soon as some set is not ; the next lesson shows that this is always the case.
1.5 Exercises
Show that is , that is , and that is .
Solution
. Next, . Finally, is the intersection of , which is , and of the complement of , which is by the same argument. Both are , and is closed under intersection.
Show that for each there are only countably many sets, and deduce that the sets are not closed under arbitrary countable unions.
Solution
A set is determined by a computable relation, which has an index; so there are countably many. Hence some set is not arithmetic, by Cantor. But is a countable union of finite sets, which are computable, hence . The closure under existential quantification only applies to uniform unions, with a single relation.
Show that is .
Solution
Let be the relation
Then is computable if and only if : if , then is total with values in and computes ; conversely, an index of the characteristic function of satisfies . The relation is a Boolean combination of relations, hence and in particular . So is , and is .
1.6 Notes and references
The arithmetic hierarchy was introduced independently by Kleene (1943) and Mostowski (1947). The notation , is due to Addison, by analogy with the Borel hierarchy of descriptive set theory, of which it is the effective counterpart. Rogers’ and Soare’s textbooks treat the hierarchy in detail.
- S. C. Kleene, Recursive predicates and quantifiers, Transactions of the American Mathematical Society 53 (1943), 41–73.
- A. Mostowski, On definable sets of positive integers, Fundamenta Mathematicae 34 (1947), 81–112.
- H. Rogers, Theory of Recursive Functions and Effective Computability, McGraw-Hill, 1967.
- R. I. Soare, Recursively Enumerable Sets and Degrees, Springer, 1987.