← 05409de4bec8 · 058ae70e4bdb →

056999828b88

Three or four separated, single-color objects have distinct cell counts. The oracle crops them and packs them left-to-right by increasing cell count with one zero gutter. A four-sample schedule preserves exact canonical linked profiles, ranges across free polyominoes through size six, and uses a dedicated size-nine branch to guarantee counterexamples to scan-, color-, bounding-box-, max-span-, boundary-perimeter-, adjacency-edge-, boundary-cell-, descending-size-, and finite-template ordering.

Generated by the released generator before publication; every output was computed by its Racket reference rule. White outlines mark the cells the rule changed. Lesson check:

refuted: a demonstration contradicts the rival. survived_all: it fits every demonstration and also gives the intended answer, so it cannot mislead here. ambiguous: it fits every demonstration but answers the query differently. Names are as declared by the generator; a declared shortcut is not guaranteed to fit the original pairs (see the paper’s Limitations).

Original task pairs

From the source task; the reference rule must reproduce them.

Reference rule (Racket)

(rule!
  (let ((dummy 0))
    (define (piece obj)
      (let* ((norm (normalize-cells (obj-cells obj)))
             (bb (bbox-of-cells norm)))
        (list (obj-color obj) norm (+ 1 (third bb)) (+ 1 (fourth bb)) (obj-size obj))))
    (define (piece< a b)
      (cond [(not (= (nth a 4) (nth b 4))) (< (nth a 4) (nth b 4))]
            [else (< (first a) (first b))]))
    (define pieces (sort (map piece (objects g 0)) piece<))
    (define widths (map (lambda (p) (nth p 3)) pieces))
    (define hh (if (empty? pieces) 1 (max-list (map (lambda (p) (nth p 2)) pieces))))
    (define ww (if (empty? pieces) 1 (+ (apply + widths) (max 0 (- (length pieces) 1)))))
    (first
      (foldl
        (lambda (p state)
          (let* ((out (first state))
                 (offset (second state))
                 (color (first p))
                 (cells (map (lambda (cell) (list (first cell) (+ offset (second cell)))) (second p)))
                 (painted (paint-cells out cells color)))
            (list painted (+ offset (nth p 3) 1))))
        (list (empty-grid hh ww 0) 0)
        pieces))))

Provenance

Generator
generators/056999828b88/generator.py
Notes and decisions
generators/056999828b88/notes.md
Review label
reviewed_safe
Generator SHA-256
ae4cb2c1c9a0d8ce46fcffdbdc1b313883b16790d8e4eb2db345631c5f09d5cc
Rule hash
d2d58f482c81
Sources
bank:53ccebf2a36f
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 056999828b88 --count 1 --seed 20261108 --test 1