ARTE
BELEZA E BEM-ESTAR
ARTESANATO
CULTURA E HISTÓRIA
ENTRETENIMENTO
MEIO AMBIENTE
COMIDA E BEBIDAS
ENGENHARIA REVERSA
CIÊNCIAS
ESPORTES
TECNOLOGIA
TECNOLOGIA VESTÍVEL
The Turing Machine
Mark

Criado por

Mark

27. agosto 2026FI
0
0
0
0
0

The Turing Machine

Every machine in this batch so far was built to do something. Alan Turing’s 1936 machine was built to prove that something could not be done, and it is not a machine anyone intended to construct — it is a definition. A tape divided into cells, a head that reads and writes one cell at a time, a finite table of rules, and a state. That is all. The astonishing part is that this austere thing can compute anything any computer can compute, which means it defines the boundary of the computable — and Turing used it to show that boundary has an outside. There are perfectly well-posed questions no machine can answer, and he proved it before a single electronic computer existed. The design that followed, with instructions living in the same memory as data, comes directly out of this abstraction.
Avançado
5 hours 30 minutes

Instruções

1

Run a Turing machine with paper and a coin

Before simulating one, be one. It takes ten minutes and it is genuinely clarifying.

  1. Draw a long row of boxes on paper — that is the tape. Write a few 1s in it and leave the rest blank.
  2. Put a coin on the leftmost box — that is the head.
  3. Write this rule table down: in state A reading 1, write 1, move right, stay in A. In state A reading blank, write 1, move left, go to state HALT.
  4. Now execute it strictly. Read the cell under the coin, look up the rule, do exactly what it says, and nothing else.

You have just added one to a number written in unary. More importantly, notice what you were NOT allowed to do: look ahead, remember anything beyond your current state, or make a decision the table did not cover.

That poverty is deliberate. Turing was not designing an efficient computer — he was stripping computation down to the least possible machinery, so that anything he proved impossible for THIS would be impossible for any machine whatsoever. The weakness of the model is the strength of the proof.

Materiais para este passo:

Graph PaperGraph Paper1 pad
Copper CoinCopper Coin1 peça
2

The machine cycle

Four operations, repeated forever: read, look up, write and move, change state. There is no arithmetic unit, no memory addressing and no instruction set — everything a computer does has to be built out of this loop.

The last branch is the one Turing was actually after. Some machines halt, some run forever, and you might hope for a clever analyser that examines any machine and tells you which. He proved no such analyser can exist — assume one does, and you can build a machine that asks the analyser about itself and then does the opposite, which is a contradiction.

That is not a statement about our cleverness or our computers being too slow. It is a limit on computation itself, proved in 1936, and it is why your compiler cannot warn you about every infinite loop and why no antivirus can perfectly decide whether a program is malicious by analysis alone.

Flow

Loading...

Ferramentas necessárias:

Desktop ComputerDesktop Computer
3

Simulate one, and watch the tape evolve

Loading Jupyter Notebook...

Ferramentas necessárias:

Desktop ComputerDesktop Computer
4

The universal machine, and why software exists

The step that turns a mathematical curiosity into the entire computing industry.

  1. Note that each machine above is a DIFFERENT machine — a different rule table for each task.
  2. Now consider encoding a rule table as symbols ON the tape, alongside the input.
  3. Design a machine whose rules are: read the encoded table, find the rule matching the simulated state and symbol, apply it, repeat.

That machine simulates any other machine given its description. It is a universal Turing machine, and it is the reason software exists.

Before this, a machine that added and a machine that multiplied were different objects, and Babbage's engine could only ever tabulate polynomials. After it, there is ONE machine and the task is data you feed it. The distinction between hardware and software is created exactly here.

Follow the consequence: if a program is just symbols on a tape, then a program can read another program as input — which is what compilers, interpreters, virtual machines and emulators all are. It also means a program can be given ITSELF as input, and that self-reference is precisely the lever Turing used to prove the halting problem undecidable. The same property that makes software possible makes it impossible to fully analyse.

Materiais para este passo:

Graph PaperGraph Paper1 pad

Ferramentas necessárias:

Desktop ComputerDesktop Computer
5

Turing complete, and the low bar for it

Find out how little is needed to reach the ceiling of computation.

  1. List the ingredients of the machine: read/write storage, conditional branching, unbounded tape.
  2. Remove the unbounded tape and consider what a finite machine can still do.
  3. Consider whether the relay logic from earlier in this batch, plus enough memory and a conditional jump, would qualify.

Any system with conditional branching, read/write memory and no fixed limit on that memory is Turing complete — able to compute anything computable. The bar is remarkably low, which is why it is reached accidentally: spreadsheet formulas, some card games, Conway's Game of Life and several configuration languages are all Turing complete without their designers intending it.

The one honest caveat: every real machine has finite memory, so strictly it is a finite state machine rather than a Turing machine. The idealisation is useful because the memory limit is rarely the interesting constraint.

And the closing point for the batch: your relay gates, plus the flip-flops, plus the adder, plus a conditional jump, IS a general-purpose computer. Nothing further needs inventing — only assembling, and finding a memory cheap enough to build at scale. That is exactly what the second half of this batch is about.

Ferramentas necessárias:

Desktop ComputerDesktop Computer

Materiais

2

Ferramentas necessárias

1

Blueprints relacionados

Estes blueprints compartilham conhecimento — técnicas, materiais ou princípios

CC0 Domínio Público

Este blueprint é liberado sob CC0. Você é livre para copiar, modificar, distribuir e usar este trabalho para qualquer finalidade, sem pedir permissão.

Apoie o Maker comprando produtos através do Blueprint, onde ele ganha uma Comissão Maker definida pelos vendedores, ou crie uma nova versão deste Blueprint e inclua-o como conexão no seu próprio Blueprint para compartilhar receita.

Discussão

(0)

Entrar para participar da discussão

Carregando comentários...