← 00f0de29a65c · 01023c69fe3c →

00f37833e26f

0-bg grid with one green(3) grown polyomino (5-10 cells) and one gray(5) connected subset of it placed elsewhere (plus optional non-{3,5} decor the rule ignores); rule outputs the normalized set difference green-minus-gray, bbox-cropped, in green.

parametric familydynamic outputmask subtractionshape 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 ((dummy 0))
    (define (normalize cells)
      (let ((bb (bbox-of-cells cells)))
        (map (lambda (p) (list (- (first p) (first bb)) (- (second p) (second bb)))) cells)))
    (let* ((src (first (objects (keep-only g 3) 0)))
           (mask (first (objects (keep-only g 5) 0)))
           (src-norm (normalize (obj-cells src)))
           (mask-norm (normalize (obj-cells mask)))
           (kept (filter (lambda (p) (not (member p mask-norm))) src-norm))
           (bb (bbox-of-cells kept)))
      (paint-cells (empty-grid (+ (- (third bb) (first bb)) 1)
                               (+ (- (fourth bb) (second bb)) 1)
                               0)
                   (map (lambda (p) (list (- (first p) (first bb))
                                          (- (second p) (second bb))))
                        kept)
                   3))))

Provenance

Generator
generators/00f37833e26f/generator.py
Notes and decisions
generators/00f37833e26f/notes.md
Review label
reviewed_safe
Generator SHA-256
d89e5d60013546b4e3a7c57fbb172e88bf0afef04618fb5eb3b49a9dd33f66ce
Rule hash
f5d6cdb30124
Sources
bank:3c7b85b8eeb1
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 00f37833e26f --count 1 --seed 20261108 --test 1