You are viewing a javascript disabled version of the site. Please enable Javascript for this site to function properly.

# Pricing complexity options

#### Abstract

We consider options that pay the complexity deficiency of a sequence of up and down ticks of a stock upon exercise. We study the price of European and American versions of this option numerically for automatic complexity, and theoretically for Kolmogorov complexity. We also consider run complexity, which is a restricted form of automatic complexity.

## 1Introduction

In this article we consider the pricing of American and European options paying the complexity deficiency, or intuitively the lack of complexity, of a sequence of up and down ticks for a financial security. The complexity notions we consider are plain and prefix-free Kolmogorov complexity, nondeterministic automatic complexity, and run complexity.

### 1.1Motivation

We believe it may be of value in finance to have some notions of the complexity of a price path. Agents may want to insure against too complex or too simple price paths for a stock, for example. A very simple or complex path may be a sign that something is going on that the agent is not aware of.

Weather is somewhat periodic, and automatic complexity measures periodicity, to some extent. Hence a complexity option may be used as a weather derivative.

Casino owners may want to ensure that their casinos are truly random, so as to avoid unexpected losses. In general, anyone who makes an assumption of randomness may want to hedge that, as true randomness is not easy to guarantee, or even completely well-defined.

Automatic complexity: between two extremes. Of course, we can insure against certain types of non-randomness in simple ways. We can insure against a dramatic fall of a stock price by selling the stock short. This corresponds to run complexity (Section 3.2). At the other end, one cannot use Kolmogorov complexity(Section 2) as a basis for the security, because Kolmogorov complexity is not computable. The nondeterministic automatic complexity, being both

• powerful enough to discern a variety of patterns, and at the same time

• single-exponential time computable,

may be a promising middle ground.

### 1.2Automatic complexity and the idea of complexity deficiency

Kolmogorov complexity is an important notion that in a way is to complexity as Turing computability is to computability. It is computably approximable, but unfortunately not computable. As a remedy, Shallit and Wang (2001) defined the automatic complexity of a finite binary string x = x 1 … x n to be the least number A D  (x) of states of a deterministic finite automaton M such that x is the only string of length n in the language accepted by M.

Automatix complexity is computable, but it does have a couple of awkward properties that make us want to tweak its definition. First, many of the automata used to witness the complexity have a dead state whose sole purpose is to absorb any irrelevant or unacceptable transitions. Second, some strings x = x 1 … x n have a different complexity from their reverse x n  … x 1. For instance (Hyde and Kjos-Hanssen 2014; Hyde and Kjos-Hanssen 2015),

We tweak the definition of automatic complexity by introducing nondeterminism.

Definition 1. (Hyde and Kjos-Hanssen (2015)). The nondeterministic automatic complexity A N  (w) of a word w is the minimum number of states of an NFA M (having no ɛ-transitions) accepting w such that there is only one accepting path in M of length |w|.

Moreover, and most importantly for the present paper, A N gives rise to a striking instance of the idea of complexity deficiency:

Theorem 2. (Hyde (2013) and Hyde and Kjos-Hanssen (2015)). The nondeterministic automatic complexity A N  (x) of a string x of length n satisfies

AN(x)b(n):=n/2+1.

Proof sketch. The proof is essentially contained in Fig. 1, although we must modify the picture slightly if x has even length. □

Definition 3. The nondeterministic automatic complexity deficiency of a string x is defined by

Dn(x)=b(n)-AN(x),
with b (n) as in Theorem 2. Sometimes we write D (x) for D n  (x).

Experimentally we have found that about half of all strings have D n  (x) =0 (Hyde and Kjos-Hanssen, 2015). We call such strings complex, and other strings simple, herein.

### 1.3Option types: Perpetual, American, European

We shall consider the following types of options and their prices.

• V. This is the price of the perpetual option that pays out the deficiency D n  (x) when we exercise the option at a time n. (Perpetual here means that we can exercise the option at any time step labeled by a nonnegative integer.) The price of a perpetual option is the supremum, over all exercise policies τ, of the expected payoff when using τ. There is no restriction that τ be computable (and in fact computable before the next market time step occurs), but if that were to become an issue one would presumably change the definition accordingly.

• V n . This is the price of an American option that we can exercise at any time step labeled by an integer between 0 and n.

