Fractal: Difference between revisions

From BusyBeaverWiki
Jump to navigation Jump to search
mNo edit summary
(→‎Step counts: Make it more obvious how the step count equations were obtained)
 
(5 intermediate revisions by the same user not shown)
Line 3: Line 3:


== Example ==
== Example ==
The fractal {{TM|1RB0LA_1RC---_0RD0RC_1LD0LA}} is shown on the right, and portrays the most common type of fractal Turing machine. One can hypothesize that the fractal consists of two major parts: the left part consists of copies of the fractal at smaller scales, while the right part consists of an interrupted [[bouncer]].
The fractal {{TM|1RB0LA_1RC---_0RD0RC_1LD0LA}} is shown on the right, and portrays the most common type of fractal Turing machine. The fractal consists of two major parts: the left part consists of copies of the fractal at smaller scales, while the right part consists of an interrupted [[bouncer]].


The idea for the following analysis is to notice that, if '''X''' denotes the top quarter of the image, the spacetime diagram for the fractal seems to consist of two copies of '''X''', followed by another copy of '''X''' but modified such that the bouncers on the right are all increased in size by some constant. Hence we must consider not only '''X''', but also variants of '''X''' corresponding to any starting bouncer size. In other words, the starting bouncer size must be an additional parameter to our recursion. There will also be fillers between the copies of '''X''' in order to move the head to desired positions.
The idea for the following analysis is to notice that, if '''X''' denotes the top quarter of the image, the spacetime diagram for the fractal seems to consist of two copies of '''X''', followed by another copy of '''X''' but modified such that the bouncers on the right are all increased in size by some constant. Hence we must consider not only '''X''', but also variants of '''X''' corresponding to any starting bouncer size. In other words, the starting bouncer size must be an additional parameter to our recursion. There will also be fillers between the copies of '''X''' in order to move the head to desired positions.
Line 12: Line 12:
\mathbf R_{n+1,m} &= \mathbf R_{n,m}\ \mathrm D0^{2^n+m+1}\ \mathrm D1\ \mathrm A1^{2^{n+1}-1}\ \mathbf R_{n,0}\ \mathrm D1\ \mathbf R_{n,m + 2^n}.
\mathbf R_{n+1,m} &= \mathbf R_{n,m}\ \mathrm D0^{2^n+m+1}\ \mathrm D1\ \mathrm A1^{2^{n+1}-1}\ \mathbf R_{n,0}\ \mathrm D1\ \mathbf R_{n,m + 2^n}.
\end{align}</math>
\end{align}</math>
We can verify by induction on ''n'' that<blockquote>'''R'''<sub>''n'', ''m''</sub>: <code>A (0^2<sup>n</sup>)<0(1<sup>m</sup>)(0^(2<sup>n+1</sup>-1))  →  A (1^2<sup>n+1</sup>)(0^(2<sup>n</sup>+m))></code>.</blockquote>The source of '''R'''<sub>''n'', 0</sub> matches the starting configuration, and the length of '''R'''<sub>''n'', 0</sub> is easily seen to grow without bound. It follows that the [[transcript]] of this Turing machine is the limit of '''R'''<sub>''n'', 0</sub> as n approaches ∞.
We can verify by induction on ''n'' that
:'''R'''<sub>''n'', ''m''</sub>: <code>A (0^2<sup>n</sup>)<0(1<sup>m</sup>)(0^(2<sup>n+1</sup>-1))  →  D (1^2<sup>n+1</sup>)(0^(2<sup>n</sup>+m))></code>.
The source of '''R'''<sub>''n'', 0</sub> matches the starting configuration, and the length of '''R'''<sub>''n'', 0</sub> is easily seen to grow without bound. It follows that the [[transcript]] of this Turing machine is the limit of '''R'''<sub>''n'', 0</sub> as ''n'' approaches ∞.
 
=== Step counts ===
By taking lengths of the formulas in the equations for '''R'''<sub>''n'', ''m''</sub>, we find that the step counts ''a<sub>n</sub>'' = |'''R'''<sub>n</sub>| obey the recurrence
:<math>\begin{align}
a_{0,m} &= m + 3 \\
a_{n+1, m} &= a_{n, m} + a_{n,0} + a_{n, m+2^n} + 3\cdot 2^n + m + 2.
\end{align}</math>
Using the ansatz <math>a_{n,m} = f_nm+g_n</math>, we find that the solution to the recurrence is
:<math>a_{n,m} = (2^{n+1}-1)m + 2\cdot 4^n+4\cdot 3^n-2\cdot 2^n-1</math>.
In particular,
:<math>a_{n,0} = 2\cdot 4^n+4\cdot 3^n-2\cdot 2^n-1.</math>
[[Category: Zoology]]

Latest revision as of 05:56, 30 December 2024

1RB0LA_1RC---_0RD0RC_1LD0LA
The fractal 1RB0LA_1RC---_0RD0RC_1LD0LA (bbch).

A fractal is a non-halting Turing machine that displays self-similarity at different scales.

Example

The fractal 1RB0LA_1RC---_0RD0RC_1LD0LA (bbch) is shown on the right, and portrays the most common type of fractal Turing machine. The fractal consists of two major parts: the left part consists of copies of the fractal at smaller scales, while the right part consists of an interrupted bouncer.

The idea for the following analysis is to notice that, if X denotes the top quarter of the image, the spacetime diagram for the fractal seems to consist of two copies of X, followed by another copy of X but modified such that the bouncers on the right are all increased in size by some constant. Hence we must consider not only X, but also variants of X corresponding to any starting bouncer size. In other words, the starting bouncer size must be an additional parameter to our recursion. There will also be fillers between the copies of X in order to move the head to desired positions.

With this idea, define a two-parameter family of macro steps Rn, m recursively as follows:

We can verify by induction on n that

Rn, m: A (0^2n)<0(1m)(0^(2n+1-1)) → D (1^2n+1)(0^(2n+m))>.

The source of Rn, 0 matches the starting configuration, and the length of Rn, 0 is easily seen to grow without bound. It follows that the transcript of this Turing machine is the limit of Rn, 0 as n approaches ∞.

Step counts

By taking lengths of the formulas in the equations for Rn, m, we find that the step counts an = |Rn| obey the recurrence

Using the ansatz , we find that the solution to the recurrence is

.

In particular,