← 1d1cffd62646 · 1d26c382ab68 →

1d23d72f3b43

An 8-12 by 8-12 zero-background grid contains 2-4 colors, each exactly twice at opposite diagonal corners of a non-degenerate rectangle. The rectangles are disjoint and include both diagonal orientations. Fill each color's entire inclusive bounding box with that color.

bounding boxesfillrectangle inference

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))))
    (for/fold ([out g]) ([color (in-list colors)])
      (let ((pts (find-color g color)))
        (if (= (length pts) 2)
            (let* ((a (first pts)) (b (second pts))
                   (r0 (min (first a) (first b))) (r1 (max (first a) (first b)))
                   (c0 (min (second a) (second b))) (c1 (max (second a) (second b))))
              (paint-cells out (positions-in-rect r0 c0 r1 c1) color))
            out)))))

Provenance

Generator
generators/1d23d72f3b43/generator.py
Notes and decisions
generators/1d23d72f3b43/notes.md
Review label
reviewed_safe
Generator SHA-256
36a6069b7fa9fc4438410b6321dbe760ef493008780c86328ad4fca686d2461b
Rule hash
013675ae7255
Sources
bank:cc07013acae1
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 1d23d72f3b43 --count 1 --seed 20261108 --test 1