• W n . This is the price of the European option with expiry n; in this case we must exercise the option at time n, if at all, and so Wn=𝔼(max{Dn,0}). We assume the underlying probability distribution is given by the fair-coin measure. In a finance setting it could more generally be given by the risk-neutral measure determined from a stock price process.

We have

𝔼DnWnVnV,
and

Theorem 4.

supn𝔼DnsupnVnV𝔼supnDn.

Proof. For the first inequality, it suffices to show

𝔼DnV
for each n. This holds because one possible exercise policy is the static strategy of exercising at time n no matter what.

For the third inequality, there are two cases.

Case 1: supnDn is almost surely finite. Note that D n is integer-valued, so supnDn will be realized at some finite stage n 0. Let us call magically prescient the strategy which waits for supnDn to be realized and then exercises the option. By contrast, an exercise policy should be a stopping time, i.e., it should not depend on future outcomes. We see that the payoff from the magically prescient strategy has a higher price than any exercise policy. It follows that V𝔼supnDn in this case.

Case 2: (supnDn=)>0. Then 𝔼supnDn= and so we are done. □

Remark 5. In Case of Theorem 4, if (supnDn=)=ɛ>0 then we can even assert that V =∞. Indeed if V< ∞ then we can buy the option, and wait for D n  > V/ɛ + 1. The expected payoff is at least

(ɛ)(V/ɛ+1)=V+ɛ>V,
which would create an arbitrage.

We shall consider several complexity notions:

• prefix-free Kolmogorov complexity K,

• plain Kolmogorov complexity C, and

• nondeterministic automatic complexity A N .

For each notion we first define one or more suitable deficiency notions D n  (x): for instance, D n  (x) = n + c C  - C (x) for a suitable constant c C for C, and D n  (x) = ⌊ n/2 ⌋ +1 - A N  (x) for A N . The following questions are natural for each of these deficiency notions:

• Does the price of the European option tend to ∞?

• Does the price of the American option tend to ∞?

• Does the American option for C have an efficiently computable exercise policy?

• If so, is the increase in value of the American option necessarily slow (say, logarithmic)?

## 2Kolmogorov complexity

### 2.1Plain complexity C

Let c C be the least constant c C such that C (x ∣ n) ≤ n + c C for all strings x of any length n. If we define D n  (x) = n + c C  - C (x ∣ n) for x of length n, then D n  (x) ≥0 for all x, and D n  (x) =0 does occur. This is theoretically pleasant. Deficiencies are nonnegative and can be zero. Of course, c C depends on the version of the plain length-conditional Kolmogorov complexity C (· ∣ ·) that we use. In this setting, we have

Theorem 6. supn𝔼Dn<.

Proof. Fix n. For any a, there are only 2 a  - 1 binary strings of length at most a. All descriptions witnessing complexity (given n) being at most a must be among them, so at most 2 a  - 1 many strings have complexity (given n) of at most a. Applying this to a = n + c C  - k, at most 2 n+c C -k  - 1 strings x (in particular, at most that many strings of length n) satisfy D n  (x) ≥ k. That is, by Downey and Hirschfeldt (2010, Corollary 6.1.4),

(Dn(x)k)<2cC-k.

Then we have

𝔼Dn=k=0k(Dn=k)=k=1(Dnk)<k=12cC-k=2cC.

It turns out that for options expiring at time n, there is a significantly better exercise policy than the static strategy of waiting until the very end:

Theorem 7. For plain Kolmogorov complexity, supnVn=, even if we require efficient computation of the exercise policy.

The idea of the proof is to use complexity oscillations, first observed by Martin-Löf (1971): when the initial part of a string x is a binary encoding of the length of x, the plain Kolmogorov complexity of x will be low.

Proof. Martin-Löf (1971) showed that deficiency is unbounded for all reals: for each X and b there is an n with D (X ↾ n) > b. We can computably identify such an n. The well known idea is that we take a prefix X ↾ m; consider it as a binary representation of a length ℓ<2 m ; and then consider σ = X↾ ℓ. Since the beginning of σ is known just from the length of σ, σ is compressible. This translates into an exercise policy for our option: at time m we decide on the time ℓ at which we are going to exercise. The strategy just described is efficient, since we decide at time m⪡ ℓ to exercise at time ℓ. □

Remark 8. Since C (x ∣ n) ≤ + C (x), Theorem 7 holds equally for length-conditional plain Kolmogorov complexity, and Theorem 6 also holds if we consider plain Kolmogorov complexity that is not length-conditional.

