Discover an invariant from a learned model

Spec · File revision First recorded spec · 24 November 2026

Question. Can a bounded expression search using 001-28's own predictions separate the two components of the 8-puzzle exactly? H-008. Base 0cea55f. 001-28 predicts individual moves. Its planner can still exhaust a component to reject a goal.

Representation and prior knowledge. Each expression counts occurrences of one displayed mark in a subset of displayed slots, optionally adds an aggregate, then optionally takes odd/even. Aggregates are zero, the count of slots matching a reference, and the number of connected components of a bipartite graph linking each slot to the marks occupying it in the current and reference observations. Reference = first observation. Enumerate all marks, slot subsets and aggregates. Select by fewest selected slots plus one for a nonzero aggregate, then deterministic enumeration order. Require variation across input boards and equality on every supplied transition. The graph statistic is a strong researcher-selected bias: on permutations its components are permutation cycles. We chose it knowing the mathematical solution. Disclosure and an aggregate-off diagnostic are essential. Fair-tools status is provisional pending transfer. No coordinates, distinguished gap, inversion count, tile order, checkerboard or goal labels. With odd/even off, integer values are compared directly. This finite grammar has no arithmetic for reconstructing modulo. Also include the published Daikon-style dynamic invariant baseline restricted to individual scalar features (single slot counts, matches and components), evaluated over identical examples. This is a template baseline, not the Daikon software.

Protocol. Pilot 10 seeds 5101000–5101009, confirmation 30 seeds 5110000–5110029. Each fresh 001-28 agent takes up to 64 real presses in episodes of eight, starting on uniformly shuffled boards with independent shuffled goals. Stop an episode early at goal or no chosen action. Use 001-28 observe/choose/act/learn, fast planner. Exogenous resets and constant episode length limit planning latency and are disclosed. Primary inputs use the world's order. Also permute slots, button order and shared names together, and separately check disjoint slot alphabets. Own marks remove cross-slot identity; expect failure there. Cap at eight episodes, count actual presses. Probe the frozen model on all buttons of 128 independent unlabelled boards obtained by permuting the first observation's slots (for own marks use independently reset, encoded boards supplied by the harness). Record known, unknown and erroneous predictions; score errors externally. In a matched diagnostic substitute true successors on the same probes. No access to labels in discovery. Compare exact and parity arms and all controls on the same transitions; finite search at most 3 x 9 x 512 candidates per arm. Save survivors or rejection evidence sufficient to reconstruct every candidate's disposition, cost, model size, predictions and frozen winner.

Verification and falsification. A separate evaluator traverses true moves and checks components over all 362,880 boards and all four actions, including boundary self-loops. Evaluate every distinct frozen winner, including bad ones. An exact two-class partition implies correct pair decisions. Record a fresh rejected goal query executed through the agent without graph search. No verifier feedback to the search. Predict exact learned-model winners with parity on at least 27/30 primary runs, none with parity off, and exact true-model winners on all primary runs. Constants, abstentions, out-of-budget and partial separators fail. Report raw fractions, binomial intervals, timing, peak memory and state counts. Distinguish exact classification from independent invention of primitives. Test frozen core/world identity, per-feature values, rejection, independent oracle partition, repeatability and agent integration. Preserve pilot and confirmation separately, review and reproduce before updating status.

Prior work. Christen et al. (ICAPS 2022) synthesize separating potentials with access to action descriptions. Here the true-model arm measures the advantage of complete predictions in our grammar. Lenat and Brown (1984) explain how much discovery may depend on a supplied representation. Both considerations limit the claim.

Amendment, 2026-11-24 — pilot controls and precision #

The original collector completed eight plain or shuffled units and three own-mark units before being stopped during the next own-mark unit. Two completed own-mark runs took over 110 seconds each. Their uncapped records are retained separately. Finish all own-mark runs with an additional deterministic cap of 12,000 ordinary planner successor calls per unit. A planner-budget stop keeps the last completed move model and the true-model comparison. Disclose that only marks on the first observation are candidate constants (nine of 81 possible own marks); all observations are still usable for the reference graph. The 128 probes are independent uniform board resets encoded by the harness in every arm; in shared-mark mode this has the same distribution as permuting the reference, with a distinct deterministic realization. Presentation and episode shuffles in this experiment share the seed, so controls are paired transformations rather than independent presentation draws. The inherited fast planner may internally index all permutations while choosing training moves. The discovery procedure cannot access its arrays or the offline evaluator. Peak memory from the original multi-unit process is a process high-water mark. Subsequent cold workers report per-unit peaks. The cap affects the secondary own-mark diagnostic only; primary protocol and all thresholds are unchanged.

Amendment, 2026-11-24 — equivalent implementation for disjoint marks #

Stack sampling located the expensive calculation in 001-28's rebuild of candidate move descriptions, outside the exploration planner. For the secondary own-mark control the harness can construct exactly the same ordered hypotheses by finding subsets of readings that distinguish every pair of observations with different outcomes. This prunes rejected combinations before allocating guess objects. It changes computation time, not the movement algorithm or the discovery grammar. Set MAD_PLAIN_FAMILIES=1 for the original. Tests compare every candidate and its stored cases to exhaustive construction. Cold reruns are checked against the original pilot artifacts, including raw predictions and serialized learner size.

Amendment, 2026-11-24 — confirmation freeze #

After ten complete matched pilot triplets, the shared-mark parity arms were exact 10/10; the integer and own-mark arms never passed. Confirm unchanged on the thirty registered fresh seeds, with all three presentations, using one cold process per unit. Use the equivalent filtered constructor on disjoint marks only. Compare coverage, compute and resource distributions separately by presentation. The offline scorer and thresholds remain fixed. Early dumps and extra comparisons remain labelled pilot or review.