← d185ceed5cc1 · d1bf9a8e4c69 →

d19732b92d4a

A color-0 grid contains two or three same-color endpoint pairs on opposite corners of length-3 diagonals. The output fills each blank midpoint with the endpoint color. Scheduled control scenes additionally contain one axis-aligned distance-2 pair, one length-5 diagonal pair, and one length-3 diagonal whose midpoint is already occupied; those controls remain unchanged and distinguish the exact local rule from broader rivals.

diagonal_reasoninglocal_completion

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! (let ((dummy 0)) (for*/fold ((out g)) ((r (in-range (rows g))) (c (in-range (cols g)))) (if (not (= (at g r c) 0)) out (let ((colors (append (if (and (in-bounds? (- r 1) (- c 1) (rows g) (cols g)) (in-bounds? (+ r 1) (+ c 1) (rows g) (cols g)) (not (= (at g (- r 1) (- c 1)) 0)) (= (at g (- r 1) (- c 1)) (at g (+ r 1) (+ c 1)))) (list (at g (- r 1) (- c 1))) (list)) (if (and (in-bounds? (- r 1) (+ c 1) (rows g) (cols g)) (in-bounds? (+ r 1) (- c 1) (rows g) (cols g)) (not (= (at g (- r 1) (+ c 1)) 0)) (= (at g (- r 1) (+ c 1)) (at g (+ r 1) (- c 1)))) (list (at g (- r 1) (+ c 1))) (list))))) (if (empty? colors) out (set-cell out r c (first colors))))))))

Provenance

Generator
generators/d19732b92d4a/generator.py
Notes and decisions
generators/d19732b92d4a/notes.md
Review label
reviewed_safe
Generator SHA-256
8f706a26926f45f60c36baf894ebaecb46dfe34f23ae4a8d4f0154b71c27ea41
Rule hash
4a1befe9ed91
Sources
bank:037ff40eee92
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate d19732b92d4a --count 1 --seed 20261108 --test 1