SlideShare a Scribd company logo
Cover image © Scientific American / Hybrid Medical Animation
Self-Replication and the
Halting Problem
ELSI Seminar July 25, 2017
Hiroki Sayama
sayama@binghamton.edu
dx.doi.org/10.1002/cplx.20218
Life and Self-Replication
“ ... when Rene Descartes
averred to Queen
Christina of Sweden that
animals were just
another form of
mechanical automata,
Her Majesty pointed to a
clock and said, “See to it
that it produces
offspring.”
― Sipper, M. & Reggia, J. A. (2001)
Scientific American 285(2)
Von Neumann’s Question
• Natural biological systems seem to have
increased their complexity through evolution
• Artificial systems seem to be able to make
only products that are less complex than
themselves
Can artificial systems make products equally
complex to, or more complex than,
themselves?
Von Neumann’s Answer
• An artificial system can self-replicate if
it consists of:
– a description I(X)
– a machine X that can
• build X by reading I(X)
• make a copy of I(X)
• combine them together (i.e. X + I(X) = itself)
• Description of a self-replicating
machine must be separate from the
machine itself
Von Neumann’s Self-Replicating
Automaton
A : universal constructor
B : tape duplicator
C : controller
ID=A+B+C : description tape
A + IX → A + IX + X
B + IX → B + IX + IX
(A + B + C) + IX
→ (A + B + C) + IX + X + IX
(A + B + C) + IA+B+C
→ (A + B + C) + IA+B+C
+ (A + B + C) + IA+B+C
From M. Sipper, Artificial Life 4: 237-257 (1998)
History of Self-Replication Studies
Computation and Construction
Rewinding the tape of history
for about a decade back…
Turing Machines
• Finite-state automaton + movable
read/write head + infinite memory tape
• Computationally universal
state
BB 1 0 B
Universal Turing Machines
• More important fact Turing showed:
There are TMs that can emulate
behaviors of any other TMs if
instructions (software) are given
A single machine can be
a “universal computer”
UTM
A
B
C
D
Computation and Construction
• Turing machines (1936)
– Universal computer that can execute any
computational tasks specified in a finite
description
– Emergence of “Computation Theory”
• Von Neumann’s automata (1948)
– Universal constructor that can execute any
constructional tasks specified in a finite
description
– Emergence of “Construction Theory”
Differences
• Universal computers must be able to
perform any logical, mathematical, or
computational tasks possible
– Universal constructors need not
• Universal constructors must be made
of the same parts they operate on, and
thus obey the same “physics” laws as
the parts
– Universal computers need not
More Difference?
A : universal constructor
B : tape duplicator
C : controller
ID=A+B+C : description tape
A + IX → A + IX + X
B + IX → B + IX + IX
(A + B + C) + IX
→ (A + B + C) + IX + X + IX
(A + B + C) + IA+B+C
→ (A + B + C) + IA+B+C
+ (A + B + C) + IA+B+C
More Difference?
A : universal constructor
B : tape duplicator
C : controller
ID=A+B+C : description tape
A + IX → A + IX + X
B + IX → B + IX + IX
(A + B + C) + IX
→ (A + B + C) + IX + X + IX
(A + B + C) + IA+B+C
→ (A + B + C) + IA+B+C
+ (A + B + C) + IA+B+C
computer
||
?
Hidden Connection
A : universal constructor
B : tape duplicator
C : controller
ID=A+B+C : description tape
A + IX → A + IX + X
B + IX → B + IX + IX
(A + B + C) + IX
→ (A + B + C) + IX + X + IX
(A + B + C) + IA+B+C
→ (A + B + C) + IA+B+C
+ (A + B + C) + IA+B+C
computer
||
These components DO appear
in computation theory as well
The Halting Problem
The Halting Problem
• Given a description of a computer
program and an initial input it receives,
determine whether the program
eventually finishes computation and
halts on that input
• Is there a general procedure to solve
this problem for any arbitrary programs
and inputs?
No
Proof (1)
M
Program p
Input i
M
M
If p halts on i
1
If p doesn’t halt on i
0
(M always halts)
• Assume there is a TM (called M) that
can solve the halting problem for any
program p and input i
– Output of M: M(p, i) = 1 or 0
Proof (2)
• Derive another TM (called M’) from M
which computes diagonal components
in the p-i space
– Output of M’: M’(p) = M(p, p)
M’
Program p
M’
M’
If p halts on p
1
If p doesn’t halt on p
0
(M’ always halts)
Proof (3)
M*
Program p
M*
M*
If p halts on p
If p doesn’t halt on p
0 M* halts
M* doesn’t
halt
• Derive another TM (called M*) from M’
that enters an infinite loop if M’(p) = 1
– Output of M*: M*(p) = 0 if M’(p) = 0; doesn’t
halt otherwise
Proof (4)
• What happens if M* is given its self-
description p(M*)?
• No general algorithm exists for the
halting problem
M*
Program p(M*)
M*
M*
If p(M*) halts on p(M*)
If p(M*) doesn’t halt on p(M*)
0 M* halts
M* doesn’t
halt
Contradictions
However…
Turing’s Original Proof
“ ... This proof,
although perfectly
sound, has the
disadvantage that it
may leave the
reader with a
feeling that “there
must be something
wrong”. The proof
which I shall give
has not this
disadvantage, …”
“ ... Now let K be the D.N of H. What does H do in the K-th
section of its motion? It must test whether K is satisfactory,
giving a verdict “s” or “u”. Since K is the D.N of H and since H is
circle-free, the verdict cannot be “u”. On the other hand the verdict
cannot be “s”. For if it were, then in the K-th section of its motion
H would be bound to compute the first R(K – 1) + 1 =
R(K) figures of the sequence computed by the machine
with K as its D.N and to write down the R(K)-th as a figure
of the sequence computed by H. The computation of the first R(K)
– 1 figures would be carried out all right, but the instructions
for calculating the R(K)-th would
amount to “calculate the first R(K) figures
computed by H and write down the R(K)-th”.
This R(K)-th figure would never be found. I.e.,
H is circular …”
Turing’s Proof (In Essence)
• Derive another TM (called M’) from M
which computes diagonal components
in the p-i space
– Output of M’: M’(p) = M(p, p)
M’
Program p
M’
M’
If p halts on p
1
If p doesn’t halt on p
0
(M’ always halts)
What happens if M’ receives its own
program p(M’) as an input?
• The system M’ + p(M’) tries to compute
the behavior of the TM described in
p(M’) (i.e., M’) given p(M’) as an input
→ Computing the situation “M’ + p(M’)”
→ Circular self-computation
→ Self-replication within a TM tape
Turing’s Proof (In Essence)
M’ + p(M’)
“M’ + p(M’)”
“ “M’ + p(M’)” ”
“ “ “M’ + p(M’)” ” ”
Hidden Connection Revealed
A : universal constructor
B : tape duplicator
C : controller
ID=A+B+C : description tape
A + IX → A + IX + X
B + IX → B + IX + IX
(A + B + C) + IX
→ (A + B + C) + IX + X + IX
(A + B + C) + IA+B+C
→ (A + B + C) + IA+B+C
+ (A + B + C) + IA+B+C
computer
||
Diagonalization
M’(p) = M(p, p)
The computer
M’ + p(M’)
The computed
“M’ + p(M’)”
Solving the Unsolvable
• The Halting Problem:
To determine whether the process
eventually stops or not
• Attempt to solve the halting problem
creates an endless circular process of
self-replication (in both computation
and construction)
M’ + p(M’)
“M’ + p(M’)”
“ “M’ + p(M’)” ”
“ “ “M’ + p(M’)” ” ”
M’ + p(M’)
“M’ + p(M’)”
“ “M’ + p(M’)” ”
“ “ “M’ + p(M’)” ” ”
What happens
if I execute this
instruction?
What happens
if I execute this
instruction?
What happens
if I execute this
instruction?
What happens
if I execute this
instruction?
Summary
• Similarities between construction and
computation
• Von Neumann’s self-replication model
~ Turing’s original proof of the
undecidability of the halting problem
• Undecidability => endless process
We are all in an endless
self-computation/construction
process initiated billions of
years ago by a first universal
constructor, who just tried to
solve the halting problem for a
diagonal input.
Thank You

