← fbf36c193fa6 · fc5f4c1fd7c2 →
fc41c9b3a565
On a 0-background grid, treat each nonzero monochrome 4-connected component as an object. Normalize each object to its own bounding box. Keep it at the same cells and in the same color exactly when its occupied mask is invariant under a 180-degree rotation; erase every other object. Generated lessons include point-symmetric-only objects and matched asymmetric decoys, so reflection-axis, size, aspect, position, and canonical-prototype shortcuts disagree with the intended labels.
parametric familyfilterobjectssame_sizesymmetry
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! (let ((dummy 0)) (define (obj-bbox-width obj) (+ 1 (- (obj-c2 obj) (obj-c1 obj)))) (define (obj-bbox-height obj) (+ 1 (- (obj-r2 obj) (obj-r1 obj)))) (define (component-grid obj) (for/fold ((out (empty-grid (obj-bbox-height obj) (obj-bbox-width obj) 0))) ((p (in-list (obj-cells obj)))) (set-cell out (- (first p) (obj-r1 obj)) (- (second p) (obj-c1 obj)) (obj-color obj)))) (define (binary-grid grid) (grid-from-fn (rows grid) (cols grid) (lambda (r c) (if (= (at grid r c) 0) 0 1)))) (define (shape-180-symmetric? shape) (equal? (binary-grid shape) (binary-grid (rotate-180 shape)))) (for/fold ((out (empty-grid (rows g) (cols g) 0))) ((obj (in-list (objects g 0)))) (let ((shape (component-grid obj))) (if (shape-180-symmetric? shape) (paint-cells out (obj-cells obj) (obj-color obj)) out)))))
Provenance
- Generator
- generators/fc41c9b3a565/generator.py
- Notes and decisions
- generators/fc41c9b3a565/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 23dce83c22deae4bd08d1c08552143a1eeca2ac037b04f6467501c41b4d400c1
- Rule hash
- 735d17bb2ca5
- Sources
- bank:fc0f4ba66a95
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate fc41c9b3a565 --count 1 --seed 20261108 --test 1