← c5905adcd2cb · c5a69e7cd8c8 →

c59d7541b22e

Complete every same-color three-of-four 2x2 window in one simultaneous pass. Alternating canonical and witness profiles expose overlapping windows and distinguish one-pass behavior from iterative closure.

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) 1))) (c (in-range (- (cols g) 1)))) (let* ((pts (list (list r c) (list (+ r 1) c) (list r (+ c 1)) (list (+ r 1) (+ c 1)))) (vals (map (lambda (p) (at g (first p) (second p))) pts)) (nz (filter (lambda (v) (not (= v 0))) vals))) (if (and (= (length nz) 3) (= (length (remove-duplicates nz)) 1)) (let ((miss (first (filter (lambda (p) (= (at g (first p) (second p)) 0)) pts)))) (set-cell out (first miss) (second miss) (first nz))) out)))))

Provenance

Generator
generators/c59d7541b22e/generator.py
Notes and decisions
generators/c59d7541b22e/notes.md
Review label
reviewed_safe
Generator SHA-256
3c01af7a3a8e8e8dab0d37ab19cf0aa3cb42b463790026feaf4f3859adbea16f
Rule hash
014f3ef40cee
Sources
bank:84602fe0e9ce
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate c59d7541b22e --count 1 --seed 20261108 --test 1