Week 5 Flashcards
WHAT IS THE CHURCH TURING THESIS
In the 1930s, the Church-Turing Thesis came to be widely believed:
∙ all existing reasonable definitions of “algorithm” are
equivalent;
∙ any new reasonable definition of “algorithm” will turn out to
be equivalent to an existing one.
it cannot be proved.
What is the store for a turing machine?
A tape where the symbol under the tape head comes from an alphabet that may include a special blank symbol.
S_ is the current store for the turing machine
What are the 3 formalisations of effective computability?
The Turing Machine
the register machine
the flowchart machine
TM syntax
left
right
write (s)
if s goto l1 else l2
Readin and readout for TM
Readin positions the head to the left of the first input char
Readout operation is to the right of the current head position, to but excluding the first blank.
TM example
- right
- if B goto 10 else 3.
- if 0 goto 4 else 6
- write B
- if 0 goto 1 else 1
RM syntax
Xi := 0 reset
Xi := Xi + 1 increment
Xi := Xj
if Xi = 0 goto l1 else l2
What is the store for RM
memory which is random access
Difference in semantics between TM and RM
tape becomes a store sigma.
(l + 1, sigma[i := sigma(i) +1) if p(l) = Xi := Xi+1
GOTO syntax
similar to while
Rules of game of life?
The rules of evolution are as follows:
1 a cell with fewer than two live neighbours dies;
2 any cell with two or three live neighbours lives.
3 any cell with more than three live neighboours dies.
4 a dead cell with exactly three live neighbours becomes live.
Is game of life turing complete?
Yes, it can simulate any turing machine