### 2.2Prefix-free complexity K with C-style deficiency

Let K denote prefix-free Kolmogorov complexity. With D n  (x) = n - K (x), there is no limiting deficiency distribution in this case (or one could say the deficiency is in the limit -∞ almost surely). That is, K (w) ≥ |w| - c for almost all w, for any c. Indeed, for each c,

limn|σ2n:K(σ)n-c|2n=1,
as is easily shown using ∑ σ 2-K(σ) < 1. If the lim sup of the complement is δ > 0, then for each ɛ > 0 there exist N k with
1σ2-K(σ)=n|σ|=n2-K(σ)>kδ(1-ɛ)2Nk2-(Nk-c)=(1-ɛ)δk2c=.

Theorem 9. For prefix-free Kolmogorov complexity the price of the perpetual option that pays D n  - a is at most 2-a .

Proof. We have

(supnDn-a>c)=(nK(Xn)<n-c-a)2-c-a.

Let Dn+=max{Dn-a,0}. Since we would not exercise an option giving negative payoff, it follows that

V𝔼(supnDn+)=c=0c(supnDn+=c)=c=1c(supnDn+=c)=c=1(supnDn+>c)=c=1(supnDn-a>c)c=12-c-a=2-a.

### 2.3Prefix-free complexity K with its natural notion of deficiency

Theorem 10. (Deficiency based on an upper bound for K) If we fix a constant c K such that for prefix-freeKolmogorov complexity K, K (x) ≤ n + K (n) + c K for all x of any length n, and let D n  (x) = n + K (n) + c K  - K (x) ≥0, then 𝔼Dn is bounded but V n → ∞.

Proof. The same proof as for Theorem 6 but using an analogous property shows that 𝔼Dn is bounded. In this case, however, sup D n  (X ↾ n) will be ∞ for almost all X ∈ 2 ω . In fact Li and Vitányi showed D n  (X ↾ n) > log n for infinitely many n for almost all X.

Solovay showed that lim inf D n  (X ↾ n) will be finite (Miller and Yu, 2011).

V =∞ in this case since we can simply wait for a sufficiently high D n value. What about V n ? Consider an arbitrary constant, which for expository vividness we will take to equal 17. Almost surely there will be an n with D n  (X ↾ n) ≥17. Therefore for each ɛ there is an n 0 such that

nn0{Dn(Xn)17}1-ɛ
and so V n 0  ≥ 17 (1 - ɛ). Moreover V n  ≤ V n+1 for American options. So V n → ∞ in this case. The exercise policy would be to wait for D n  = 17 to occur and then exercise. □

An overview of the deficiency option prices is given in Table 1.

Remark 11. Of course, one does not need to only consider deficiencies. One could consider an option paying out K (x) - n. This value will go to infinity, but how fast? What is our exercise policy if we are not given access to K? Another possibility is to consider dips in complexity associated with the Kolmogorov structure function (N. K. Vereshchagin and Vitányi 2004) and its automatic complexity variant (Kjos-Hanssen, 2016).

### 2.4Using runs

Remark 12. An anonymous referee suggested the following approach to obtaining results of the form V n → ∞. Let R n be the longest run of 0s in a string of length n and let 𝔼 and Var denote expectation and variance with respect to the uniform distribution on {0, 1}  n . Now, if U is a universal prefix-free machine, we can define another machine M by the following algorithm: on input x *, simulate U, and if U (x *) = x, then

M(x*)=f(x):=x0log2|x|-c
for a fixed constant c. The domain of M equals the domain of U, hence M is also a prefix-free machine. Thus
K(x0log2|x|-c)+K(x).
Let now m = |f (x) = |x + ⌊ log 2|x ⌋ - c and y = f (x). Since K (n) ≤ + K (m) by the choice of m, we have
K(y)n+K(n)+cK+n+K(m)+cK=(m+K(m)+cK)-(m-n)
and
C(y)+n+cC=m+cC-(m-n).
Now we employ the trading strategy whereby we wait until our input is of the form x 0log2|x-c |, and then exercise. By Theorem ?? below, |𝔼(Rn)-log2n| and Var (R n ) are both bounded by a constant c. By the argument in Section 3.2 below, with high probability we will be able to exercise. Thus for American options, with payoff D n  (x) either n + K (n) + c K  - K (x) or c C  - C (x), we obtain V n → ∞.

