← c5dd8036311b · c68b56303c10 →

c5f62271ea44

A zero-background grid contains one solid color-1 rectangular panel. One cell in from its four corners are four distinct logical markers: three non-blue colors and blue (1). The panel also contains a nontrivial one-color body motif, connected or fragmented. Outside the panel, exactly three dots occupy three corners of a second bounding box; the missing fourth corner is interpreted as blue. Match that four-corner key signature to the panel's logical corners and apply the corresponding one of all eight D4 symmetries to the entire panel, including its body motif.

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).

Original task pairs

From the source task; the reference rule must reproduce them.

Reference rule (Racket)

(rule!
 ;; A framed panel (blue border) has four distinct interior corner
 ;; colors; scattered dots outside repeat those colors at the corners
 ;; of THEIR bounding box, in some orientation. Output the panel
 ;; rotated/flipped so its corners land like the dots' (missing dots
 ;; read as border blue 1).
 (lambda (g)
   (let ()
     (define bb (bbox-of-cells (find-color g 1)))
     (define pr1 (first bb)) (define pc1 (second bb))
     (define pr2 (third bb)) (define pc2 (fourth bb))
     (define panel (subgrid g pr1 pc1 pr2 pc2))
     (define ph (rows panel))
     (define pw (cols panel))
     (define A (at panel 1 1))
     (define B (at panel 1 (- pw 2)))
     (define C (at panel (- ph 2) 1))
     (define D (at panel (- ph 2) (- pw 2)))
     (define scattered
       (filter (lambda (p) (let ((r (first p)) (c (second p)))
                             (and (> (at g r c) 0)
                                  (or (< r pr1) (> r pr2)
                                      (< c pc1) (> c pc2)))))
               (grid-positions g)))
     (define sbb (bbox-of-cells scattered))
     (define (dot r c)  ;; scattered color there, else border blue
       (if (member (list r c) scattered) (at g r c) 1))
     (define signature
       (list (dot (first sbb) (second sbb))
             (dot (first sbb) (fourth sbb))
             (dot (third sbb) (second sbb))
             (dot (third sbb) (fourth sbb))))
     (define transforms  ;; (corner-signature transform), identity first
       (list (list (list A B C D) (lambda (p) p))
             (list (list B A D C) flip-lr)
             (list (list C D A B) flip-ud)
             (list (list D C B A) rotate-180)
             (list (list A C B D) transpose)
             (list (list D B C A)
                   (lambda (p) (rotate-180 (transpose p))))
             (list (list C A D B) rotate-cw)
             (list (list B D A C) rotate-ccw)))
     ((second (find-first (lambda (t) (equal? (first t) signature))
                          transforms))
      panel))))

Provenance

Generator
generators/c5f62271ea44/generator.py
Notes and decisions
generators/c5f62271ea44/notes.md
Review label
reviewed_safe
Generator SHA-256
e71a8359f0ef77c8ca881a47703ca3265ffd0d54ddc46f6309c97316dc894f03
Rule hash
74e8392d1794
Sources
augmented, training
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate c5f62271ea44 --count 1 --seed 20261108 --test 1