Intuitively, an algorithmically random sequence (or random sequence) is a sequence of binary digits that appears random to any algorithm running on a (prefix-free or not) universal Turing machine. The notion can be applied analogously to sequences on any finite alphabet (e.g. decimal digits). Random sequences are key objects of study in algorithmic information theory. In measure-theoretic probability theory, introduced by Andrey Kolmogorov in 1933, there is no such thing as a random sequence. For example, consider flipping a fair coin infinitely many times. Any particular sequence, be it 0000… or 011010…, has equal probability of exactly zero. There is no way to state that one sequence is "more random" than another sequence, using the language of measure-theoretic probability. However, it is intuitively obvious that 011010… looks more random than 0000…. Algorithmic randomness theory formalizes this intuition. As different types of algorithms are sometimes considered, ranging from algorithms with specific bounds on their running time to algorithms which may ask questions of an oracle machine, there are different notions of randomness. The most common of these is known as Martin-Löf randomness (K-randomness or 1-randomness), but stronger and weaker forms of randomness also exist. When the term "algorithmically random" is used to refer to a particular single (finite or infinite) sequence without clarification, it is usually taken to mean "incompressible" or, in the case the sequence is infinite and prefix algorithmically random (i.e., K-incompressible), "Martin-Löf–Chaitin random". Since its inception, Martin-Löf randomness has been shown to admit many equivalent characterizations—in terms of compression, randomness tests, and gambling—that bear little outward resemblance to the original definition, but each of which satisfies our intuitive notion of properties that random sequences ought to have: random sequences should be incompressible, they should pass statistical tests for randomness, and it should be difficult to make money betting on them. The existence of these multiple definitions of Martin-Löf randomness, and the stability of these definitions under different models of computation, give evidence that Martin-Löf randomness is natural and not an accident of Martin-Löf's particular model. It is important to disambiguate between algorithmic randomness and stochastic randomness. Unlike algorithmic randomness, which is defined for computable (and thus deterministic) processes, stochastic randomness is usually said to be a property of a sequence that is a priori known to be generated by (or is the outcome of) an independent identically distributed equiprobable stochastic process. Because infinite sequences of binary digits can be identified with real numbers in the unit interval, random binary sequences are often called (algorithmically) random real numbers. Additionally, infinite binary sequences correspond to characteristic functions of sets of natural numbers; therefore those sequences might be seen as sets of natural numbers. The class of all Martin-Löf random (binary) sequences is denoted by RAND or MLR.
History
Richard von Mises Richard von Mises formalized the notion of a test for randomness in order to define a random sequence as one that passed all tests for randomness. He defined a "collective" (kollektiv) to be an infinite binary string x1:∞ defined such that
There exists a limit limn1n∑i=1nxi=p∈(0,1). For any "admissible" rule, such that it picks out an infinite subsequence (xmi)i from the string, we still have limn1n∑i=1nxmi=p. He called this principle "impossibility of a gambling system". To pick out a subsequence, first pick a binary function ϕ, such that given any binary string x1:k, it outputs either 0 or 1. If it outputs 1, then we add xk+1 to the subsequence, else we continue. In this definition, some admissible rules might abstain forever on some sequences, and thus fail to pick out an infinite subsequence. We only consider those that do pick an infinite subsequence. Stated in another way, each infinite binary string is a coin-flip game, and an admissible rule is a way for a gambler to decide when to place bets. A collective is a coin-flip game where there is no way for one gambler to do better than another over the long run. That is, there is no gambling system that works for the game. The definition generalizes from binary alphabet to countable alphabet:
The frequency of each letter converges to a limit greater than zero. For any "admissible" rule, such that it picks out an infinite subsequence (xmi)i from the string, the frequency of each letter in the subsequence still converges to the same limit. Usually the admissible rules are defined to be rules computable by a Turing machine, and we require p=1/2. With this, we have the Mises–Wald–Church random sequences. This is not a restriction, since given a sequence with p=1/2, we can construct random sequences with any other computable p∈(0,1). (Here, "Church" refers to Alonzo Church, whose 1940 paper proposed using Turing-computable rules.)
However, this definition was found not to be strong enough. Intuitively, the long-time average of a random sequence should oscillate on both sides of p, like how a random walk should cross the origin infinitely many times. However, Jean Ville showed that, even with countably many rules, there exists a binary sequence that tends towards p fraction of ones, but, for every finite prefix, the fraction of ones is less than p.
… excerpt ends here. Continue reading the full article.
