Definition 2.1. We'll say that a function ϕ from some domain X to reals is lower semicomputable iff there is a computable function f from X, N to rationals, such that f(x,n+1)≥f(x,n) and ϕ(x)=limnf(x,n).
Definition 2.2. A (possibly partial) function μ from strings to non-negative reals is called a (probability) measure iff μ(ϵ)=1 and for any string a and bit v, when μ(av) is defined, then μ(avˉ) is also defined and μ(a)=μ(a0)+μ(a1). If μ(a)≥μ(a0)+μ(a1), μ is called a semimeasure. The ratio between measures μ and λ we denote with μ˙ and call a martingale, . The interpretation is that of a gambler's betting strategy, where, having bet on the first ∣a∣ bits of a sequence extending a, a bet is placed on the value of the next bit by dividing the capital μ˙(a) between two outcomes, a0,a1. For outcome av, the capital put on avˉ is lost, and the capital put on av is doubled. The martingale wins on sequence α if the capital over the sequence of bets is unbounded, supnμ˙(α1:n)=∞.
If μ is a semimeasure, μ˙ is called a supermartingale. We will look at partial computable martingales where μ is partial computable, and at lower semicomputable supermartingales where μ is a lower semicomputable semimeasure.
Definition 2.3. Let π be a (possibly partial) function from strings to natural numbers such that if π(a) is defined then it is also defined for all prefixes of a, and π(a)=π(a′), for any prefix a′ of a. Such π is called a scan rule, and we interpret the output as the position of bit to be scanned next. For a string s consisting of n bits, we'll call the finite assignment
(π(ϵ),s[1]),(π(s[1]),s[2]),…,(π(s[1:n−1]),s[n])π′s finite assignment for s and denote it with faπ(s).
Definition 2.4. A betting strategy is a pair of scan rule and measure. Let A=(π,μ) be a betting strategy. We can view martingales as betting strategies where the scan rule is in-order, π(a)=∣a∣+1. When the scan rule is not restricted to be in order, to highlight this, we say that the betting strategy is nonmonotonic. We will be interested in betting strategies where π is not necessarily in-order, and both π and μ are total computable, and we'll call these strategies total computable nonmonotonic betting strategies.
For strategy A, we'll write faA and mean faπ. Instead of writing pos(faA(s)) we write posA(s).
Let α,σ be sequences such that for all n, α is consistent with faA(σ[1:n]). We'll say that A has capital μ˙(σ[1:n])=λ(faA(σ[1:n]))μ(σ[1:n])=2nμ(σ[1:n]) when betting on α after n bets, and wins on α if supnμ˙(σ1:n)=∞.
We will be defining strategies recursively. If a strategy is defined on a string x, but not on x0,x1, we'll say that x is a leaf of the strategy. Defining a bet for a leaf x consists of defining the scan rule for x, and measure for the two new leafs x0,x1.
Definition 2.5 (PCR). We'll say that a sequence is partially computably random if no partial computable martingale wins on the sequence.
Definition 2.6 (KLR). We'll say that a sequence is Kolmogorov-Loveland random if no total computable nonmonotonic betting strategy wins on the sequence.
Definition 2.7 (MLR). We'll say that a sequence is Martin-Löf random if no lower semicomputable supermartingale wins on the sequence. A lower semicomputable supermartingale is universal if it multiplicatively dominates all other lower semicomputable supermartingales. We pick some universal lower semicomputable supermartingale and denote it with u.
That a universal lower semicomputable supermartingale exists was shown in [3].
Definition 2.8. We'll call a map from basic to clopen sets of binary sequences an encoding if it preserves uniform Lebesgue measure and the disjointedness relation, that is, for any string a, λ(E(a~))=λ(a~) and E(a~)=E(a0~)⊔E(a1~). For an encoding E and sequence α, instead of writing ⋂nE(α~[1:n]) we'll just write E(α).
3 No computable encoding for PCR
The proof is similar to the textbook proofs that MLR strictly implies PCR, [7, Chapter 7.4.2], [8, Chapter 7.4]. We'll have an added level of indirection brought by mapping basic sets with an encoding, and we will, like in [5, Theorem 9.5] be constructing a lower semicomputable semimeasure. Apart from having an encoding, our goal is simpler, as we are not concerned with the exact bound on complexity of initial prefixes of the constructed sequence.
Theorem 3.1. There is no computable encoding E such that for every non-MLR sequence α the sequences in E(α) are non-PCR.
Proof. Suppose there is such an E. We'll construct a lower semicomputable semimeasure γ so that γ˙ wins on some sequence α such that E(α) contains a PCR sequence. Let μ1,μ2,… be a computable enumeration of partial computable measures. Let μ^ denote the largest capital achieved on a string so far, μ^(s)=supℓ≤∣s∣μ˙(s[1:ℓ]).
To construct γ, we first construct two "helper" functions F,Q. F is a partial computable function whose input is a finite sequence of strings x=s1,…,sn and outputs a string pair (a,b) where a will have high capital achieved by γ, and b has bounded capital achieved by the first n partial computable martingales and is a subset of E(a~). Q is a partial computable function from finite sequences of strings to rationals that computes bounds on achieved capital by partial computable martingales. The strings in the pair F(x[1:i+1]) extend the strings in the pair F(x[1:i]) and we'll construct a pair of sequences (α,β) such that β∈E(α) and γ wins on α, whereas every partial computable martingale achieves only bounded capital on β.
For empty sequence of strings, ξ, we define F(ξ)=(ϵ,ϵ) and Q(ξ)=0. Let x be a finite sequence of strings, x=s1,…,sn, and let x′ be x extended by string sn+1, x′=s1,…,sn, sn+1=x, sn+1. If F(x) or Q(x) is undefined then F(x′) and Q(x′) are both undefined (for any sn+1). Suppose both F(x) and Q(x) are defined. Let (a,b)=F(x). For i≤n, denote with qi=Q(x[1:i]).
Denote with Cn(b) the weighted sum of achieved capitals by the first n partial computable martingales, Cn(b)=∑i≤nqiμ^i(b). If for F(x),Q(x) the condition
Cn(b)<2 and b~⊆E(a~).(1)
is not satisfied, F(x′), Q(x′) are undefined (for any sn+1).
We’ll now define how F(x′) and Q(x′) are computed, when F(x),Q(x) are defined and condition (1) is satisfied. Based on the string sn+1, we’ll make an additional assumption H(x′).
H(x′)={sn+1=ϵ,sn+1=ϵ,forallb′⪰b,ifCn(b′)<2,μn+1(b′)isdefinedμn+1isnotdefinedonb′=bsn+1andCn(b′)<2(2)
(3)
If sn+1=ϵ, we set qn+1=Q(x′)=0. Let b′=bsn+1. By assumption H(x′), Cn+1(b′)<2. We then compute every measure μi,i≤n for which qi>0 on all continuations of b′ until we find some b′′ such that there is a continuation of a, a′ that is 2∣sn+1∣+2 bits longer than a and Cn+1(b′′)≤Cn+1(b′) and b~′′⊆E(a′). If we find such b′′, we set F(x′)=(a′,b′′).
If sn+1=ϵ, we define qn+11=2(2−Cn(b))c^n+1(b) and set Q(x′)=qn+1. We have Cn+1(b)=Cn(b)+22−Cn(b)<2. We then compute every measure μi,i≤n+1 for which qi>0 on all continuations of b′ until we find some b′′ such that there is an a′ that extends a by 2 bits and Cn+1(b′)≤Cn+1(b) and b~′⊆E(a′). If we find such b′, we set F(x′)=(a′,b′).
Claim 1. If all of the assumptions H(s1),H(x[1:2]),…,H(x),H(x′) are true, for some string sn+1 assumption H(x′) is true.
Proof. There either exists some b′≻b such that μn+1 is undefined and Cn(b′)<2 (case (3)) or not (case (2)). Therefore, for some string sn+1 assumption H(x′) is true.
Claim 2. If all of the assumptions H(s1),H(x[1:2]),…,H(x),H(x′) are true, then for any b′⪰b, such that Cn+1(b′)<2 there is some bit v such that Cn+1(b′v)<2.
Proof. Let I be the subset of indices i≤n+1 such that si=ϵ (or, equivalently, qi>0). Order I in increasing order, I={i1,…,iz}, and denote (a1,b1)=F(x′[1:i1]),…,(az,bz)=F(x′[1:iz]). We have that b1≺⋯≺bz⪯b⪯b′. Since Ci1−1 is always zero, condition H(x[1:i1]) implies that μi1 is defined on all continuations of b1, and in particular on b′0 and b′1. Then Ci1(b′0) and Ci1(b′1) are both defined. Since Ci1(b′)≤Cn+1(b′)<2 and 2Ci1(b′0)+Ci1(b′1)=Ci1(b′), we have that for at least one v, Ci1(b′v)<2. But then, by H(x[1:i2]),μi2 is defined on b′v, and by definition of measure it is also defined on b′v. Again, for at least one v, Ci2(b′v)<2. And so on... We have that Cn+1(b′v) is defined for both values of v, and for at least one Cn+1(b′v)<2.
Claim 3. If all of the assumptions H(s1),H(x[1:2]),…,H(x),H(x′) are true, then both F(x′) and Q(x′) are defined, and satisfy condition (1).
Proof. In case sn+1 is a nonempty string, Q(x′)=0 and we have Cn+1(bsn+1)<2. In the other case, sn+1 is an empty string, Q(x′)>0 and Cn+1(b)<2. In both cases Q(x′) is defined. Denote b′=bsn+1. In both cases b⪯b′ and Cn+1(b′)<2. Let ℓ be the smallest number such that for every string s of length ℓ, and any a′≻a with ∣a′∣−∣a∣=2∣sn+1∣+2, we have that s~ is either a subset of E(a′) or disjoint from it. By repeated use of claim 2 we can find b′′⪰b′ of length ℓ such that Cn+1(b′′)<2. We have that b~′′ is a subset of E(a′) for some a′≻a with ∣a′∣−∣a∣=2∣sn+1∣+2. The pair (a′,b′′) satisfies condition (1). The value F(x′) is the first such pair that is found.
For F(ξ), Q(ξ), condition (1) is satisfied. By claims 1, 3 and induction, there is an infinite sequence of strings χ=s1,s2,… such that for all n, H(χ[1:n]) is true and F(χ[1:n]),Q(χ[1:n]) are defined and satisfy (1). We'll say that such χ is good. Denote (an,bn)=F(χ[1:n]). Let the pair (α,β) denote the binary sequences such that for all n, an≺α and bn≺β. We'll say that the pair (α,β) is good.
Claim 4. If (α,β) is a good pair, β is PCR and β∈E(α).
Proof. Clearly, β∈E(α). The i-th partially computable measure μi is either undefined on β, or is less than Ci(β)/qi which is less than 2/qi, and μ˙i does not win on β. Therefore no partially computable martingale wins on β.
All that remains to show is that α is non-MLR. We define a function that assigns rational weights to sequences of strings. w(s1,…,sn)=∏i≤n2−2∣si∣−1. Let G(a) denote the set of sequences of strings such that s1,…,sn,sn+1 is in the set iff a′≺a⪯a′′ where (a′,b′)=F(s1,…,sn) and (a′′,b′′)=F(s1,…,sn,sn+1). We define γ(a)=∑x∈G(a)w(x).
Claim 5. γ is a lower semicomputable semimeasure.
Proof. Since F is partially computable, G(a) is computably enumerable and γ is lower semicomputable. We still need to show that for all a, γ(a)≥γ(a0)+γ(a1). For any sequence of strings x, summing weights over all single-string continuations of x, we have
s∈{0,1}∗∑w(x,s)=w(x)s∈{0,1}∗∑2−2∣s∣−1=w(x)ℓ≥0∑2ℓ2−2ℓ−1=w(x)
Let x∈G(a) and (a′,b′)=F(x[1:∣x∣−1]), (a′′′,b′′)=F(x). We split G(a) into two sets, G≺(a) and G=(a). If a′≺a≺a′′, then x∈G≺(a). On the other hand, if a′≺a=a′′, then x∈G=(a). For x∈G≺(a), either a′≺a0⪯a′′ or a′≺a1⪯a′′ (but not both), so either x∈G(a0) or x∈G(a1). For x∈G=(a), x is neither in G(a0) nor in G(a1). Let x∈G=(a) and s any string. Suppose F(x,s) is defined and denote (a∗,b∗)=F(x,s). Then again, either a′′≺a0⪯a∗ or a′′≺a1⪯a∗ (but not both), so either x,s∈G(a0) or x,s∈G(a1). We have that G(a0) and G(a1) are disjoint, and γ(a0)+γ(a1)=∑x∈G≺(a)w(x)+∑x∈G=(a)∑s∈{0,1}∗,F(x,s) is defined w(x,s).
This is less than the sum ∑x∈G≺(a)w(x)+∑x∈G=(a)∑s∈{0,1}∗w(x,s). This is equal to ∑x∈G≺(a)w(x)+∑x∈G=(a)w(x)=∑x∈G(a)w(x)=γ(a).
Claim 6. If (α,β) is a good pair, α is non-MLR.
Proof. We have that ∣an∣=∑i≤n2∣si∣+2, and γ(a)≥w(χ[1:n])=∏i≤n2−2∣si∣−1. Then γ(an)/λ(an)≥2n, and γ~ wins on α.
We have shown that α is non-MLR, and E(α) contains β that is PCR, a contradiction.
4 A computable encoding for KLR
Theorem 4.1. There is a computable encoding E and two total computable nonmonotonic betting strategies A, B such that for every non-MLR sequence σ and every ρ in E(σ), A or B win on ρ.
Proof by construction. We first define the encoding E.
Definition 4.1 (Encoding). For string s:
Function v computes the integer value of s, v(s):=20⋅s[1]+⋯+2∣s∣−1s[∣s∣]
Function p assigns a unique position to each s, p(s):=2∣s∣+v(s).
Function e is p's finite assignment for s, that is, e(s):=fap(s).
The encoder, E, is the (clopen) set of sequences consistent with the finite assignment for s, E(s~)=e~(s).
Claim 7. Encoder preserves uniform Lebesgue measure and disjointedness relation
Proof. For any string s, λ(E(s~))=λ(e~(s))=2−∣e(s)∣=2−∣s∣=λ(s). For all strings s1,s2, if s~1 is disjoint from s~2, then there is some string s and bit v such that sv⪯s1 and svˉ⪯s2. But then e(s1) assigns v and e(s2) assigns vˉ to position p(s), and e(s1),e(s2) are inconsistent. Therefore E(s~1),E(s~2) are disjoint.
We will define the betting strategies A, B in stages. A stage starts with a pair of strings a, b, their finite assignments faA(a),faB(b), and measures μA(a),μB(b). This stage will define the strategies A, B on extensions of a, b. As the stage computes A, B, for some of the pairs of extensions, the stage will stop, and the pair will exit the stage. On such pairs, we start the next stage, and so on, defining A, B entirely.
Definition 4.2 (Stage). A stage starts with a pair of strings for which the finite assignments and measures of strategies A, B have already been defined. We require that the measures are non-zero and that strings are leafs of A, B such that their finite assignments are equivalent, and even more, equivalent to a string. Denote the input pair with (a,b) and string c≡faA(a)≡faB(b).
Stage iteratively defines strategies A, B on leafs extending a, b. The capitals on strings a, b will determine how the bets are defined. The strategy with the smaller capital will at first place bets on positions in the same order as the position function p, we'll call this the forward strategy and label it with F. The strategy with the larger capital will at first skip the first position and place bets on other positions determined by p and later return to the first position. We'll call this the rewind strategy and label it with R. So if μ˙A≤μ˙B, then F=A, R=B, and F,R will be defined on continuations of f,r=a,b. In the other case, F=B, R=A, and F,R will be defined on continuations of f,r=b,a. We set the threshold T for the capital that needs to be achieved T=23cR(r).
We'll define the measure functions μF, μR as sums of two measure functions. One, η, will assign measure evenly, this ensures that the strings always have nonzero measure assigned to them. The other that we will define, ν, will increase (or decrease) capital on some of the strings. We set ηF(ϵ)=νF(ϵ)=21μF(f) and ηR(ϵ)=νR(ϵ)=21μR(r). We have μF(f)=ηF(f)+νF(f), μR(r)=ηR(r)+νR(r).
Since the encoding’s position function p, as the input strings become longer, chooses positions in increasing order, there exists a string s such that E(s~) still contains c~, and p(s)>∣c∣. We will computably enumerate a set of strings M, that are continuations of this s and on which the universal lower semicomputable semimeasure u achieves capital larger than H=λ(s)ν˙F(f)2T. More precisely, starting with empty M, we dovetail the computation of u on all inputs, until finding v≻s such that u˙(v)≥H. If v~ is already a subset of M~, nothing new gets added to M, otherwise, we will add one by one strings s1,…,sn such that s~1,…,s~n are disjoint and contain all of the sequences in M~∖v~.
When we add a string s′ to M, we define finitely many new bets in an iteration of the stage. Let M′ denote the strings that have been added in previous iterations. The bets are defined only for the leafs of F, R that don't extend strings that have exited the stage after some previous iteration. We denote these leafs F−, R−. We define bets on strings that extend F−, R− in three consecutive phases.
Phase F)
For every f−∈F−, every leaf of F, f′, that extends f−, if faF(f′) is consistent, but doesn't refine e(s′), we define πF(f′) to be the smallest position in pos(e(s′)) on which faF(f′) doesn't have assigned value. The mass is split evenly, νF(f′0)=νF(f′1)=21νF(f′). We keep doing this until for every leaf f′ of F that extends some f−∈F−, faF(f′) is inconsistent with e(s′), or refines it.
Phase R)
For every r−∈R−, every leaf of R, r′, that extends r−, if faR(r′) is consistent, but doesn't refine e(s′), we define πR(r′) to be the smallest position larger than p(s) in pos(e(s′)) on which faF(r′) doesn't have assigned value, if there is such a position. In this case, the mass is split evenly, νR(r′0)=νR(b′1)=21μR(r′). In the other case, p(s) is the only position in pos(e(s′)) on which faF(r′) doesn't have assigned value. We define πR(r′)=p(s). Let v=s′[∣s∣+1], and set νR(r′v)=νR(r′), νR(r′vˉ)=0. We repeat defining bets like this until for every leaf r′ of R that extends some r−∈R− we have that faR(r′) is inconsistent from e(s′), or refines it.
Let F′,R′ denote the leafs extending F−, R− after phases F), R), whose finite assignments are inconsistent with e(s′), and F+, R+ the ones that refine e(s′). Let Z be the strings in R− that have measure νR zero, and denote the set of sequences consistent with their finite assignments with Z~=⨆z∈Zf~aR(z).
Phase C)
Let g be the maximal position in finite assignments of leafs of both strategies. Let r+ be a leaf in R+, Let G be a subset of [1,g] on which faR(r+) does not assign a value. For each string x of length ∣G∣, we define πR so that faR(r+x) assigns values to all positions in [1,g]. The mass νR is distributed evenly, ν˙R(r+x)=ν˙R(r+). Let f+ be a leaf in F+. Like before, let G be a subset of [1,g] on which faF(f+) does not assign a value, For each string x of length ∣G∣, we define πF so that faF(f+x) assigns values to all positions in [1,g]. This is the same as what we did in this phase for R when defining πR. However, the measure νF is not always distributed evenly.
In case faF(f′) intersects Z~ we assign measure the following way. If f~aF(f′x)⊆Z~ then νF(f′x)=λ(Z~∣f~aF(f′))2−∣x∣νF(f′), and if not then νF(f′x)=0. In case f~aF(f′) is disjoint from Z~, the measure νF is distributed evenly among continuations of f′.
Let F∘,R∘ be the leafs extending strings in F+,R+, after phase C). The strings in F∘,R∘ exit the stage, s′ is added to M′, and the stage then continues with the adding of strings to M.
In the remainder of the proof, we use the notation from the above definition, and in addition to the notation used for an arbitrary iteration, for i-th iteration we denote the input string with si, Mi−1={s1,…,si−1} is the set strings that were enumerated into M in the first i−1 iterations, Fi−1−, Ri−1− the leafs in F, R, before any of the bets for si were defined, that do not extend some string that exited stage after the first i−1 iterations, Fi′,Ri′,Fi+,Ri+ the leafs extending Fi−1−, Ri−1− after phases F) R) are finished, and with Fi∘, Ri∘ the leafs that exit the stage.
From the definition of stage we have M0={},F0−={f},R0−={r}, and F~i+⊔F~i′=F~i−1−, R~i+⊔R~i′=R~i−1−, F~i∘=F~i+, R~i∘=R~i+, Fi−=Fi′, Ri−=Ri′, Mi=Mi−1∪{si}.
Claim 8. Let f−∈F−.
(1) If faF(f−) inconsistent with e(s′) then F′∣f−={f−}.
(2) If faF(f−) consistent with e(s′), then for every f′∈F′∣f− there is some string x, and bit v such that s⪯xv⪯s′ and
faF(f′)=faF(f),e(xvˉ)[∣s∣+1:∣xvˉ∣] and ν˙F(f′)=ν˙F(f).
(3) If faF(f−) consistent with e(s′), then there is exactly one f+∈F+∣f−, and faF(f+)=faF(f),e(s′)[∣s∣+1,∣s′∣] and ν˙F(f+)=ν˙F(f).
(4) If f~aF(f+) intersects Z~ then for all f∘∈F∘∣f+, if, for some r−∈Z, faF(f∘) refines faR(r−) then ν˙F(f∘)=ν˙F(f−)/λ(Z~∣f~aF(f+)) else νF(f∘)=0.
Proof. By definition of phase F), if faF(f−) is inconsistent with e(s′), then no new bets are defined for f−, and f−does not exit the stage, therefore 8(1).
For i=0, Fi−={f}, and we have that for every f−∈Fi−, f− fulfills the condition that there is some string y⪰s such that faF(f−) is equal to faF(f), e(y)[∣s∣+1:∣y∣] and ν˙F(f−)=ν˙F(f), to see this set y=s. Assume that the same is true for some i>0. Let f−∈Fi−. If faF(f−) is inconsistent with e(si+1), then by 8(1), Fi′∣f−={f−}, and the condition is true for all f′∈Fi′∣f−. If faF(f−) is consistent with e(si+1), then for some y⪯si+1faF(f−)=faF(f), e(y)[∣s∣+1:∣y∣] and ν˙F(f−)=ν˙F(f). Let ℓ=∣si+1∣−∣y∣, and let v1,…,vℓ be the sequence of bits that extend y to si+1, that is, si+1=yv1…vℓ By definition of phase F), Fi+1′∣f−={f−vˉ1,f−v1vˉ2,…,f−v1…vℓ−1vˉℓ}, and for every f′∈F′∣f−, there is some n≤ℓ, f′=f−v1…vn−1vˉn and faF(f′) is equivalent to faF(f), e(yv1…vn−1vˉn)[∣s∣+1:∣y∣+n] and ν˙F(f′)=ν˙F(f). Since Fi+1′=⨆f−∈Fi−Fi+1′∣f−, and Fi+1−=Fi+1′, we have that for every f−∈Fi+1−, f− fulfills the condition, and 8(2) follows by induction.
By 8(2) for f−∈F− there is some string y⪰s such that faF(f−) is equal to faF(f), e(y)[∣s∣+1:∣y∣] and ν˙F(f−)=ν˙F(f). If f− is consistent with e(s′) then y⪯s′. Let w denote the extension of y to s′, that is, yw=s′. By definition of phase F), f+=f−w, and faF(f+)=faF(f), e(yw)[∣s∣+1:∣yw∣] and ν˙F(f+)=ν˙F(f), proving 8(3).
From definition of phase C), f∘∈F∘ assigns to all positions up to g, the largest position assigned by a leaf of either strategy, before phase C) started. Then for any r−∈R−, faF(f∘) either refines faR(r−), or is disjoint from it. Therefore if f~aF(F∘)⊆Z~, there is some r−∈Z, such that faF(f∘) refines faR(r−). The value for νF(f∘) in 8(4) then follows from definition of phase C).
Claim 9. Let r−∈R−.
(1) If faR(r−) inconsistent with e(s′) then R′∣r−={r−}.
(2) If faR(r−) consistent with e(s′) and p(s)∈posR(r−) then for every r′∈R′∣r−, ν˙R(r′)=ν˙R(r−). For r+∈R+∣r−, faR(r+) refines e(s′) and ν˙R(r+)=ν˙R(r−). For every r∘∈R∘∣r+, ν˙R(r∘)=ν˙R(r−).
(3) If faR(r−) consistent with e(s′) and p(s)∈/posR(r−), then for every r+∈R+∣r−, faR(r+) refines e(s′) and ν˙R(r+)=2ν˙R(r−), and for all r∘∈R∘∣r+ν˙R(r∘)=ν˙R(r+).
(4) If faR(r−) consistent with e(s′) and p(s)∈/posR(r−), there is exactly one string z in R′∣r− such that pos(e(s′))⊆posR(z). faR(z) assigns negation of s′[∥s∥+1] to position p(s) and νR(z)=0. For all other r′∈R′∣r−, faR(r′) does not assign a value to p(s), and ν˙R(r′)=ν˙R(r−).
Proof. By definition of phase R), if faR(r−) is inconsistent with e(s′), then no new bets are defined for r−, and r− does not exit the stage, therefore 9(1).
By definition of phase R), ν˙R changes only in the bet on position p(s), if faR(r−) already assigns to p(s), ν˙R remains the same for all strings that extend it. In phase R) new bets are defined for strings that have finite assignment consistent with e(s′), until all of the positions in pos(e(s′)) are assigned to, therefore pos(e(s′))⊆posR(r+) and faR(r+) is consistent with e(s′) implies faR(r+) refines e(s′), proving 9(2).
On the other hand, if faR(r−) does not assign a value to p(s), then there is a single string x that extends r− such that faR(x) is consistent with e(s′) and assigns to all positions in pos(e(s′)) except p(s). Let v be the value that e(s′) assigns to position p(s), that is, v=s′[∥s∥+1]. A new bet is defined for x on position p(s), then {xv}=R+∣r−, faR(xv) refines e(s′) and ν˙R(xv)=2ν˙R(r−), and faR(xvˉ) inconsistent with e(s′) and νR(xvˉ)=0, proving 9(4), 9(3).
Claim 10. For every r−∈R− either faR(r−) doesn't assign to p(s) and has ν˙R(r−)=ν˙R(r) or faR(r−) assigns to p(s) and has νR(r−)=0.
Proof. For i=0, we have that Ri−={r} and for every r−∈Ri− either faR(r−) doesn't assign to p(s) and has ν˙R(r−)=ν˙R(r) or faR(r−) assigns to p(s) and has νR(r−)=0. Assume this is true for some i>0. If for r−∈Ri− faR(r−) assigns to p(s) and has νR(r−)=0, then for any string r′ that extends r−, and in particular all r′∈R′∣r−, faR(r′) assigns to p(s) and νR(r−)=0. On the other hand, if for r−∈Ri− faR(r−) doesn't assign to p(s) and has ν˙R(r−)=ν˙R(r), in case faR(r−) is inconsistent with e(s′), by claim 9(1), the same is true for all R′∣r−. In case faR(r−) is consistent with e(s′), by claim 9(4), for every r′∈R′∣r− either faR(r′) doesn't assign to p(s) and has ν˙R(r′)=ν˙R(r) or faR(r′) assigns to p(s) and has νR(r′)=0. Since Ri+1′=⨆r−∈Ri−R′∣r−, and Ri+1′=Ri+1′. we have that the statement is true for i+1, and by induction for arbitrary iteration.
Lemma 1. For f+∈F+, λ(Z~∣f~aF(f+))≤Tν˙F(f)
Proof. Note that by claim 9, the only case when a string is assigned νR zero is in case 9(4). Therefore, if r′∈Z then for some previous iteration i there is an ri−, ri′∈Ri−, Ri′, ri− ⪯ri′⪯r′, νR(ri−)>νR(ri)=0, and faR(ri) assigns vˉ to p(s), where v is the ∣s∣+1-st bit of si and we have pos(e(si))⊆posR(ri)⊆posR(r′). Let Zi denote the subset of Z such that for r′∈Zi, there is ri−, ri+∈Ri−, Ri+, ri− ⪯ri+ ⪯r′, νR(ri−)>νR(ri)=0. Suppose we are in the n-th iteration. We have Z=⨆i<nZi. Then λ(Z~∩fa~F(f+))=∑i<nλ(Z~i∩fa~F(f+)).
By claim 8(3) faF(f+) is equivalent to faF(f),e(s′)[∣s∣+1:∣s′∣], and for all i<n it is inconsistent with e(si), and posF(f+)=pos(e(s′))∪[1,∣c∣]. Let r′∈Zi such that faR(r′), faF(f+) consistent, and let v be the ∣s∣+1-st bit of si. We have that ∣s∣+1-st bit of s′ is vˉ, and since encoding's position function p assigns a unique position to each string, ∣pos(e(si))∖pos(e(sn))∣=∣si∣−∣s∣−1. Denote with hi the last ∣si∣−∣s∣−1 assignments of e(si), that is, hi=e(si)[∣s∣+2:∣si∣]. We have that pos(hi) is disjoint from posF(f+) and every r′∈Zi refines hi. Therefore λ(Z~∩fa~F(f+))≤∑i<nλ(h~i)λ(fa~F(f+))=2λ(s)λ(M~n−1)λ(fa~F(f+)). The result follows from λ(M~n−1)≤λ(M~)≤H1=2Tλ(s)ν˙F(f).
For a set of mutually inconsistent strings X and strategy Y we abbreviate ⨆x∈Xf~aY(x) to f~aY(X).
Lemma 2. f~aF(F∘)=f~aR(R∘)=E(s~′)∩c~, and for every f∘∈F∘ there is a r∘∈R∘ and string c′≻c such that faF(f∘)≡faR(r∘)≡c′, and max(μ˙F(f∘),μ˙R(r∘))≥T, min(μ˙F(f∘),μ˙R(r∘))≥0.
Proof. We have F~−=F~+⊔F~′, every f′∈F′ has faF(f′) inconsistent with e(s′), F~+=F~∘ implies fa~F(F+)=fa~F(F∘) therefore fa~F(F∘)=fa~F(F−)∩E(s~′). Similarly, fa~R(R∘)=fa~R(R−)∩E(s~′). For first iteration, fa~F(F1∘)=fa~F(F0−)∩E(s1)=c~∩E(s1)=fa~R(R0−)∩E(s~1)=fa~R(R1∘). Assume that for all iterations i≤n we have fa~F(Fi∘)=fa~R(Ri∘)=E(s~i)∩c~. We have fa~F(Fn−)=fa~F(Rn−)=c~∖⊔i≤nE(s~i). Since ⊔i≤nE(s~i) is disjoint from E(s~n+1), we have fa~F(Fn+1∘)=fa~R(Rn+1∘)=E(s~n+1)∩c~. By induction, we have that for arbitrary iteration, F~∘=R~∘=c~∩E(s′).
Since for any f∘∈F∘, r∘∈R∘, faF(f∘), faR(r∘) assign to positions in [1,g], faF(f∘), faR(r∘) are either inconsistent or equivalent. Then it cannot be that for some f∘∈F∘ there is no r∘∈R∘ with an equivalent finite assignment, because then f~aF(F∘)=f~aR(R∘).
It remains to show that for each pair f∘∈F∘,r∘∈R∘ where faF(f∘)≡faR(r∘) we have max(ν˙F(f∘),ν˙R(r∘))≥T.
By claim 8(2), for all f−∈F−, ν˙F(f−)=ν˙F(f). Let f∘∈F∘, r∘∈R∘ and faF(f∘)≡faR(r∘). Then there is f−∈F−, f+∈F+∣f−, r−∈R− such that f∘∈F∘∣f+, r∘∈R∘∣r− and faF(f−), faR(r−) both consistent with e(s′). If faR(r−) does not assign to p(s), then by claim 10, ν˙R(r−)=ν˙R(r), and by claim 9(3), ν˙R(r∘)=2ν˙R(r)=T. On the other hand, if faR(r−) does assign to p(s), then by claim 10, νR(r−)=0. Since for arbitrary i, Fi′=Fi−, by claim 8(2), ν˙F(f−)=ν˙F(f) and by claim 8(4), ν˙F(f∘)=ν˙F(f)/λ(Z~∣faF(f+)). This is by lemma 1 larger than T. Therefore max(ν˙F(f∘),ν˙R(r∘))≥T. We have that η˙F(f∘)=η˙F(f), η˙R(r∘)=η˙R(r). Since μ is a sum of η and ν, and the stage requires that μF(f), μR(r) are larger than zero, the result follows.
If F=A, R=B let Ci denote the set of all pairs of strings (a′,b′)∈Fi∘×Ri∘ such that faA(a′),faB(b′) are equivalent to a same string. If F=B, R=A, then Ci are pairs (a′,b′)∈Ri∘×Fi∘ that are equivalent to a same string. For a pair in Ci we say that the pair exits the stage in i-th iteration. Let C be the set of pairs that exit the stage in some iteration, C=⋃iCi, and let C~ be the computably enumerable open set of sequences consistent with finite assignments of strings that exit the stage, C~=⨆(a′,b′)∈Cf~aA(a′).
Proposition 1. Let (a,b) be a pair of strings on which a stage is run. Let c be the string equivalent to faA(a), faB(b). C~ contains all sequences that extend c and are contained in an encoding of a non-MLR sequence. For each (a′,b′)∈C, max(μ˙A(a′),μ˙B(b′))≥23max(μ˙A(a),μ˙B(b)), min(μ˙A(a′),μ˙B(b′))≥0, and there is some string c′⪰c such that faA(a′)≡faB(b′)≡c′.
Proof. Let σ be a non-MLR sequence that extends s. Let ρ be a sequence that extends c and is contained in E(σ). Since σ is non-MLR, it must have a prefix s′ that extends s, and u˙(s′)≥H. Then s′∈M. We have C~=⋃i⨆(a′,b′)∈Cif~aA(a′). By lemma 2, C~=⋃ic~∩E(si). This is equal to c~∩⋃s′∈ME(s~′), and C~ contains ρ. The rest of the result follows from that same lemma.
We recursively define entire A, B.
Definition 4.3. We set μA(ϵ)=μB(ϵ)=1 and f~aA(ϵ)=f~aB(ϵ)=ϵ~ and run a stage on (ϵ,ϵ). For a pair of strings that exits any running stage, we run another stage on the pair.
Suppose that some ρ∈E(σ) is consistent with finite assignments of only finitely many pairs that have exited some stages. For the last such pair, the stage is run on the pair, and ρ is consistent with the pair's finite assignments, but not with the finite assignments of pairs that exit the stage. By proposition 1, ρ is not contained in the encoding of a non-MLR sequence.
Therefore if σ is non-MLR, for every ρ∈E(σ) there is an infinite sequence of pairs (ϵ,ϵ),(a1,b1),… such that for all n (an,bn) exits the stage run on (an−1,bn−1) and ρ is consistent with their finite assignments. By proposition 1, max(μ˙A(an),μ˙B(bn))≥23n. Then either supn(μ˙A(an))=∞, or supn(μ˙B(bn))=∞ (or both), and one or both strategies win on ρ. Since the set of non-Martin-Löf sequences is everywhere dense, the strategies are total.
5 Concluding remarks
We have constructed a total computable encoding E that allows us to construct a test for Martin-Löf randomness from a Kolmogorov-Loveland randomness test. A sequence α is Martin-Löf random iff a sequence in E(α) is Kolmogorov-Loveland random. This result goes against the Schnorr's objection on lower-semicomputability of Martin-Löf randomness.
We have also shown that no such encoding exists for partial computable randomness and it is an
Open question. Which other known notions of randomness implied by Martin-Löf randomness have this property?
The construction of stages is similar to the proof of [9, Theorem 5.9] insofar that it involves constructing two probability distributions on binary sequences that are largely independent, except on the basic sets enumerated into a level of a universal Martin-Löf test. For these basic sets one of the distributions has density (capital) above a threshold, and then the distribution pair is further constructed, recursively, on these basic sets. Note that a similar construction cannot be done for Kolmogorov-Loveland randomness (without the encoding), [10]. The constructions in [5, Theorem 9.1], [6, Theorem 12], also construct two largely independent probability distributions, however the effective nullset on which they win is not universal. There, like in our construction, the positions are being split into two sets, where one strategy first bets on positions in the first set, and the other one first bets on positions in the second set. However, the splitting is fixed, and not chosen adaptively.
References
[1] A. Shen, V. A. Uspensky, and N. Vereshchagin: Kolmogorov Complexity and Algorithmic Randomness, ISBN-10: 1-4704-3182-3
[2] P. Martin-Löf. The definition of random sequences. Inform. Contr., 9:602–619, 1966.
[3] C.P. Schnorr. Zufälligkeit und Wahrscheinlichkeit; Eine algorithmische Begründung der Wahrscheinlichkeitstheorie, volume 218 of Lect. Notes Math. Springer-Verlag, Berlin, 1971.
[4] Klaus Ambos-Spies. Algorithmic randomness revisited, in: B. McGuinness (Ed.), Language, Logic and Formalization of Knowledge. Coimbra Lecture and Proceedings of a Symposium held in Siena in September 1997, Bibliotheca, 1998, pp.33–52.
[5] Andrei A. Muchnik, Alexei L. Semenov, Vladimir A. Uspensky: Mathematical Metaphysics of Randomness. Theor. Comput. Sci. 207(2): 263-317 (1998)
[6] Wolfgang Merkle, Joseph S. Miller, André Nies, Jan Reimann, Frank Stephan: Kolmogorov-Loveland randomness and stochasticity. Ann. Pure Appl. Logic 138(1-3): 183-210 (2006)
[7] Rodney G. Downey, Denis R. Hirschfeldt: Algorithmic Randomness and Complexity. Theory and Applications of Computability, Springer 2010, ISBN 978-0-387-95567-4, pp. 1-766
[8] André Nies. Computability and randomness, volume 51 of Oxford Logic Guides. Oxford University Press, Oxford, 2009.
[9] Van Lambalgen, M. (1990). The axiomatization of randomness. Journal of Symbolic Logic, 55(3), 1143-1167.
[10] Tomislav Petrović, Kolmogorov-Loveland betting strategies lose the Betting game on open sets, Theoretical Computer Science, Volume 1037, 2025, 115177, ISSN 0304-3975