# Session 87: Unknown keys regain capacity with selective F alignment

**An unknown 13-slot repeating key can satisfy the declared singleton constraints in every substantial section when selective unchanged F is allowed.** Each section gets its own key. An eight-slot key still fails section 4, even under A/I/O with the two prior red exemptions. No key is selected as an actual Liber Primus key, and no plaintext is recovered.

This continues the **completed** [Session 86](/sessions/86.html), which rejected the two *literal* known keys and the declared prime offsets. Changing the key values changes the question: failure of DIVINITY or FIRFUMFERENFE does not reject every unknown array of their respective lengths.

The new search completes **128 finite constraint queries: 67 satisfiable, 61 unsatisfiable, none unresolved**. These are capacity outcomes under a word premise, not 67 decryptions. All satisfiable witnesses are independently decoded and re-encrypted; their arbitrary outputs are retained through keys, skip masks and hashes rather than presented as translations.

## Fixed model and boundaries

The [saved plan](unknown_periodic_plan.json) fixes periods **8 and 13**, motivated by the two solved repeating-key examples. It does not claim the unsolved book uses either period. Each key slot may take any ordinal rune value from 0 through 28, including repeated values and shorter effective periods.

Decode `P = C − K[phase] mod 29`. Normally every rune advances the phase. The selective-F branch additionally permits ciphertext F to remain plaintext F without advancing. The companion branch permits no F exceptions. No word, punctuation, line or internal page resets are introduced.

Both policies use the existing eight substantial marked sections, totaling **12,947 runes**; the separate nine-rune segment remains outside scope. Each section is independent. Initial phase zero loses no possibilities here: cyclically rotating a completely unknown key absorbs any other initial phase.

Four word variants are retained unchanged from Session 86: all **83** corrected singleton words under A/I or A/I/O, and the same alphabets with only the two previously documented red singleton coordinates exempted, leaving **81** constraints. An exemption removes membership only, preserving the rune and its possible counter actions. No new exemptions, source changes or period expansion are made.

## Exact constraint compression

Only singleton membership is being tested. Between two active constraints, unconstrained ciphertext F positions can independently consume a key value or remain unchanged. If an interval contains `f` such positions, every skip count from zero through `f` is possible.

For a periodic key of length `L`, skip counts congruent modulo `L` give the same phase at the next constraint. The solver therefore needs representatives **0 through min(f,L−1)**. It retains a phase at each active constraint and a shared array of unknown key values. A constrained F can itself skip only if its allowed plaintext set contains F; the real A/I and A/I/O variants do not.

This compression preserves **existence** of a compatible path. It does not count all skip masks, preserve plaintext in the unconstrained intervals, or optimize a language score. After the last constrained word, ordinary advancement always supplies an unconstrained suffix.

For every satisfiable model, the program chooses actual F positions realizing the interval counts, replays the entire section rune by rune, checks every membership, and reproduces the ciphertext by inverse encoding. The older Session 86 known-key automaton separately confirms that the returned key has a feasible path.

The finite integer queries use **Z3 5.3.0.0**, seed 330187, and a five-second limit per query. Complete SMT-LIB inputs are saved before checking. An `unknown` or timeout would be reported unresolved; none occurred. Solver-based impossibility remains conditional on the stated encoding and word premise, not a universal cipher exclusion.

## Results: sections with at least one compatible key

Each entry counts sections out of eight. The sections and word variants overlap, so these are not independent experiments or statistical significance estimates.

| Word premise | 8 slots, no skips | 8 slots, selective F | 13 slots, no skips | 13 slots, selective F |
|---|---:|---:|---:|---:|
| A/I, all singletons | 1 | 5 | 1 | **8** |
| A/I/O, all singletons | 1 | 7 | 1 | **8** |
| A/I, prior red exemptions | 1 | 6 | 2 | **8** |
| A/I/O, prior red exemptions | 1 | 7 | 2 | **8** |

Under the primary A/I premise with all words, eight-slot selective-F keys fail sections **4, 6 and 8**. Allowing O leaves only section **4** failing. The red exemptions rescue section 8's A/I capacity, but do not rescue sections 4 or 6. Section 4 contains neither of those exempted coordinates.

Thus the exact eight-slot family cannot fit **the whole declared corpus** under any tested variant, even with separate keys by section. The thirteen-slot selective-F family passes this necessary screen in every section. This is not evidence that thirteen is the correct period; no wider period scan or period selection is performed.

All **64 no-skip outcomes** agree with a separate calculation that simply intersects allowed key values at each fixed phase. All **67 satisfiable query witnesses** pass complete scalar replay, membership checks, exact re-encryption and the older automaton's capacity check.

## A separate bound on reusing one key

A relaxed calculation removes every phase and F-path restriction and asks only how many different key values are needed to cover the observed singleton ciphertext types. It exhausts the finite set-cover problem by recursively covering an uncovered type with every eligible key value.

