SlideShare a Scribd company logo
1 of 18
Download to read offline
Box dimension and Turing machines The experiment Demo
Fractal Dimension of Space-time Diagrams
and the Runtime Complexity of Small Turing
Machines
Joost Joosten, Fernando Soler-Toscano and Hector Zenil
jjoosten@ub.edu, fsoler@us.es, hectorz@labores.eu
MCU 2013, Z¨urich
September, 2013
Fractal Dimension of Space-time Diagrams and the Runtime Complexity of Small Turing Machines
Box dimension and Turing machines The experiment Demo
The small Turing Machine database
Small Turing machines
We consider Turing machines where the tape extends infinitely in
one direction (to the left in the diagrams)
Each tape cell contains one symbol (color)
We use just two colors: black and white
A Turing machine starts its computation with the head at the first
tape cell (beginning of the tape)
The input of the computation is written at the initial cells
The computation ends when the machine is at the beginning of
the tape and moves to the right (out of the tape)
The tape configuration upon termination of a computation is
called the output
The set of Turing machines with n states and k colors is
represented by (n, k)
We have enumerated the machines in (n, k) from 0 to (2·n·k)n·k
−1
We present the results of an exhaustive study of (2, 2) and (3, 2)
Fractal Dimension of Space-time Diagrams and the Runtime Complexity of Small Turing Machines
Box dimension and Turing machines The experiment Demo
The small Turing Machine database
Space-time diagrams
A space-time diagram for some computation is the joint
collection of consecutive memory configurations
The top-row of each diagram
represents the input (1 to 14)
The computation starts with
the head of the TM in state 1
in the rightmost cell
Each lower row represents the
tape configuration of a next
step in the computation
These space-time diagrams define spatial objects by focussing
on the black cells. We can measure the geometrical complexity.
We wish to see if there is a relation between this geometrical
complexity and the computational complexity (space or time
usage) of the TM in question.
Fractal Dimension of Space-time Diagrams and the Runtime Complexity of Small Turing Machines
Box dimension and Turing machines The experiment Demo
Fractal dimensions
Box dimension
The notion of Box dimension was introduced by Kolmogorov as
a simplification of the Hausdorff dimension
Suppose we have a mathematical object S of bounded size. The
idea is to cover S with boxes in Rn
and estimate the “volume”
V(S) of S as function of the total number of boxes N(S) needed to
cover S: V(S) = limr↓0 rd
N(S, r)
Definition (Box dimension)
Let S be some spatial object that can be embedded in some Rn
, let
N(S, r) denote the minimal number of boxes of size r needed to fully
cover S. The Box dimension of S is denoted by δ(S) and is defined by
δ(S) := lim
r↓0
log(N(S, r))
log(1
r )
in case this limit is well defined. In all other cases we shall say that
δ(S) is undefined.
Fractal Dimension of Space-time Diagrams and the Runtime Complexity of Small Turing Machines
Box dimension and Turing machines The experiment Demo
Fractal dimensions
Box dimension for Space-Time diagrams
We adapt the notion of Box dimension to space-time diagrams
Clearly, for each input on which the TM halts the corresponding
space-time diagram has dimension 2: it’s a piece of surface
It gets interesting when we consider limiting behavior of the TM
Definition (Box dimension of a Turing machine)
Let τ be a TM that converges on infinitely many input values x. In
case τ(x) ↓, let N(τ, x) denote the number of black cells in the
space-time diagram of τ on input x and let t(τ, x) denote the number
of steps needed for τ to halt on x.
We will define the Box dimension of a TM τ and denote it by d(τ). In
case t(τ, x) is constant from some x onwards, we define d(τ) := 2.
Otherwise, we define
d(τ) := lim inf
x→∞
log N(τ, x)
log t(τ, x)
.
Fractal Dimension of Space-time Diagrams and the Runtime Complexity of Small Turing Machines
Box dimension and Turing machines The experiment Demo
The Space-Time Theorem and applications
The Space-time Theorem: upper and lower bounds
Theorem (Space-time Theorem: upper bound)
Let us, for a given TM τ, denote by s(x) the number of cells visited by
τ on input x, and let t(x) denote the number of computation steps it
took τ to terminate on input x.
If lim infx→∞
log(s(x))
log(t(x)) = n then d(τ) ≤ 1 + n.
Lemma (lower bound)
For each TM τ we have that d(τ) ≥ 1.
Fractal Dimension of Space-time Diagrams and the Runtime Complexity of Small Turing Machines
Box dimension and Turing machines The experiment Demo
The Space-Time Theorem and applications
The Upper Bound Conjecture
Lemma
In case a TM τ uses polynomial space, and runs super-polynomial
time we have that d(τ) = 1.
More in general, if τ uses space sτ(x) and time tτ(x) on input x then
lim inf
x→∞
log sτ(x)
log tτ(x)
= 0 ⇐⇒ d(τ) = 1.
Conjecture (Upper Bound Conjecture)
We conjecture that for each n ∈ ω and each TM τ in (n, 2) space that
d(τ) = 1 + lim inf
x→∞
log sτ(x)
log tτ(x)
Fractal Dimension of Space-time Diagrams and the Runtime Complexity of Small Turing Machines
Box dimension and Turing machines The experiment Demo
The Space-Time Theorem and applications
The Space-Time Theorem and P versus NP
Using the previous Lemma, we can state a separation of P and
NP in terms of dimensions:
Let Π be some NP-complete problem
If for each PSPACE Turing machine τ that decides Π we have that
d(τ) = 1, then P NP.
Clearly, this does not constitute a real strategy since, in general, it
is undecidable whether d(τ) = 1
Fractal Dimension of Space-time Diagrams and the Runtime Complexity of Small Turing Machines
Box dimension and Turing machines The experiment Demo
Methodology
Slow convergence
Our aim is to use computer experiments to compute the Box
dimension of all TMs τ where d(τ) is not predicted by any
theoretical result.
A substantial complication is caused by the
occurrence of logarithms in d(τ)
As a consequence, increase in precision of
d(τ) requires exponentially larger inputs
For (2, 2) TM 346 we know that its Box dimension is 2, but we can
see in the picture how slow the rate of convergence is
Our way out here is to apply numerical and mathematical
analysis to the functions involved so that we can retrieve their
limit behavior.
We are interested in three different functions:
tτ(x), number of time-steps needed for τ to halt on input x
Nτ(x), number of black cells in the space-time diagram of τ on
input x
sτ(x), number of tape cells visited by τ on input x
Fractal Dimension of Space-time Diagrams and the Runtime Complexity of Small Turing Machines
Box dimension and Turing machines The experiment Demo
Methodology
Steps followed
Each TM in (2, 2) also occurs in (3, 2) so for the final results it
suffices to focus on this data-set. We isolated the TMs for which
there is no theorem that predicts the corresponding dimension.
Boxes Runtime Space Machines
O(n3) O(n2) O(n) 3358
O(n4) O(n3) O(n) 6
o(P) o(P) o(P) 14
Per TM τ, we determined its functions sτ(x) (space), tτ(x) (time)
and Nτ(x) (black cells). We used FindSequenceFunction and
other Mathematica functions. This is the hard work!
Per TM τ, we computed its dimension d(τ) as
d(τ) = lim infx→∞
log(Nτ(x))
log(tτ(x))
Per TM τ, we compared its dimension d(τ) to its theoretical
upper bound 1 + lim infx→∞
log(sτ(x))
log(tτ(x))
Fractal Dimension of Space-time Diagrams and the Runtime Complexity of Small Turing Machines
Box dimension and Turing machines The experiment Demo
Methodology
Alternating convergent behavior
Some machines have alternating asymptotic behavior
This is the most extreme example (TM 1,728,529):
For convenience we have changed the
orientation of the diagrams so that time
‘goes from left to right’ instead of from
‘top to bottom’.
In a sense this TM incorporates two
different algorithms to compute this
output: one in linear time, the other, in
exponential time.
We have found alternating sequences of periodicity 2, 3 and 6
The periodicity typically reflects either the number of states, the
number of colors, or a divisor of their product.
It is this alternating behavior which complicated the analysis of
the data set in a straight-forward automated fashion.
Fractal Dimension of Space-time Diagrams and the Runtime Complexity of Small Turing Machines
Box dimension and Turing machines The experiment Demo
Most salient results of the experiment
Findings in (2, 2) space
In (2, 2) there was a total of 74 different functions. Only 5 of them
where computed by some super-linear time TMs
In total, in (2, 2) space, there are only 7 TMs that run in
super-polynomial time. Three of them run in exp-time, all
computing the tape-identity. The other four (see below) TMs
compute different functions (that roughly double the tape input)
All these four TMs perform in quadratic time and linear space.
The dimension for these functions is 3
2 . This is exactly the upper
bound as predicted by the Space-Time Theorem.
Fractal Dimension of Space-time Diagrams and the Runtime Complexity of Small Turing Machines
Box dimension and Turing machines The experiment Demo
Most salient results of the experiment
Findings in (3, 2) space
The (3, 2) space contains 2,985,984 many different TMs which
compute 3,886 different functions
Almost all TMs used at most linear space for their computations
The only exception to this was when the TM used exponential
space
Busy Beaver: we call a TM β a Busy Beaver whenever for each
TM τ, there is some value x0 so that for all x ≥ x0 we have
tβ(x) ≥ tτ(x)
Twin Machines 599,063 and 666,364 are the Busy Beavers in (3,2)
space, running in exponential space and time.
They compute the largest runtime, space and boxes sequences.
They also produce the longest output strings. Fractal dim.: 3/2
Fractal Dimension of Space-time Diagrams and the Runtime Complexity of Small Turing Machines
Box dimension and Turing machines The experiment Demo
Most salient results of the experiment
The space-time theorem revisited
One of our most important empirical findings is that the upper bound
as given by the Space-Time Theorem is actually always attained in
(3, 2) space.
Finding 1
For all TMs τ in (3,2) space we found that
d(τ) = 1 + lim inf
x→∞
log(sτ(x))
log(tτ(x))
as conjectured in the Upper Bound Conjecture that this holds in
general for TMs with a larger number of states.
Fractal Dimension of Space-time Diagrams and the Runtime Complexity of Small Turing Machines
Box dimension and Turing machines The experiment Demo
Most salient results of the experiment
Other findings
Finding 2
For all TMs τ in (3,2) space we found that d(τ) = 1 if and only if the
TM ran in super-polynomial time using polynomial space. We
suspect that this equivalence holds no longer true in higher spaces,
i.e., spaces (n, 2) for n > 3.
Finding 3
For all TMs τ in (3,2) space we found that d(τ) = 2 if and only if the
TM ran in at most linear time. It is unknown if this equivalence holds
true in higher spaces (the “if” part holds in general and is proven in
previous lemmas)
Fractal Dimension of Space-time Diagrams and the Runtime Complexity of Small Turing Machines
Box dimension and Turing machines The experiment Demo
Most salient results of the experiment
Richness in the (3, 2) space
We have found two symmetric performers for even inputs
This can only occur in machines computing the tape identity and
requires strong conditions
It’s surprising that such constraints can be met in (3, 2)
Fractal Dimension of Space-time Diagrams and the Runtime Complexity of Small Turing Machines
Box dimension and Turing machines The experiment Demo
Demo
We have prepared a demo to visualize the space-time diagrams
for several TMs in (3, 2)
It will be published in Wolfram Demonstrations Project, and it’s
available upon request
Fractal Dimension of Space-time Diagrams and the Runtime Complexity of Small Turing Machines
Box dimension and Turing machines The experiment Demo
Demo
Fractal Dimension of Space-time Diagrams and the Runtime Complexity of Small Turing Machines

