← 8d37d130fec1 · 8d46d66e31b0 →

8d45a1d4a531

A 0-background grid contains two to four singleton markers. All markers share one nonzero color and occupy distinct rows and distinct columns. For every marker, paint its entire row and entire column in that marker color. The output is the union of all such full crosses; every other cell remains 0.

marker expansionrow/column projectionsame-size transform

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 (paint grid cells color) (for/fold ((out grid)) ((p (in-list cells))) (if (in-bounds? (first p) (second p) (rows out) (cols out)) (set-cell out (first p) (second p) color) out))) (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 (paint (paint out (map (lambda (cc) (list r cc)) (range (cols g))) v) (map (lambda (rr) (list rr c)) (range (rows g))) v))))))

Provenance

Generator
generators/8d45a1d4a531/generator.py
Notes and decisions
generators/8d45a1d4a531/notes.md
Review label
reviewed_safe
Generator SHA-256
9df47b155f056b30782c141b035990e18518a57f4b878822a02020b51ce4d4c2
Rule hash
04b45d1c8bbd
Sources
bank:889fa9012eb1
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 8d45a1d4a531 --count 1 --seed 20261108 --test 1