← 2b6886e6e1b3 · 2b83f40cf6d9 →

2b7bcfbf942b

A 0-background grid contains one to three distinct-color, same-style 4-connected objects. Objects vary among complete frames, gapped/open frames, and crosses, with independently variable canvas size, bounding boxes, positions, colors, and count. The selected rule replaces each object by its full bounding-box border plus a local same-color/zero checkerboard interior beginning with color at the interior top-left.

parametric familyframe detectioninterior fillingparity patterns

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 ((out (empty-grid (rows g) (cols g) 0)))
    (for/fold ([cur out]) ([obj (in-list (objects g 0))])
      (for*/fold ([acc cur]) ([r (in-range (obj-r1 obj) (+ (obj-r2 obj) 1))]
                              [c (in-range (obj-c1 obj) (+ (obj-c2 obj) 1))])
        (cond [(or (= r (obj-r1 obj)) (= r (obj-r2 obj)) (= c (obj-c1 obj)) (= c (obj-c2 obj)))
               (set-cell acc r c (obj-color obj))]
              [else
               (set-cell acc r c (if (= (modulo (+ (- r (+ (obj-r1 obj) 1)) (- c (+ (obj-c1 obj) 1))) 2) 0)
                                     (obj-color obj)
                                     0))])))))

Provenance

Generator
generators/2b7bcfbf942b/generator.py
Notes and decisions
generators/2b7bcfbf942b/notes.md
Review label
reviewed_safe
Generator SHA-256
80347e1ab7738e138903f5174669b89b973e342a3b4574e963cd419ccf70ac3c
Rule hash
de72b7a33ad3
Sources
bank:0f1ff2289d6f
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 2b7bcfbf942b --count 1 --seed 20261108 --test 1