← 13a5c3f25c60 · 1407f5e6f3e5 →

13d2544b2b64

Two zero rows and two zero columns split an 8x8 input into nine 2x2 panels. At each local coordinate, equal non-1 colors on the left and right paint the intervening middle-column cell; equal non-1 colors on the top and bottom paint the intervening middle-row cell. Horizontal wins at a center-cell conflict. A four-profile schedule explicitly teaches unequal-color near misses, crossing priority, target overwrite, outer-middle fills, and one-sided controls.

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* ((sep-rows (filter (lambda (r)
                                      (all? (lambda (c) (zero? (at g r c))) (range 0 w)))
                                    (range 0 h)))
                  (sep-cols (filter (lambda (c)
                                      (all? (lambda (r) (zero? (at g r c))) (range 0 h)))
                                    (range 0 w)))
                  (sr0 (first sep-rows))
                  (sr1 (second sep-rows))
                  (sc0 (first sep-cols))
                  (sc1 (second sep-cols)))
             (cellmap g
                      (r c v)
                      (let ((v v))
                        (if (zero? v)
                            0
                            (let* ((gr (cond ((< r sr0) 0) ((> r sr1) 2) (else 1)))
                                   (gc (cond ((< c sc0) 0) ((> c sc1) 2) (else 1)))
                                   (base-r (cond
                                             ((zero? gr) 0)
                                             ((= gr 1) (+ sr0 1))
                                             (else (+ sr1 1))))
                                   (base-c (cond
                                             ((zero? gc) 0)
                                             ((= gc 1) (+ sc0 1))
                                             (else (+ sc1 1))))
                                   (lr (- r base-r))
                                   (lc (- c base-c))
                                   (h-mark (if (= gc 1)
                                               (let ((lv (at g (+ base-r lr) (+ 0 lc)))
                                                     (rv (at g
                                                             (+ base-r lr)
                                                             (+ (+ sc1 1) lc))))
                                                 (if (and (= lv rv) (!= lv 1)) lv 0))
                                               0))
                                   (v-mark (if (= gr 1)
                                               (let ((tv (at g (+ 0 lr) (+ base-c lc)))
                                                     (bv (at g
                                                             (+ (+ sr1 1) lr)
                                                             (+ base-c lc))))
                                                 (if (and (= tv bv) (!= tv 1)) tv 0))
                                               0)))
                              (cond
                                ((!= h-mark 0) h-mark)
                                ((!= v-mark 0) v-mark)
                                (else v))))))))))

Provenance

Generator
generators/13d2544b2b64/generator.py
Notes and decisions
generators/13d2544b2b64/notes.md
Review label
reviewed_safe
Generator SHA-256
89e62ab17177d9587fdfa03f593245e3e7eacdacfb388452e03079d61e1fe96e
Rule hash
301b331591ad
Sources
training
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 13d2544b2b64 --count 1 --seed 20261108 --test 1