← 41a5c2fcf25a · 4238cc89338a →

4201f3b3ea1b

Stamp every non-{0,5,6} cell relative to the first 5 onto each row-major color-6 anchor.

anchored copyingoffset transfersparse motif

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).

Reference rule (Racket)

(rule!
  (let* ((src (first (find-color g 5)))
         (anchors (find-color g 6))
         (motif (filter (lambda (cell) (not (member? (third cell) (list 0 5 6)))) (grid-cells g))))
    (for/fold ([out g]) ([anchor (in-list anchors)])
      (for/fold ([cur out]) ([cell (in-list motif)])
        (let ((r (+ (first anchor) (- (first cell) (first src))))
              (c (+ (second anchor) (- (second cell) (second src)))))
          (if (in-bounds? r c (rows g) (cols g))
              (set-cell cur r c (third cell))
              cur))))))

Provenance

Generator
generators/4201f3b3ea1b/generator.py
Notes and decisions
generators/4201f3b3ea1b/notes.md
Review label
reviewed_safe
Generator SHA-256
a16fbd1baf544d3a435d9371e573855ac6a88359c22dc108439d770bdde0513b
Rule hash
d92ee10172c2
Sources
bank:cc07013acae1
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 4201f3b3ea1b --count 1 --seed 20261108 --test 1