Cite

This course has no released version yet: the text at this address may change. Cite a released version when one exists.

/courses/immunity-growth/immune-sets
@misc{immunity-growth-immune-sets,
  title = {{Immune and hyperimmune sets}},
  howpublished = {Lesson 1 of \emph{Immunity and growth of functions}, Computability Theory course notes},
  url = {/courses/immunity-growth/immune-sets},
  note = {Unreleased working version}
}

To cite a single statement, use the # link that appears next to its heading.

Lesson 1 of 4

Immune and hyperimmune sets

Immune sets contain no infinite c.e. subset; hyperimmune sets escape every computable array of disjoint finite sets, equivalently their principal function is not computably dominated; Dekker's deficiency sets give hypersimple sets in every non-zero c.e. degree.

40 min4 questions
Before this lesson:Limit computability (Oracles and Turing degrees) · Simple sets and Post's problem (Post's problem and the priority method)
Immunity and growth of functions · lesson 1 of 4
  1. Immune and hyperimmune sets
  2. Computably dominated degrees
  3. Diagonally non-computable functions
  4. Martin's domination theorem

A computable set can be decided, and a c.e. set can be listed. An infinite set may fail both properties in a strong way: no algorithm lists infinitely many of its elements. Such sets are called immune. This lesson introduces immunity and its strengthening hyperimmunity, in which an algorithm cannot even point to infinitely many disjoint finite blocks each containing an element of the set. Hyperimmunity turns out to be a property of growth: an infinite set is hyperimmune exactly when the function listing its elements in increasing order escapes domination by every computable function. This makes it a notion about degrees, studied in the rest of the course.

1.1 Immune sets

Definition 1.1.#

An infinite set A⊆NA \subseteq \nat is immune if it has no infinite c.e. subset.

Every infinite c.e. set WW has an infinite computable subset: enumerate WW, and keep each element that is larger than all the elements kept before. The kept elements appear in increasing order, so the set they form is computable, and it is infinite. Hence an infinite set is immune if and only if it has no infinite computable subset. An immune set is not computable, since it would be an infinite computable subset of itself.

Recall from Definition 1.2 of “Simple sets and Post's problem” that a c.e. set is simple if its complement is immune. Immunity is a property of sets, not of degrees. If AA is immune, the set A⊕N={2n:n∈A}∪{2n+1:n∈N}A \oplus \nat = \{ 2n : n \in A \} \cup \{ 2n + 1 : n \in \nat \} has the same degree and contains the infinite computable set of odd numbers. Conversely, immune sets exist in every non-zero degree.

Proposition 1.2.#

Every non-computable set is Turing equivalent to an immune set.

Proof of Proposition 1.2.

Let AA be non-computable, and let B={σ∈2<N:σ≺A}B = \{ \sigma \in \bstr : \sigma \prec A \}, identified with a set of integers through a computable bijection between 2<N\bstr and N\nat. Then B≡TAB \equiv_T A: A(n)A(n) is the last bit of the prefix of AA of length n+1n + 1, and σ∈B\sigma \in B is decided by comparing σ\sigma with A ⁣↾∣σ∣A \uh |\sigma|. If C⊆BC \subseteq B were infinite and computable, its elements would be prefixes of AA of unbounded length, and A(n)A(n) would be computed by searching CC for a string of length greater than nn. So BB is immune.

1.2 Hyperimmune sets

Let DnD_n denote the finite set with canonical index nn, that is, the finite set such that n=∑i∈Dn2in = \sum_{i \in D_n} 2^i. From nn, one computes the elements of DnD_n and their number; from an index of a c.e. set, one does not even know whether it is empty.

Definition 1.3.#

A disjoint strong array is a sequence (Fn)(F_n) of pairwise disjoint finite sets such that Fn=Df(n)F_n = D_{f(n)} for a total computable function ff. An infinite set AA is hyperimmune if for every disjoint strong array (Fn)(F_n), there is nn with Fn∩A=∅F_n \cap A = \emptyset. A c.e. set is hypersimple if its complement is hyperimmune.

