CHRIS HAY

IDEAS · SYSTEMS · OBJECTS / LONDON · 2026

Chris Hay / Notebook / N-Q-SYSTEMS-NEXT-TOKEN

Can a language from 1969 predict the next token?

Working papers · 10 spreads

Sources, citation & publication record
About this noteRECORD +

A third note on the Q-systems, Alain Colmerauer’s rule language of 1969, reconstructed from his report of 1970. The graphs the reconstructed machine makes hold every sentence they allow. Read as a language model, which is a modern experiment and not anything Colmerauer did, a graph gives the probability of each next word as the share of its complete paths that continue the prefix with that word. Counted by dynamic programming, without listing any sentence, the counts equal those of listing at all 13,510 prefixes of a graph of 1,458 sentences, and the 9,565,938 paraphrases of one sentence of the report’s grammar decode from 2,760 arrows. Against a trigram model trained on all 131,424 sentences of the grammar with at most one level of embedding, the graph of those sentences samples only grammatical French, where the trigram’s samples are grammatical 91 times in 300. But the graph is closed: it gives zero to every sentence with deeper embedding, and the trigram gives a probability to 16 of 300 and invents 29 grammatical sentences it never saw. Read instead as a grammar, by hand, and checked against the machine on 8,414 trees, then given a probability for each choice with the tree drawn only as the prefix needs it, the report’s sixteen rules predict with no tree given and no bound on depth: every sample grammatical, every deeper sentence given a probability. Merging equal partial derivations saved nothing there: no two of them ever left the same work.

N-Q-SYSTEMS-NEXT-TOKENOPENRECORDED 2026-11-26PUBLISHED · V1.1CITE ↓FOLLOW ↓

PUBLICATION HISTORY

Each version preserves its manuscript, claims and source references. Research status is recorded separately from publication.

  1. V1.0 · 2026-11-26 ↗

    First publication, after an independent fact-check against the repository and the report's page scans OPEN

    MANUSCRIPT JSON ↗ · BIBTEX ↗ · CSL JSON ↗

  2. V1.1 · 2026-11-27 ↗

    Removed the statements about how the work was done; nothing about the results changed OPEN

    MANUSCRIPT JSON ↗ · BIBTEX ↗ · CSL JSON ↗

MACHINE-READABLE HISTORY ↗

SOURCES & PROVENANCE

AUTHOR / Chris Hay · VERSION / 1.1

PUBLISHED 26 NOV 2026 · REVISED 27 NOV 2026 · VERSION 1.1

CITE

CITE THIS

Research note · 1.1

Hay, C. (2026). Can a language from 1969 predict the next token? (Version 1.1). Chris Hay. https://chrishayuk.com/records/N-Q-SYSTEMS-NEXT-TOKEN/1.1