← 0c023af8384a · 0c5e8548d3be →

0c4c1974cbf2

A zero-background odd-width grid has one centered full-height color-8 fold bar. Compare each nonzero left cell with the cell at its exact reflection on the right. Emit a same-size blank grid containing color 2 only at reflected positions where both sides were nonzero. Input colors are irrelevant; left-only, right-only, bar, and all other cells vanish. Two scheduled canonical-profile anchors preserve source support, while three contrast scenes jointly expose both occupancy branches, same- and different-color overlaps, constant-red output, and exact-position logic.

parametric familyfold comparisonoccupancy overlapsame-size mask

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 ((dummy 0)) (define (full-bar-col grid color) (first (filter (lambda (c) (all? (lambda (r) (= (at grid r c) color)) (range (rows grid)))) (range (cols grid))))) (let ((b (full-bar-col g 8))) (for*/fold ((out (empty-grid (rows g) (cols g) 0))) ((r (in-range (rows g))) (c (in-range b))) (let ((mc (- (* 2 b) c))) (if (and (in-bounds? r mc (rows g) (cols g)) (not (= (at g r c) 0)) (not (= (at g r mc) 0))) (set-cell out r mc 2) out))))))

Provenance

Generator
generators/0c4c1974cbf2/generator.py
Notes and decisions
generators/0c4c1974cbf2/notes.md
Review label
reviewed_safe
Generator SHA-256
973d449491497081dd3a005d16c1e1ae067b15ab725c61307fc04f025d1ca162
Rule hash
ceb28731a942
Sources
bank:02cfd661bb19
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 0c4c1974cbf2 --count 1 --seed 20261108 --test 1