← f0f2806877da · f1347e0836ec →

f112ec4615da

Build an even rectangular grid from four equal quadrants, each using one distinct foreground color over zero background. The output overlays corresponding cells with fixed priority TR > BL > BR > TL. General lessons force witnesses for all five outcomes: all-zero, TL, BR, BL, and TR.

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! (lambda (g)
         (let* ((h (rows g))
                (w (cols g)))
           (let* ((hh (/ (rows g) 2))
                  (hw (/ (cols g) 2)))
             (build-grid hh
                         hw
                         (r c)
                         (let* ((v (at g r c))
                                (v (if (!= (at g (+ r hh) (+ c hw)) 0)
                                       (at g (+ r hh) (+ c hw))
                                       v))
                                (v (if (!= (at g (+ r hh) c) 0) (at g (+ r hh) c) v))
                                (v (if (!= (at g r (+ c hw)) 0) (at g r (+ c hw)) v)))
                           v))))))

Provenance

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