More Related Content

What's hot

Kolmogorov complexity and topological arguments
Kolmogorov complexity and topological argumentsKolmogorov complexity and topological arguments
Kolmogorov complexity and topological arguments
shenmontpellier
 
Fast coputation of Phi(x) inverse
Fast coputation of Phi(x) inverseFast coputation of Phi(x) inverse
Fast coputation of Phi(x) inverse
John Cook
 
Sampled-Data Piecewise Affine Slab Systems: A Time-Delay Approach
Sampled-Data Piecewise Affine Slab Systems: A Time-Delay ApproachSampled-Data Piecewise Affine Slab Systems: A Time-Delay Approach
Sampled-Data Piecewise Affine Slab Systems: A Time-Delay ApproachBehzad Samadi
 
Computer Graphics in Java and Scala - Part 1
Computer Graphics in Java and Scala - Part 1Computer Graphics in Java and Scala - Part 1
Computer Graphics in Java and Scala - Part 1
Philip Schwarz
 
Binary Lambda Calculus and Combinatory Logic
Binary Lambda Calculus and Combinatory LogicBinary Lambda Calculus and Combinatory Logic
Binary Lambda Calculus and Combinatory Logic
Melvin Zhang
 
What is the point of Boson sampling?
What is the point of Boson sampling?What is the point of Boson sampling?
What is the point of Boson sampling?
University of Glasgow Optical Sciences Seminar
 
Graph Traversal Algorithms - Depth First Search Traversal
Graph Traversal Algorithms - Depth First Search TraversalGraph Traversal Algorithms - Depth First Search Traversal
Graph Traversal Algorithms - Depth First Search Traversal
Amrinder Arora
 
What is Algorithm - An Overview
What is Algorithm - An OverviewWhat is Algorithm - An Overview
What is Algorithm - An Overview
Ramakant Soni
 
Linear programming in computational geometry
Linear programming in computational geometryLinear programming in computational geometry
Linear programming in computational geometry
hsubhashis
 
Introduction to Algorithm
Introduction to AlgorithmIntroduction to Algorithm
Introduction to Algorithm
Manash Kumar Mondal
 
Cs8092 computer graphics and multimedia unit 2
Cs8092 computer graphics and multimedia unit 2Cs8092 computer graphics and multimedia unit 2
Cs8092 computer graphics and multimedia unit 2
SIMONTHOMAS S
 
Generalized Low Rank Models
Generalized Low Rank ModelsGeneralized Low Rank Models
Generalized Low Rank Models
Sri Ambati
 
Travelling salesman problem
Travelling salesman problemTravelling salesman problem
Travelling salesman problem
hamza haseeb
 
H2O World - GLRM - Anqi Fu
H2O World - GLRM - Anqi FuH2O World - GLRM - Anqi Fu
H2O World - GLRM - Anqi Fu
Sri Ambati
 
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
luzenith_g
 
14 - 08 Feb - Dynamic Programming
14 - 08 Feb - Dynamic Programming14 - 08 Feb - Dynamic Programming
14 - 08 Feb - Dynamic Programming
Neeldhara Misra
 

What's hot (20)

Kolmogorov complexity and topological arguments
Kolmogorov complexity and topological argumentsKolmogorov complexity and topological arguments
Kolmogorov complexity and topological arguments
 
Fast coputation of Phi(x) inverse
Fast coputation of Phi(x) inverseFast coputation of Phi(x) inverse
Fast coputation of Phi(x) inverse
 
Sampled-Data Piecewise Affine Slab Systems: A Time-Delay Approach
Sampled-Data Piecewise Affine Slab Systems: A Time-Delay ApproachSampled-Data Piecewise Affine Slab Systems: A Time-Delay Approach
Sampled-Data Piecewise Affine Slab Systems: A Time-Delay Approach
 
