← 39574cf4b561 · 3977ec54e4a0 →

397767b9f88c

Treat every 4-connected nonzero component as a color-blind shape, order the components by top-left position, and output an N×N grid with red(2) where two masks are equivalent under any of the eight dihedral transforms and 0 otherwise. Generated scenes use canonical canvas/palette profiles and include explicit same-area/same-bbox/color-histogram near-misses plus reflection-only positive matches.

parametric familymatrix outputrotation/flip equivalenceshape normalization

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!
  ;; Build the output grid
  (let* ((mask (grid-from-fn (rows g) (cols g)
                 (lambda (r c) (if (= (at g r c) 0) 0 1))))
         ;; Objects sorted by bbox position
         (objs (sort (objects mask 0)
                     (lambda (a b)
                       (if (= (obj-r1 a) (obj-r1 b))
                           (< (obj-c1 a) (obj-c1 b))
                           (< (obj-r1 a) (obj-r1 b))))))
         ;; Number of objects
         (n (length objs)))
    (grid-from-fn n n
      (lambda (r c)
        (if (match-transform (obj-cells (nth objs r)) (obj-cells (nth objs c))) 2 0)))))

Provenance

Generator
generators/397767b9f88c/generator.py
Notes and decisions
generators/397767b9f88c/notes.md
Review label
reviewed_safe
Generator SHA-256
b59cec040796146c5578bc9e535d65fd26a4e7d327dbb451438fac4379810a53
Rule hash
b36e2b403189
Sources
bank:64addfdad75c
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 397767b9f88c --count 1 --seed 20261108 --test 1