More Related Content

What's hot

A NEW PARALLEL ALGORITHM FOR COMPUTING MINIMUM SPANNING TREE
A NEW PARALLEL ALGORITHM FOR COMPUTING MINIMUM SPANNING TREEA NEW PARALLEL ALGORITHM FOR COMPUTING MINIMUM SPANNING TREE
A NEW PARALLEL ALGORITHM FOR COMPUTING MINIMUM SPANNING TREEijscmc
 
Machine Learning for Trading
Machine Learning for TradingMachine Learning for Trading
Machine Learning for TradingLarry Guo
 
Heuristic Sensing Schemes for Four-Target Detection in Time-Constrained Vecto...
Heuristic Sensing Schemes for Four-Target Detection in Time-Constrained Vecto...Heuristic Sensing Schemes for Four-Target Detection in Time-Constrained Vecto...
Heuristic Sensing Schemes for Four-Target Detection in Time-Constrained Vecto...sipij
 
Graph Kernels for Chemical Informatics
Graph Kernels for Chemical InformaticsGraph Kernels for Chemical Informatics
Graph Kernels for Chemical InformaticsMukund Raj
 
Quantum Computation and Information
Quantum Computation and InformationQuantum Computation and Information
Quantum Computation and InformationXequeMateShannon
 
Numerical Methods
Numerical MethodsNumerical Methods
Numerical MethodsESUG
 
