← 023f0cc17b52 · 027805c8ff0f →
0261c073ae3f
Grid split by a single full color-5 column into 2 panels. Each panel holds a non-zero compact object pattern in some non-bg, non-5 color. Rule: extract left panel and right panel (as subgrids). Normalize each: crop to bbox of non-zero cells, then convert to binary mask. Take XOR of the two binary masks (aligned at (0,0), padded by 0 where dims differ). Output is the bbox-sized XOR with 7 wherever the masks differ, 0 wherever they match.
parametric familyboolean operationsnormalizationpanel abstraction
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* ((sep (first (filter (lambda (c) (all? (lambda (r) (= (at g r c) 5)) (range 0 (rows g)))) (range 0 (cols g)))))
(A (subgrid g 0 0 (- (rows g) 1) (- sep 1)))
(B (subgrid g 0 (+ sep 1) (- (rows g) 1) (- (cols g) 1))))
(define (norm-binary panel)
(let* ((cells (filter-cells panel (lambda (r c v) (not (= v 0)))))
(bb (bbox-of-cells cells)))
(if bb
(let ((sub (subgrid panel (first bb) (second bb) (third bb) (fourth bb))))
(grid-from-fn (rows sub) (cols sub) (lambda (r c) (if (= (at sub r c) 0) 0 1))))
(empty-grid 1 1 0))))
(define a (norm-binary A))
(define b (norm-binary B))
(define h (max (rows a) (rows b)))
(define w (max (cols a) (cols b)))
(grid-from-fn h w
(lambda (r c)
(let ((av (if (and (< r (rows a)) (< c (cols a))) (at a r c) 0))
(bv (if (and (< r (rows b)) (< c (cols b))) (at b r c) 0)))
(if (not (= av bv)) 7 0))))))Provenance
- Generator
- generators/0261c073ae3f/generator.py
- Notes and decisions
- generators/0261c073ae3f/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 0d2ac6b94d743b73febd05f061e4c7bacffec17d47d9e225a22ef6b2163b8234
- Rule hash
- d90f9544d00e
- Sources
- bank:cc07013acae1
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 0261c073ae3f --count 1 --seed 20261108 --test 1