Discover an invariant from a learned model

First recorded spec · File revision

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.