← b38ab8be5f4c · b3bfd59c2c43 →
b39674306606
Find monochrome 4-connected objects, compare their occupied-cell sets after translation normalization only, and paint the sole shape occurring once cyan on a blank grid. Every other exact shape occurs in a matched pair; rotation and reflection do not count as equality.
parametric familypair cancellationshape signaturestranslation invariance
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 (paint grid cells color) (for/fold ((out grid)) ((p (in-list cells))) (if (in-bounds? (first p) (second p) (rows out) (cols out)) (set-cell out (first p) (second p) color) out))) (let* ((decorated (map (lambda (obj) (list obj (sort (normalize-cells (obj-cells obj)) cell<))) (objects g 0))) (unique (first (filter (lambda (entry) (= (length (filter (lambda (other) (equal? (second entry) (second other))) decorated)) 1)) decorated)))) (paint (empty-grid (rows g) (cols g) 0) (obj-cells (first unique)) 8))))
Provenance
- Generator
- generators/b39674306606/generator.py
- Notes and decisions
- generators/b39674306606/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- ff480f1799acf6aa5c1c83c3c566ba3868a05bbcd947c07737262e348947649a
- Rule hash
- c78264ef8c54
- Sources
- bank:647beeb937e1
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate b39674306606 --count 1 --seed 20261108 --test 1