| Pooled word premise | Minimum distinct key values, ignoring alignment |
|---|---:|
| A/I, all words | **14** |
| A/I, prior red exemptions | **14** |
| A/I/O, all words | **11** |
| A/I/O, prior red exemptions | **11** |

Consequently, **one shared eight- or thirteen-slot key cannot explain all the A/I words**, regardless of F alignment or starting phases, under this arithmetic and word premise. The all-section thirteen-slot successes above depend on allowing different keys by section.

Under A/I/O, the relaxed pooled bound does not exclude thirteen slots. That is not a successful shared-key alignment test; no such search is conducted here.

This relaxed bound is not always sufficient to predict the constrained outcome. For section 4 under A/I/O, seven distinct values can cover its ciphertext types when alignment is removed, yet no eight-slot key satisfies the actual continuous selective-F phase constraints. The exact phase test adds information beyond a type count. Conversely, section 8's all-word A/I inventory alone needs nine distinct values, independently excluding eight slots there.

## Controls and what they establish

Before the real queries, **48 small three- and five-symbol fixtures** exhaust every unknown key and F subset. Their **96 policy comparisons**, covering **10,877 key/mask settings**, agree with the solver. Cases include consecutive F, F at edges, no F, constrained F, empty allowed sets and nonzero key values. Every returned toy witness also passes direct replay.

Another **80 small finite cover checks** compare the relaxed set-cover recursion with exhaustive key-value subset enumeration and agree exactly.

For Welcome and the second koan, the solver receives **every known plaintext rune**, but receives neither the key nor the skip mask. It returns the documented literal keys and skip locations, and both full outputs match. This is a known-plaintext encoding/recovery control. It does not demonstrate recovery of unknown plaintext from words or language scores, and alternative-key uniqueness is not tested.

Four planted encryptions additionally check key availability and witness replay:

| Underlying solved passage | Periods | Singleton constraints per case | Result |
|---|---|---:|---|
| First koan | 8 and 13 | **13** | Planted key remains feasible; the unconstrained-key solver returns a different feasible key in both cases |
| Divinity discussion | 8 and 13 | **0** | Empty-constraint smoke checks only; any successful fit is vacuous |

The two Divinity controls must not be counted as evidence of meaningful key recovery or discrimination. The two nonempty koan controls already demonstrate the central limitation: satisfying thirteen ordinary singleton words does not identify the planted key or the surrounding plaintext. The four encryptions use only two underlying passages and are not four independent language samples.

## Decision and next step

The fixed literal keys remain rejected by Session 86. The broader eight-slot unknown-key family is also insufficient for the whole book under the declared continuous section and word premises. The thirteen-slot selective-F family remains **open**, with section-specific capacity witnesses and no recovered actual key.

Do not treat its capacity as a reason to display arbitrary outputs or expand the key length until something looks readable. The next useful gate is a **known-message recovery benchmark with hidden key and plaintext**: specify the selection method, recover longer passages on constructed controls, and validate a continuation that did not select the key or F decisions. A real-text search should wait until that method shows useful recovery and discrimination, including failure handling.

A full-plaintext constraint control is not that benchmark, and a singleton-capacity witness is not a frozen prediction. The adjacent-repeat deficit and repeated phrase across sections remain unresolved features that any proposed complete mechanism must address. No cross-section equal-plaintext assumption, shared unknown-key alignment, language-model search or authorship claim is added here.

The source-recognition limitations and possibility that some apparent words have other semantics remain material. The immutable master and older reports are preserved; the quadratic branch stays parked. No background process remains running.

## Reproduce and inspect

Install [the research requirements](unknown_periodic_requirements.txt), then run `python3 -B unknown_periodic_audit.py controls` followed by `python3 -B unknown_periodic_audit.py screen` beside the retained companion files. These commands write the new controls/results and 128 SMT-LIB inputs, without rewriting earlier evidence.

- [Fixed scope, arithmetic, constraints and resource policy](unknown_periodic_plan.json)
- [Exact compressed solver and independent scalar replay](unknown_periodic_audit.py)
- [Pre-screen controls, including the zero-constraint cases](unknown_periodic_controls.json)
- [All 128 outcomes, formulas, witnesses and relaxed bounds](unknown_periodic_results.json)
- [Example unsatisfiable section-4 / eight-slot / A/I/O formula](unknown_periodic_s4_p8_AIO_all_singletons_F.smt2)
- [Corrected word conventions](/sessions/42.html)
- [Completed known-key selective-F screen](/sessions/86.html)
- [Z3 solver-result and model interface documentation](https://ericpony.github.io/z3py-tutorial/guide-examples.htm)
- [Official solver parameter documentation](https://microsoft.github.io/z3guide/programming/Parameters/)

This is bounded notebook research, not a claimed new community solution. **No verified new plaintext.**
