Files
adm 862897fdbc proofs: Lean 4 kernel-checked cache-restore correctness + prefix measure tool
proofs/auto_ckpt.lean: core-only Lean 4 model of the auto-ckpt / GEN 0 RESUME rule, kernel PASS (no sorryAx). Proves restore soundness (s <= lcp => first s tokens match, bit-identical recompute), branch invalidation (divergence at p => lcp <= p), and GEN 0 -> RESUME L. Backs the invariants in review/osservazioni-auto-ckpt.md.

examples/prefix_measure.rs: measures the real static prefix from live SQLite sessions via build_prefix_ids (no engine): ~1135 tokens/session, 575 tool_declare, ~589 shared cross-session. README Status documents both + the agreed next engine-side --auto-ckpt step. Suite 162 passed + 3 ignored, clippy/fmt clean.
2026-11-26 20:59:15 +01:00
..