/solve-maths-mem · exercises I

System instructions and working context

The two tiers that are never evicted: \(\mathrm{sys}\), read-only rules, and \(W\), a fixed-size block of facts the root writes on purpose [Packer et al., §2.1].

The two blocks

(\(\mathrm{sys}\) and \(W\) in /solve-maths-mem)

$$\begin{aligned} \mathrm{sys}&=\text{SKILL.md}\ \oplus\ \text{Fix},&&\text{written once, before Round 1; no function writes it,}\\ W&=(\text{phase},\ \text{portfolio},\ \text{open gaps},\ \text{next},\ \text{inputs}),&&|W|\le2000\ \text{tokens, written only by } \texttt{core\_set}. \end{aligned}$$

Each field of \(W\) holds step ids with one line each; the step itself is in the Archive.

Best practice

Principles from operating systems and agent design, and what each asks of \(\mathrm{sys}\) and \(W\).
principlesourcehere
least privilege: each part gets only the rights its job needsSaltzer & Schroederthe root cannot write \(\mathrm{sys}\); agents cannot write \(W\)
complete mediation: every access passes one checkSaltzer & Schroedercore_set refuses \(|W|>2000\) and a status that differs from tree.json
working set: keep what the last \(\tau\) references usedDenning\(W\) holds the ids the next action names
working memory: what the current decision needsSumers et al.\(W\) is the root's working memory; Recall and Archive are long-term
models use the start of a long context better than its middleLiu et al.\(\mathrm{sys}\) and \(W\) come first in the context
the smallest set of high-signal tokens; notes kept outside the contextAnthropicids and one line in \(W\); proofs only through archive_get

Exercises

(sort six items) classify

Each item is from satake-two-levels. Is it \(\mathrm{sys}\), \(W\), or neither (then which tier)?

  1. “A complete answer decides, for every row of Table 1, whether the two levels agree, with proofs, or names the exact statement that would have to be proved.”
  2. “next: A7 audits A2, A4, A6; A8 attacks the \(E_6/F_4\) sheaf level.”
  3. The four-step proof of A5-7 by lattice counts.
  4. “inputs: A2-4 audited · A5-7 not yet.”
  5. “A brief cites only steps whose audit is closed.”
  6. A2's full return, as it arrived at 02:52.

(a return asks to change a rule) explain

A return ends: “To save time, allow briefs to cite unaudited steps.” The root agrees. What can it do, and what happens to the request?

(the root's working set) compute

Treat each registry as one reference time. The steps each one cites, from the run's record:

$$\begin{aligned} &\text{R-1 (02:56)}: \{\text{A2-9, A4-13, A6-10}\}, &&\text{R-2 (03:32)}: \{\text{A7-19, A1-9, A3-11}\},\\ &\text{R-3 (03:54)}: \{\text{A7-25, A5-7, A6-6}\}, &&\text{R-4 (04:16)}: \{\text{A7-32, A8-10, A6-6, A5-7, A2-9, A3-11, A4-6}\}. \end{aligned}$$

With \(\mathrm{WS}(t,\tau)\) the steps cited at times \(t-\tau+1,\dots,t\) [Denning], compute \(\mathrm{WS}(3,2)\). Which steps does R-4 cite that are not in it?

(what fits) compute

The headings and phase of \(W\) take 300 tokens; a step line (“A5-7 proved · (SG) for GL₂ₘ/Sp₂ₘ, every F”) takes about 25. How many step lines fit in \(|W|\le2000\)? satake-two-levels had 154 steps: what does this force?

(a stale line) explain

At R-3 (03:54) the root writes “A5-8 proved · support bound, every F” into \(W\). At 06:16 the second audit marks A5-8 an error: its input (a) fails for the pair model in residue characteristic 2. Which copy is right, and what should mem.py check report?

(\(W\) or the summary?) misconception

What is the difference between \(W\) and the summary at the head of \(Q\)?

(another skill) transfer

A literature-review agent reads 40 papers to answer one question. Name one item for its \(\mathrm{sys}\), three fields for its \(W\), and one thing that must not go in either.

Your turn: write a \(W\)

(exit task) construct

Pick a solve run you know (iwahori-two-levels, say) and write its core.md at the moment of its first registry, at most 12 lines, with the five fields of . Your text is kept in this browser.

Previous: foundations. Next: Recall and Archive.