← 99f58784e7a0 · 9a35b20efa99 →

9a1459fe40d0

A full-height cyan(8) bar separates equal-width halves. For every left cell, compare whether it and its reflected right-half partner are occupied (nonzero). Return a fresh all-zero grid and paint orange(7) only at the reflected RIGHT-HALF position when exactly one side is occupied. The input bar and source colors are not copied to the output.

parametric familyfold comparisonoccupancy XORsame-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)) (left (not (= (at g r c) 0))) (right (and (in-bounds? r mc (rows g) (cols g)) (not (= (at g r mc) 0))))) (if (and (in-bounds? r mc (rows g) (cols g)) (not (equal? left right))) (set-cell out r mc 7) out))))))

Provenance

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