P, NP, NP-Complete, and NP-Hard
P, NP, NP-Complete, and NP-HardP, NP, NP-Complete, and NP-Hard
P, NP, NP-Complete, and NP-HardAnimesh Chaturvedi
 

What's hot (18)

NP completeness
NP completenessNP completeness
NP completeness
 
Digital Signal Processing Assignment Help
Digital Signal Processing Assignment HelpDigital Signal Processing Assignment Help
Digital Signal Processing Assignment Help
 
A NEW PARALLEL ALGORITHM FOR COMPUTING MINIMUM SPANNING TREE
A NEW PARALLEL ALGORITHM FOR COMPUTING MINIMUM SPANNING TREEA NEW PARALLEL ALGORITHM FOR COMPUTING MINIMUM SPANNING TREE
A NEW PARALLEL ALGORITHM FOR COMPUTING MINIMUM SPANNING TREE
 
Signal Processing Assignment Help
Signal Processing Assignment HelpSignal Processing Assignment Help
Signal Processing Assignment Help
 
Machine Learning for Trading
Machine Learning for TradingMachine Learning for Trading
Machine Learning for Trading
 
Heuristic Sensing Schemes for Four-Target Detection in Time-Constrained Vecto...
Heuristic Sensing Schemes for Four-Target Detection in Time-Constrained Vecto...Heuristic Sensing Schemes for Four-Target Detection in Time-Constrained Vecto...
Heuristic Sensing Schemes for Four-Target Detection in Time-Constrained Vecto...
 
algorithm Unit 5
algorithm Unit 5 algorithm Unit 5
algorithm Unit 5
 
Signal Processing Assignment Help
Signal Processing Assignment HelpSignal Processing Assignment Help
Signal Processing Assignment Help
 
algorithm unit 1
algorithm unit 1algorithm unit 1
algorithm unit 1
 
algorithm Unit 2
algorithm Unit 2 algorithm Unit 2
algorithm Unit 2
 
1 6
1 61 6
1 6
 
Diffusion Homework Help
Diffusion Homework HelpDiffusion Homework Help
Diffusion Homework Help
 
Graph Kernels for Chemical Informatics
Graph Kernels for Chemical InformaticsGraph Kernels for Chemical Informatics
Graph Kernels for Chemical Informatics
 
