← 9b37d4bbfb7e · 9b6d928388be →

9b5d72b45563

On a fresh same-size color-0 canvas, process every isolated nonzero seed in row-major order. Paint its center and four one-step diagonal neighbours with the seed color, clip arms at the border, and let later seeds overwrite earlier colors where X footprints overlap.

diagonalsexpansionsame_size_local

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)) (for*/fold ((out (empty-grid (rows g) (cols g) 0))) ((r (in-range (rows g))) (c (in-range (cols g)))) (let ((v (at g r c))) (if (= v 0) out (for/fold ((acc out)) ((d (in-list (list (list 0 0) (list -1 -1) (list -1 1) (list 1 -1) (list 1 1))))) (let ((rr (+ r (first d))) (cc (+ c (second d)))) (if (in-bounds? rr cc (rows g) (cols g)) (set-cell acc rr cc v) acc))))))))

Provenance

Generator
generators/9b5d72b45563/generator.py
Notes and decisions
generators/9b5d72b45563/notes.md
Review label
reviewed_safe
Generator SHA-256
67ddf6ce934a6e686395471fcbad9232afa62fa0b05fda053512cd6a30d7bd16
Rule hash
cc30c7127a64
Sources
bank:483ae17489fc
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 9b5d72b45563 --count 1 --seed 20261108 --test 1