Complexity Oscillations in Infinite Binary Sequences

Similar documents
AND RANDOMNESS1 by P. Martin-Lof University of Stockholm

ON THE ITERATES OF SOME ARITHMETIC. P. Erd~s, Hungarian Academy of Sciences M. V. Subbarao, University of Alberta

LOCATED SETS ON THE LINE

The small ball property in Banach spaces (quantitative results)

1.1. MEASURES AND INTEGRALS

Universal probability-free conformal prediction

Study of some equivalence classes of primes

Estimates for probabilities of independent events and infinite series

Jónsson posets and unary Jónsson algebras

Advanced Mathematics Unit 2 Limits and Continuity

Advanced Mathematics Unit 2 Limits and Continuity

Silver trees and Cohen reals

Invariance Properties of Random Sequences

On Convergence of Sequences of Measurable Functions

First Order Convergence and Roots

Measure and integration

A statistical mechanical interpretation of algorithmic information theory

ALMOST DISJOINT AND INDEPENDENT FAMILIES. 1. introduction. is infinite. Fichtenholz and Kantorovich showed that there is an independent family

ARKIV FOR MATEMATIK Band 1 nr 2. Communicated October 27, 1948 by F. CA~LSO~ On a class of orthogonal series. By H. BOrtMAN

ON THE COMPUTABILITY OF PERFECT SUBSETS OF SETS WITH POSITIVE MEASURE

An instantaneous code (prefix code, tree code) with the codeword lengths l 1,..., l N exists if and only if. 2 l i. i=1

A PECULIAR COIN-TOSSING MODEL

Introduction to Dynamical Systems

1 + lim. n n+1. f(x) = x + 1, x 1. and we check that f is increasing, instead. Using the quotient rule, we easily find that. 1 (x + 1) 1 x (x + 1) 2 =

Defining Valuation Rings

2 Plain Kolmogorov Complexity

Extension of continuous functions in digital spaces with the Khalimsky topology

Random Reals à la Chaitin with or without prefix-freeness

2. Linear recursions, different cases We discern amongst 5 different cases with respect to the behaviour of the series C(x) (see (. 3)). Let R be the

THE K-DEGREES, LOW FOR K DEGREES, AND WEAKLY LOW FOR K SETS

On Minimal Words With Given Subword Complexity

Chapter 4. Measure Theory. 1. Measure Spaces

MASSACHUSETTS INSTITUTE OF TECHNOLOGY 6.436J/15.085J Fall 2008 Lecture 3 9/10/2008 CONDITIONING AND INDEPENDENCE

König s Lemma and Kleene Tree

JUHA KINNUNEN. Harmonic Analysis

NOTE ON A THEOREM OF KAKUTANI

A UNIVERSAL SEQUENCE OF CONTINUOUS FUNCTIONS

A BOREL SOLUTION TO THE HORN-TARSKI PROBLEM. MSC 2000: 03E05, 03E20, 06A10 Keywords: Chain Conditions, Boolean Algebras.

MAXIMA AND MINIMA CHAPTER 7.1 INTRODUCTION 7.2 CONCEPT OF LOCAL MAXIMA AND LOCAL MINIMA

QUADRANT MARKED MESH PATTERNS IN 132-AVOIDING PERMUTATIONS III

Sequences. Chapter 3. n + 1 3n + 2 sin n n. 3. lim (ln(n + 1) ln n) 1. lim. 2. lim. 4. lim (1 + n)1/n. Answers: 1. 1/3; 2. 0; 3. 0; 4. 1.

NOTES ON DIOPHANTINE APPROXIMATION

Pure Quantum States Are Fundamental, Mixtures (Composite States) Are Mathematical Constructions: An Argument Using Algorithmic Information Theory

A constructive version of the Lusin Separation Theorem

17. Convergence of Random Variables

Martingale Theory for Finance

Aspects of the Turing Jump

Math212a1411 Lebesgue measure.

ANSWER TO A QUESTION BY BURR AND ERDŐS ON RESTRICTED ADDITION, AND RELATED RESULTS Mathematics Subject Classification: 11B05, 11B13, 11P99

BOHR CLUSTER POINTS OF SIDON SETS. L. Thomas Ramsey University of Hawaii. July 19, 1994

MATH41011/MATH61011: FOURIER SERIES AND LEBESGUE INTEGRATION. Extra Reading Material for Level 4 and Level 6

MANY BILLS OF CONCERN TO PUBLIC