Quantum Computation and Information
Quantum Computation and InformationQuantum Computation and Information
Quantum Computation and Information
 
Machnical Engineering Assignment Help
Machnical Engineering Assignment HelpMachnical Engineering Assignment Help
Machnical Engineering Assignment Help
 
algorithm Unit 4
algorithm Unit 4 algorithm Unit 4
algorithm Unit 4
 
Numerical Methods
Numerical MethodsNumerical Methods
Numerical Methods
 
P, NP, NP-Complete, and NP-Hard
P, NP, NP-Complete, and NP-HardP, NP, NP-Complete, and NP-Hard
P, NP, NP-Complete, and NP-Hard
 

Similar to Fractal Dimension of Space-time Diagrams and the Runtime Complexity of Small Turing Machines

Fractal dimension versus Computational Complexity
Fractal dimension versus Computational ComplexityFractal dimension versus Computational Complexity
Fractal dimension versus Computational ComplexityHector Zenil
 
Random process and noise
Random process and noiseRandom process and noise
Random process and noisePunk Pankaj
 
Computational Complexity: Introduction-Turing Machines-Undecidability
Computational Complexity: Introduction-Turing Machines-UndecidabilityComputational Complexity: Introduction-Turing Machines-Undecidability
Computational Complexity: Introduction-Turing Machines-UndecidabilityAntonis Antonopoulos
 
Introduction to complexity theory assignment
Introduction to complexity theory assignmentIntroduction to complexity theory assignment
Introduction to complexity theory assignmenttesfahunegn minwuyelet
 
pradeepbishtLecture13 div conq
pradeepbishtLecture13 div conqpradeepbishtLecture13 div conq
pradeepbishtLecture13 div conqPradeep Bisht
 
2010 3-24 cryptography stamatiou
2010 3-24 cryptography stamatiou2010 3-24 cryptography stamatiou
2010 3-24 cryptography stamatiouvafopoulos
 
Computational Complexity: Complexity Classes
Computational Complexity: Complexity ClassesComputational Complexity: Complexity Classes
Computational Complexity: Complexity ClassesAntonis Antonopoulos
 
Module 1 notes of data warehousing and data
Module 1 notes of data warehousing and dataModule 1 notes of data warehousing and data
Module 1 notes of data warehousing and datavijipersonal2012
 
Data Structure & Algorithms - Mathematical
Data Structure & Algorithms - MathematicalData Structure & Algorithms - Mathematical
Data Structure & Algorithms - Mathematicalbabuk110
 
SURF 2012 Final Report(1)
SURF 2012 Final Report(1)SURF 2012 Final Report(1)
SURF 2012 Final Report(1)Eric Zhang
 
Basic Computer Engineering Unit II as per RGPV Syllabus
Basic Computer Engineering Unit II as per RGPV SyllabusBasic Computer Engineering Unit II as per RGPV Syllabus
Basic Computer Engineering Unit II as per RGPV SyllabusNANDINI SHARMA
 
Introducción al Análisis y diseño de algoritmos
Introducción al Análisis y diseño de algoritmosIntroducción al Análisis y diseño de algoritmos
Introducción al Análisis y diseño de algoritmosluzenith_g
 
time_complexity_list_02_04_2024_22_pages.pdf
time_complexity_list_02_04_2024_22_pages.pdftime_complexity_list_02_04_2024_22_pages.pdf
time_complexity_list_02_04_2024_22_pages.pdfSrinivasaReddyPolamR
 

Similar to Fractal Dimension of Space-time Diagrams and the Runtime Complexity of Small Turing Machines (20)

Fractal dimension versus Computational Complexity
Fractal dimension versus Computational ComplexityFractal dimension versus Computational Complexity
Fractal dimension versus Computational Complexity
 
Random process and noise
Random process and noiseRandom process and noise
Random process and noise
 
Computational Complexity: Introduction-Turing Machines-Undecidability
Computational Complexity: Introduction-Turing Machines-UndecidabilityComputational Complexity: Introduction-Turing Machines-Undecidability
Computational Complexity: Introduction-Turing Machines-Undecidability
 
02 Notes Divide and Conquer
02 Notes Divide and Conquer02 Notes Divide and Conquer
02 Notes Divide and Conquer
 
Introduction to complexity theory assignment
Introduction to complexity theory assignmentIntroduction to complexity theory assignment
Introduction to complexity theory assignment
 
Hypocenter
HypocenterHypocenter
Hypocenter
 
pradeepbishtLecture13 div conq
pradeepbishtLecture13 div conqpradeepbishtLecture13 div conq
pradeepbishtLecture13 div conq
 
2010 3-24 cryptography stamatiou
2010 3-24 cryptography stamatiou2010 3-24 cryptography stamatiou
2010 3-24 cryptography stamatiou
 
Computational Complexity: Complexity Classes
Computational Complexity: Complexity ClassesComputational Complexity: Complexity Classes
Computational Complexity: Complexity Classes
 
Turing machine
Turing machineTuring machine
Turing machine
 
Module 1 notes of data warehousing and data
Module 1 notes of data warehousing and dataModule 1 notes of data warehousing and data
Module 1 notes of data warehousing and data
 