A hyperimmune set is immune: if {x0,x1,… }\{ x_0, x_1, \dots \} is an infinite computable subset of AA, listed without repetition, then Fn={xn}F_n = \{ x_n \} is a disjoint strong array meeting AA at every nn. Hyperimmunity asks more: an algorithm cannot list infinitely many disjoint finite blocks, each guaranteed to contain an element of AA.

The principal function of an infinite set AA is the function pAp_A such that pA(n)p_A(n) is the nn-th element of AA in increasing order, starting from pA(0)=min⁡Ap_A(0) = \min A. It is strictly increasing, so pA(n)≥np_A(n) \geq n. Recall that a function gg dominates ff if f(n)≤g(n)f(n) \leq g(n) for every nn.

Definition 1.4.#

A function f:N→Nf : \nat \to \nat is hyperimmune if no computable function dominates it. A set has hyperimmune degree if it computes a hyperimmune function.

If f(n)≤g(n)f(n) \leq g(n) for all n≥n0n \geq n_0, with gg computable, then the function equal to ff below n0n_0 and to gg elsewhere is computable and dominates ff. So ff is hyperimmune if and only if, for every computable gg, there are infinitely many nn with f(n)>g(n)f(n) > g(n).

Theorem 1.5.#

An infinite set AA is hyperimmune if and only if its principal function pAp_A is hyperimmune.

Proof of Theorem 1.5.

(⇒\Rightarrow) Let gg be computable; we show that gg does not dominate pAp_A. Let h(x)=g(x)+x+1h(x) = g(x) + x + 1, and let h(n)h^{(n)} be the nn-th iterate of hh, with h(0)(0)=0h^{(0)}(0) = 0. The intervals Fn=[h(n)(0),h(n+1)(0))F_n = [h^{(n)}(0), h^{(n+1)}(0)) are non-empty, pairwise disjoint, and their canonical indices are computable from nn: they form a disjoint strong array. Since AA is hyperimmune, some FnF_n is disjoint from AA. Let x=h(n)(0)x = h^{(n)}(0). The element pA(x)p_A(x) is at least xx, and it is not in Fn=[x,h(x))F_n = [x, h(x)), so pA(x)≥h(x)>g(x)p_A(x) \geq h(x) > g(x).

(⇐\Leftarrow) Suppose that AA is not hyperimmune, and let (Fn)(F_n) be a disjoint strong array with Fn∩A≠∅F_n \cap A \neq \emptyset for every nn. Let g(n)=max⁡(F0∪⋯∪Fn)g(n) = \max (F_0 \cup \dots \cup F_n); it is computable. The sets F0,…,FnF_0, \dots, F_n are disjoint and each contains an element of AA, so AA has at least n+1n + 1 elements smaller than or equal to g(n)g(n), that is, pA(n)≤g(n)p_A(n) \leq g(n). So gg dominates pAp_A.

Corollary 1.6.#

For a set XX, the following are equivalent: XX has hyperimmune degree; XX computes a hyperimmune set; XX is Turing equivalent to a hyperimmune set.

Proof of Corollary 1.6.

A hyperimmune set A≤TXA \leq_T X gives the hyperimmune function pA≤TXp_A \leq_T X, by Theorem 1.5. Conversely, let f≤TXf \leq_T X be hyperimmune. Let g(n)=⟨f(n),X(n)⟩g(n) = \langle f(n), X(n) \rangle, where ⟨⋅,⋅⟩\langle \cdot, \cdot \rangle is the Cantor pairing, so that g(n)≥f(n)g(n) \geq f(n) and g≡TXg \equiv_T X. Let q(n)=n+∑i≤ng(i)q(n) = n + \sum_{i \leq n} g(i) and AA the range of qq. The function qq is strictly increasing, so A≡TqA \equiv_T q, and q≡Tgq \equiv_T g, since g(0)=q(0)g(0) = q(0) and g(n)=q(n)−q(n−1)−1g(n) = q(n) - q(n-1) - 1 for n≥1n \geq 1. Hence A≡TXA \equiv_T X. Finally pA=q≥g≥fp_A = q \geq g \geq f, so pAp_A is hyperimmune, and AA is hyperimmune by Theorem 1.5.

