← 733c1bac8c45 · 7358813cf026 →

7355dc4aa5e5

Place 2-4 well-separated blue markers on one legal background color. For each original marker, paint its whole row and column blue, recolor the marker red, and recolor its in-bounds diagonal neighbors green.

parametric family

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))
               (dots (find-color g 1)))
           (reduce (lambda (acc dot)
                     (let ((r (fst dot))
                           (c (snd dot)))
                       (let ((g2 (reduce (lambda (a c2) (set-cell a r c2 1))
                                         acc
                                         (range 0 w))))
                         (let ((g3 (reduce (lambda (a r2) (set-cell a r2 c 1))
                                           g2
                                           (range 0 h))))
                           (let ((g4 (set-cell g3 r c 2)))
                             (reduce (lambda (a d)
                                       (let ((nr (+ r (fst d)))
                                             (nc (+ c (snd d))))
                                         (if (and (>= nr 0) (< nr h) (>= nc 0) (< nc w))
                                             (set-cell a nr nc 3)
                                             a)))
                                     g4
                                     (list (list -1 -1)
                                           (list -1 1)
                                           (list 1 -1)
                                           (list 1 1))))))))
                   g
                   dots))))

Provenance

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