Data Structure & Algorithms - Mathematical
Data Structure & Algorithms - MathematicalData Structure & Algorithms - Mathematical
Data Structure & Algorithms - Mathematical
 
Unit 3
Unit 3Unit 3
Unit 3
 
Unit 3
Unit 3Unit 3
Unit 3
 
SURF 2012 Final Report(1)
SURF 2012 Final Report(1)SURF 2012 Final Report(1)
SURF 2012 Final Report(1)
 
Basic Computer Engineering Unit II as per RGPV Syllabus
Basic Computer Engineering Unit II as per RGPV SyllabusBasic Computer Engineering Unit II as per RGPV Syllabus
Basic Computer Engineering Unit II as per RGPV Syllabus
 
residue
residueresidue
residue
 
Introducción al Análisis y diseño de algoritmos
Introducción al Análisis y diseño de algoritmosIntroducción al Análisis y diseño de algoritmos
Introducción al Análisis y diseño de algoritmos
 
time_complexity_list_02_04_2024_22_pages.pdf
time_complexity_list_02_04_2024_22_pages.pdftime_complexity_list_02_04_2024_22_pages.pdf
time_complexity_list_02_04_2024_22_pages.pdf
 
Alg1
Alg1Alg1
Alg1
 

More from Hector Zenil

4.11: The Infinite Programming Monkey
4.11: The Infinite Programming Monkey4.11: The Infinite Programming Monkey
4.11: The Infinite Programming MonkeyHector Zenil
 
4.12: The Algorithmic Coding Theorem
4.12: The Algorithmic Coding Theorem4.12: The Algorithmic Coding Theorem
4.12: The Algorithmic Coding TheoremHector Zenil
 
4.13: Bennett's Logical Depth: A Measure of Sophistication
4.13: Bennett's Logical Depth: A Measure of Sophistication 4.13: Bennett's Logical Depth: A Measure of Sophistication
4.13: Bennett's Logical Depth: A Measure of Sophistication Hector Zenil
 
4.10: Algorithmic Probability & the Universal Distribution
4.10: Algorithmic Probability & the Universal Distribution 4.10: Algorithmic Probability & the Universal Distribution
4.10: Algorithmic Probability & the Universal Distribution Hector Zenil
 
4.9: The Chaitin-Leibniz Medal
4.9: The Chaitin-Leibniz Medal4.9: The Chaitin-Leibniz Medal
4.9: The Chaitin-Leibniz MedalHector Zenil
 
4.8: Epistemological Aspects of Infinite Wisdom
4.8: Epistemological Aspects of Infinite Wisdom4.8: Epistemological Aspects of Infinite Wisdom
4.8: Epistemological Aspects of Infinite WisdomHector Zenil
 
4.7: Chaitin's Omega Number
4.7: Chaitin's Omega Number4.7: Chaitin's Omega Number
4.7: Chaitin's Omega NumberHector Zenil
 
4.6: Convergence of Definitions
4.6: Convergence of Definitions4.6: Convergence of Definitions
4.6: Convergence of DefinitionsHector Zenil
 
4.5: The Invariance Theorem
4.5: The Invariance Theorem4.5: The Invariance Theorem
4.5: The Invariance TheoremHector Zenil
 
4.4: Algorithmic Complexity and Compressibility
4.4: Algorithmic Complexity and Compressibility4.4: Algorithmic Complexity and Compressibility
4.4: Algorithmic Complexity and CompressibilityHector Zenil
 
4.3: Pseudo Randomness
4.3: Pseudo Randomness4.3: Pseudo Randomness
4.3: Pseudo RandomnessHector Zenil
 
4.1 Sources of Randomness
4.1 Sources of Randomness4.1 Sources of Randomness
4.1 Sources of RandomnessHector Zenil
 
Unit 3: Classical information
Unit 3: Classical informationUnit 3: Classical information
Unit 3: Classical informationHector Zenil
 
Unit 3: Shannon entropy and meaning
Unit 3: Shannon entropy and meaningUnit 3: Shannon entropy and meaning
Unit 3: Shannon entropy and meaningHector Zenil
 
Unit 3: Joint, Conditional, Mutual Information, & a Case Study
Unit 3: Joint, Conditional, Mutual Information, & a Case StudyUnit 3: Joint, Conditional, Mutual Information, & a Case Study
Unit 3: Joint, Conditional, Mutual Information, & a Case StudyHector Zenil
 
Unit 3: Entropy rate, languages and multidimensional data
Unit 3: Entropy rate, languages and multidimensional dataUnit 3: Entropy rate, languages and multidimensional data
Unit 3: Entropy rate, languages and multidimensional dataHector Zenil
 
Unit 3: Redundancy, noise, and biological information
Unit 3: Redundancy, noise, and biological informationUnit 3: Redundancy, noise, and biological information
Unit 3: Redundancy, noise, and biological informationHector Zenil
 

More from Hector Zenil (20)

Unit 2: All
Unit 2: AllUnit 2: All
Unit 2: All
 
Unit 5: All
Unit 5: AllUnit 5: All
Unit 5: All
 
Unit 6: All
Unit 6: AllUnit 6: All
Unit 6: All
 