Computer Graphics in Java and Scala - Part 1
Computer Graphics in Java and Scala - Part 1Computer Graphics in Java and Scala - Part 1
Computer Graphics in Java and Scala - Part 1
 
Binary Lambda Calculus and Combinatory Logic
Binary Lambda Calculus and Combinatory LogicBinary Lambda Calculus and Combinatory Logic
Binary Lambda Calculus and Combinatory Logic
 
What is the point of Boson sampling?
What is the point of Boson sampling?What is the point of Boson sampling?
What is the point of Boson sampling?
 
Analysis of Algorithm
Analysis of AlgorithmAnalysis of Algorithm
Analysis of Algorithm
 
Graph Traversal Algorithms - Depth First Search Traversal
Graph Traversal Algorithms - Depth First Search TraversalGraph Traversal Algorithms - Depth First Search Traversal
Graph Traversal Algorithms - Depth First Search Traversal
 
What is Algorithm - An Overview
What is Algorithm - An OverviewWhat is Algorithm - An Overview
What is Algorithm - An Overview
 
Linear programming in computational geometry
Linear programming in computational geometryLinear programming in computational geometry
Linear programming in computational geometry
 
Back tracking
Back trackingBack tracking
Back tracking
 
Introduction to Algorithm
Introduction to AlgorithmIntroduction to Algorithm
Introduction to Algorithm
 
Cs8092 computer graphics and multimedia unit 2
Cs8092 computer graphics and multimedia unit 2Cs8092 computer graphics and multimedia unit 2
Cs8092 computer graphics and multimedia unit 2
 
Generalized Low Rank Models
Generalized Low Rank ModelsGeneralized Low Rank Models
Generalized Low Rank Models
 
Travelling salesman problem
Travelling salesman problemTravelling salesman problem
Travelling salesman problem
 
H2O World - GLRM - Anqi Fu
H2O World - GLRM - Anqi FuH2O World - GLRM - Anqi Fu
H2O World - GLRM - Anqi Fu
 
Alg1
Alg1Alg1
Alg1
 
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
 
yaron_eurika_
yaron_eurika_yaron_eurika_
yaron_eurika_
 
14 - 08 Feb - Dynamic Programming
14 - 08 Feb - Dynamic Programming14 - 08 Feb - Dynamic Programming
14 - 08 Feb - Dynamic Programming
 

Similar to Self-Replication and the Halting Problem

Foundation of computing history final
Foundation of computing history finalFoundation of computing history final
Foundation of computing history final
Rajith Pemabandu
 
Acm aleppo cpc training fifth session
Acm aleppo cpc training fifth sessionAcm aleppo cpc training fifth session
Acm aleppo cpc training fifth session
Ahmad Bashar Eter
 
class16.ppt
class16.pptclass16.ppt
class16.ppt
MALuqmaan1
 
Computational Complexity: Introduction-Turing Machines-Undecidability
Computational Complexity: Introduction-Turing Machines-UndecidabilityComputational Complexity: Introduction-Turing Machines-Undecidability
Computational Complexity: Introduction-Turing Machines-Undecidability
Antonis Antonopoulos
 
OXFORD'13 Optimising OWL 2 QL query rewriring
OXFORD'13 Optimising OWL 2 QL query rewriringOXFORD'13 Optimising OWL 2 QL query rewriring
OXFORD'13 Optimising OWL 2 QL query rewriring
Mariano Rodriguez-Muro
 
Security of Artificial Intelligence
Security of Artificial IntelligenceSecurity of Artificial Intelligence
Security of Artificial Intelligence
Federico Cerutti
 
Functions Practice Sheet.docx
Functions Practice Sheet.docxFunctions Practice Sheet.docx
Functions Practice Sheet.docx
SwatiMishra364461
 
Turing machine
Turing machineTuring machine
Turing machine
Neelamani Samal
 
Church Turing Thesis
Church Turing ThesisChurch Turing Thesis
Church Turing Thesis
Hemant Sharma
 
Design and Analysis of Algorithm Brute Force 1.ppt
Design and Analysis of Algorithm Brute Force 1.pptDesign and Analysis of Algorithm Brute Force 1.ppt
Design and Analysis of Algorithm Brute Force 1.ppt
moiza354
 
Turing Goes to Church
Turing Goes to ChurchTuring Goes to Church
Turing Goes to Church
Steve Poling
 
Visual Basic(Vb) practical
Visual Basic(Vb) practicalVisual Basic(Vb) practical
Visual Basic(Vb) practical
Rahul juneja
 
Computer organiztion3
Computer organiztion3Computer organiztion3
Computer organiztion3Umang Gupta
 
01 EC 7311-Module IV.pptx
01 EC 7311-Module IV.pptx01 EC 7311-Module IV.pptx
01 EC 7311-Module IV.pptx
VSUDHEER4
 
Digital Logic
Digital LogicDigital Logic
Digital Logic
Dilum Bandara
 
churchturingthesis-160906170827.pptx
churchturingthesis-160906170827.pptxchurchturingthesis-160906170827.pptx
churchturingthesis-160906170827.pptx
mukul narayana
 
25 лет истории C++, пролетевшей на моих глазах
25 лет истории C++, пролетевшей на моих глазах25 лет истории C++, пролетевшей на моих глазах
25 лет истории C++, пролетевшей на моих глазах
corehard_by
 
Greatest Common Measure: the Last 2500 Years
Greatest Common Measure: the Last 2500 YearsGreatest Common Measure: the Last 2500 Years
Greatest Common Measure: the Last 2500 Years
sixtyone
 
Dynamic Programming - Part 1
Dynamic Programming - Part 1Dynamic Programming - Part 1
Dynamic Programming - Part 1
Amrinder Arora
 

Similar to Self-Replication and the Halting Problem (20)

Foundation of computing history final
Foundation of computing history finalFoundation of computing history final
Foundation of computing history final
 
Acm aleppo cpc training fifth session
Acm aleppo cpc training fifth sessionAcm aleppo cpc training fifth session
Acm aleppo cpc training fifth session
 
