← ea763f9c5b1d · ea957ff0d072 →

ea8116b3e778

Reflect every red cell across both axes of the green 2x2 pivot, completing its four-cell orbit while preserving the pivot.

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!
 ;; Reflect every red(2) cell across the green(3) shape's bbox-center axes
 ;; (up-down, left-right, and both); empty cells whose mirror-source is red
 ;; are painted red.
 (lambda (g)
  (let* ((bb (bbox-of-cells (find-color g 3)))
         (sr (+ (first bb) (third bb)))
         (sc (+ (second bb) (fourth bb))))
    (cellmap g (r c v)
      (if (!= 0 v) v
        (if (or (= 2 (safe-at g (- sr r) c 0))
                (= 2 (safe-at g r (- sc c) 0))
                (= 2 (safe-at g (- sr r) (- sc c) 0)))
          2 0))))))

Provenance

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