- •13.4 Shift complex sets
- •13.5 Partial randomness
- •13.9.1 Dimension in h-spaces
- •13.10 C-independence and Zimand’s Theorem
- •13.11 Other notions of dimension
- •13.11.1 Box counting dimension
- •13.11.3 Packing dimension
- •13.12 Packing dimension and complexity extraction
- •13.13 Clumpy trees and minimal degrees
- •13.14 Building sets of high packing dimension
- •13.15 Computable dimension and Schnorr dimension
- •13.15.1 Basics
- •13.15.2 Examples of Schnorr dimension
- •13.15.3 A machine characterization of Schnorr dimension
- •13.15.4 Schnorr dimension and computable enumerability
- •13.16 Kolmogorov complexity and the dimensions of individual strings
662 13. Algorithmic Dimension
1. We define a machine M with the same domain as M . If M (x) |
then |
|||||||||
check whether |M (x)| = i'0 + i1 + · · · + ik for some k. If so, then let↓M (x) |
||||||||||
be the last i |
k |
many bits of M (x). Otherwise, let M (x) = 0. Let e be such |
||||||||
|
|
|
' |
|
|
|
' |
|
||
that Me = M . |
2−| |
σ |
|
i |
e,n |
. |
||||
Let f (n) be the least stage s such that Me[s](σ) |
|
| > 1 − 2− |
|
|||||||
|
' |
|
) = 1, the function f is total and↓computable, so there |
|||||||
Since μ( dom Me |
|
|
|
|
|
|
|
|||
are |
|
|
|
|
|
|
|
|
|
|
infinitely many n such that f (n) < g(n). For each such n, we have KMe (C I e,n ) i e,n . On the other hand, for almost all n,
KMe (C I e,n ) KM (C I e,0 . . . I e,n
(1 − ε)
j n
)
i e,j |
1 − |
ε |
i e,n , |
2 |
so we have a contradiction.
If B is c.e., then it is easy to see that we can let the function g above be defined by letting g(n) be the least stage s such that Bs(n) = B(n). If we build C as above using this g, then C is c.e., since if n / B then
C I e,n = , while otherwise we can wait until the stage g(n) at which n enters B, and compute C I e,n from g(n), enumerating all its elements
into C at stage g(n).
As mentioned in Section 13.15.2, this result, combined with Theorem 13.14.5 (or Theorem 16.1.1 below, which implies that all c.e. sets have e ective packing dimension 0), shows that, as opposed to the case of Hausdor dimension, there are nonhigh sets with Schnorr packing dimension 1 but e ective packing dimension 0.
13.16Kolmogorov complexity and the dimensions of individual strings
In this section, we look at work of Lutz [254] on assigning dimensions to individual strings, and a new characterization of prefix-free complexity using such dimensions.
We have seen that the e ective dimension of a set can be characterized in terms of initial segment complexity and in terms of c.e. (super)gales. To discretize the latter characterization, Lutz replaced supergales by termgales, which can deal with the fact that strings terminate; this change is made by first defining s-termgales, and then defining termgales, which are uniform families of s-termgales. Next, he replaced “tending to infinity” by “exceeding a finite threshold”. Finally, he replaced an optimal s-supergale by an optimal termgale.
13.16. The dimensions of individual strings |
663 |
The basic idea is to introduce a new termination symbol to mark the end of a string. A terminated binary string is σ with σ 2<ω. Let T be the collection of terminated binary strings.
Definition 13.16.1 (Lutz [254]). For s 0, an s-termgale is a function d : 2<ω T → R 0 such that d(λ) 1 and for all σ 2<ω,
d(σ) 2−s(d(σ0) + d(σ1) + d(σ )).
For s = 1, the s-termgale condition is akin to the usual supermartingale condition, but as noted by Lutz, if each of 0, 1, is equally likely, independently of previous bits, then the conditional expected capital after
betting on the bit to follow σ is |
d(σ0)+d(σ1)+d(σ ) |
= |
2 d(σ). However, the |
|
3 |
||||
|
|
3 |
definition of s-termgales is based on the assumption that the termination symbol should actually be regarded as having vanishingly small probability. In other words, the 1-termgale payo condition is the same as the corresponding supermartingale condition, except that the 1-termgale must divert some of its capital to the possibility of occurring, and this diversion is without compensation, but can occur at most once, and we can make the impact of this diversion of capital small.
Lutz [254] provided the following example. Let d(λ) = 1. Given d(σ), let
d(σ0) = 32 d(σ) and d(σ1) = d(σ ) = 14 d(σ). Then d is a 1-termgale and if σ is a string with n0 many 0’s and n1 many 1’s, then
|
|
|
|
|
d(σ ) = ( |
3 |
)n0 ( |
|
1 |
)n1+1 = 2n0(1+log 3)−2(n1+1). |
|
||||||||||
|
|
|
|
|
2 |
4 |
|
||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|||
Thus if n0 * |
|
2 |
|
(n0 + n1 + 1), then d(σ ) is significantly greater than |
|||||||||||||||||
1+log 3 |
|||||||||||||||||||||
d(λ) even though d loses three quarters of its capital when occurs. |
|
||||||||||||||||||||
The following facts are straightforward. |
|
|
|||||||||||||||||||
Lemma 13.16.2. Let d, d : 2<ω |
|
T |
→ |
R 0 be such that 2−s|σ|d(σ) = |
|||||||||||||||||
2− |
s |
| |
σ |
|d (σ) for |
all |
|
σ |
|
2 |
<ω |
|
|
|
|
|
|
|
||||
|
|
|
|
|
|
T . Then d is an s-termgale iff d is an |
|||||||||||||||
s -termgale. |
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||
|
if |
d is |
a 0-termgale |
and d (σ) = 2s|σ|d(σ) for all σ |
|
||||||||||||||||
In |
particular, |
|
|||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2<ω T , then d is an s-termgale, and each s-termgale can be obtained in this way from a 0-termgale.
We need the following technical lemma.
Lemma 13.16.3 (Lutz [254]). Let d be an s-termgale and τ 2<ω. Then
σ 2<ω 2−s|σ|d(τ σ ) 2sd(τ ).
Proof. First suppose that s = 0. It is straightforward to show by induction that for all m,
|
|
d(τ σ ) + |
d(τ σ) d(τ ). |
σ 2<m |
σ 2m |
Thus σ 2 m d(τ σ ) d(τ ) for all m, and hence σ 2<ω d(τ σ ) d(τ ).
664 13. Algorithmic Dimension
For the general case, let d (σ) = 2−s|σ|d(σ) for all σ 2<ω T . Then d is a 0-termgale, and hence
2−s|σ|d(τ σ ) = |
2s(|τ |+1)d (τ σ ) 2s(|τ |+1)d (τ ) = 2sd(τ ). |
σ 2<ω |
σ 2<ω |
|
|
We are now ready to define (optimal) termgales.
Definition 13.16.4 (Lutz [254]). (i) |
A termgale is a family d = |
{ |
ds |
: |
|||
s σ |
s |
s |
|
|
|
||
s 0} of s-termgales such that 2− | |
|d (σ) = 2− |
|
|σ|ds (σ) for all s, |
s , and σ 2<ω T .
(ii) A termgale is Σ01, or constructive, if d0 is a Σ01 function.
0 |
˜ |
|
|
0 |
termgale d there is a c > 0 |
|
(iii) A Σ1 |
termgale d is optimal if for each Σ1 |
|||||
such that for all s and σ |
2 |
<ω |
|
˜s |
s |
|
|
, we have d (σ ) cd (σ ). |
In the same way that we connected continuous semimeasures with mar-
tingales, we can define the termgale induced by a c.e. discrete semimeasure
m via d[m]s(τ ) = 2s|σ| τ σ m(σ). (See Section 3.9 for more on discrete semimeasures.)
Theorem 13.16.5 (Lutz [254]). If m is a maximal c.e. discrete semimeasure then d[m] is an optimal Σ01 termgale. Thus there is an optimal Σ01 termgale.
Proof. It is easy to check that d[m] is a termgale. Let d = {ds : s 0} be a termgale. Let m(σ) = d0(σ ). By Lemma 13.16.3, m is a c.e. discrete semimeasure. Since m is multiplicatively optimal, for some c we have m(σ) cm(σ) for all σ 2<ω. Hence
d[m]s(σ ) = 2s|σ |m(σ) 2s|σ |cm(σ) = cds(σ ).
Definition 13.16.6 (Lutz [254]). If d is a termgale, n > 0, and σ 2<ω, then the dimension of σ relative to d at significance level n is
dimnd (σ) = inf{s 0 : ds(σ ) > n}.
We can characterize this dimension in terms of an optimal termgale.
˜ |
0 |
termgale, and let |
Theorem 13.16.7 (Lutz [254]). Let d be an optimal Σ1 |
d be a Σ01 termgale. Then for each n > 0 there is a c > 0 such that, for all
σ 2<ω,
dimdn˜(σ) dimd1(σ) + |
c |
|
|
. |
|
1 + |σ| |
|
|
|
|
13.16. The dimensions of individual strings |
665 |
|||||||||
˜ |
|
|
˜ |
0 |
termgales and n1, n2 > 0, then |
|||||||||
Hence, if d1 |
and d2 are both optimal Σ1 |
|||||||||||||
there is a c > 0 such that for all σ 2<ω, |
|
|
c |
|
|
|
|
|
|
|||||
|
|
|
n1 |
n2 |
|
|
|
|
|
|
|
|
||
|
|
|
dimd˜1 (σ) |
− dimd˜2 (σ) |
|
|
. |
|
|
|||||
|
|
|
1 + |σ| |
|
|
|||||||||
|
|
|
|
˜ |
|
|
|
|
|
|
|
(0, 1) such that for all |
||
Proof. By the optimality of d, there is a constant b |
|
|||||||||||||
˜s |
|
|
s |
|
|
|
|
|
log b, and notice that |
|||||
s, we have d (σ |
|
) bd (σ ). Given n, let c = log n |
− |
|||||||||||
|
1 |
|
c |
|
|
|
|
c |
1 |
|
||||
c > 0. Let s > dimd |
(σ) + |
|
and let s1 = s − |
|
. Then s1 > dimd |
(σ), |
||||||||
1+|σ| |
1+|σ| |
|||||||||||||
so |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
d˜s(σ ) bds(σ ) = b2(s−s1)|σ |ds1 (σ )) = b2cds1 (σ ) > b2c = n. |
Theorem 13.16.7 is the key to Lutz’ definition of the dimension of a string, since it says that if we base our definition on a particular optimal
0 |
˜ |
Σ1 |
termgale d and significance level n, then this choice will have little e ect |
on the dimension of a given string, particularly for longer strings. Therefore we fix an optimal Σ01 termgale d and make the following definition.
Definition 13.16.8 (Lutz [254]). dim(σ) = dim1d (σ) for every σ 2<ω.
In this context, we lose some of the finer points of Hausdor dimension. For example, it is no longer true that the e ective dimension is bounded above by 1. But we do have the following analog.
Theorem 13.16.9 (Lutz [254]). There is a b > 0 such that dim(σ) b for all σ 2<ω.
Proof. For each σ and s, let ds(σ) = 2(s−2)|σ| and ds(σ ) = 2(s−2)|σ|+1. Then it is easy to check that d = {ds : s 0} is a termgale, and d2(σ ) = 2 for all σ. Thus, by Theorem 13.16.7, there is a c such that dim(σ) 2 +
c| | 2 + c, so we can take b = 2 + c.
1+ σ
Finally, we have an analog of the Kolmogorov complexity characterization of e ective Hausdor dimension.
Theorem 13.16.10 (Lutz [254]). K(σ) = |σ| dim(σ) ± O(1).
Proof. Let m be a maximal c.e. semimeasure, as given in Theorem 3.9.2, and let d[m] be the termgale induced by m. For all σ 2<ω and s > 0, we have
d[m]s(σ ) > 1 iff 2s|σ |m(σ) > 1 iff s > − log m(σ) , 1 + |σ|
so (1 + |σ|) dim1d[m](σ) = − log m(σ).
Thus, by Theorem 13.16.7, (1 + |σ|) dim(σ) = − log m(σ) ± O(1), so by Theorem 13.16.9, |σ| dim(σ) = − log m(σ) ± O(1). But by the Coding Theorem 3.9.4, K(σ) = − log m(σ)±O(1), so |σ| dim(σ) = K(σ)±O(1).
666 |
13. Algorithmic Dimension |
|
|
|
|
|
Theorem 13.16.10 implies that for any A 2 |
ω |
, we have limn |
| |
K(A n) |
− |
|
|
n |
|||||
dim(A n)| = 0. Thus the Kolmogorov complexity characterizations of |
||||||
e ective Hausdor and packing dimensions imply the following. |
|
|
|
Corollary 13.16.11 (Lutz [254]). For A 2ω, we have dim(A) = lim infn dim(A n) and Dim(A) = lim supn dim(A n).
In [254], Lutz also proved several other facts about the dimensions of finite strings. Space considerations preclude us from including this material.