← 65084a735199 · 65a142eb4d9b →

659980b6f715

A zero-background 8..10 by 11..13 grid contains two horizontally separated, 4-connected colored polyominoes. Color 9 is reserved for the output. Normalize each colored component independently to its bounding-box origin, overlay the normalized sets, paint shared cells 9, and retain each original color on cells unique to that component.

parametric familyoverlayset algebrashape 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!
  (let* ((colors (filter (lambda (v) (not (= v 0))) (grid-colors g 0)))
         (c1 (first colors))
         (c2 (second colors))
         (n1 (normalize-cells (find-color g c1)))
         (n2 (normalize-cells (find-color g c2)))
         (both (append n1 n2)))
    (let ((max-r (apply max (map first both)))
          (max-c (apply max (map second both))))
      (grid-from-fn (+ max-r 1) (+ max-c 1)
        (lambda (r c)
          (let ((p (list r c)))
            (cond [(and (member? p n1) (member? p n2)) 9]
                  [(member? p n1) c1]
                  [(member? p n2) c2]
                  [else 0])))))))

Provenance

Generator
generators/659980b6f715/generator.py
Notes and decisions
generators/659980b6f715/notes.md
Review label
reviewed_safe
Generator SHA-256
bebd25d2975afcdaa7730e1d6d76bfe9f81b2ea7706cf4ac558f3b9c4e59fcec
Rule hash
df22257022fe
Sources
bank:dc02f6f7c147
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 659980b6f715 --count 1 --seed 20261108 --test 1