← 71d5c4ac6ea3 · 71f7823f30a3 →

71e2e99645f4

A fixed 4×14 input contains three 4×4 same-color sections at columns 0..3, 5..8, and 10..13, separated by zero columns 4 and 9. Each section has exactly one of four zero patterns: none→2, centered 2×2→8, bottom 2×2→4, or the four middle left/right edge cells→3. The output is 3×3; row i repeats the class color of section i.

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* ((sec (lambda (si)
                         (flatmap (lambda (r)
                                    (map (lambda (c) (at g r (+ (* si 5) c)))
                                         (range 0 4)))
                                  (range 0 h))))
                  (classify (lambda (si)
                              (let* ((cells (sec si))
                                     (zeros (filter (lambda (i) (zero? (nth cells i)))
                                                    (range 0 (length cells)))))
                                (if (zero? (length zeros))
                                    2
                                    (let* ((zero-cols (map (lambda (i) (mod i 4)) zeros))
                                           (ucols (unique zero-cols)))
                                      (cond
                                        ((= ucols (list 1 2)) (let ((zero-rows (map (lambda (i) (/ i 4))
                                                                zeros)))
                                            (if (and
                                                  (find (lambda (r) (= r 1)) zero-rows)
                                                  (find (lambda (r) (= r 2)) zero-rows)
                                                  (not (find (lambda (r) (zero? r))
                                                             zero-rows))
                                                  (not (find (lambda (r) (= r 3))
                                                             zero-rows)))
                                                8
                                                4)))
                                        ((= ucols (list 0 3)) 3)
                                        (else 2))))))))
             (build-grid 3 3 (r c) (classify r))))))

Provenance

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