Theorems of H. Steinhaus, S. Picard and J. Smital

Question 1. Find the coordinates of the y-intercept for. f) None of the above. Question 2. Find the slope of the line:

ADVANCED CALCULUS - MTH433 LECTURE 4 - FINITE AND INFINITE SETS

Course 212: Academic Year Section 1: Metric Spaces

RELATIVE TO ANY NONRECURSIVE SET

Multi-normed spaces and multi-banach algebras. H. G. Dales. Leeds Semester

THE PRESERVATION OF CONVERGENCE OF MEASURABLE FUNCTIONS UNDER COMPOSITION

Ten years of triviality

Towards a More Physically Adequate Definition of Randomness: A Topological Approach

SOME REMARKS ON NUMBER THEORY BY P. ERDŐS 1. Let ABSTRACT This note contains some disconnected minor remarks on number theory. (1) Iz j I=1, 1<j<co be

THE REAL NUMBERS Chapter #4

Chapter 3 Continuous Functions

Notes on Discrete Probability

2 ERDOS AND NATHANSON k > 2. Then there is a partition of the set of positive kth powers In k I n > } = A, u A Z such that Waring's problem holds inde

1 The distributive law

(i) tn = f î {nk)tk(i - ty-\dx{t) (»>o).

7 About Egorov s and Lusin s theorems

Local Fields. Chapter Absolute Values and Discrete Valuations Definitions and Comments

On the digital representation of smooth numbers

Chapter 2 Classical Probability Theories

Generating Functions of Partitions

Computability of Koch Curve and Koch Island

SOME REMARKS ON NILPOTENT GROUPS WITH ROOTS

Math 421, Homework #7 Solutions. We can then us the triangle inequality to find for k N that (x k + y k ) (L + M) = (x k L) + (y k M) x k L + y k M

Kolmogorov Complexity and Diophantine Approximation

ON UNCONDITIONALLY SATURATED BANACH SPACES. 1. Introduction

Heights of characters and defect groups

Math 110 (S & E) Textbook: Calculus Early Transcendentals by James Stewart, 7 th Edition

Iowa State University. Instructor: Alex Roitershtein Summer Exam #1. Solutions. x u = 2 x v

Symbolic Dynamics: Entropy = Dimension = Complexity

An uncountably categorical theory whose only computably presentable model is saturated

Levels of Ultrafilters with Extension Divisibilities

Filters in Analysis and Topology

Recursive definitions on surreal numbers

CSI Mathematical Induction. Many statements assert that a property of the form P(n) is true for all integers n.

Universal convex coverings

Computability Theory

A simple branching process approach to the phase transition in G n,p

Measures and Measure Spaces

P -adic root separation for quadratic and cubic polynomials

arxiv: v1 [math.co] 28 Oct 2016

Families that remain k-sperner even after omitting an element of their ground set

UNIVERSITY OF MICHIGAN UNDERGRADUATE MATH COMPETITION 31 MARCH 29, 2014

Math 456: Mathematical Modeling. Tuesday, March 6th, 2018

THE STRUCTURE OF A RING OF FORMAL SERIES AMS Subject Classification : 13J05, 13J10.

Muchnik Degrees: Results and Techniques

CLIQUES IN THE UNION OF GRAPHS

MATH5011 Real Analysis I. Exercise 1 Suggested Solution

Transcription:

Z. Wahrscheinlicfikeitstheorie verw. Geb. 19, 225-230 (1971) 9 by Springer-Verlag 1971 Complexity Oscillations in Infinite Binary Sequences PER MARTIN-LOF We shall consider finite and infinite binary sequences obtained by tossing an ideal coin, failure and success being represented by 0 and 1, respectively. Let sn=x 1 +x 2 +... +x, be the frequency of successes in the sequence xl x 2... x,. Then, for an arbitrary but fixed n, we know that the deviation of s, from its expected value n/2 is of the order of magnitude 1~ provided we neglect small probabilities. On the other hand, if we consider the initial segments of one and the same infinite sequence xl x2... x,..., the law of the iterated logarithm tells us that from time to time the deviation s, - n/2 will be essentially bigger than ]fn, the precise order of magnitude being ~log n. In other words, there will be ever recurring moments n when the initial segment x~ xz... x,, considered as an element of the population of all binary sequences of the fixed length n, is highly non random. According to Martin-L6f 1966, the conditional complexity K(x~xa...x,[n) in the sense of Kolmogorov 1965 may be regarded as a universal measure of the randomness of the sequence xl x2... x, considered as an element of the population of all binary sequences of length n, and, if we, to be more precise, define the sequence xlxz...x. to be random on the level ~=2 -c if K(XlXz...x,[n)>=n-c, then the proportion of the population made up by the elements that are random on the level e is greater than 1-a. We shall show that the phenomenon described in the previous paragraph is general in the sense that it occurs when the randomness of x1x2...x n is measured by K(xlxz...xn[n ) instead of the deviation of s, from n/2, the latter representing just one aspect of the randomness of the sequence X 1 X 2... X n. Theorem 1. Let f be a recursive function such that ~ 2 -f(n)= -'{- o0. Then, for every binary sequence xl x2... x,..., for infinitely many n. K(xl X2... X n In) < n-f (n) Note that, in contrast to the law of the iterated logarithm and related theorems of probability theory, the assertion of Theorem 1 holds for all sequences XlXz... x,... and not only with probability one. In an earlier version of this paper (Martin-L6f 1965) the theorem was proved for the unconditional complexity K(x lxz.., x,) instead of the conditional complexity K(x 1 x2... x, ln). Since K(x~ x2... x, ln) < K(xl xz... Xn)'q- C for some con-

226 P. Martin-L6f: stant c but not vice versa, the earlier form of the theorem is slightly stronger than the present one. Proof. We first replacef by a slightly more rapidly growing recursive function g such that oo 2- g (") = + oo and, = 1 g(n)-f(n)$+oo as n-+ oo. For example, put n o = 0 and let n m +, be the smallest integer greater than n m such that rim+ i nrn+ l We can then define g by putting Consider now the tree 2-Y(')>2 m, m=0, 1,... g(n)=f(n)+m if n,.<n<=nm+l. 0 ~176,, ~, ~ 0 0 0 ~ 9 110 ~ ~ 1 1 1 ~ of all finite binary sequences, those of the same length being ordered as indicated from the top to the bottom with the extra convention that 00... 0 is to follow after 11... 1. For every n = O, 1,... we shall define a certain set A, of binary sequences of length n. A o is to contain the empty sequence [3. Suppose now that Ao,...,Am#O, Am+l... A,_a=O have been defined already, and let x~x 2...x,, be the last sequence in Am. If g(n)<n, then A, is to contain the 2"-g(')-1 sequences of length n that follow immediately after x~ x2... xm 11... 1, and, if g(n)> n, then A, is to be empty. Letting # denote the coin tossing measure, we have {~-g(')-2-'ifg(n)<n # (A,) = if g (n) > n for n = l, 2... so that, under all circumstances, p(a,) > 2-g(')- 2-'.

Complexity Oscillations in Infinite Binary Sequences 227 Consequently, ~,# (An) = + oo r~=l which forces the sets A1, A2,..., A n,... to circle around the tree of finite binary sequences an infinite number of times. Therefore, if Xl x2... xn... is a fixed infinite sequence, the initial segment xl x2... Xn will belong to A, for infinitely many n. Let B(p, n) be an algorithm which enumerates An as the program p runs through D, 0, 1, 00, 01... until A n is exhausted. When the length ofp is >n-g(n) we may let B(p, n) remain undefined. Clearly, K B(x 1 x2... x.]n) < n- g(n) if and only if x 1 xa... x, belongs to A,. On the other hand, by the fundamental theorem of Kolmogorov 1965, K(xl X2... x, ln) ~ KB(xl x2... x, ln) + c for some constanl c, and g was constructed such that g(n) > f(n) + c if n > n c. Consequently, for every infinite sequence xl x2... xn..., K (x I x 2... x, t n) < n-f (n) for infinitely many n as was to be proved. The construction carried out in the course of the proof is similar to one used by Borel 1919 in connection with a problem of diophantine approximations. Theorem 2. Let f be such that Then, with probability one, ~2 f (n) < +~. for all but finitely many n. K(xI x2... Xn In) > n--f (n) Proof The number of sequences of length n for which K(xl x2... x,, In) < n-f (n) is tess than 2 "--c(n}. Thus, the probability that this inequality is satisfied is less than 2 I(n), and the theorem now follows from the lemma of Borel and Cantelli. Theorem 3. Let f be a recursive function such that ~ 2-f(n)

228 P. Martin-L6f: is recursively convergent. Then, if xl x2... x,... is random in the sense of Martin- L6f 1966, K(x 1 x2... x, In) >= n-f (n) for all but finitely many n. Proof That ~. 2 -s(") is recursively convergent means that there is a recursive sequence nl, n 2... nm,... such that ~2-f(')<=2-m, m=l, 2,... nm+l Let U,, be the union of all neighbourhoods xl x2... x, for which n> n,, and K(x, x2...x,[n)<n-f(n). Since the latter relation is recursively enumerable, U1, U2... Urn,... is a recursive sequence of recursively open sets. Furthermore, #(Urn)< ~, 2--f(n)< 2 -m nm+l so that (~ U,, is a constructive null set in the sense of Martin-LSf 1966 and r hence contained in the maximal constructive null set whose elements are precisely the non random sequences. Let f be a (not necessarily recursive) function such that ~ 2 -f(") < q- ct3. Then, the set of all sequences Xl x2... x,... such that U (xa x2... x, l n) > n-f (n) for all but finitely many n is not measurable in the sense of Brouwer 1919, except in the trivial case when n-f (n) is bounded. Suppose namely that it were Brouwer measurable. Its measure in Brouwer's sense would then have to equal one and, in particular, be positive. Hence, it would contain a recursive sequence e 1 e2... e n... But for a recursive sequence el e2... en... there exists a constant c such that K(elez...e,,In)<=c for all n. On the other hand, K(el ez... e, ln)>n-f(n) for all but finitely many n so that n-f (n) must be bounded. Theorem 4. With probability one, there exists a constant c such that for infinitely many n. K(x, x2...x, ln)>n-c Proof. Let Ac, denote the set of infinite sequences x, xz...x,.., for which K(xlxz...xnln)~n-c. Then (Q) # A~, >#(A~,,)> 1-2 -~ n--

Complexity Oscillations in Infinite Binary Sequences 229 so that co Consequently, p Ac. = 1 as was to be proved. --1 m~ l n=m Theorem 5. If there exists a constant c such that K(xlxz...x, ln)>=n-c for infinitely many n, then the sequence xl x 2...Xn... is random in the sense of Martin-LOf 1966. Proof. Let mv(xl x 2... Xn) denote the critical level of xa x 2... x n with respect to the universal sequential test constructed by Martin-LSf 1966. Since a sequential test is so much more a test without the sequentiality condition, there is a constant c such that m U (x I x2... Xn) ~ m (x i x2... Xn) + C where m(x~ x2... x,) denotes the non sequential critical level. On the other hand, m(x~ x2... x,) and n-k(x I x2... Xn] n) differ at most by a constant. Consequently, for some other constant c so that my (xl x2... x,) < n- K (xl xz... x, ln) + c lim my (xl x2... x,) < lim inf(n- K(x I X2... X n In)) + C. n~oo n~co Thus, if the assumption of the theorem is satisfied, then lim inf(n- K(x I xz... xn[ n)) < + Go lira mv(x 1 x2... x,)< + oo n~oo which means precisely that the sequence x 1 x2... Xn... is random. Combining Theorem 3 and Theorem 5, we arrive at the following conclusion. Iff is a recursive function such that ~ 2 -I(") converges recursively and K(xlx2...x, ln)>=n-c for some constant c and infinitely many n, then K(x 1 x2... Xnl n) >= n--f (n) for all but finitely many n. This result, which shows the relation between the upward and downward oscillations of the complexity, was announced without proof by Martin-LSf, 1965.

230 P. Martin-L6f: Complexity Oscillations in Infinite Binary Sequences References Borel, t~.: Sur la classification des ensembles de mesure nulle. Bull. Soc. math. France 47, 97-125 (1919). Brouwer, L. E.J.: Begriindung der Mengenlehre unabh~ingig vom logischen Satz vom ausgeschlossenen Dritten. Zweiter Teil. Verhdl. Nederl. Akad. Wet. Afd. Natuurk. Sect. I, 12, 7, 3-33 (1919). Kolmogorov, A.N.: Three approaches to the definition of the notion "amount of information" [Russian]. ProN. Pereda~i Inform. 1, 3-11 (1965). Martin-L6f, P.: On the oscillation of the complexity of infinite binary sequences [-Russian]. Unpublished (1965). - The definition of random sequences. Inform. and Control 9, 602-619 (1966). P. Martin-L6f Barnhusgatan 4 S-111 23 Stockholm Sweden (Received March 16, 1970)