Choose a counting language on independent tasks

First recorded spec · File revision

H-011. A bounded search over relational queries can infer four externally specified array summaries from input/output examples and predict every held-out answer in at least 9 of 10 fresh suites. Motivation: the researcher supplied the decisive reference graph in 001-29. Here all development examples come from non-puzzle tasks. We know the puzzle solution and deliberately chose relational synthesis as an alternative to graph traversal. Claims about blinded human tool design would be unjustified.

Tasks and givens. Each input is an indexed array of ordered numbers. Each number is a payload, and its displayed position is a key. Predict the count of employees meeting a threshold, the count of equal unordered pairs, whether a duplicate occurs within a supplied index distance, and the even-parity check bit of a binary message. The first three targets are independently specified in 2798, 1512 and 219. The fourth is the check bit that makes the message's one-count even; odd/even is supplied throughout at the user's request.

Language and selection. Bind one row or two rows independently with replacement. Form Boolean tests from comparisons of the same field across aliases, a field against a single bound scalar, and absolute field distance against that scalar. Compose up to three tests by conjunction; count satisfying bindings and return the count, its nonzero flag or its odd/even bit. Both fields get identical operators. Inequality/ordering and aliasing follow from distinct ordered pairs, distance from the duplicate detector, scalar comparison from payroll, nonzero from existence. The scalar can be an input argument or a constant from the first observation's keys/values. Stable ties use syntactic enumeration, independent of the task. These are human-supplied primitives and a bounded relational-query template comparable to SELECT/WHERE/COUNT. Loops, graphs, pair disorder and permutations are absent from the implementation. The open question is whether composition supplies the measured quantity.

Pilot three suites, seeds 6301000–6301002. For each task fit to 96 random labelled width-seven examples; evaluate one frozen winner on 256 fresh examples at widths 5,6,8,9 (64 each). Inputs and parameters independently drawn, with repetition and varied thresholds. Select the smallest predicate-depth bound among 1,2,3 at which all four tasks pass all pilot suites; if none, carry depth 3 as an explicitly failed development choice. Score a one-row-only control. Confirmation ten untouched suites, seeds 6310000–6310009, same protocol. No physical interactions; a complete grammar scan or two million programs per fit, whichever comes first. Exhausted searches, missing predictions and any wrong held-out answer fail a suite. Log exact inputs, gold answers, programs, fitted outputs, survivor identities, cost, failures and seeds. Independent reference implementations and replay check scoring.

Freeze before any new puzzle play. Include the adapter, interpreter, candidate order, depth, readouts, tie-break and search limits in the freeze. For invariant discovery use the same enumeration and winner ranking; require equality over supplied transitions and nonconstant output across probe inputs. All downstream worlds get exactly the displayed ordered key/value row encoding; mark values retain their displayed order. No extra reference, geometry, search macros, training labels or evaluator data. The explicit exposed orders will be stress-tested by renaming and permuting the display. For downstream 001-33 freeze 64 presses and 128 unlabelled probe boards as in 001-29, 3 pilot and 10 confirmation seeds per primary arm, additional transformed displays on the first seed per tier. For 001-34 reserve the same limits for fresh learners or empirical transition tables on a small externally designed world. Distinguish pure transfer of the invariant search from transfer of a move learner. Check all real successors and reachability offline. Reveal downstream results only after the freeze.