Cite

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

/courses/randomness-notions/relative-randomness
@misc{randomness-notions-relative-randomness,
  title = {{Relative randomness and van Lambalgen's theorem}},
  howpublished = {Lesson 1 of \emph{Notions of randomness}, Computability Theory course notes},
  url = {/courses/randomness-notions/relative-randomness},
  note = {Unreleased working version}
}

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

Lesson 1 of 3

Relative randomness and van Lambalgen's theorem

Martin-Löf randomness relative to an oracle; van Lambalgen's theorem that a join is random exactly when its halves are random, the second relative to the first; consequences for the Turing degrees of random sequences; 2-randomness.

35 min2 questions
Before this lesson:The Levin–Schnorr theorem (Martin-Löf randomness)
Notions of randomness · lesson 1 of 3
  1. Relative randomness and van Lambalgen's theorem
  2. Weak 2-randomness
  3. Schnorr and Kurtz randomness

Randomness relative to an oracle XX asks a sequence to pass all tests that XX can enumerate. The stronger the oracle, the fewer random sequences. Van Lambalgen’s theorem describes how relative randomness interacts with the join: a sequence A⊕BA \oplus B is random if and only if AA is random and BB is random relative to AA. The theorem has consequences for the Turing degrees of random sequences, and it characterizes randomness relative to ∅′\emptyset', called 2-randomness, in terms of Chaitin’s Ω\Omega.

1.1 Relative randomness

Definition 1.1.#

Let XX be a set. A Martin-Löf test relative to XX is a sequence of classes (Un)(\mathcal U_n), uniformly Σ10(X)\Sigma^0_1(X), with λ(Un)≤2−n\lambda(\mathcal U_n) \leq 2^{-n}. A sequence is Martin-Löf random relative to XX, or XX-random, if it passes every such test. The class of XX-random sequences is written MLRX\mathrm{MLR}^X. For n≥1n \geq 1, a sequence is nn-random if it is random relative to ∅(n−1)\emptyset^{(n-1)}; the 1-random sequences are the Martin-Löf random ones.

All results of the course on Martin-Löf randomness relativize: there is a universal test relative to XX, MLRX\mathrm{MLR}^X is conull, and Z∈MLRXZ \in \mathrm{MLR}^X if and only if KX(Z ⁣↾n)≥n−O(1)K^X(Z \uh n) \geq n - O(1), where KXK^X is prefix-free complexity relative to XX. If Y≤TXY \leq_T X, every test relative to YY is a test relative to XX, so MLRX⊆MLRY\mathrm{MLR}^X \subseteq \mathrm{MLR}^Y.

Two facts of measure theory are used below. They concern a class W⊆2N\mathcal W \subseteq \cs seen as a class of pairs, through the identification of X⊕YX \oplus Y with (X,Y)(X, Y), and its sections WX={Y:X⊕Y∈W}\mathcal W_X = \{ Y : X \oplus Y \in \mathcal W \}.

Fact 1.2 (Fubini).#

For every open class W\mathcal W, the function X↦λ(WX)X \mapsto \lambda(\mathcal W_X) is measurable and λ(W)=∫λ(WX) dX\lambda(\mathcal W) = \int \lambda(\mathcal W_X)\, dX. In particular, for every q>0q > 0, λ({X:λ(WX)>q})≤λ(W)/q\lambda(\{ X : \lambda(\mathcal W_X) > q \}) \leq \lambda(\mathcal W) / q.

This is Fubini’s theorem for the product of two copies of the uniform measure, which is the uniform measure under the identification; the second statement is Markov’s inequality. Both are admitted. Note that if W\mathcal W is Σ10\Sigma^0_1, then WX\mathcal W_X is Σ10(X)\Sigma^0_1(X) uniformly in XX, and {X:λ(WX)>q}\{ X : \lambda(\mathcal W_X) > q \} is Σ10\Sigma^0_1, uniformly in a rational qq, since λ(WX)\lambda(\mathcal W_X) is left-c.e. relative to XX, uniformly.

Every oracle-dependent sequence of classes can be trimmed into a test for every oracle, as in the construction of the universal test (Martin-Löf): from an oracle machine enumerating VnX\mathcal V^X_n, one computes another enumerating V^nX⊆VnX\widehat{\mathcal V}^X_n \subseteq \mathcal V^X_n, with λ(V^nX)≤2−n\lambda(\widehat{\mathcal V}^X_n) \leq 2^{-n} for every XX, and V^nX=VnX\widehat{\mathcal V}^X_n = \mathcal V^X_n whenever λ(VnX)≤2−n\lambda(\mathcal V^X_n) \leq 2^{-n}.

1.2 Van Lambalgen’s theorem

Theorem 1.3 (van Lambalgen).#

For all sets AA and BB, A⊕BA \oplus B is Martin-Löf random if and only if AA is Martin-Löf random and BB is Martin-Löf random relative to AA.

Proof of Theorem 1.3.

We prove both directions by contraposition.

(⇒\Rightarrow) Suppose AA is captured by a test (Un)(\mathcal U_n). Then A⊕BA \oplus B belongs to the classes {X⊕Y:X∈Un}\{ X \oplus Y : X \in \mathcal U_n \}, which are uniformly Σ10\Sigma^0_1 with the same measures; so A⊕BA \oplus B is not random. Suppose BB is captured by a test relative to AA; by trimming, we may assume it is given by an oracle machine X↦(VnX)X \mapsto (\mathcal V^X_n) with λ(VnX)≤2−n\lambda(\mathcal V^X_n) \leq 2^{-n} for every XX. Let Wn={X⊕Y:Y∈VnX}\mathcal W_n = \{ X \oplus Y : Y \in \mathcal V^X_n \}, uniformly Σ10\Sigma^0_1. By Fact 1.2, λ(Wn)=∫λ(VnX) dX≤2−n\lambda(\mathcal W_n) = \int \lambda(\mathcal V^X_n)\, dX \leq 2^{-n}, and A⊕B∈⋂nWnA \oplus B \in \bigcap_n \mathcal W_n.

(⇐\Leftarrow) Suppose A⊕B∈⋂nUnA \oplus B \in \bigcap_n \mathcal U_n for a Martin-Löf test (Un)(\mathcal U_n), and AA random. For each nn, let VnX=(U2n)X={Y:X⊕Y∈U2n}\mathcal V^X_n = (\mathcal U_{2n})_X = \{ Y : X \oplus Y \in \mathcal U_{2n} \}, and Sn={X:λ(VnX)>2−n}\mathcal S_n = \{ X : \lambda(\mathcal V^X_n) > 2^{-n} \}. The classes Sn\mathcal S_n are uniformly Σ10\Sigma^0_1, and λ(Sn)≤2−2n/2−n=2−n\lambda(\mathcal S_n) \leq 2^{-2n} / 2^{-n} = 2^{-n} by Fact 1.2. So (Sn)(\mathcal S_n) is a Solovay test, and since AA is random, A∉SnA \notin \mathcal S_n for all n≥Nn \geq N, for some NN (Solovay). For n≥Nn \geq N, λ(VnA)≤2−n\lambda(\mathcal V^A_n) \leq 2^{-n}, so (Vn+NA)n(\mathcal V^A_{n+N})_n is a Martin-Löf test relative to AA. It captures BB, since A⊕B∈U2nA \oplus B \in \mathcal U_{2n} for every nn. So BB is not random relative to AA.

The statement of the theorem is not symmetric in AA and BB, but its consequences are: A⊕BA \oplus B is random if and only if B⊕AB \oplus A is (second exercise below), so AA is random and BB is AA-random if and only if BB is random and AA is BB-random. Two sequences AA and BB with this property, that is, such that A⊕BA \oplus B is random, are called mutually random.

Corollary 1.4.#
  1. If A⊕BA \oplus B is random, then AA and BB are Turing incomparable.
  2. A sequence AA is 2-random if and only if A⊕ΩA \oplus \Omega is random, where Ω\Omega is Chaitin’s halting probability. In particular, no 2-random sequence computes ∅′\emptyset'.
Proof of Corollary 1.4.
  1. If B≤TAB \leq_T A, then BB is not random relative to AA: the classes [B ⁣↾n][B \uh n] form a test relative to AA. By the theorem, A⊕BA \oplus B is not random. If A≤TBA \leq_T B, apply the same argument to B⊕AB \oplus A, which is random as the image of A⊕BA \oplus B under the computable measure-preserving map exchanging even and odd positions.
  2. Since Ω≡T∅′\Omega \equiv_T \emptyset' (Chaitin), randomness relative to Ω\Omega is randomness relative to ∅′\emptyset'. By the theorem applied to Ω⊕A\Omega \oplus A, this sequence is random if and only if AA is random relative to Ω\Omega, since Ω\Omega is random (Chaitin); and Ω⊕A\Omega \oplus A is random if and only if A⊕ΩA \oplus \Omega is. If a 2-random AA computed ∅′\emptyset', then A≥TΩA \geq_T \Omega, contradicting (1) for the random sequence A⊕ΩA \oplus \Omega.

1.3 2-randomness

The 2-random sequences avoid every class captured by a Martin-Löf test relative to ∅′\emptyset'. They are computationally weaker than arbitrary random sequences: by Corollary 1.4 (2), a 2-random sequence does not compute ∅′\emptyset', whereas Ω\Omega is random and computes it. Kurtz (1981) showed that every 2-random sequence has hyperimmune degree, and Kautz (1991) that every 2-random sequence AA satisfies A′≡TA⊕∅′A' \equiv_T A \oplus \emptyset'; we admit both results. Miller (2004) and Nies, Stephan and Terwijn (2005) characterized 2-randomness by plain complexity: AA is 2-random if and only if C(A ⁣↾n)≥n−O(1)C(A \uh n) \geq n - O(1) for infinitely many nn.

1.4 Exercises

Exercise 1.5 ★.

Let ZZ be random, Z0={n:2n∈Z}Z_0 = \{ n : 2n \in Z \} and Z1={n:2n+1∈Z}Z_1 = \{ n : 2n + 1 \in Z \}. Show that Z0Z_0 and Z1Z_1 are random, and Turing incomparable.

Solution

Z=Z0⊕Z1Z = Z_0 \oplus Z_1. By Theorem 1.3, Z0Z_0 is random and Z1Z_1 is random relative to Z0Z_0, hence random. By Corollary 1.4 (1), they are Turing incomparable.

Exercise 1.6 ★.

Show that if AA is random and BB is random relative to AA, then BB is random and AA is random relative to BB.

Solution

By Theorem 1.3, A⊕BA \oplus B is random. The map X⊕Y↦Y⊕XX \oplus Y \mapsto Y \oplus X is computable and preserves the measure, so it maps Martin-Löf tests to Martin-Löf tests; hence B⊕AB \oplus A is random. By Theorem 1.3 again, BB is random and AA is random relative to BB.

1.5 Notes and references

Van Lambalgen proved his theorem in his thesis (1987). The theorem fails for some other randomness notions, such as Schnorr randomness, in one direction. Kurtz’s thesis (1981) and Kautz’s thesis (1991) contain the basic results on nn-randomness.

  • M. van Lambalgen, Random sequences, PhD thesis, University of Amsterdam, 1987.
  • S. A. Kurtz, Randomness and genericity in the degrees of unsolvability, PhD thesis, University of Illinois, 1981.
  • S. M. Kautz, Degrees of random sets, PhD thesis, Cornell University, 1991.
  • J. S. Miller, Every 2-random real is Kolmogorov random, Journal of Symbolic Logic 69 (2004), 907–913.
  • A. Nies, F. Stephan and S. A. Terwijn, Randomness, relativization and Turing degrees, Journal of Symbolic Logic 70 (2005), 515–535.