← c5f62271ea44 · c690e739e0ce →

c68b56303c10

On background 0, take the bounding boxes of all color-2 cells and all color-3 cells. Emit a solid color-8 rectangle with the height and width of their nonempty intersection. Sparse points, relative box ownership, overlap aspect ratio, containment and canvas scale vary.

bounding boxesdynamic-size outputgeometric intersection

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* ((bb2 (bbox-of-cells (find-color g 2)))
         (bb3 (bbox-of-cells (find-color g 3)))
         (r0 (max (first bb2) (first bb3)))
         (c0 (max (second bb2) (second bb3)))
         (r1 (min (third bb2) (third bb3)))
         (c1 (min (fourth bb2) (fourth bb3))))
    (empty-grid (+ (- r1 r0) 1) (+ (- c1 c0) 1) 8)))

Provenance

Generator
generators/c68b56303c10/generator.py
Notes and decisions
generators/c68b56303c10/notes.md
Review label
reviewed_safe
Generator SHA-256
7de0c2fe4b3b7e584afd491601ebe31a755cade9a1bf19c4d11e6eedfd6b4194
Rule hash
42cdb52c8cce
Sources
bank:8ed83d4e427b
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate c68b56303c10 --count 1 --seed 20261108 --test 1