Conway chained arrow notation

From HandWiki
Short description: Means of expressing certain extremely large numbers

Conway chained arrow notation, created by mathematician John Horton Conway, is a means of expressing certain extremely large numbers.[1] It is simply a finite sequence of positive integers separated by rightward arrows, e.g. [math]\displaystyle{ 2\to3\to4\to5\to6 }[/math].

As with most combinatorial notations, the definition is recursive. In this case the notation eventually resolves to being the leftmost number raised to some (usually enormous) integer power.

Definition and overview

A "Conway chain" is defined as follows:

  • Any positive integer is a chain of length [math]\displaystyle{ 1 }[/math].
  • A chain of length n, followed by a right-arrow → and a positive integer, together form a chain of length [math]\displaystyle{ n+1 }[/math].

Any chain represents an integer, according to the six rules below. Two chains are said to be equivalent if they represent the same integer.

Let [math]\displaystyle{ a, b }[/math] denote positive integers and let [math]\displaystyle{ \# }[/math] denote the unchanged remainder of the chain. Then:

  1. An empty chain (or a chain of length 0) is equal to [math]\displaystyle{ 1 }[/math]
  2. The chain [math]\displaystyle{ p }[/math] represents the number [math]\displaystyle{ p }[/math].
  3. The chain [math]\displaystyle{ a \rightarrow b }[/math] represents the number [math]\displaystyle{ a^b }[/math].
  4. The chain [math]\displaystyle{ a \rightarrow b \rightarrow c }[/math] represents the number [math]\displaystyle{ a \uparrow^c b }[/math] (see Knuth's up-arrow notation)
  5. The chain [math]\displaystyle{ \# \rightarrow 1 }[/math] represents the same number as the chain [math]\displaystyle{ \# }[/math]
  6. Else, the chain [math]\displaystyle{ \# \rightarrow (a+1) \rightarrow (b+1) }[/math] represents the same number as the chain [math]\displaystyle{ \# \rightarrow (\# \rightarrow a \rightarrow (b+1)) \rightarrow b }[/math].

Properties

  1. A chain evaluates to a perfect power of its first number
  2. Therefore, [math]\displaystyle{ 1\to Y }[/math] is equal to [math]\displaystyle{ 1 }[/math]
  3. [math]\displaystyle{ X\to1\to Y }[/math] is equivalent to [math]\displaystyle{ X }[/math]
  4. [math]\displaystyle{ 2\to2\to Y }[/math] is equal to [math]\displaystyle{ 4 }[/math]
  5. [math]\displaystyle{ X\to2\to2 }[/math] is equivalent to [math]\displaystyle{ X\to(X) }[/math] (not to be confused with [math]\displaystyle{ X\to X }[/math])

Interpretation

One must be careful to treat an arrow chain as a whole. Arrow chains do not describe the iterated application of a binary operator. Whereas chains of other infixed symbols (e.g. 3 + 4 + 5 + 6 + 7) can often be considered in fragments (e.g. (3 + 4) + 5 + (6 + 7)) without a change of meaning (see associativity), or at least can be evaluated step by step in a prescribed order, e.g. 34567 from right to left, that is not so with Conway's arrow chains.

For example:

  • [math]\displaystyle{ 2\rightarrow3\rightarrow2 = 2\uparrow\uparrow3 = 2^{2^2} = 16 }[/math]
  • [math]\displaystyle{ 2\rightarrow\left(3\rightarrow2\right) = 2^{(3^2)} = 2^{3^2} = 512 }[/math]
  • [math]\displaystyle{ \left(2\rightarrow3\right)\rightarrow2 = \left(2^3\right)^2 = 64 }[/math]

The sixth definition rule is the core: A chain of 4 or more elements ending with 2 or higher becomes a chain of the same length with a (usually vastly) increased penultimate element. But its ultimate element is decremented, eventually permitting the fifth rule to shorten the chain. After, to paraphrase Knuth, "much detail", the chain is reduced to three elements and the fourth rule terminates the recursion.

Examples

Examples get quite complicated quickly. Here are some small examples:

[math]\displaystyle{ n }[/math]

[math]\displaystyle{ = n }[/math] (By rule 2)

[math]\displaystyle{ p\to q }[/math]

[math]\displaystyle{ = p^q }[/math] (By rule 3)
Thus, [math]\displaystyle{ 3\to4 = 3^4 = 81 }[/math]

[math]\displaystyle{ 4\to3\to2 }[/math]

[math]\displaystyle{ = 4\uparrow\uparrow 3 }[/math] (By rule 4)
[math]\displaystyle{ = 4\uparrow(4\uparrow 4) }[/math]
[math]\displaystyle{ = 4\uparrow256 }[/math]
[math]\displaystyle{ = 4^{256} }[/math]
[math]\displaystyle{ = 13, 407, 807, 929, 942, 597, 099, 574, 024, 998, 205, 846, 127, 479, 365, 820, 592, 393, 377, 723, 561, 443, 721, 764, 030, 073, }[/math] [math]\displaystyle{ 546, 976, 801, 874, 298, 166, 903, 427, 690, 031, 858, 186, 486, 050, 853, 753, 882, 811, 946, 569, 946, 433, 649, 006, 084, 096 }[/math]
[math]\displaystyle{ \approx 1.34 * 10 ^ {154} }[/math]

[math]\displaystyle{ 2 \to 2 \to a }[/math]

[math]\displaystyle{ = 2[\uparrow ^ a]2 }[/math] (By rule 4)
[math]\displaystyle{ = 4 }[/math] (see Knuth's up arrow notation)

[math]\displaystyle{ 2 \to 4 \to 3 }[/math]

[math]\displaystyle{ = 2 \uparrow \uparrow \uparrow 4 }[/math] (By rule 4)
[math]\displaystyle{ =2\uparrow\uparrow(2\uparrow\uparrow(2\uparrow\uparrow2)) }[/math]
[math]\displaystyle{ =2\uparrow\uparrow(2\uparrow\uparrow4) }[/math]
[math]\displaystyle{ =2\uparrow\uparrow(2\uparrow(2\uparrow(2\uparrow2))) }[/math]
[math]\displaystyle{ =2\uparrow\uparrow(2\uparrow(2\uparrow4)) }[/math]
[math]\displaystyle{ =2\uparrow\uparrow(2\uparrow16) }[/math]
[math]\displaystyle{ =2\uparrow\uparrow (65536) }[/math]
[math]\displaystyle{ ={^{65536}2} }[/math] (see tetration)

[math]\displaystyle{ 2 \to 3 \to 2 \to 2 }[/math]

[math]\displaystyle{ =2 \to 3 \to (2 \to 3) \to 1 }[/math] (By rule 6)
[math]\displaystyle{ =2 \to 3 \to 8 \to 1 }[/math] (By rule 3)
[math]\displaystyle{ =2 \to 3 \to 8 }[/math] (By rule 5)
[math]\displaystyle{ =2 \to (2 \to 2 \to 8) \to 7 }[/math] (By rule 6)
[math]\displaystyle{ =2 \to 4 \to 7 }[/math] (By rule 6)
[math]\displaystyle{ = 2 \uparrow\uparrow\uparrow\uparrow\uparrow\uparrow\uparrow 4 }[/math] (By rule 4)
= much larger than previous number

[math]\displaystyle{ 3 \to 2 \to 2 \to 2 }[/math]

[math]\displaystyle{ =3 \to 2 \to (3 \to 2) \to 1 }[/math] (By rule 6)
[math]\displaystyle{ = 3 \to 2 \to 9 \to 1 }[/math] (By rule 3)
[math]\displaystyle{ = 3 \to 2 \to 9 }[/math] (By rule 5)
[math]\displaystyle{ = 3 \to 3 \to 8 }[/math] (By rule 6)
[math]\displaystyle{ = 3 \uparrow\uparrow\uparrow\uparrow\uparrow\uparrow\uparrow\uparrow 3 }[/math] (By rule 4)
= much, much larger than previous number

Systematic examples

The simplest cases with four terms (containing no integers less than 2) are:

  • [math]\displaystyle{ a \to b \to 2 \to 2 }[/math]
    [math]\displaystyle{ = a \to b \to 2 \to (1 + 1) }[/math]
    [math]\displaystyle{ = a \to b \to (a \to b) \to 1 }[/math]
    [math]\displaystyle{ = a \to b \to a^b }[/math]
    [math]\displaystyle{ = a [a^b + 2] b }[/math]
(equivalent to the last-mentioned property)
  • [math]\displaystyle{ a \to b \to 3 \to 2 }[/math]
    [math]\displaystyle{ = a \to b \to 3 \to (1 + 1) }[/math]
    [math]\displaystyle{ = a \to b \to (a \to b \to (a \to b) \to 1) \to 1 }[/math]
    [math]\displaystyle{ = a \to b \to (a \to b \to a^b) }[/math]
    [math]\displaystyle{ = a [a\to b \to 2 \to 2 + 2] b }[/math]
  • [math]\displaystyle{ a \to b \to 4 \to 2 }[/math]
    [math]\displaystyle{ = a \to b \to (a \to b \to (a \to b \to a^b)) }[/math]
    [math]\displaystyle{ = a [a \to b \to 3 \to 2 + 2] b }[/math]

We can see a pattern here. If, for any chain [math]\displaystyle{ X }[/math], we let [math]\displaystyle{ f(p) = X \to p }[/math] then [math]\displaystyle{ X \to p \to 2 = f^p(1) }[/math] (see functional powers).

Applying this with [math]\displaystyle{ X = a \to b }[/math], then [math]\displaystyle{ f(p) = a [p + 2]b }[/math] and [math]\displaystyle{ a \to b \to p \to 2 = a [a \to b \to (p - 1) \to 2 + 2] b = f^p(1) }[/math]

Thus, for example, [math]\displaystyle{ 10 \to 6 \to 3\to 2 = 10 [10 [1000002] 6 + 2] 6 }[/math].

Moving on:

  • [math]\displaystyle{ a \to b \to 2 \to 3 }[/math]
    [math]\displaystyle{ = a \to b \to 2 \to (2 + 1) }[/math]
    [math]\displaystyle{ = a \to b \to (a \to b) \to 2 }[/math]
    [math]\displaystyle{ = a \to b \to a^b \to 2 }[/math]
    [math]\displaystyle{ = f^{a^b}(1) }[/math]

Again we can generalize. When we write [math]\displaystyle{ g_q(p) = X \to p \to q }[/math] we have [math]\displaystyle{ X \to p \to q+1 = g_q^p(1) }[/math], that is, [math]\displaystyle{ g_{q+1}(p) = g_q^p(1) }[/math]. In the case above, [math]\displaystyle{ g_2(p) = a \to b \to p \to 2 = f^p(1) }[/math] and [math]\displaystyle{ g_3(p) = g_2^p(1) }[/math], so [math]\displaystyle{ a \to b \to 2 \to 3 = g_3(2) = g_2^2(1) = g_2(g_2(1)) = f^{f(1)}(1) = f^{a^b}(1) }[/math]

Ackermann function

The Ackermann function may be expressed using Conway chained arrow notation:

[math]\displaystyle{ A(m,n) = (2 \to (n+3) \to (m-2)) -3 }[/math] for [math]\displaystyle{ m \geq 3 }[/math] (Since [math]\displaystyle{ A(m,n) = 2 [m] (n+3) -3 }[/math] in hyperoperation)

hence

[math]\displaystyle{ 2 \to n \to m = A(m+2,n-3)+3 }[/math] for [math]\displaystyle{ n \gt 2 }[/math]
([math]\displaystyle{ n = 1 }[/math] and [math]\displaystyle{ n = 2 }[/math] would correspond with [math]\displaystyle{ A(m,-2)=-1 }[/math] and [math]\displaystyle{ A(m,-1)=1 }[/math], which could logically be added).

Graham's number

Graham's number [math]\displaystyle{ G }[/math] itself cannot be expressed concisely in Conway chained arrow notation, but it is bounded by the following:

[math]\displaystyle{ 3 \rightarrow 3 \rightarrow 64 \rightarrow 2 \lt G \lt 3 \rightarrow 3 \rightarrow 65 \rightarrow 2 }[/math]

Proof: We first define the intermediate function [math]\displaystyle{ f(n) = 3 \rightarrow 3 \rightarrow n = \begin{matrix} 3\underbrace{\uparrow \uparrow \cdots \uparrow}3 \\ \text{n arrows} \end{matrix} }[/math], which can be used to define Graham's number as [math]\displaystyle{ G = f^{64}(4) }[/math]. (The superscript 64 denotes a functional power.)

By applying rule 2 and rule 4 backwards, we simplify:

[math]\displaystyle{ f^{64}(1) }[/math]

[math]\displaystyle{ = 3 \rightarrow 3 \rightarrow (3 \rightarrow 3 \rightarrow (\cdots (3 \rightarrow 3 \rightarrow (3 \rightarrow 3 \rightarrow 1))\cdots )) }[/math] (with 64 [math]\displaystyle{ 3 \rightarrow 3 }[/math]'s)
[math]\displaystyle{ = 3 \rightarrow 3 \rightarrow (3 \rightarrow 3 \rightarrow (\cdots (3 \rightarrow 3 \rightarrow (3 \rightarrow 3) \rightarrow 1) \cdots ) \rightarrow 1) \rightarrow 1 }[/math]
[math]\displaystyle{ = 3 \rightarrow 3 \rightarrow 64 \rightarrow 2; }[/math]

[math]\displaystyle{ \left. \begin{matrix} = &3\underbrace{\uparrow \uparrow \cdots\cdots\cdots\cdot \uparrow}3 \\ &3\underbrace{\uparrow \uparrow \cdots\cdots\cdots \uparrow}3 \\ &\underbrace{\qquad\;\; \vdots \qquad\;\;} \\ &3\underbrace{\uparrow \uparrow \cdots\cdot \uparrow}3 \\ &3\uparrow 3 \end{matrix} \right\} \text{64 layers} }[/math]

[math]\displaystyle{ f^{64}(4) = G; }[/math]

[math]\displaystyle{ = 3 \rightarrow 3 \rightarrow (3 \rightarrow 3 \rightarrow (\cdots (3 \rightarrow 3 \rightarrow (3 \rightarrow 3 \rightarrow 4))\cdots )) }[/math] (with 64 [math]\displaystyle{ 3 \rightarrow 3 }[/math]'s)

[math]\displaystyle{ \left. \begin{matrix} = &3\underbrace{\uparrow \uparrow \cdots\cdots\cdots\cdot \uparrow}3 \\ &3\underbrace{\uparrow \uparrow \cdots\cdots\cdots \uparrow}3 \\ &\underbrace{\qquad\;\; \vdots \qquad\;\;} \\ &3\underbrace{\uparrow \uparrow \cdots\cdot \uparrow}3 \\ &3\uparrow \uparrow \uparrow \uparrow 3 \end{matrix} \right\} \text{64 layers} }[/math]

[math]\displaystyle{ f^{64}(27) }[/math]

[math]\displaystyle{ = 3 \rightarrow 3 \rightarrow (3 \rightarrow 3 \rightarrow (\cdots (3 \rightarrow 3 \rightarrow (3 \rightarrow 3 \rightarrow 27))\cdots )) }[/math] (with 64 [math]\displaystyle{ 3 \rightarrow 3 }[/math]'s)
[math]\displaystyle{ = 3 \rightarrow 3 \rightarrow (3 \rightarrow 3 \rightarrow (\cdots (3 \rightarrow 3 \rightarrow (3 \rightarrow 3 \rightarrow (3 \rightarrow 3)))\cdots )) }[/math] (with 65 [math]\displaystyle{ 3 \rightarrow 3 }[/math]'s)
[math]\displaystyle{ = 3 \rightarrow 3 \rightarrow 65 \rightarrow 2 }[/math] (computing as above).
[math]\displaystyle{ = f^{65}(1) }[/math]

[math]\displaystyle{ \left. \begin{matrix} = &3\underbrace{\uparrow \uparrow \cdots\cdots\cdots\cdot \uparrow}3 \\ &3\underbrace{\uparrow \uparrow \cdots\cdots\cdots \uparrow}3 \\ &\underbrace{\qquad\;\; \vdots \qquad\;\;} \\ &3\underbrace{\uparrow \uparrow \cdots\cdot \uparrow}3 \\ &3\uparrow 3 \end{matrix} \right\} \text{65 layers} }[/math]

Since f is strictly increasing,

[math]\displaystyle{ f^{64}(1) \lt f^{64}(4) \lt f^{64}(27) }[/math]

which is the given inequality.

With chained arrows, it is very easy to specify a number much greater than [math]\displaystyle{ G }[/math], for example, [math]\displaystyle{ 3 \rightarrow 3 \rightarrow 3 \rightarrow 3 }[/math].

[math]\displaystyle{ 3 \rightarrow 3 \rightarrow 3 \rightarrow 3 }[/math]

[math]\displaystyle{ = 3 \rightarrow 3 \rightarrow (3 \rightarrow 3 \rightarrow 27 \rightarrow 2) \rightarrow 2\, }[/math]
[math]\displaystyle{ = f^ {3 \rightarrow 3 \rightarrow 27 \rightarrow 2}(1) }[/math]
[math]\displaystyle{ = f^{f^{27}(1)}(1) }[/math]

[math]\displaystyle{ \left. \begin{matrix} = &3\underbrace{\uparrow \uparrow \cdots\cdots\cdots\cdot\cdot \uparrow}3 \\ &3\underbrace{\uparrow \uparrow \cdots\cdots\cdots\cdot \uparrow}3 \\ &3\underbrace{\uparrow \uparrow \cdots\cdots\cdots \uparrow}3 \\ &\underbrace{\qquad\;\; \vdots \qquad\;\;} \\ &3\underbrace{\uparrow \uparrow \cdots\cdot \uparrow}3 \\ &3\uparrow 3 \end{matrix} \right\} \left. \begin{matrix} 3\underbrace{\uparrow \uparrow \cdots\cdots\cdots\cdot \uparrow}3 \\ 3\underbrace{\uparrow \uparrow \cdots\cdots\cdots \uparrow}3 \\ \underbrace{\qquad\;\; \vdots \qquad\;\;} \\ 3\underbrace{\uparrow \uparrow \cdots\cdot \uparrow}3 \\ 3\uparrow 3 \end{matrix} \right\} \ 3\uparrow 3 = \text{27 layers} }[/math] which is much greater than Graham's number, because the number [math]\displaystyle{ 3 \rightarrow 3 \rightarrow 27 \rightarrow 2 }[/math] [math]\displaystyle{ = f^{27}(1) }[/math] is much greater than [math]\displaystyle{ 65 }[/math].

CG function

Conway and Guy created a simple, single-argument function that diagonalizes over the entire notation, defined as:

[math]\displaystyle{ cg(n) = \underbrace{n\rightarrow n\rightarrow n\rightarrow \dots \rightarrow n\rightarrow n\rightarrow n}_{n} }[/math]

meaning the sequence is:

[math]\displaystyle{ cg(1) = 1 }[/math]

[math]\displaystyle{ cg(2) = 2 \to 2 = 2^2 = 4 }[/math]

[math]\displaystyle{ cg(3) = 3 \to 3 \to 3 = 3\uparrow\uparrow\uparrow3 }[/math]

[math]\displaystyle{ cg(4) = 4 \to 4 \to 4 \to 4 }[/math]

[math]\displaystyle{ cg(5) = 5 \to 5 \to 5 \to 5 \to 5 }[/math]

...

This function, as one might expect, grows extraordinarily fast.

Extension by Peter Hurford

Peter Hurford, a web developer and statistician, has defined an extension to this notation:

[math]\displaystyle{ a \rightarrow_b c = \underbrace{a\rightarrow_{b-1} a\rightarrow_{b-1} a\rightarrow_{b-1} \dots \rightarrow_{b-1} a\rightarrow_{b-1} a\rightarrow_{b-1} a}_{c \text{ arrows}} }[/math]

[math]\displaystyle{ a \rightarrow_1 b = a \rightarrow b }[/math]

All normal rules are unchanged otherwise.

[math]\displaystyle{ a \rightarrow_2 (a-1) }[/math] is already equal to the aforementioned [math]\displaystyle{ cg(a) }[/math], and the function [math]\displaystyle{ f(n) = n \rightarrow_n n }[/math] is much faster growing than Conway and Guy's [math]\displaystyle{ cg(n) }[/math].

Note that expressions like [math]\displaystyle{ a \rightarrow_b c \rightarrow_d e }[/math] are illegal if [math]\displaystyle{ b }[/math] and [math]\displaystyle{ d }[/math] are different numbers; one chain must only have one type of right-arrow.

However, if we modify this slightly such that:

[math]\displaystyle{ a \rightarrow_b c \rightarrow_d e = a \rightarrow_b \underbrace{c \rightarrow_{d-1} c \rightarrow_{d-1} c \rightarrow_{d-1} \dots \rightarrow_{d-1} c \rightarrow_{d-1} c \rightarrow_{d-1} c}_{e \text{ arrows}} }[/math]

then not only does [math]\displaystyle{ a \rightarrow_b c \rightarrow_d e }[/math] become legal, but the notation as a whole becomes much stronger.[2]

See also

References

  1. John H. Conway & Richard K. Guy, The Book of Numbers, 1996, p.59-62
  2. "Large Numbers, Part 2: Graham and Conway - Greatplay.net". archive.is. 2013-06-25. http://www.greatplay.net/essays/large-numbers-part-ii-graham-and-conway. 

External links