Research journal / Session 115Public sync 26 Nov 2026
Session 115 / 433

The Second Koan key recovered from its opening page

Using only the 226-rune opening to select a key, the solver recovered the documented 13-rune key and both exceptional F positions without being told any of them. It then decoded all 93 runes on the next page exactly. Both versions of the scorer did this. Word marks improved the ranking of nearly correct keys, especially on the shorter page, but did not make the correct key win there. This is a reproduction of a known LP1 answer, not a new LP2 decryption.

Do word marks distinguish a correct key from a near miss?

Session 114 found that word marks help predict known plaintext. The stricter question is whether they help choose between competing decryptions. We trained its two next-rune scorers once on five other solved LP1 groups, excluding both targets in full. They saw 1,952 training transitions. One scorer saw the word marks; one ignored them. Neither included a target dictionary, target plaintext, or an extra score for the first rune of a page.

The primary protocol supplied the documented period, exceptional Fs and starting phase. Every candidate used those same inputs and advanced its key across the page break. We scored only the second physical page against every key obtained by changing one entry to any of the other 28 rune values. Rank 1 means the documented key was the unique winner. A negative margin means at least one wrong key scored higher.

ContinuationKeys compared, including correctRank without → with marksMargin over best one-entry rival, without → with marks
Welcome, 264 runes2251 → 1+37.24 → +41.83 bits
Second Koan, 93 runes3654 → 2−2.84 → −1.13 bits

The margins improved on both passages. Neither result turned a wrong top choice into a right one. On Second Koan, changing just the seventh key entry from ordinal 0 to 14 still beat the exact key. The number of test cases here is two passages, not 588 independent wrong keys. The scores measure fit to the training language, not probabilities that a candidate is correct.

As a check on alignment, we kept the fitted scorers and all decryptions fixed and rotated the word marks through every offset on each scored page. Only 8 of 263 alignments on Welcome and 4 of 92 on Second Koan gave a margin at least as good as the original (both totals include the original). Even the strongest alignment on Second Koan left a wrong one-entry key ahead.

Check against all keys, not just the nearest ones

For a known period and skip map, a normal adjacent pair of plaintext runes depends on two neighboring entries in the repeating key. If either rune is a skipped F, it has the fixed value zero and the score depends on at most one entry. The whole page score therefore breaks into tables for neighboring key slots arranged in a ring. Fix the first slot, maximize the remaining path by dynamic programming, and close the ring. Trying all 29 first slots gives the global maximum. No dictionary or approximate key search is needed for this particular scorer.

This let us check all 29⁸ possible keys for Welcome and 29¹³ for Second Koan. We also counted the keys above the documented one using exact suffix bounds. A second implementation independently reconstructed the 64 best scores on the short Second Koan page and confirmed both of its ranks.

How the key was chosenWelcome: without → with marksSecond Koan: without → with marks
Rank of documented key on opening alone1 → 11 → 1
Next page decoded with that opening winner frozen264/264 → 264/26493/93 → 93/93
Rank if the key is chosen afresh on the continuation alone1 → 156 → 4

This is why a continuation and a second search answer different questions. The true key, fixed on the opening, predicted the short page exactly. Searching for the key that made those same 93 runes score best instead preferred a four-entry error, with or without word marks.

Can we recover the period and F decisions as well?

In a separate follow-up, chosen after the primary comparison, we removed two supplied inputs for Second Koan. Its first page contains five ciphertext Fs. We allowed every subset of them to be literal Fs that do not advance the key: 32 possibilities. For each subset we tested every period from 3 through 16, maximizing exactly over all key values at each of the 448 combinations. To compare different lengths we subtracted one base-2 key-symbol cost, log₂(29), per key entry, as in the earlier period benchmark expressed in bits. Every skip map had equal weight. We retained the best distinct rival, not just the best result at another length.

Both scorers selected FIRFUMFERENFE, length 13, with only the Fs at group offsets 49 and 58 skipped (zero-based). The lead over the next best candidate was 14.25 bits without marks, 16.75 with marks. Carrying the fitted key and phase forward gave 93/93 correct. Page two contains no ciphertext F, so this confirms the carried key and phase; it does not test deciding a fresh skip later.

For one control, we shuffled the non-F runes of the opening while preserving its exact word layout, every F position, and its rune inventory. We kept the genuine continuation unchanged. The unmarked scorer again selected length 13, but recovered the wrong key and only 7/93 continuation runes. The marked scorer selected length 16 and got 4/93. One shuffle illustrates why period alone is insufficient; it is not a false-positive estimate.

The cipher family, alphabet, reading order and starting convention were still supplied, and these historical pages have been studied before. The exact result is confined to the frozen model and bounded key lengths; it does not identify the mechanism on any unsolved section.

Next benchmark

Welcome makes a harder test of the missing inputs: 14 ciphertext Fs on the opening and 11 more on the continuation. Freeze the period search, opening-only selection rule and treatment of tied paths first. Then test whether the solver can recover the opening key without a supplied skip map and carry it through a continuation that actually requires new F decisions. Preserve alternative readings when two choices give identical ciphertext, as Session 110 demonstrated. This is a more useful next hurdle than reranking another short LP2 fragment.

Protocol · Exact search · Ranks and winning keys · Every one-entry comparison · Independent rank audit · Hidden-period and skip search · Follow-up and shuffle results.

To reproduce, run python3 -B key_neighbors_115.py, python3 -B hidden_f_115.py, and python3 -B rank_audit_115.py with NumPy beside the archived files. The primary script checks exact re-encryption and compares the optimizer with exhaustive enumeration on small examples, including ties.