← 7017b91a367d · 703a842c8e24 →

70205357c60a

On a 0-background grid, recolor a 5 to 2 iff its up, down, left, and right neighbours are all 5; preserve every other cell. Lessons cycle through solid rectangles, one-cell border notches, and two-cell deep notches. The notched scenes retain bbox-interior 5s beside the notch, refuting rectangle-fill and bbox-interior shortcuts.

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)))
           (cellmap g
                    (r c v)
                    (if (!= 5 v)
                        v
                        (let ((l (if (and (> c 0) (= 5 (at g r (- c 1)))) 1 0))
                              (ri (if (and (< c (- (cols g) 1)) (= 5 (at g r (+ c 1))))
                                      1
                                      0))
                              (u (if (and (> r 0) (= 5 (at g (- r 1) c))) 1 0))
                              (d (if (and (< r (- (rows g) 1)) (= 5 (at g (+ r 1) c)))
                                     1
                                     0)))
                          (if (and (= 1 l) (= 1 ri) (= 1 u) (= 1 d)) 2 5)))))))

Provenance

Generator
generators/70205357c60a/generator.py
Notes and decisions
generators/70205357c60a/notes.md
Review label
reviewed_safe
Generator SHA-256
aa275438df6776e6e49b8f58dde1600e8fa2974fdc3257ac859375145a422475
Rule hash
24d0faa4acb9
Sources
training
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 70205357c60a --count 1 --seed 20261108 --test 1