← 99405cd80c26 · 99601629ab88 →

994f16f93144

On a background-0 grid, recolor an interior nonzero cell to cyan (8) exactly when its two opposite diagonal neighbors have the same color as the center. Both down-right and down-left triples count. Endpoints, axis-aligned triples, diagonal pairs, and mismatched-color diagonals stay unchanged.

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 1 (- (rows g) 1))) (c (in-range 1 (- (cols g) 1)))) (let ((v (at g r c))) (if (and (not (= v 0)) (or (and (= (at g (- r 1) (- c 1)) v) (= (at g (+ r 1) (+ c 1)) v)) (and (= (at g (- r 1) (+ c 1)) v) (= (at g (+ r 1) (- c 1)) v)))) (set-cell out r c 8) out)))))

Provenance

Generator
generators/994f16f93144/generator.py
Notes and decisions
generators/994f16f93144/notes.md
Review label
reviewed_safe
Generator SHA-256
1104b68e1b5941f2fd8686cbb0a279253a1e900d9ee2a5518b4d624481a7f41b
Rule hash
606a0be0f9ee
Sources
bank:9f3a2c87618d
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 994f16f93144 --count 1 --seed 20261108 --test 1