← dc91f4798e24 · dcc5f8961845 →

dcb4d769d19d

Find every singleton red(2) component. Replace its center and four cardinal neighbors with yellow(4), while preserving larger red components and all differently colored distractor objects.

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!
  (paint-cells
    g
    (flatmap
      (lambda (obj)
        (if (and (= (obj-color obj) 2) (= (obj-size obj) 1))
            (let* ((p (first (obj-cells obj)))
                   (r (fst p))
                   (c (snd p)))
              (list (list r c)
                    (list (- r 1) c)
                    (list (+ r 1) c)
                    (list r (- c 1))
                    (list r (+ c 1))))
            (list)))
      (objects g 0))
    4))

Provenance

Generator
generators/dcb4d769d19d/generator.py
Notes and decisions
generators/dcb4d769d19d/notes.md
Review label
reviewed_safe
Generator SHA-256
3ae845473b3a07da183427fe87d594da2aa954e368e64e690dff3b2cb3707e85
Rule hash
05d00f5c5804
Sources
bank:e2825ca16ace
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate dcb4d769d19d --count 1 --seed 20261108 --test 1