Being of hyperimmune degree is therefore a property of strength, closed upward under Turing reducibility. By Martin–Miller, every non-computable Δ20\Delta^0_2 set has hyperimmune degree. The opposite property, being computably dominated (Definition 3.3 of “Basis theorems”), is the subject of the next lesson.

1.3 Hypersimple sets

Post constructed hypersimple sets to show that a c.e. set can be very thin. Dekker observed that a hypersimple set can be found in every non-zero c.e. degree.

Let AA be an infinite c.e. set, and let aa be a computable injective function with range AA; a(s)a(s) is the element enumerated at stage ss. A stage ss is deficient if some element smaller than a(s)a(s) is enumerated later:

B={s:∃t>s  a(t)<a(s)}.B = \{ s : \exists t > s\ \ a(t) < a(s) \}.

The set BB is the deficiency set of the enumeration. A stage s∉Bs \notin B is non-deficient: every element enumerated after stage ss is larger than a(s)a(s).

Theorem 1.7 (Dekker).#

Let AA be an infinite c.e. set, enumerated without repetition by a computable function aa, and let BB be its deficiency set. Then BB is c.e., B≡TAB \equiv_T A, and if AA is not computable, BB is hypersimple.

Proof of Theorem 1.7.

The set BB is c.e.: s∈Bs \in B as soon as a later stage tt with a(t)<a(s)a(t) < a(s) is found.

Non-deficient stages. If s0<s1<⋯s_0 < s_1 < \cdots are the non-deficient stages, then a(s0)<a(s1)<⋯a(s_0) < a(s_1) < \cdots, since si+1s_{i+1} comes after sis_i and sis_i is non-deficient. A strictly increasing sequence of natural numbers satisfies a(sn)≥na(s_n) \geq n. The complement of BB is infinite: for every ss, the minimum of {a(t):t≥s}\{ a(t) : t \geq s \} is attained at a unique stage t0≥st_0 \geq s, which is non-deficient.

Key property. If ss is non-deficient and x≤a(s)x \leq a(s), then x∈Ax \in A if and only if x=a(t)x = a(t) for some t≤st \leq s. Indeed, an element enumerated after ss is larger than a(s)a(s).

B≤TAB \leq_T A. To decide s∈Bs \in B with oracle AA, determine the finitely many elements of AA smaller than a(s)a(s) and the stages at which they are enumerated; s∈Bs \in B if and only if one of these stages is larger than ss.

A≤TBA \leq_T B. To decide x∈Ax \in A with oracle BB, list the non-deficient stages s0<s1<⋯s_0 < s_1 < \cdots up to sxs_x. Since a(sx)≥xa(s_x) \geq x, the key property gives x∈Ax \in A if and only if x∈{a(t):t≤sx}x \in \{ a(t) : t \leq s_x \}.

Hyperimmunity. Suppose that the principal function of N∖B\nat \setminus B is dominated by a computable function gg, so that sn≤g(n)s_n \leq g(n) for every nn. Then x∈Ax \in A if and only if x=a(t)x = a(t) for some t≤g(x)t \leq g(x): if x=a(t)x = a(t) with t>g(x)≥sxt > g(x) \geq s_x, then xx is enumerated after the non-deficient stage sxs_x, so x>a(sx)≥xx > a(s_x) \geq x, which is absurd. This decides AA computably, contradicting the hypothesis. So the principal function of N∖B\nat \setminus B is hyperimmune, and N∖B\nat \setminus B is hyperimmune by Theorem 1.5.

Corollary 1.8.#

Every non-computable c.e. set is Turing equivalent to a hypersimple set. In particular, every non-zero c.e. degree is hyperimmune.

A non-computable c.e. set is infinite, so the theorem applies. The second statement also follows from Martin–Miller, since c.e. sets are Δ20\Delta^0_2. Hypersimple sets are simple, since hyperimmune sets are immune. They are not complete for truth-table reducibility (Definition 2.5), a result of Post (1944) admitted here; but they can be Turing complete, as the corollary shows for the deficiency set of ∅′\emptyset'.

