← 033db13a9d37 · 038f266f3acf →

03478139591b

Binary two-color complement with a color map: 3→1, 5→4, 8→2, and every other nonzero color maps to itself.

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)))
           (let* ((color (find-first (lambda (c) (!= c 0)) (grid-colors g)))
                  (nc (casev color (hash 3 1 5 4 8 2) color)))
             (cellmap g (r c v) (if (!= v 0) 0 nc))))))

Provenance

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