class16.ppt
class16.pptclass16.ppt
class16.ppt
 
Computational Complexity: Introduction-Turing Machines-Undecidability
Computational Complexity: Introduction-Turing Machines-UndecidabilityComputational Complexity: Introduction-Turing Machines-Undecidability
Computational Complexity: Introduction-Turing Machines-Undecidability
 
OXFORD'13 Optimising OWL 2 QL query rewriring
OXFORD'13 Optimising OWL 2 QL query rewriringOXFORD'13 Optimising OWL 2 QL query rewriring
OXFORD'13 Optimising OWL 2 QL query rewriring
 
Security of Artificial Intelligence
Security of Artificial IntelligenceSecurity of Artificial Intelligence
Security of Artificial Intelligence
 
Report mi scontinue
Report mi scontinueReport mi scontinue
Report mi scontinue
 
Functions Practice Sheet.docx
Functions Practice Sheet.docxFunctions Practice Sheet.docx
Functions Practice Sheet.docx
 
Turing machine
Turing machineTuring machine
Turing machine
 
Church Turing Thesis
Church Turing ThesisChurch Turing Thesis
Church Turing Thesis
 
Design and Analysis of Algorithm Brute Force 1.ppt
Design and Analysis of Algorithm Brute Force 1.pptDesign and Analysis of Algorithm Brute Force 1.ppt
Design and Analysis of Algorithm Brute Force 1.ppt
 
Turing Goes to Church
Turing Goes to ChurchTuring Goes to Church
Turing Goes to Church
 
Visual Basic(Vb) practical
Visual Basic(Vb) practicalVisual Basic(Vb) practical
Visual Basic(Vb) practical
 
Computer organiztion3
Computer organiztion3Computer organiztion3
Computer organiztion3
 
01 EC 7311-Module IV.pptx
01 EC 7311-Module IV.pptx01 EC 7311-Module IV.pptx
01 EC 7311-Module IV.pptx
 
Digital Logic
Digital LogicDigital Logic
Digital Logic
 
churchturingthesis-160906170827.pptx
churchturingthesis-160906170827.pptxchurchturingthesis-160906170827.pptx
churchturingthesis-160906170827.pptx
 
25 лет истории C++, пролетевшей на моих глазах
25 лет истории C++, пролетевшей на моих глазах25 лет истории C++, пролетевшей на моих глазах
25 лет истории C++, пролетевшей на моих глазах
 
Greatest Common Measure: the Last 2500 Years
Greatest Common Measure: the Last 2500 YearsGreatest Common Measure: the Last 2500 Years
Greatest Common Measure: the Last 2500 Years
 
Dynamic Programming - Part 1
Dynamic Programming - Part 1Dynamic Programming - Part 1
Dynamic Programming - Part 1
 

More from Hiroki Sayama