1.4 Exercises

Exercise 1.9 ★.

Show that an infinite set AA is hyperimmune if and only if, for every strictly increasing computable function ff, there is nn such that A∩[f(n),f(n+1))=∅A \cap [f(n), f(n+1)) = \emptyset.

Solution

If AA is hyperimmune, the intervals [f(n),f(n+1))[f(n), f(n+1)) form a disjoint strong array, so one of them misses AA. Conversely, suppose that the condition holds, and let gg be computable. Let h(x)=g(x)+x+1h(x) = g(x) + x + 1 and f(n)=h(n)(0)f(n) = h^{(n)}(0), which is strictly increasing and computable. Some interval [f(n),f(n+1))[f(n), f(n+1)) misses AA, and as in the proof of Theorem 1.5, pA(f(n))>g(f(n))p_A(f(n)) > g(f(n)). So no computable function dominates pAp_A, and AA is hyperimmune.

Exercise 1.10 ★★.

Show that a set XX has hyperimmune degree if and only if XX computes a function hh such that every computable function is equal to hh at infinitely many points.

Hint

Reserve the inputs ⟨e,k⟩\langle e, k \rangle, k∈Nk \in \nat, to the ee-th partial computable function, and use a hyperimmune function to bound the time of the computations.

Solution

If hh equals every computable function infinitely often, then h+1h + 1 exceeds every computable function at infinitely many points, so it is hyperimmune.

Conversely, let f≤TXf \leq_T X be hyperimmune and F(n)=max⁡m≤nf(m)F(n) = \max_{m \leq n} f(m). For n=⟨e,k⟩n = \langle e, k \rangle, let h(n)=Φe(n)h(n) = \Phi_e(n) if Φe(n)[F(n)] ⁣ ⁣↓\Phi_e(n)[F(n)]\converge, and h(n)=0h(n) = 0 otherwise. It is XX-computable. Let Φe\Phi_e be total, and t(n)t(n) the least ss with Φe(n)[s] ⁣ ⁣↓\Phi_e(n)[s]\converge, a computable function. Suppose that h(⟨e,k⟩)=Φe(⟨e,k⟩)h(\langle e, k \rangle) = \Phi_e(\langle e, k \rangle) for finitely many kk only; then t(⟨e,k⟩)>F(⟨e,k⟩)t(\langle e, k \rangle) > F(\langle e, k \rangle) for all k≥k0k \geq k_0. For each mm, let k(m)k(m) be the least k≥k0k \geq k_0 with ⟨e,k⟩≥m\langle e, k \rangle \geq m, which exists since the Cantor pairing is increasing in kk, and let G(m)=t(⟨e,k(m)⟩)G(m) = t(\langle e, k(m) \rangle). Then GG is computable and G(m)>F(⟨e,k(m)⟩)≥f(m)G(m) > F(\langle e, k(m) \rangle) \geq f(m) for every mm, so GG dominates ff, a contradiction.

1.5 Notes and references

Immune and simple sets were introduced by Post (1944), who also defined hypersimple sets. Dekker (1954) introduced deficiency sets. The characterization of hyperimmune sets through principal functions is due to Kuznecov, Medvedev and Uspenskii, and the study of hyperimmune degrees to Miller and Martin (1968). Soare’s book contains a detailed treatment of these thinness properties.

  • E. L. Post, Recursively enumerable sets of positive integers and their decision problems, Bulletin of the American Mathematical Society 50 (1944), 284–316.
  • J. C. E. Dekker, A theorem on hypersimple sets, Proceedings of the American Mathematical Society 5 (1954), 791–796.
  • W. Miller and D. A. Martin, The degrees of hyperimmune sets, Zeitschrift für mathematische Logik und Grundlagen der Mathematik 14 (1968), 159–166.
  • R. I. Soare, Recursively Enumerable Sets and Degrees, Springer, 1987.