Theorem 13. (Boyd (1972)) Let R n be the longest run of heads in a binary sequence of length n distributed according to the Bernoulli distribution with parameter 1/2. Let log = ln. Then

𝔼(Rn)=log2n+γln2-32+ɛ1(logn/log2)+r1(n),
where ɛ 1 (α) is a function of period 1 which satisfies |ɛ 1 (α) |<2 × 10-6 for all α, and r 1 (n) = O (n -1 (log n4) →0. Moreover,
Var(Rn)=112+π26(log2)2+ɛ2(lognlog2)+O(n-1(logn)5),
where ɛ 2 (α) has period 1, and |ɛ 2 (α) |<10-4 for all α.

## 3Computable forms of complexity

### 3.1Automatic complexity

Now the goal is to price the European/American option that pays the nondeterministic automatic complexity deficiency D n of the movements of a stock from time 0 to the time n when the option is exercised. We suspect that finding the exact price is a computationally intractable problem, both because of the conjectured intractability of computing automatic complexity (Hyde and Kjos-Hanssen 2015), and because of the exponential number of price paths to consider.

The interest rate r can be set to 0 or to a positive value. For pedagogical reasons, Shreve (2004) uses r = 1/4 for his main recurring example, and we sometimes adopt that value as well.

• For n = 0 the option would pay 0 as there are no simple strings, and moreover the situation is anyway already known at time 0.

• For n = 1 the actual string (0 or 1) is not known at time 0 but it does not affect the payoff, which is 0 either way as there are no simple strings.

• For n = 2, with up-factor u = 2, down-factor , and r = 1/4, there is a risk-neutral probability of 1/2 of one of the strings 00, 11, both of which pay $1. So the value is (1+r)-2·12·1=1650. In general when the risk-neutral probabilities are 1/2 each for up and down, then the value of the option is directly related to the distribution of the deficiency D n : d=0n/2d·(Dn=d)·(1+r)-n=𝔼(Dn)·(1+r)-n. If D n happened to be Poisson for large n, this is approximately λ (1 + r-n , which is decreasing in n. However, we have just seen that the value for n = 2 is higher than for n = 0 and n = 1. Remark 14. For an American version, one question is whether to exercise the option at time n = 2 after having seen 00. If we exercise we get$1. Otherwise the deficiency can at most go up by 1 each time step, whereas the interest factor with r = 1/4 > 0 is exponential, so an upper bound for our payoff is

(n/2)(1+r)-n=n2e-nln(5/4).
indent This expression is maximized at n = 4 and at n = 5. Both places it takes the value 0.8192.

To obtain a reasonable level of abstraction it is valuable to consider infinite price paths and associate a finite complexity deficiency with them. We can do so if the nondeterministic automatic complexity deficiencies of prefixes of an infinite binary sequence are almost surely bounded (Conjecture 3.1; see also Table 1).

Conjecture 15. For nondeterministic automaticcomplexity A N ,

(supnDn<)=1,andyetsupnVn=.

Remark 16. Pakravan and Saadat (2013) studied a perpetual American option that pays the complexity deficiency of the sequence of up and down ticks (considered as 1s and 0s) upon exercise. With interest rate set to zero (r = 0) the price of this security may be infinity, based on tentative numerical evidence. That is, for A N ,

supnVn=,
although 𝔼Dn seems to approach a finite limit (see Table 2). For positive interest rates the price is finite (see Remark 4). They found numerical evidence that for r = 1/4 the price is 0.47. See Fig. 2 for the deficiencies of strings of length at most 4, and Fig. 3 for corresponding calculated option prices. The price of the American option with expiry 2k and expiry 2k + 1 are the same, as is easy to prove.

Definition 17. Let V (n) be the price of the European option paying the nondeterministic automatic complexity deficiency D (x) for the price path x oflength n.

Decision problem: PRICE.

Instance: A pair of nonnegative integers n and k with

0k2nn/2+1.

Question: Is V (n) ≥ k/2 n ?

Recall that E is the class of single-exponential time decidable decision problems.

Theorem 18. PRICE is in E.

Proof. Hyde and Kjos-Hanssen (2015) considered the problem DEFICIENCY of deciding whether, given an integer k and a sequence x, the nondeterministicautomatic complexity deficiency D (x) satisfies D (x) ≥ k. They showed that DEFICIENCY is in E. Since there are only single-exponentially many price paths of length n, the usual backwards recursive algorithm for option pricing in the binomial model (Shreve, 2004) gives the theorem. □

The same proof shows that the analogous statement to Theorem 18 for American options holds as well.

### 3.2Run complexity

If the payoff of our option is just the longest run of heads then Alikhani (2014) showed that the price of the option is Θ (log 2 n). This corresponds to automata that always proceed to a fresh state, except that one state may be repeated (namely, the state of the longest run).

Definition 19. The run complexity C R of a binary sequence x is defined by C R  (x) = n + 1 - r, where n is the length of x and r is the length of the longest run of 0s or 1s in x.

This complexity notion has the advantage that it is efficiently computable. Kjos-Hanssen (2014) studied it in more detail and also considered multiple runs, as in the Wald–Wolfowitz runs test.

In the rest of this subsection we give the argument of Alikhani (2014). We assume familiarity with basic discrete options (Shreve, 2004). A coin tossing sequence is ω 1 … ω N where each ω i  ∈ {H, T}. (Read H as “heads” and T as “tails”.)

Definition 20. For each 0 ≤ n ≤ N, the current run of heads in the coin tossing sequence ω 1 … ω n is defined by

Gn(ω)=max{r:ωn-r+1==ωn=H}.
The run option is the American option where thepayoff when exercised at time n ≤ N is G n  (ω). Let V A be the price of the run option. Define a stopping time τ t by
τt(ω1ωN)=min{s:Gs=[𝔼(RN)]-t},
where R N is the longest run of heads in a coin tossing sequence of length N.

Thus, the trading strategy corresponding to τ t is to wait for a run of heads that is almost as long as we ever expect to see before time N, with “almost” being qualified and measured by the parameter t.

Definition 21. Let [x] denote the nearest integer of x. In particular, [x] is an integer k with k - 1 ≤ x ≤ k + 1.

Theorem 22. Given N there is a deterministic choice of t = t N such that there is a sequence of numbers ɛ N with limN+ɛN=0, and constants c 2 and c, such that for large N,

𝔼(GτtN)(log2N-c2-clnN3)(1-ɛN).

Proof. The price process VnA for the run option satisfies the American risk-neutral formula

VnA=maxτSn𝔼n,forn=0,1,,N.
So for each t,
VnA𝔼n[(𝕀τtN)Gτt].
Now we find a lower bound on 𝔼(Gτt).
𝔼(Gτt)=𝔼(Gτt|Gτt>0)Pr(Gτt>0)=([𝔼(RN)]-t)(Pr{RN[𝔼(RN)]-t})([𝔼(RN)]-t)(Pr{RN𝔼(RN)-t+1})([𝔼(RN)]-t)(Pr{|RN-𝔼(RN)|(t-1)})([𝔼(RN)]-t)(1-Var(RN)(t-1)2)(byChebyshevsInequality)(𝔼(RN)-1-t)(1-Var(RN)(t-1)2).
By Theorem 13,
Var(RN)=π2/6ln2(2)+1/12+r2(N)+ɛ2(N)4
for large N. Let 𝔼(RN)=a; then we get
𝔼(Gτt)(a-t-1)(1-4(t-1)2).(*)
Now we find the t = t N such that the right-hand side of (*) is maximized. The corresponding third degree polynomial has negative discriminant. Therefore it has one real root, which was calculated by Mathematica:
t=(23)2/39ln2(2)ln(N)+327ln4(2)ln2(N)+4ln6(2)3ln(2)-2233ln(2)9ln2(2)ln(N)+327ln4(2)log2(N)+4ln6(2)3.
By the second derivative test, since
d2dt2(a-t)(1-4/t2)=-3t2-40,
we see that t maximizes the right-hand side of (*). We have
limn-2233ln(2)9ln2(2)ln(n)+327ln4(2)ln2(N)+4ln6(2)3=0
and hence
t(4/ln2)1/3(lnN3)1.
Therefore, t=tNΘ(lnN3) and so
𝔼(GτtN)(log2N-c2-clnN3)(1-ɛN).

Corollary 23. V A  ∼ log 2 N.

Proof. V A is bounded below by the expected payoff of the strategy that waits for [E (R N )] - t N heads, with t N as in Theorem 22, and then exercises. On the other hand, V A is bounded above 𝔼(RN). Therefore

𝔼(RN)-tNVA𝔼(RN).
By Theorem 13,
𝔼(RN)=log2(N/2)+γ/ln2-1/2=log2N+O(1),
and so by Theorem 22,
log2N-c2-lnN3VAlog2N+O(1).
Dividing by log 2 N we get
1-o(1)VAlog2N1+o(1).

## 4Robustness

We now consider whether, in the phrase of an anonymous referee,

small perturbations on input sequences can have drastic effects on our studied measurements of complexity.

In other words, whether errors in the measurement of a sequence will lead to large errors in the calculated complexity. Let d (x, y) denote the Hamming distance between two sequences of the same length x and y.

Run complexity. Here a change in a single bit sometimes cuts the longest run in half. That is, if d (x, y) =1 then C R  (x) = n - r x and C R  (y) = n - r y where r x  ≤ 2r y  + 1.

On the other hand, since the longest run will only be about log 2 n (Boyd, 1972), a random change in a single random bit will tend to leave the complexity unchanged.

Automatic complexity. Here we have numerical evidence that a change in a single bit sometimes has large effects. For instance, consider the string 0 n which becomes 0 a 10 n-a-1; see Table 3.

Kolmogorov complexity. A change in a single bit will affect the complexity only logarithmically (by at most about 2 log n) since a description of the sequence can include hard-coded information about where the changed bit is. Fortnow, Lee, and N. Vereshchagin (2006) studied Kolmogorov complexity with error in detail.

## 5Enhanced content

AutoComplex. This app for Android devices (Bjørn Kjos-Hanssen 2013) lets you look up nondeterministic automatic complexity values of particular strings. The app tells you the complexity of a given string and also provides a “proof” or “witness”.

This witness is a uniquely accepting state sequence, i.e., a sequence of states visited during a run of a witnessing automaton. It is analogous to a shortest description x * of a string x, familiar from the study of Kolmogorov complexity.

The app also provides some extensions of the string suggested by the familiar autocompletion feature used in search engines.

The Complexity Guessing Game and the Complexity Option Game. These two online games (Bjørn Kjos-Hanssen 2015a, 2015b) invite the player to guess complexities, or implement an exercise policy for a complexity-based financial option, respectively. The games include graphical displays of millions of the relevant automata.

## Acknowledgments

This work was partially supported by a grant from the Simons Foundation (#315188 to Bjørn Kjos-Hanssen).

This material is based upon work supported by the National Science Foundation under Grant No. 0901020.

## References

 1 Alikhani, Malihe, 2014.“American option pricing and optimal stopping for success runs”. Project for master of arts in mathematics. 2014. 2 Bjørn, Kjos-Hanssen, 2013. “AutoComplex”. https://play.google.com/store/apps/details?id=edu. Hawaii. Math. Bjoern. Autocomplex.Aug. 10, 2013. 3 2015a. “The Complexity Guessing Game”. http://math.hawaii.edu/wordpress/bjoern/software/web/complexity-guessing-game/.Apr. 27, 2015. 4 2015b. “The Complexity Option Game”. http://math.hawaii.edu/wordpress/bjoern/software/web/complexity-option-game/. Apr. 27, 2015. 5 Boyd D.W. , 1972. “Losing runs in Bernoulli trials”. http://www.math.ubc.ca/boyd/runs/oulli.html. 1972. 6 Downey, Rodney G. , Denis R. , Hirschfeldt, 2010. Algorithmic random-ness and complexity. Theory and Applications of Computability. New York: Springer, 2010, pp. xxviii+855.ISBN:978-0-387-95567-4. 10.1007/978-0-387-68441-3. URL: http://dx.doi.org/10.1007/978-0-387-68441-3 7 Fortnow, Lance , Lee Troy, Vereshchagi Nikolai , 2006. “Kolmogorov complexity with error”. In: STACS 2006. Vol. 3884. Lecture Notes in Comput. Sci. Springer, Berlin, 2006, pp. 137–148. 10.1007/11672142_10. URL: http://dx.doi.org/10.1007/11672142_10. 8 Hyde, Kayleigh, 2013. “Nondeterministic finite state complexity”. Project for master of arts in mathematics. 2013. 9 Hyde, Kayleigh, Bjørn, Kjos-Hanssen, 2014. “Nondeterministic automatic complexity of almost square-free and strongly cubefree words”. In: COCOON 2014. Vol. 8591. Lecture Notes in Comput. Sci. Springer, Heidelberg, 2014, pp. 61–70. 10 Hyde, Kayleigh, Bjørn, Kjos-Hanssen, 2015. “Nondeterministic Automatic Complexity of Overlap-Free and Almost Square–FreeWords”. In: Electronic Journal of Combinatorics 2015. To appear. 11 Kjos-Hanssen, Bjørn, 2014. “Kolmogorov structure functions for automatic complexity in computational statistics”. In: The 8th International Conference on Combinatorial Optimization (COCOA 2014. Vol. 8881. Lecture Notes in Comput. Sci. Springer, Berlin, 2014, pp. 652–665. 12 Kjos-Hanssen, Bjørn, 2016. “Kolmogorov structure functions for automatic complexity”. In: Theoretical Computer Science 2016. To appear. 13 Martin-Löf, Per 1971. “Complexity oscillations in infinite binary sequences”. In: Z. Wahrscheinlichkeitstheorie und Verw. Gebiete 19 1971, pp. 225–230. 14 Miller , Joseph S. , Liang Yu , 2011. “Oscillation in the initial segment complexity of random reals”. In: Adv. Math. 226.6 2011, pp. 4816–4840. ISSN:0001-8708. 10.1016/j.aim.2010.12.022. URL:http://dx.doi.org/10.1016/j.aim.2010.12.022 15 Pakravan, Amirarsalan, Babak, Saadat, 2013. “Nondeterministic finite state complexity and option pricing”. Project for master of science in financial engineering. 2013. 16 Shallit, Jeffrey, Ming-Wei, Wang, 2001. “Automatic complexity of strings”. In: J Autom Lang Comb. 6.4 2001. 2nd Workshop on descriptional complexity of automata, Grammars and related structures(London,ON,2000), pp.537–554.ISSN:1430-189X. 17 Shreve , Steven E. , 2004. Stochastic Calculus for Finance. I. Springer Finance. The binomial asset pricing model. Springer-Verlag, New York, 2004, pp. xvi+187. ISBN: 0-387-40100-8. 18 Vereshchagin , Nikolai K. , Paul M.B. , Vitáanyi, 2004. “Kolmogorov’s structure functions and model selection”. In: IEEE Trans. Inform. Theory 50.12 2004, pp. 3265–3290. ISSN: 0018-9448. 10.1109/TIT.2004.838346. URL:http://dx.doi.org/10.1109/TIT.2004.838346

## Figures and Tables

##### Fig.1

A nondeterministic finite automata that only accepts one string x = x 1 x 2 x 3 x 4 … x n of length n = 2m + 1.

##### Fig.2

Deficiency tree for n = 4, see Remark 16.

##### Fig.3

Option prices corresponding to Fig. 2.

##### Table 1

Infinity and finiteness of option prices for various complexity deficiencies D n  (x), for strings x of length n. The conclusions labeled by ∴ (“therefore”) follow from the inequalities supn𝔼DnsupnVn𝔼supnDn (Theorem 4)

 D n supn𝔼Dn supnVn 𝔼supnDn n + c K  - K (x) ∴< ∞ ∴< ∞ <∞ (Theorem 9) n + K (n) + c K  - K (x) <∞ (Theorem 10) ∞ (Theorem 10) ∴∞ n + c C  - C (x) <∞ (Theorem 6) ∞ (Theorem 7) ∴∞ n + c C  - C (x ∣ n) <∞ (Theorem 6) ∞ (Theorem 7) ∴∞ ⌈n/2 ⌉ +1 - A N  (x) <∞? (Conjecture 15) ∞? (Conjecture 15) ∴∞?
##### Table 2

Static versus dynamic exercise policies for nondeterministicautomatic complexity

 Length 𝔼Dn ≤ V n 0 0 = 0 2 0.5 = 0.5 4 0.625 < 0.75 6 0.687 < 0.875 8 0.765 < 1.070 10 0.791 < 1.191 12 0.720 < 1.236
##### Table 3

Nondeterministic automatic complexity in the Hamming ball of radius 1 around 0 n , n = 23

 w A N  (w) 023 1 0221 2 02110 3 020102 4 019103 5 018104 6 017105 7 016106 8 015107 9 014108 8 013109 8 0121010 8 0111011 7