A Quick Overview of Artificial Intelligence and Machine Learning (revised ver...
A Quick Overview of Artificial Intelligence and Machine Learning (revised ver...A Quick Overview of Artificial Intelligence and Machine Learning (revised ver...
A Quick Overview of Artificial Intelligence and Machine Learning (revised ver...
Hiroki Sayama
 
A Quick Overview of Artificial Intelligence and Machine Learning
A Quick Overview of Artificial Intelligence and Machine LearningA Quick Overview of Artificial Intelligence and Machine Learning
A Quick Overview of Artificial Intelligence and Machine Learning
Hiroki Sayama
 
How to Make Things Evolve
How to Make Things EvolveHow to Make Things Evolve
How to Make Things Evolve
Hiroki Sayama
 
Review of linear algebra
Review of linear algebraReview of linear algebra
Review of linear algebra
Hiroki Sayama
 
What an ALifer Has Been Doing About COVID-19
What an ALifer Has Been Doing About COVID-19What an ALifer Has Been Doing About COVID-19
What an ALifer Has Been Doing About COVID-19
Hiroki Sayama
 
Self-organization of society: fragmentation, disagreement, and how to overcom...
Self-organization of society: fragmentation, disagreement, and how to overcom...Self-organization of society: fragmentation, disagreement, and how to overcom...
Self-organization of society: fragmentation, disagreement, and how to overcom...
Hiroki Sayama
 
Enhanced ability of information gathering may intensify disagreement among gr...
Enhanced ability of information gathering may intensify disagreement among gr...Enhanced ability of information gathering may intensify disagreement among gr...
Enhanced ability of information gathering may intensify disagreement among gr...
Hiroki Sayama
 
Complexity Explained: A brief intro to complex systems
Complexity Explained: A brief intro to complex systemsComplexity Explained: A brief intro to complex systems
Complexity Explained: A brief intro to complex systems
Hiroki Sayama
 
Graph product representation of organism-environment couplings in evolution
Graph product representation of organism-environment couplings in evolutionGraph product representation of organism-environment couplings in evolution
Graph product representation of organism-environment couplings in evolution
Hiroki Sayama
 
Suppleness and Open-Endedness for Social Sustainability
Suppleness and Open-Endedness for Social SustainabilitySuppleness and Open-Endedness for Social Sustainability
Suppleness and Open-Endedness for Social Sustainability
Hiroki Sayama
 
Swarm Chemistry: A Decade-Long Quest to Emergent Creativity in Artificial "Na...
Swarm Chemistry: A Decade-Long Quest to Emergent Creativity in Artificial "Na...Swarm Chemistry: A Decade-Long Quest to Emergent Creativity in Artificial "Na...
Swarm Chemistry: A Decade-Long Quest to Emergent Creativity in Artificial "Na...
Hiroki Sayama
 
Adaptive network models of socio-cultural dynamics
Adaptive network models of socio-cultural dynamicsAdaptive network models of socio-cultural dynamics
Adaptive network models of socio-cultural dynamics
Hiroki Sayama
 
Artificial Creativity of Evolutionary Swarm Systems
Artificial Creativity of Evolutionary Swarm SystemsArtificial Creativity of Evolutionary Swarm Systems
Artificial Creativity of Evolutionary Swarm Systems
Hiroki Sayama
 
Effects of Organizational Network Structure and Task-Related Diversity on Col...
Effects of Organizational Network Structure and Task-Related Diversity on Col...Effects of Organizational Network Structure and Task-Related Diversity on Col...
Effects of Organizational Network Structure and Task-Related Diversity on Col...
Hiroki Sayama
 
How to survive as an interdisciplinary being
How to survive as an interdisciplinary beingHow to survive as an interdisciplinary being
How to survive as an interdisciplinary being
Hiroki Sayama
 
Formulating Evolutionary Dynamics of Organism-Environment Couplings Using Gra...
Formulating Evolutionary Dynamics of Organism-Environment Couplings Using Gra...Formulating Evolutionary Dynamics of Organism-Environment Couplings Using Gra...
Formulating Evolutionary Dynamics of Organism-Environment Couplings Using Gra...
Hiroki Sayama
 

More from Hiroki Sayama (16)

A Quick Overview of Artificial Intelligence and Machine Learning (revised ver...
A Quick Overview of Artificial Intelligence and Machine Learning (revised ver...A Quick Overview of Artificial Intelligence and Machine Learning (revised ver...
A Quick Overview of Artificial Intelligence and Machine Learning (revised ver...
 
A Quick Overview of Artificial Intelligence and Machine Learning
A Quick Overview of Artificial Intelligence and Machine LearningA Quick Overview of Artificial Intelligence and Machine Learning
A Quick Overview of Artificial Intelligence and Machine Learning
 
How to Make Things Evolve
How to Make Things EvolveHow to Make Things Evolve
How to Make Things Evolve
 
Review of linear algebra
Review of linear algebraReview of linear algebra
Review of linear algebra
 
What an ALifer Has Been Doing About COVID-19
What an ALifer Has Been Doing About COVID-19What an ALifer Has Been Doing About COVID-19
What an ALifer Has Been Doing About COVID-19
 
Self-organization of society: fragmentation, disagreement, and how to overcom...
Self-organization of society: fragmentation, disagreement, and how to overcom...Self-organization of society: fragmentation, disagreement, and how to overcom...
Self-organization of society: fragmentation, disagreement, and how to overcom...
 
Enhanced ability of information gathering may intensify disagreement among gr...
Enhanced ability of information gathering may intensify disagreement among gr...Enhanced ability of information gathering may intensify disagreement among gr...
Enhanced ability of information gathering may intensify disagreement among gr...
 
Complexity Explained: A brief intro to complex systems
Complexity Explained: A brief intro to complex systemsComplexity Explained: A brief intro to complex systems
Complexity Explained: A brief intro to complex systems
 
Graph product representation of organism-environment couplings in evolution
Graph product representation of organism-environment couplings in evolutionGraph product representation of organism-environment couplings in evolution
Graph product representation of organism-environment couplings in evolution
 
Suppleness and Open-Endedness for Social Sustainability
Suppleness and Open-Endedness for Social SustainabilitySuppleness and Open-Endedness for Social Sustainability
Suppleness and Open-Endedness for Social Sustainability
 
Swarm Chemistry: A Decade-Long Quest to Emergent Creativity in Artificial "Na...
Swarm Chemistry: A Decade-Long Quest to Emergent Creativity in Artificial "Na...Swarm Chemistry: A Decade-Long Quest to Emergent Creativity in Artificial "Na...
Swarm Chemistry: A Decade-Long Quest to Emergent Creativity in Artificial "Na...
 
Adaptive network models of socio-cultural dynamics
Adaptive network models of socio-cultural dynamicsAdaptive network models of socio-cultural dynamics
Adaptive network models of socio-cultural dynamics
 
Artificial Creativity of Evolutionary Swarm Systems
Artificial Creativity of Evolutionary Swarm SystemsArtificial Creativity of Evolutionary Swarm Systems
Artificial Creativity of Evolutionary Swarm Systems
 
Effects of Organizational Network Structure and Task-Related Diversity on Col...
Effects of Organizational Network Structure and Task-Related Diversity on Col...Effects of Organizational Network Structure and Task-Related Diversity on Col...
Effects of Organizational Network Structure and Task-Related Diversity on Col...
 
How to survive as an interdisciplinary being
How to survive as an interdisciplinary beingHow to survive as an interdisciplinary being
How to survive as an interdisciplinary being
 
Formulating Evolutionary Dynamics of Organism-Environment Couplings Using Gra...
Formulating Evolutionary Dynamics of Organism-Environment Couplings Using Gra...Formulating Evolutionary Dynamics of Organism-Environment Couplings Using Gra...
Formulating Evolutionary Dynamics of Organism-Environment Couplings Using Gra...
 

Recently uploaded

GBSN - Microbiology (Lab 4) Culture Media
GBSN - Microbiology (Lab 4) Culture MediaGBSN - Microbiology (Lab 4) Culture Media
GBSN - Microbiology (Lab 4) Culture Media
Areesha Ahmad
 
Seminar of U.V. Spectroscopy by SAMIR PANDA
 Seminar of U.V. Spectroscopy by SAMIR PANDA Seminar of U.V. Spectroscopy by SAMIR PANDA
Seminar of U.V. Spectroscopy by SAMIR PANDA
SAMIR PANDA
 
platelets_clotting_biogenesis.clot retractionpptx
platelets_clotting_biogenesis.clot retractionpptxplatelets_clotting_biogenesis.clot retractionpptx
platelets_clotting_biogenesis.clot retractionpptx
muralinath2
 
Leaf Initiation, Growth and Differentiation.pdf
Leaf Initiation, Growth and Differentiation.pdfLeaf Initiation, Growth and Differentiation.pdf
Leaf Initiation, Growth and Differentiation.pdf
RenuJangid3
 
Salas, V. (2024) "John of St. Thomas (Poinsot) on the Science of Sacred Theol...
Salas, V. (2024) "John of St. Thomas (Poinsot) on the Science of Sacred Theol...Salas, V. (2024) "John of St. Thomas (Poinsot) on the Science of Sacred Theol...
Salas, V. (2024) "John of St. Thomas (Poinsot) on the Science of Sacred Theol...
Studia Poinsotiana
 
Remote Sensing and Computational, Evolutionary, Supercomputing, and Intellige...
Remote Sensing and Computational, Evolutionary, Supercomputing, and Intellige...Remote Sensing and Computational, Evolutionary, Supercomputing, and Intellige...
Remote Sensing and Computational, Evolutionary, Supercomputing, and Intellige...
University of Maribor
 
Orion Air Quality Monitoring Systems - CWS
Orion Air Quality Monitoring Systems - CWSOrion Air Quality Monitoring Systems - CWS
Orion Air Quality Monitoring Systems - CWS
Columbia Weather Systems
 
原版制作(carleton毕业证书)卡尔顿大学毕业证硕士文凭原版一模一样
原版制作(carleton毕业证书)卡尔顿大学毕业证硕士文凭原版一模一样原版制作(carleton毕业证书)卡尔顿大学毕业证硕士文凭原版一模一样
原版制作(carleton毕业证书)卡尔顿大学毕业证硕士文凭原版一模一样
yqqaatn0
 
DERIVATION OF MODIFIED BERNOULLI EQUATION WITH VISCOUS EFFECTS AND TERMINAL V...
DERIVATION OF MODIFIED BERNOULLI EQUATION WITH VISCOUS EFFECTS AND TERMINAL V...DERIVATION OF MODIFIED BERNOULLI EQUATION WITH VISCOUS EFFECTS AND TERMINAL V...
DERIVATION OF MODIFIED BERNOULLI EQUATION WITH VISCOUS EFFECTS AND TERMINAL V...
Wasswaderrick3
 
Introduction to Mean Field Theory(MFT).pptx
Introduction to Mean Field Theory(MFT).pptxIntroduction to Mean Field Theory(MFT).pptx
Introduction to Mean Field Theory(MFT).pptx
zeex60
 
BLOOD AND BLOOD COMPONENT- introduction to blood physiology
BLOOD AND BLOOD COMPONENT- introduction to blood physiologyBLOOD AND BLOOD COMPONENT- introduction to blood physiology
BLOOD AND BLOOD COMPONENT- introduction to blood physiology
NoelManyise1
 
Toxic effects of heavy metals : Lead and Arsenic
Toxic effects of heavy metals : Lead and ArsenicToxic effects of heavy metals : Lead and Arsenic
Toxic effects of heavy metals : Lead and Arsenic
sanjana502982
 
3D Hybrid PIC simulation of the plasma expansion (ISSS-14)
3D Hybrid PIC simulation of the plasma expansion (ISSS-14)3D Hybrid PIC simulation of the plasma expansion (ISSS-14)
3D Hybrid PIC simulation of the plasma expansion (ISSS-14)
David Osipyan
 
Nucleic Acid-its structural and functional complexity.
Nucleic Acid-its structural and functional complexity.Nucleic Acid-its structural and functional complexity.
Nucleic Acid-its structural and functional complexity.
Nistarini College, Purulia (W.B) India
 
Observation of Io’s Resurfacing via Plume Deposition Using Ground-based Adapt...
Observation of Io’s Resurfacing via Plume Deposition Using Ground-based Adapt...Observation of Io’s Resurfacing via Plume Deposition Using Ground-based Adapt...
Observation of Io’s Resurfacing via Plume Deposition Using Ground-based Adapt...
Sérgio Sacani
 
Richard's aventures in two entangled wonderlands
Richard's aventures in two entangled wonderlandsRichard's aventures in two entangled wonderlands
Richard's aventures in two entangled wonderlands
Richard Gill
 
PRESENTATION ABOUT PRINCIPLE OF COSMATIC EVALUATION
PRESENTATION ABOUT PRINCIPLE OF COSMATIC EVALUATIONPRESENTATION ABOUT PRINCIPLE OF COSMATIC EVALUATION
PRESENTATION ABOUT PRINCIPLE OF COSMATIC EVALUATION
ChetanK57
 
Hemostasis_importance& clinical significance.pptx
Hemostasis_importance& clinical significance.pptxHemostasis_importance& clinical significance.pptx
Hemostasis_importance& clinical significance.pptx
muralinath2
 
bordetella pertussis.................................ppt
bordetella pertussis.................................pptbordetella pertussis.................................ppt
bordetella pertussis.................................ppt
kejapriya1
 
Phenomics assisted breeding in crop improvement
Phenomics assisted breeding in crop improvementPhenomics assisted breeding in crop improvement
Phenomics assisted breeding in crop improvement
IshaGoswami9
 

Recently uploaded (20)

GBSN - Microbiology (Lab 4) Culture Media
GBSN - Microbiology (Lab 4) Culture MediaGBSN - Microbiology (Lab 4) Culture Media
GBSN - Microbiology (Lab 4) Culture Media
 
Seminar of U.V. Spectroscopy by SAMIR PANDA
 Seminar of U.V. Spectroscopy by SAMIR PANDA Seminar of U.V. Spectroscopy by SAMIR PANDA
Seminar of U.V. Spectroscopy by SAMIR PANDA
 
platelets_clotting_biogenesis.clot retractionpptx
platelets_clotting_biogenesis.clot retractionpptxplatelets_clotting_biogenesis.clot retractionpptx
platelets_clotting_biogenesis.clot retractionpptx
 
Leaf Initiation, Growth and Differentiation.pdf
Leaf Initiation, Growth and Differentiation.pdfLeaf Initiation, Growth and Differentiation.pdf
Leaf Initiation, Growth and Differentiation.pdf
 
Salas, V. (2024) "John of St. Thomas (Poinsot) on the Science of Sacred Theol...
Salas, V. (2024) "John of St. Thomas (Poinsot) on the Science of Sacred Theol...Salas, V. (2024) "John of St. Thomas (Poinsot) on the Science of Sacred Theol...
Salas, V. (2024) "John of St. Thomas (Poinsot) on the Science of Sacred Theol...
 
Remote Sensing and Computational, Evolutionary, Supercomputing, and Intellige...
Remote Sensing and Computational, Evolutionary, Supercomputing, and Intellige...Remote Sensing and Computational, Evolutionary, Supercomputing, and Intellige...
Remote Sensing and Computational, Evolutionary, Supercomputing, and Intellige...
 
Orion Air Quality Monitoring Systems - CWS
Orion Air Quality Monitoring Systems - CWSOrion Air Quality Monitoring Systems - CWS
Orion Air Quality Monitoring Systems - CWS
 
原版制作(carleton毕业证书)卡尔顿大学毕业证硕士文凭原版一模一样
原版制作(carleton毕业证书)卡尔顿大学毕业证硕士文凭原版一模一样原版制作(carleton毕业证书)卡尔顿大学毕业证硕士文凭原版一模一样
原版制作(carleton毕业证书)卡尔顿大学毕业证硕士文凭原版一模一样
 
DERIVATION OF MODIFIED BERNOULLI EQUATION WITH VISCOUS EFFECTS AND TERMINAL V...
DERIVATION OF MODIFIED BERNOULLI EQUATION WITH VISCOUS EFFECTS AND TERMINAL V...DERIVATION OF MODIFIED BERNOULLI EQUATION WITH VISCOUS EFFECTS AND TERMINAL V...
DERIVATION OF MODIFIED BERNOULLI EQUATION WITH VISCOUS EFFECTS AND TERMINAL V...
 
Introduction to Mean Field Theory(MFT).pptx
Introduction to Mean Field Theory(MFT).pptxIntroduction to Mean Field Theory(MFT).pptx
Introduction to Mean Field Theory(MFT).pptx
 
BLOOD AND BLOOD COMPONENT- introduction to blood physiology
BLOOD AND BLOOD COMPONENT- introduction to blood physiologyBLOOD AND BLOOD COMPONENT- introduction to blood physiology
BLOOD AND BLOOD COMPONENT- introduction to blood physiology
 
Toxic effects of heavy metals : Lead and Arsenic
Toxic effects of heavy metals : Lead and ArsenicToxic effects of heavy metals : Lead and Arsenic
Toxic effects of heavy metals : Lead and Arsenic
 
3D Hybrid PIC simulation of the plasma expansion (ISSS-14)
3D Hybrid PIC simulation of the plasma expansion (ISSS-14)3D Hybrid PIC simulation of the plasma expansion (ISSS-14)
3D Hybrid PIC simulation of the plasma expansion (ISSS-14)
 
Nucleic Acid-its structural and functional complexity.
Nucleic Acid-its structural and functional complexity.Nucleic Acid-its structural and functional complexity.
Nucleic Acid-its structural and functional complexity.
 
Observation of Io’s Resurfacing via Plume Deposition Using Ground-based Adapt...
Observation of Io’s Resurfacing via Plume Deposition Using Ground-based Adapt...Observation of Io’s Resurfacing via Plume Deposition Using Ground-based Adapt...
Observation of Io’s Resurfacing via Plume Deposition Using Ground-based Adapt...
 
Richard's aventures in two entangled wonderlands
Richard's aventures in two entangled wonderlandsRichard's aventures in two entangled wonderlands
Richard's aventures in two entangled wonderlands
 
PRESENTATION ABOUT PRINCIPLE OF COSMATIC EVALUATION
PRESENTATION ABOUT PRINCIPLE OF COSMATIC EVALUATIONPRESENTATION ABOUT PRINCIPLE OF COSMATIC EVALUATION
PRESENTATION ABOUT PRINCIPLE OF COSMATIC EVALUATION
 
Hemostasis_importance& clinical significance.pptx
Hemostasis_importance& clinical significance.pptxHemostasis_importance& clinical significance.pptx
Hemostasis_importance& clinical significance.pptx
 
bordetella pertussis.................................ppt
bordetella pertussis.................................pptbordetella pertussis.................................ppt
bordetella pertussis.................................ppt
 
Phenomics assisted breeding in crop improvement
Phenomics assisted breeding in crop improvementPhenomics assisted breeding in crop improvement
Phenomics assisted breeding in crop improvement
 

Self-Replication and the Halting Problem

  • 1. Cover image © Scientific American / Hybrid Medical Animation Self-Replication and the Halting Problem ELSI Seminar July 25, 2017 Hiroki Sayama sayama@binghamton.edu
  • 3. Life and Self-Replication “ ... when Rene Descartes averred to Queen Christina of Sweden that animals were just another form of mechanical automata, Her Majesty pointed to a clock and said, “See to it that it produces offspring.” ― Sipper, M. & Reggia, J. A. (2001) Scientific American 285(2)
  • 4.
  • 5. Von Neumann’s Question • Natural biological systems seem to have increased their complexity through evolution • Artificial systems seem to be able to make only products that are less complex than themselves Can artificial systems make products equally complex to, or more complex than, themselves?
  • 6. Von Neumann’s Answer • An artificial system can self-replicate if it consists of: – a description I(X) – a machine X that can • build X by reading I(X) • make a copy of I(X) • combine them together (i.e. X + I(X) = itself) • Description of a self-replicating machine must be separate from the machine itself
  • 7. Von Neumann’s Self-Replicating Automaton A : universal constructor B : tape duplicator C : controller ID=A+B+C : description tape A + IX → A + IX + X B + IX → B + IX + IX (A + B + C) + IX → (A + B + C) + IX + X + IX (A + B + C) + IA+B+C → (A + B + C) + IA+B+C + (A + B + C) + IA+B+C
  • 8. From M. Sipper, Artificial Life 4: 237-257 (1998) History of Self-Replication Studies
  • 10. Rewinding the tape of history for about a decade back…
  • 11.
  • 12.
  • 13. Turing Machines • Finite-state automaton + movable read/write head + infinite memory tape • Computationally universal state BB 1 0 B
  • 14. Universal Turing Machines • More important fact Turing showed: There are TMs that can emulate behaviors of any other TMs if instructions (software) are given A single machine can be a “universal computer” UTM A B C D
  • 15. Computation and Construction • Turing machines (1936) – Universal computer that can execute any computational tasks specified in a finite description – Emergence of “Computation Theory” • Von Neumann’s automata (1948) – Universal constructor that can execute any constructional tasks specified in a finite description – Emergence of “Construction Theory”
  • 16. Differences • Universal computers must be able to perform any logical, mathematical, or computational tasks possible – Universal constructors need not • Universal constructors must be made of the same parts they operate on, and thus obey the same “physics” laws as the parts – Universal computers need not
  • 17. More Difference? A : universal constructor B : tape duplicator C : controller ID=A+B+C : description tape A + IX → A + IX + X B + IX → B + IX + IX (A + B + C) + IX → (A + B + C) + IX + X + IX (A + B + C) + IA+B+C → (A + B + C) + IA+B+C + (A + B + C) + IA+B+C
  • 18. More Difference? A : universal constructor B : tape duplicator C : controller ID=A+B+C : description tape A + IX → A + IX + X B + IX → B + IX + IX (A + B + C) + IX → (A + B + C) + IX + X + IX (A + B + C) + IA+B+C → (A + B + C) + IA+B+C + (A + B + C) + IA+B+C computer || ?
  • 19. Hidden Connection A : universal constructor B : tape duplicator C : controller ID=A+B+C : description tape A + IX → A + IX + X B + IX → B + IX + IX (A + B + C) + IX → (A + B + C) + IX + X + IX (A + B + C) + IA+B+C → (A + B + C) + IA+B+C + (A + B + C) + IA+B+C computer || These components DO appear in computation theory as well
  • 21. The Halting Problem • Given a description of a computer program and an initial input it receives, determine whether the program eventually finishes computation and halts on that input • Is there a general procedure to solve this problem for any arbitrary programs and inputs? No
  • 22. Proof (1) M Program p Input i M M If p halts on i 1 If p doesn’t halt on i 0 (M always halts) • Assume there is a TM (called M) that can solve the halting problem for any program p and input i – Output of M: M(p, i) = 1 or 0
  • 23. Proof (2) • Derive another TM (called M’) from M which computes diagonal components in the p-i space – Output of M’: M’(p) = M(p, p) M’ Program p M’ M’ If p halts on p 1 If p doesn’t halt on p 0 (M’ always halts)
  • 24. Proof (3) M* Program p M* M* If p halts on p If p doesn’t halt on p 0 M* halts M* doesn’t halt • Derive another TM (called M*) from M’ that enters an infinite loop if M’(p) = 1 – Output of M*: M*(p) = 0 if M’(p) = 0; doesn’t halt otherwise
  • 25. Proof (4) • What happens if M* is given its self- description p(M*)? • No general algorithm exists for the halting problem M* Program p(M*) M* M* If p(M*) halts on p(M*) If p(M*) doesn’t halt on p(M*) 0 M* halts M* doesn’t halt Contradictions
  • 28. “ ... This proof, although perfectly sound, has the disadvantage that it may leave the reader with a feeling that “there must be something wrong”. The proof which I shall give has not this disadvantage, …”
  • 29. “ ... Now let K be the D.N of H. What does H do in the K-th section of its motion? It must test whether K is satisfactory, giving a verdict “s” or “u”. Since K is the D.N of H and since H is circle-free, the verdict cannot be “u”. On the other hand the verdict cannot be “s”. For if it were, then in the K-th section of its motion H would be bound to compute the first R(K – 1) + 1 = R(K) figures of the sequence computed by the machine with K as its D.N and to write down the R(K)-th as a figure of the sequence computed by H. The computation of the first R(K) – 1 figures would be carried out all right, but the instructions for calculating the R(K)-th would amount to “calculate the first R(K) figures computed by H and write down the R(K)-th”. This R(K)-th figure would never be found. I.e., H is circular …”
  • 30. Turing’s Proof (In Essence) • Derive another TM (called M’) from M which computes diagonal components in the p-i space – Output of M’: M’(p) = M(p, p) M’ Program p M’ M’ If p halts on p 1 If p doesn’t halt on p 0 (M’ always halts) What happens if M’ receives its own program p(M’) as an input?
  • 31. • The system M’ + p(M’) tries to compute the behavior of the TM described in p(M’) (i.e., M’) given p(M’) as an input → Computing the situation “M’ + p(M’)” → Circular self-computation → Self-replication within a TM tape Turing’s Proof (In Essence)
  • 32. M’ + p(M’) “M’ + p(M’)” “ “M’ + p(M’)” ” “ “ “M’ + p(M’)” ” ”
  • 33. Hidden Connection Revealed A : universal constructor B : tape duplicator C : controller ID=A+B+C : description tape A + IX → A + IX + X B + IX → B + IX + IX (A + B + C) + IX → (A + B + C) + IX + X + IX (A + B + C) + IA+B+C → (A + B + C) + IA+B+C + (A + B + C) + IA+B+C computer || Diagonalization M’(p) = M(p, p) The computer M’ + p(M’) The computed “M’ + p(M’)”
  • 34. Solving the Unsolvable • The Halting Problem: To determine whether the process eventually stops or not • Attempt to solve the halting problem creates an endless circular process of self-replication (in both computation and construction)
  • 35. M’ + p(M’) “M’ + p(M’)” “ “M’ + p(M’)” ” “ “ “M’ + p(M’)” ” ”
  • 36. M’ + p(M’) “M’ + p(M’)” “ “M’ + p(M’)” ” “ “ “M’ + p(M’)” ” ” What happens if I execute this instruction? What happens if I execute this instruction? What happens if I execute this instruction? What happens if I execute this instruction?
  • 37. Summary • Similarities between construction and computation • Von Neumann’s self-replication model ~ Turing’s original proof of the undecidability of the halting problem • Undecidability => endless process
  • 38. We are all in an endless self-computation/construction process initiated billions of years ago by a first universal constructor, who just tried to solve the halting problem for a diagonal input.