4.11: The Infinite Programming Monkey
4.11: The Infinite Programming Monkey4.11: The Infinite Programming Monkey
4.11: The Infinite Programming Monkey
 
4.12: The Algorithmic Coding Theorem
4.12: The Algorithmic Coding Theorem4.12: The Algorithmic Coding Theorem
4.12: The Algorithmic Coding Theorem
 
4.13: Bennett's Logical Depth: A Measure of Sophistication
4.13: Bennett's Logical Depth: A Measure of Sophistication 4.13: Bennett's Logical Depth: A Measure of Sophistication
4.13: Bennett's Logical Depth: A Measure of Sophistication
 
4.10: Algorithmic Probability & the Universal Distribution
4.10: Algorithmic Probability & the Universal Distribution 4.10: Algorithmic Probability & the Universal Distribution
4.10: Algorithmic Probability & the Universal Distribution
 
4.9: The Chaitin-Leibniz Medal
4.9: The Chaitin-Leibniz Medal4.9: The Chaitin-Leibniz Medal
4.9: The Chaitin-Leibniz Medal
 
4.8: Epistemological Aspects of Infinite Wisdom
4.8: Epistemological Aspects of Infinite Wisdom4.8: Epistemological Aspects of Infinite Wisdom
4.8: Epistemological Aspects of Infinite Wisdom
 
4.7: Chaitin's Omega Number
4.7: Chaitin's Omega Number4.7: Chaitin's Omega Number
4.7: Chaitin's Omega Number
 
4.6: Convergence of Definitions
4.6: Convergence of Definitions4.6: Convergence of Definitions
4.6: Convergence of Definitions
 
4.5: The Invariance Theorem
4.5: The Invariance Theorem4.5: The Invariance Theorem
4.5: The Invariance Theorem
 
4.4: Algorithmic Complexity and Compressibility
4.4: Algorithmic Complexity and Compressibility4.4: Algorithmic Complexity and Compressibility
4.4: Algorithmic Complexity and Compressibility
 
4.3: Pseudo Randomness
4.3: Pseudo Randomness4.3: Pseudo Randomness
4.3: Pseudo Randomness
 
4.1 Sources of Randomness
4.1 Sources of Randomness4.1 Sources of Randomness
4.1 Sources of Randomness
 
Unit 3: Classical information
Unit 3: Classical informationUnit 3: Classical information
Unit 3: Classical information
 
Unit 3: Shannon entropy and meaning
Unit 3: Shannon entropy and meaningUnit 3: Shannon entropy and meaning
Unit 3: Shannon entropy and meaning
 
Unit 3: Joint, Conditional, Mutual Information, & a Case Study
Unit 3: Joint, Conditional, Mutual Information, & a Case StudyUnit 3: Joint, Conditional, Mutual Information, & a Case Study
Unit 3: Joint, Conditional, Mutual Information, & a Case Study
 
Unit 3: Entropy rate, languages and multidimensional data
Unit 3: Entropy rate, languages and multidimensional dataUnit 3: Entropy rate, languages and multidimensional data
Unit 3: Entropy rate, languages and multidimensional data
 
Unit 3: Redundancy, noise, and biological information
Unit 3: Redundancy, noise, and biological informationUnit 3: Redundancy, noise, and biological information
Unit 3: Redundancy, noise, and biological information
 

Recently uploaded

FILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipinoFILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipinojohnmickonozaleda
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSJoshuaGantuangco2
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...Nguyen Thanh Tu Collection
 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfErwinPantujan2
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfSpandanaRallapalli
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptxSherlyMaeNeri
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxHumphrey A Beña
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptxmary850239
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Jisc
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfTechSoup
 
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptxiammrhaywood
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management systemChristalin Nelson
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parentsnavabharathschool99
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxCarlos105
 

Recently uploaded (20)

FILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipinoFILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipino
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
 
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptxYOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdf
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptx
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
 
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptxLEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
 
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management system
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parents
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
 

