← 9df4a42fced1 · 9e10061f96e5 →

9df67b512dad

Split the grid into nine zones: four singleton corners, four border strips with the corners removed, and the interior rectangle. Scan each zone in row-major order. Output a 3x3 grid containing the LAST NON-ZERO value seen in each zone, or 0 for an empty zone. Generated lessons use rotating empty-zone masks and multicolor scan conflicts so first-hit and occupancy-only shortcuts are refuted.

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! (lambda (g)
         (let* ((h (rows g))
                (w (cols g)))
           (build-grid 3
                       3
                       (or oc)
                       (let ((rs (if (zero? or)
                                     (list 0)
                                     (if (= or 2) (list (- h 1)) (range 1 (- h 1)))))
                             (cs (if (zero? oc)
                                     (list 0)
                                     (if (= oc 2) (list (- w 1)) (range 1 (- w 1))))))
                         (reduce (lambda (acc r)
                                   (reduce (lambda (a c)
                                             (let ((v (at g r c))) (if (!= v 0) v a)))
                                           acc
                                           cs))
                                 0
                                 rs))))))

Provenance

Generator
generators/9df67b512dad/generator.py
Notes and decisions
generators/9df67b512dad/notes.md
Review label
reviewed_safe
Generator SHA-256
6ca7c4a774ca6da79eb2e7591c47a1ede719451a9c642655667dca3f3f43e7ab
Rule hash
574840a0b71b
Sources
training
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 9df67b512dad --count 1 --seed 20261108 --test 1