A Diary Is Not an Answer Key: Memory, Contextuality and the Insider of a Classical Machine
You may open any two of three boxes, and you always find one full and one empty. No list of contents fixed in advance can do this, because two of the three boxes would have to hold the same thing. Yet a small classical machine passes the test. It flips a coin for the first box opened and gives the opposite for the second, and it keeps a complete log, a diary, from which every answer can be recomputed. A diary is not an answer key, a list that fixes one answer to every question whatever else is asked. If one state of the machine answers every question of a round, its statistics are those of answer keys drawn at random. If each question meets the machine in a later state, they need not be. An engineer can read every cell of a machine at one instant. A part of the machine that can only ask, one question after another, cannot take such a snapshot, and its questions meet the machine in later states. For the remembering machine, which starts every round afresh, the diary of a round then gives an answer for each way of asking that round, and no answer key. Classical models of this kind have been known since Bell in 1966. We work them out in small machines that we build, run and check exactly, on three puzzles: Specker’s three boxes, the Liar cycle of five statements, and the Peres-Mermin square of nine yes-or-no questions. On all three the machine keeps every rule, and no mixture of answer keys reproduces its statistics. On the boxes and the Liar cycle a machine that ignores the question does as well, and on the square the machine must use what came before in the round. Under the conditions we mainly used a few memory states suffice, with counts for the boxes and the Liar cycles that are new as far as we know. Under those conditions, three states keep the rules and repeated answers on every Liar cycle of seven or more statements. Keeping the rules is not the same as giving such statistics. When each round starts in a state picked with equal odds, every machine with three states that keeps the rules of the square lets the odds of a single answer drift with what was asked before, and a test that allows for the drift finds nothing contextual in any of them. The same holds, with the two orders of asking pooled, for every machine with three states that keeps the rules and repeated answers of a longer cycle. Four states do without drift, on the square and on every cycle of seven or more statements. The construction still works with the one who asks inside one deterministic cellular automaton. The machine is caught by a round that closes a cycle, such as all three boxes asked in turn, and it gains nothing when the questions go to two stations too far apart for a message to arrive, as Bell’s theorem says. The square can be realised by nine measurements on two quantum bits. A classical model that gives the right odds for every answer from the past alone, when the questions are picked uniformly at random, uses 24 memory states in the long run, a published value that our code finds again. The two quantum bits hold at most two bits, of a different kind, in a quantum memory. No quantum experiment was run. A further section reads these machines as recurrent networks, whose hidden state is the memory, and lists the exact least memory of the smallest puzzles. In a sixth experiment a reservoir, a fixed random network of which only a linear readout is trained, learns to answer as the remembering machine does, and with its memory cut it is at chance on the answers that depend on the past. On the boxes and the Liar cycle it must carry one coin for one step. On the square the memory is still small, but the third answer is a parity of several remembered bits, and a linear readout needed a few thousand mixed features for it in both reservoirs that answered it, about 4,096 to 8,192 units for an echo state network. A square with no contextuality cost an echo state network about as much as the real square, another cost less but far more than the cycles, and the contextual cycles are cheap. So in these puzzles contextuality is neither needed for the cost nor enough for it.
Authors
- O. Cem Yilmaz (ORCID: https://orcid.org/0009-0002-8781-5386)
Institutions
- Adana Science and Technology University (TR)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-24
- DOI
- https://doi.org/10.5281/zenodo.24506487
- Primary Topic
- Quantum Mechanics and Applications
- Type
- preprint