Return to the text: A Simulation of Our Own
The Lock Simulations
How the simulation works
- Start with a random string of the chosen length, from the chosen alphabet.
- Each draw picks one position and one character at random. Unless the position is locked, the character there is replaced.
- Immediate lock: a position locks the moment it receives its correct character.
- Delayed lock: nothing locks until a chosen number of the precise positions happen to be correct at the same time; then those lock, and every later correct hit locks at once.
- A run ends when every position is correct. The count is the number of draws: each draw stands for one mutation.
Immediate lock
Averages over 100 runs each.
| Alphabet | Length | Average draws | Low | High |
|---|---|---|---|---|
| 27 (Weasel) | 28 | 2,860 | 1,508 | 6,724 |
| 20 (amino acids) | 36 | 2,779 | 1,377 | 5,799 |
| 20 (amino acids) | 37 | 2,992 | 1,612 | 5,690 |
A 36- or 37-amino-acid target is about as hard as Weasel's 28-letter target. (An independent re-run with 2,000 runs each gave about 2,940, 2,960 and 3,100.)
Delayed lock: twenty precise positions
| Lock after | Average draws |
|---|---|
| 1 to 3 correct | about 1,200 to 1,400 |
| 4 | 1,975 |
| 5 | 3,248 |
| 6 | 8,955 |
| 7 | 107,271 |
| 8 | 520,459 |
| 9 | about 20 million, if it finishes |
An independent re-run gave about 3,750 at 5, 16,000 at 6, 105,000 at 7 and 940,000 at 8: the climb is if anything steeper.
Delayed lock: forty-two precise positions
| Lock after | Average draws |
|---|---|
| 1 to 5 correct | about 3,000 to 4,000 |
| 6 | 4,652 |
| 7 | 5,796 |
| 8 | 10,379 |
| 9 | 58,383 |
| 10 | 145,983 |
| 11 | 989,034 |
| 12 | scattered: some runs fail after 20 million |
Delayed lock: one hundred precise positions
Lock after 25 correct: upward of 20 million draws.
The more precise positions a protein needs, the smaller the share that can be in place before the search breaks down: about half at 20, about 30 percent at 42, a quarter at 100.
Last revised 2026-11-17
Return to the text: A Simulation of Our Own