← 0d15074a8931 · 0d1deab2505c →

0d191ce876ab

Keep each nonzero cell whose four cardinal neighbours share its colour.

parametric familyfilterlocaltopology

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)) (grid-from-fn (rows g) (cols g) (lambda (r c) (let ((v (at g r c))) (if (and (not (= v 0)) (> r 0) (< r (- (rows g) 1)) (> c 0) (< c (- (cols g) 1)) (= (at g (- r 1) c) v) (= (at g (+ r 1) c) v) (= (at g r (- c 1)) v) (= (at g r (+ c 1)) v)) v 0))))))

Provenance

Generator
generators/0d191ce876ab/generator.py
Notes and decisions
generators/0d191ce876ab/notes.md
Review label
reviewed_safe
Generator SHA-256
9a3b4d756ed13a6baade37946ec5892ce979e70e64d2c429dc9eb538947df5ae
Rule hash
ddef27a30643
Sources
bank:ece0cc5101a3
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 0d191ce876ab --count 1 --seed 20261108 --test 1