A K-trivial set is described by a prefix-free machine that, for each , outputs on an input of length about . If is given by a computable approximation, such a machine can be built with the KC theorem: whenever a shorter description of appears, or the approximation of changes, request a new description of the current . The descriptions requested for prefixes that later change are wasted. The cost function measures this waste, and a set whose approximation wastes a finite total weight is K-trivial. Solovay used this idea to build a non-computable K-trivial set.
2.1 The standard cost function
Let be the length of the shortest with , and if there is none, with the convention . Then is computable in , non-increasing in , with limit .
The standard cost function is
Let be a computable approximation of a set (Definition 4.1 of “Limit computability”). For each with , let be the least with . The approximation obeys if
The cost is the weight of the current descriptions of the numbers whose prefixes have just changed. It has two monotonicity properties used below: is non-decreasing in , since terms are added and decreases, and non-increasing in . Moreover , since ; this tail tends to as tends to infinity, by the Kraft inequality for .
2.2 Obeying the cost function implies K-triviality
If a set has a computable approximation that obeys , then is K-trivial.
Let be such an approximation, the total cost, and such that . We enumerate a request set . At stage , for each with such that
enumerate the request ; for , which was not considered before, the second condition is replaced by . is c.e.
Weight. Split the requests into two kinds. A request at stage for with is caused by a new value of . The values , for fixed , are pairwise distinct at these stages and at least , so these requests weigh at most . A request at stage for with has ; the requests of this kind at stage weigh at most , and in total at most . So is a bounded request set.
Descriptions. Fix , and let be the last stage with , or , or ; it exists since and change finitely often. At this stage, and , since neither changes after . Moreover , since : no computation halts at stage . So the request is enumerated at stage . By the KC theorem (KC theorem; Levin, Schnorr, Chaitin), .
A request is enumerated for the current prefix whenever the information about or about improves. The first kind of request costs at most what itself spends on describing numbers. The second kind is the price of changes of , which is what the cost function bounds.
2.3 Solovay’s theorem
To build a non-computable K-trivial set, it suffices to make a c.e. set non-computable while keeping the total cost of its enumeration finite. Simplicity (Definition 1.2 of “Simple sets and Post's problem”) is a convenient way to obtain non-computability: a simple set is not computable, since its complement is infinite and meets no infinite c.e. set, so it is not c.e.
There is a simple K-trivial set. In particular, there is a non-computable c.e. K-trivial set.
We enumerate in stages, . At stage , for each such that no element has yet been enumerated for , if there is with
enumerate the least such into and declare that has acted. Let be the result. The approximation is computable, and is c.e.
The cost is finite. If , then is the least element enumerated at stage , enumerated for some that acts at this stage, and . Each acts at most once, so the total cost is less than . By Theorem 2.2, is K-trivial.
The complement is infinite. Each contributes at most one element, larger than . So the elements of smaller than are contributed by some , and there are at most of them: at least of the numbers below are outside .
meets every infinite c.e. set. Let be infinite. Choose with ; then for all and all . Let with , and with . If has not acted before stage , it acts at stage , since qualifies. In both cases some element of has been enumerated into .
The construction is a priority-free version of Post’s construction of a simple set (Post), with one extra condition: an element may enter only if it is cheap. The tail estimate guarantees that cheap elements are available in every infinite c.e. set. The construction has no injury: requirements do not interact.
Nies proved the converse of Theorem 2.2: every K-trivial set has a computable approximation that obeys . The proof is part of the “golden run” analysis mentioned in the last lesson, and is admitted here (Nies, Computability and Randomness, Chapter 5). Cost functions are now a general tool: many classes of sets are characterized by the cost functions their approximations obey.
2.4 Exercises
Show that there is a K-trivial set that is neither c.e. nor co-c.e.
Solution
Let be a non-computable c.e. K-trivial set. By Proposition 1.2 and Proposition 1.5, is K-trivial. If were c.e., then would be c.e., and would be computable. If were co-c.e., then would be co-c.e., hence computable since it is c.e.
Let be a computable approximation obeying , and a computable strictly increasing function. Show that obeys .
Solution
Let . If , then changes at some stages with , and the least position at which and differ is at least the least over these stages : a position where and differ has changed at some intermediate stage. Let be such a stage with . Since is non-increasing in and non-decreasing in its second argument, and ,
Distinct give distinct , since the intervals are disjoint. So the total cost of is at most that of .
2.5 Notes and references
Solovay’s construction appears in his unpublished manuscript (1975). The cost function formulation is due to Nies, who developed the general theory of cost functions; Downey, Hirschfeldt, Nies and Stephan (2003) gave a published account of the construction.
- R. M. Solovay, Draft of a paper (or series of papers) on Chaitin’s work, unpublished manuscript, IBM Thomas J. Watson Research Center, 1975.
- A. Nies, Lowness properties and randomness, Advances in Mathematics 197 (2005), 274–305.
- A. Nies, Computability and Randomness, Oxford University Press, 2009, Chapter 5.