Fractal Dimension of Space-time Diagrams and the Runtime Complexity of Small Turing Machines

  • 1. Box dimension and Turing machines The experiment Demo Fractal Dimension of Space-time Diagrams and the Runtime Complexity of Small Turing Machines Joost Joosten, Fernando Soler-Toscano and Hector Zenil jjoosten@ub.edu, fsoler@us.es, hectorz@labores.eu MCU 2013, Z¨urich September, 2013 Fractal Dimension of Space-time Diagrams and the Runtime Complexity of Small Turing Machines
  • 2. Box dimension and Turing machines The experiment Demo The small Turing Machine database Small Turing machines We consider Turing machines where the tape extends infinitely in one direction (to the left in the diagrams) Each tape cell contains one symbol (color) We use just two colors: black and white A Turing machine starts its computation with the head at the first tape cell (beginning of the tape) The input of the computation is written at the initial cells The computation ends when the machine is at the beginning of the tape and moves to the right (out of the tape) The tape configuration upon termination of a computation is called the output The set of Turing machines with n states and k colors is represented by (n, k) We have enumerated the machines in (n, k) from 0 to (2·n·k)n·k −1 We present the results of an exhaustive study of (2, 2) and (3, 2) Fractal Dimension of Space-time Diagrams and the Runtime Complexity of Small Turing Machines
  • 3. Box dimension and Turing machines The experiment Demo The small Turing Machine database Space-time diagrams A space-time diagram for some computation is the joint collection of consecutive memory configurations The top-row of each diagram represents the input (1 to 14) The computation starts with the head of the TM in state 1 in the rightmost cell Each lower row represents the tape configuration of a next step in the computation These space-time diagrams define spatial objects by focussing on the black cells. We can measure the geometrical complexity. We wish to see if there is a relation between this geometrical complexity and the computational complexity (space or time usage) of the TM in question. Fractal Dimension of Space-time Diagrams and the Runtime Complexity of Small Turing Machines
  • 4. Box dimension and Turing machines The experiment Demo Fractal dimensions Box dimension The notion of Box dimension was introduced by Kolmogorov as a simplification of the Hausdorff dimension Suppose we have a mathematical object S of bounded size. The idea is to cover S with boxes in Rn and estimate the “volume” V(S) of S as function of the total number of boxes N(S) needed to cover S: V(S) = limr↓0 rd N(S, r) Definition (Box dimension) Let S be some spatial object that can be embedded in some Rn , let N(S, r) denote the minimal number of boxes of size r needed to fully cover S. The Box dimension of S is denoted by δ(S) and is defined by δ(S) := lim r↓0 log(N(S, r)) log(1 r ) in case this limit is well defined. In all other cases we shall say that δ(S) is undefined. Fractal Dimension of Space-time Diagrams and the Runtime Complexity of Small Turing Machines
  • 5. Box dimension and Turing machines The experiment Demo Fractal dimensions Box dimension for Space-Time diagrams We adapt the notion of Box dimension to space-time diagrams Clearly, for each input on which the TM halts the corresponding space-time diagram has dimension 2: it’s a piece of surface It gets interesting when we consider limiting behavior of the TM Definition (Box dimension of a Turing machine) Let τ be a TM that converges on infinitely many input values x. In case τ(x) ↓, let N(τ, x) denote the number of black cells in the space-time diagram of τ on input x and let t(τ, x) denote the number of steps needed for τ to halt on x. We will define the Box dimension of a TM τ and denote it by d(τ). In case t(τ, x) is constant from some x onwards, we define d(τ) := 2. Otherwise, we define d(τ) := lim inf x→∞ log N(τ, x) log t(τ, x) . Fractal Dimension of Space-time Diagrams and the Runtime Complexity of Small Turing Machines
  • 6. Box dimension and Turing machines The experiment Demo The Space-Time Theorem and applications The Space-time Theorem: upper and lower bounds Theorem (Space-time Theorem: upper bound) Let us, for a given TM τ, denote by s(x) the number of cells visited by τ on input x, and let t(x) denote the number of computation steps it took τ to terminate on input x. If lim infx→∞ log(s(x)) log(t(x)) = n then d(τ) ≤ 1 + n. Lemma (lower bound) For each TM τ we have that d(τ) ≥ 1. Fractal Dimension of Space-time Diagrams and the Runtime Complexity of Small Turing Machines
  • 7. Box dimension and Turing machines The experiment Demo The Space-Time Theorem and applications The Upper Bound Conjecture Lemma In case a TM τ uses polynomial space, and runs super-polynomial time we have that d(τ) = 1. More in general, if τ uses space sτ(x) and time tτ(x) on input x then lim inf x→∞ log sτ(x) log tτ(x) = 0 ⇐⇒ d(τ) = 1. Conjecture (Upper Bound Conjecture) We conjecture that for each n ∈ ω and each TM τ in (n, 2) space that d(τ) = 1 + lim inf x→∞ log sτ(x) log tτ(x) Fractal Dimension of Space-time Diagrams and the Runtime Complexity of Small Turing Machines
  • 8. Box dimension and Turing machines The experiment Demo The Space-Time Theorem and applications The Space-Time Theorem and P versus NP Using the previous Lemma, we can state a separation of P and NP in terms of dimensions: Let Π be some NP-complete problem If for each PSPACE Turing machine τ that decides Π we have that d(τ) = 1, then P NP. Clearly, this does not constitute a real strategy since, in general, it is undecidable whether d(τ) = 1 Fractal Dimension of Space-time Diagrams and the Runtime Complexity of Small Turing Machines
  • 9. Box dimension and Turing machines The experiment Demo Methodology Slow convergence Our aim is to use computer experiments to compute the Box dimension of all TMs τ where d(τ) is not predicted by any theoretical result. A substantial complication is caused by the occurrence of logarithms in d(τ) As a consequence, increase in precision of d(τ) requires exponentially larger inputs For (2, 2) TM 346 we know that its Box dimension is 2, but we can see in the picture how slow the rate of convergence is Our way out here is to apply numerical and mathematical analysis to the functions involved so that we can retrieve their limit behavior. We are interested in three different functions: tτ(x), number of time-steps needed for τ to halt on input x Nτ(x), number of black cells in the space-time diagram of τ on input x sτ(x), number of tape cells visited by τ on input x Fractal Dimension of Space-time Diagrams and the Runtime Complexity of Small Turing Machines
  • 10. Box dimension and Turing machines The experiment Demo Methodology Steps followed Each TM in (2, 2) also occurs in (3, 2) so for the final results it suffices to focus on this data-set. We isolated the TMs for which there is no theorem that predicts the corresponding dimension. Boxes Runtime Space Machines O(n3) O(n2) O(n) 3358 O(n4) O(n3) O(n) 6 o(P) o(P) o(P) 14 Per TM τ, we determined its functions sτ(x) (space), tτ(x) (time) and Nτ(x) (black cells). We used FindSequenceFunction and other Mathematica functions. This is the hard work! Per TM τ, we computed its dimension d(τ) as d(τ) = lim infx→∞ log(Nτ(x)) log(tτ(x)) Per TM τ, we compared its dimension d(τ) to its theoretical upper bound 1 + lim infx→∞ log(sτ(x)) log(tτ(x)) Fractal Dimension of Space-time Diagrams and the Runtime Complexity of Small Turing Machines
  • 11. Box dimension and Turing machines The experiment Demo Methodology Alternating convergent behavior Some machines have alternating asymptotic behavior This is the most extreme example (TM 1,728,529): For convenience we have changed the orientation of the diagrams so that time ‘goes from left to right’ instead of from ‘top to bottom’. In a sense this TM incorporates two different algorithms to compute this output: one in linear time, the other, in exponential time. We have found alternating sequences of periodicity 2, 3 and 6 The periodicity typically reflects either the number of states, the number of colors, or a divisor of their product. It is this alternating behavior which complicated the analysis of the data set in a straight-forward automated fashion. Fractal Dimension of Space-time Diagrams and the Runtime Complexity of Small Turing Machines
  • 12. Box dimension and Turing machines The experiment Demo Most salient results of the experiment Findings in (2, 2) space In (2, 2) there was a total of 74 different functions. Only 5 of them where computed by some super-linear time TMs In total, in (2, 2) space, there are only 7 TMs that run in super-polynomial time. Three of them run in exp-time, all computing the tape-identity. The other four (see below) TMs compute different functions (that roughly double the tape input) All these four TMs perform in quadratic time and linear space. The dimension for these functions is 3 2 . This is exactly the upper bound as predicted by the Space-Time Theorem. Fractal Dimension of Space-time Diagrams and the Runtime Complexity of Small Turing Machines
  • 13. Box dimension and Turing machines The experiment Demo Most salient results of the experiment Findings in (3, 2) space The (3, 2) space contains 2,985,984 many different TMs which compute 3,886 different functions Almost all TMs used at most linear space for their computations The only exception to this was when the TM used exponential space Busy Beaver: we call a TM β a Busy Beaver whenever for each TM τ, there is some value x0 so that for all x ≥ x0 we have tβ(x) ≥ tτ(x) Twin Machines 599,063 and 666,364 are the Busy Beavers in (3,2) space, running in exponential space and time. They compute the largest runtime, space and boxes sequences. They also produce the longest output strings. Fractal dim.: 3/2 Fractal Dimension of Space-time Diagrams and the Runtime Complexity of Small Turing Machines
  • 14. Box dimension and Turing machines The experiment Demo Most salient results of the experiment The space-time theorem revisited One of our most important empirical findings is that the upper bound as given by the Space-Time Theorem is actually always attained in (3, 2) space. Finding 1 For all TMs τ in (3,2) space we found that d(τ) = 1 + lim inf x→∞ log(sτ(x)) log(tτ(x)) as conjectured in the Upper Bound Conjecture that this holds in general for TMs with a larger number of states. Fractal Dimension of Space-time Diagrams and the Runtime Complexity of Small Turing Machines
  • 15. Box dimension and Turing machines The experiment Demo Most salient results of the experiment Other findings Finding 2 For all TMs τ in (3,2) space we found that d(τ) = 1 if and only if the TM ran in super-polynomial time using polynomial space. We suspect that this equivalence holds no longer true in higher spaces, i.e., spaces (n, 2) for n > 3. Finding 3 For all TMs τ in (3,2) space we found that d(τ) = 2 if and only if the TM ran in at most linear time. It is unknown if this equivalence holds true in higher spaces (the “if” part holds in general and is proven in previous lemmas) Fractal Dimension of Space-time Diagrams and the Runtime Complexity of Small Turing Machines
  • 16. Box dimension and Turing machines The experiment Demo Most salient results of the experiment Richness in the (3, 2) space We have found two symmetric performers for even inputs This can only occur in machines computing the tape identity and requires strong conditions It’s surprising that such constraints can be met in (3, 2) Fractal Dimension of Space-time Diagrams and the Runtime Complexity of Small Turing Machines
  • 17. Box dimension and Turing machines The experiment Demo Demo We have prepared a demo to visualize the space-time diagrams for several TMs in (3, 2) It will be published in Wolfram Demonstrations Project, and it’s available upon request Fractal Dimension of Space-time Diagrams and the Runtime Complexity of Small Turing Machines
  • 18. Box dimension and Turing machines The experiment Demo Demo Fractal Dimension of Space-time Diagrams and the Runtime Complexity of Small Turing Machines