I. 3.1 (Partial) Recursive Functions and Sets
IV.4 Quantifying the Reduction of Avoidance to Complexity – General Case
Remark IV.3.7. We assumed without loss of generality that mσ = 2⋅#(σ) by choosing an appropriate enumeration of the partial recursive functions. In general, ifθ∶N→Nis a total recursive, injective function with recursive coinfinite image (as in the case of n↦ 2n), then for any total recursive function g∶N→ N there is an admissible enumeration ˜ϕ0,ϕ˜1, . . .such that ˜ϕθ(e)≃ϕg(e) for alle∈N.
h(n) ∶=exp2(s(n+1) ⋅ (n+1) −s(n) ⋅n).
If there ares∶N→ [1,∞)and rationalε>0 such that (i)imh⊆N, (ii)limn→∞s(n+1)/s(n) =1, and (iii)˜j is an order function, then COMPLEX(f) ≤w LUA(q) for any order function q∶N → [0,∞) such that, for almost alln∈N,
q(exp2((1−ε)−1⋅ [s(n+1) ⋅ (n+1) −j(s(n+1) ⋅ (n+1))] ⋅`(n))) ≤`(n).
For the remainder of this subsection, we use the following notation:
Notation IV.4.2. kand`denote recursive functionsN→ [1,∞). h,K,L, andH are defined by, forn∈N, h(n) ∶=k(n) ⋅`(n)and
H(n) ∶=h(0) ⋅h(1) ⋯h(n−1), K(n) ∶=k(0) ⋅k(1) ⋯k(n−1), L(n) ∶=`(0) ⋅`(1) ⋯`(n−1).
It is most convenient forhto take image inNso that∣hn∣ =H(n), so we make the following conventions:
Convention IV.4.3. kand`will always be such thathis an order function of the formN→N. As a result,
∣hn∣ =H(n) =K(n) ⋅L(n).
Additionally, ifα∈ (1,∞), then DNR(α) = {X∈NN∣ ∀n(X(n) <α∧X(n) ≄ϕn(n))} =DNR(⌈α⌉).
Notation IV.4.4. dhis a fixed universal left r.e. supermartingale on hN.
Among the explicit uses ofhin the proof of Theorem IV.3.1, Uses I, II, and III only depended on writing hin the formh(n) =k(n) ⋅`(n) =2n⋅ (n+1)and observing that ifdh(σ) ≤n! for someσ∈hn, then there are at most 2n many immediate successorsτ ofσsuch that dh(τ) ≥ (n+1)!. This last observation holds in general:
Proposition IV.4.5. For all n∈ N and all σ∈hn such that dh(σ) ≤L(n), there are at most k(n)-many immediate extensionsτ of σsuch that dh(τ) >L(n+1).
Proof. Suppose for the sake of a contradiction that there are more thank(n)immediate extensions τ of σ such thatdh(τ) >L(n+1). Thus,
∑
i<h(n)
dh(σ⌢⟨i⟩) >k(n) ⋅L(n+1) =h(n) ⋅L(n) ≥h(n) ⋅dh(σ)
which contradicts the fact thatdh is a supermartingale.
Now we turn our attention to Use IV.
Proposition IV.4.6. Letg∶N→ [0,∞)be an order function. ThenX ∈hNisg-random inhNif the following two conditions hold:
(i) L(n) ≤K(n)
n−g(n)
g(n) for almost alln.
(ii) dh(X↾n) ≤L(n)for almost alln.
Proof. It suffices to show thatdh does notg-succeed onX, i.e., that lim supndh(X↾n) ⋅ ∣hn∣
g(n)
n −1< ∞. For all sufficiently largen,
L(n) ≤K(n)g(n)n −1 ⇐⇒ L(n) ≤K(n)
1−g(n)/n g(n)/n
⇐⇒ L(n)g(n)/n≤K(n)1−g(n)/n
⇐⇒
L(n)g(n)/n K(n)1−g(n)/n ≤1
⇐⇒
L(n)g(n)n −1+1 K(n)−(g(n)n −1)
≤1
⇐⇒ L(n)(K(n)L(n))g(n)n −1≤1
⇐⇒ L(n)∣hn∣
g(n) n −1
≤1 Ô⇒ dh(X↾n) ⋅ ∣hn∣
g(n) n −1
≤1.
Thus, lim supndh(X↾n) ⋅ ∣hn∣
g(n)
n −1< ∞, as desired.
Given f(n) =n−j(n), Corollary IV.2.19 suggests we find a g of the formg(n) =n− (1−ε)j(ss((nn)⋅)n) for some ε >0, where ∣hn∣ = H(n) =2s(n)⋅n. Proposition IV.4.6 suggests that if we wish for the X ∈ hN we construct to be (strongly)g-random, then we might as well start with Kand define Lby
L(n) ∶=K(n)n−g(n)g(n) .
k and ` are then defined by k(n) ∶= K(n+1)/K(n) and `(n) ∶= L(n+1)/L(n) for n ∈ N. Note that H(n) =K(n)L(n) =K(n)n/g(n) for alln∈N.
Lemma IV.4.7. If t∶N → [0,∞) is an order function, then the function ∶N→ [0,∞) defined by r(n) ∶=
(n+1) ⋅t(n+1) −n⋅t(n)forn∈Nis a recursive function which dominates an order function.
Proof. Thatris recursive is immediate. For alln∈N,
r(n) = (n+1) ⋅t(n+1) −n⋅t(n) =n⋅ (t(n+1) −t(n)) +t(n+1).
Sincetis nondecreasing,n⋅ (t(n+1) −t(n)) ≥0, and sot(n+1) ≤r(n)for alln∈N. The function ˜t∶N→ [0,∞) defined by ˜t(n) ∶=t(n+1)forn∈Nis an order function such that ˜t≤domr.
Proposition IV.4.8. Let j,f, s,ε, and ˜j satisfy the conditions of Theorem IV.4.1. Let g(n) ∶=n−˜j(n) andK(n) =2s(n)⋅g(n).
(a) For all n∈N,k(n), `(n), h(n) ≥1.
(b) ` andhdominate order functions.
(c) IfX∈hN is such thatdh(X↾n) ≤L(n)for almost alln, thenX is stronglyg-random inhN. (d) IfX∈hN isg-random inhN, then πh(X) ∈ [0,1]isf-random in[0,1].
Proof. The functionsK, L, H, k, `, hcan all be written as powers of two whose exponents involves,g, and ˜j:
K(n) =2s(n)⋅g(n), k(n) =exp2(s(n+1) ⋅g(n+1) −s(n) ⋅g(n)), L(n) =2s(n)⋅˜j(n), `(n) =exp2(s(n+1) ⋅˜j(n+1) −s(n) ⋅˜j(n)), H(n) =2s(n)⋅n, h(n) =exp2(s(n+1) ⋅ (n+1) −s(n) ⋅n).
Condition (iii) of Theorem IV.4.1 implies ˜j is an order function. The hypothesis thatj(n) ≤nfor alln∈N implies ˜j(n) ≤n for all n∈ N as well, so g is a nondecreasing function such that g(n) ≤ n for all n∈ N. Condition (i) implies imh⊆N.
(a) Thats,g, and ˜j are all nondecreasing implies thatk,`, andhare bounded below by 1.
(b) Lemma IV.4.7 shows thathand` each dominate order functions.
(c) This is simply Proposition IV.4.6.
(d) Using Condition (ii) of Theorem IV.4.1, this is simply Corollary IV.2.19.
It remains to generalize the construction of X in Theorem IV.3.1 and establish our bounds on q as a function ofj.
Proof of Theorem IV.4.1. Fix a rational ε>0 and observe that fulfillment of the conditions ons, j, andε do not depend the value ofε.
dh is left r.e., so uniformly in σ∈h∗ we can simultaneously and uniformly approximate d(σ⌢⟨i⟩) from below for all i<h(n). Uniformly inσ∈hn, letmσ be such that for allx<k(n), ϕmσ(x) ↓=iif and only if σ⌢⟨i⟩is thex-th immediate successorτ ofσfound with respect to the aforementioned procedure such that d(τ) >L(n).
Let #∶h∗→Nbe the inverse of the enumeration ofh∗ according to the shortlex ordering. In particular, for almost alln∈Nand allσ∈hn,
#(σ) ≤ ∣h0∣ + ∣h1∣ + ⋯ + ∣hn∣ =
n
∑
i=0
2s(i)⋅i< (n+1) ⋅2s(n)⋅n.
By potentially modifying our enumerationϕ0, ϕ1, ϕ2, . . .of partial recursive functions, we can assume without loss of generality thatmσ=2#(σ). Letm∗n= (n+1) ⋅2s(n)⋅n+1, so that 1+sup{mσ∣σ∈hn} ≤m∗n for almost alln.
Let Ψn∶DNR(`(n)) → Ph1,k(n()n) be uniformly recursive functionals realizing the reductions Ph1,k(n()n) ≤s DNR(`(n)) from Proposition IV.3.4, and letUn∶N→ Pfin(N)be the associated recursive functions (so that
∣Un(i)∣ ≤k(n)(h`((nn)))). We are principally interested in initial segments ρof elements of lengthm∗n (in fact, we are only concerned with the values at the inputsmσ forσ∈hn), so that:
(1) ρ(mσ) <h(n) =h(∣σ∣).
(2) For allx<k(n), ifϕmσ(x)↓, thenρ(mσ) ≠ϕmσ(x).
DefineU∶N→ Pfin(N)by settingU(n) ∶= ⋃i<m∗
nUn(i)forn∈Nand subsequently defineu∶N→Nby u(0) ∶=0,
u(n+1) ∶=u(n) + ∣U(n)∣.
Finally, defineψ∶ ⊆N→Nby letting, for n∈Nandj< ∣U(n)∣,
ψ(u(n) +j) ≃ϕj-th element ofU(n)(0).
By construction, for any Z ∈Avoidψ(`(n)), Z↾u(n+1) can be used to compute an initial segment of an element ofPh1,k(n()n)of lengthm∗n, and this is uniform inn.
Ifp∶N→Nis a recursive order function satisfying
p(u(n+1)) ≤`(n)
for almost alln, then uniformly innandZ∈Avoidψ(p),Z↾u(n+1)can be used to compute an initial segment of Ph1,k(n()n) of length m∗n. Given Z ∈Avoidψ(p), define G∶N→ Nby setting the value of G(mσ) according to this uniform process for each σ∈h∗; for n not of the form mσ (which can be recursively checked), set G(n) ∶=0. Then defineX ∈hN recursively by
X(0) ∶=G(m⟨⟩),
X(n+1) ∶=G(m⟨X(0),X(1),...X(n)⟩).
We claim that dh does not g-succeed onX. We start by showing that dh(X↾n) ≤L(n) by induction.
Forn=0, this follows sincedh(X↾n) =dh(⟨⟩) =1. Now suppose for our induction hypothesis thatd(X↾n) ≤ L(n). By construction, for x<k(n), if ϕmX↾n(x)↓ =i thenX(n+1) =G(mX↾n) ≠i; in combination with
the induction hypothesis and Proposition IV.4.5, it follows thatd(X↾ (n+1)) ≤L(n+1). By our definition ofLand Proposition IV.4.6,dh does notg-succeed onX. Equivalently, X is (strongly) g-random in hN.
Proposition IV.4.8 shows that πh(X) = Y ∈ [0,1] is f-random. In other words, COMPLEX(f) ≤w Avoidψ(p). By Proposition IV.4.8,` dominates an order function, and hence there exists a recursive order functionpsatisfyingp(u(n+1)) ≤`(n). Ifq∶N→Nis a recursive order function such that for alla, b∈Nwe haveq(an+b) ≤p(n)for almost alln, then
COMPLEX(f) ≤wAvoidψ(p) ≤wLUA(q).
To get a more explicit condition onq, we find an upper bound forau(n+1) +b. For all nandi,
∣Un(i)∣ ≤k(n)(h(n)
`(n)) ≤k(n) (h(n)e
`(n) )
`(n)
=e`(n)k(n)`(n)+1=exp2((log2k(n) +log2e)`(n) +log2k(n)).
Thus, for alln,
∣U(n)∣ ≤ ∑
i<m∗n
∣Un(i)∣
≤m∗n⋅max
i Un(i)
≤ (n+1) ⋅2s(n)⋅n+1⋅exp2((log2k(n) +log2e)`(n) +log2k(n))
≤exp2(log2H(n) + (log2k(n) +log2e)`(n) +log2k(n) +log2(n+1) +1). For anyaandband almost alln,
log2(au(n+1) +b) =log2(a ∑
m≤n
∣U(m)∣ +b)
≤log2(a(n+1) ⋅ ∣U(n)∣ +b)
≤log2(3an⋅ ∣U(n)∣)
≤log2H(n) + (log2k(n) +log2e)`(n) +log2k(n) +2 log2(n+1) +log2(3a) +1.
Substituting log2H(n)and log2k(n)with expressions in terms ofs, g, and ˜j gives
log2(au(n+1) +b) =s(n) ⋅n+ (s(n+1) ⋅g(n+1) −s(n) ⋅g(n) +log2e) ⋅`(n) +s(n+1) ⋅g(n+1)
−s(n) ⋅g(n) +2 log2(n+1) +log2(3a) +1
≤2s(n) ⋅g(n+1) + (s(n+1) ⋅g(n+1) −s(n) ⋅g(n) +log2e) ⋅`(n) +s(n+1) ⋅g(n+1)
−s(n) ⋅g(n) +s(n) ⋅g(n+1) +log2(3a) +1
≤s(n+1) ⋅g(n+1) ⋅ (`(n) +4)
=s(n+1) ⋅ (n+1− (1−ε)j(s(n+1) ⋅ (n+1))
s(n+1) ) ⋅ (`(n) +4)
≤ (s(n+1) ⋅ (n+1) − (1−ε)j(s(n+1) ⋅ (n+1))) ⋅ (`(n) +4)
≤ 1
1−ε(s(n+1) ⋅ (n+1) −j(s(n+1) ⋅ (n+1))) ⋅`(n)
= 1
1−εf(s(n+1) ⋅ (n+1)) ⋅`(n)
for almost alln, where the final line follows from the fact that limn→∞j(n)/n=0. Thus, ifqsatisfies q(exp2((1−ε)−1⋅f(s(n+1) ⋅ (n+1)) ⋅`(n))) ≤`(n)
then COMPLEX(f) ≤wLUA(q).
Example IV.4.9. Supposej(n) =√
nlog2nand lets(n) =n. Simplifying`gives
`(n) =exp2(2(1−ε) (
√
(n+1)2log2(n+1) −
√
n2log2n))
=exp2(2(1−ε)log2((n+1) ⋅ (1+ 1 n)
n
))
= ((n+1) ⋅ (1+ 1 n)
n
)
2(1−ε)
. This provides the bounds
(n+1)2(1−ε)≤`(n) ≤ (n+1)2(1−ε)⋅e2(1−ε) and consequently
(1−ε)−1⋅f((n+1)2) ⋅`(n) ≤ (1−ε)−1⋅ [(n+1)2−2(n+1)log2(n+1)] ⋅ (n+1)2(1−ε)⋅e2(1−ε)
≤ e2(1−ε)
1−ε ⋅ (n+1)2(2−ε)
≤ (n+1)4−2ε. Thus, Theorem IV.4.1 implies COMPLEX(λn.n−
√nlog2n) ≤wLUA(q)whenever
q(exp2((n+1)2(2−ε))) ≤ (n+1)2(1−ε).
In particular, we may takeq(n) ∶= (log2n)β for anyβ<1/2. In other words, whereas Theorem IV.3.1 shows that COMPLEX(λn.n−α√
nlog2n) ≤wLUA(λn.(log2n)β)for anyα>1 andβ<1/2, Theorem IV.4.1 shows that for the same order functionsq, we in fact are able to compute (λn.n−
√nlog2n)-complex sequences.
Example IV.4.9 can be generalized further to address functions of the form f(n) =n−
√n⋅∆(n):
Theorem IV.4.10. Given an order function∆∶N→ [0,∞)such thatlimn→∞∆(n)/√
n=0and any rational
ε∈ (0,1),
COMPLEX(λn.n−
√n⋅∆(n)) ≤wLUA(λn.exp2((1−ε)∆(log2log2n))).
More generally, COMPLEX(λn.n−
√n⋅∆(n)) ≤wLUA(q)for any order function qsatisfying
q(exp2((1−ε)−1⋅ [(n+1)2− (n+1) ⋅∆((n+1)2)] ⋅`(n))) ≤`(n) for almost alln∈N, where`(n) =exp2((1−ε)[(n+1) ⋅∆((n+1)2) −n⋅∆(n2)]).
Proof. Lets(n) ∶=nandj(n) ∶=√
n⋅∆(n)for alln∈N. We show that the conditions of Theorem IV.4.1 are fulfilled with these choices ofsandj:
(i) (n+1)2−n2=2n+1 and 22n+1∈Nfor alln∈N. (ii) Immediate.
(iii) j(nn2) =
√n2⋅∆(n2)
n =∆(n2)shows that the functionn↦j(s(n) ⋅n)/s(n)is an order function.
The condition given by Theorem IV.4.1 requires that for someε>0 and almost alln q(exp2((1−ε)−1⋅ [(n+1)2− (n+1) ⋅∆((n+1)2)] ⋅`(n))) ≤`(n),
where`(n) =exp2((1−ε)((n+1) ⋅∆((n+1)2) −n⋅∆(n2))). Rearranging the exponent of`(n)gives a simple lower bound:
log2`(n) = (1−ε) ⋅ (∆((n+1)2) +n⋅ (∆((n+1)2) −∆(n2))) ≥ (1−ε) ⋅∆((n+1)2) ≥ (1−ε)∆(n2).
Concerning the exponent ofq’s argument, we have the following: for almost alln,
(1−ε) ⋅ [(n+1)2− (n+1) ⋅∆((n+1)2)] ⋅`(n) ≤ (1−ε) ⋅ (n+1)2⋅exp2((1−ε) ⋅ (n+1) ⋅∆((n+1)2)) ≤2n2. Thus, COMPLEX(λn.n−
√n⋅∆(n)) ≤wLUA(q)if q(exp2exp2n2) ≤exp2((1−ε)∆(n2)) and hence if the following stronger condition holds:
q(n) ≤exp((1−ε)∆(log2log2n)).
Remark IV.4.11. Settingq(n) ∶=exp2((1−ε)∆(log2log2n))can be very inefficient; when ∆(n) =log2n, this givesq(n) = (log2log2n)1−ε, significantly slower than the lower bound onqestablished in Example IV.4.9.
A better bound can be given for well-behaved ∆ which are dominated by log2. Suppose ∆≤domlog2and that
c∶= lim
n→∞n[∆((n+1)2) −∆(n2)] < ∞.
Then we may give the following lower and upper bounds for`: for almost alln,
exp2((1−ε)∆((n+1)2)) ≤`(n) ≤exp2((1−ε)∆((n+1)2) +c) ≤2c⋅ (n+1)2(1−ε). Consequently, COMPLEX(λn.n−
√n⋅∆(n)) ≤wLUA(q)wheneverq is such that, for almost alln,
q(n) ≤exp2((1−ε)∆([(1−ε) ⋅2−c⋅log2n]1/(2−ε))).