← 01ab62800c73 · 01bdf9b8d2db →

01bb2cbe1309

Complete an equal-color diagonal pair into its enclosing 2x2 block only when both missing corners are zero. Blocked diagonals, axis-aligned equal pairs, and unequal-color diagonals remain unchanged.

parametric family2x2completionsame_size_local

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 0 (- (rows g) 1))) (c (in-range 0 (- (cols g) 1)))) (let ((a (at g r c)) (b (at g r (+ c 1))) (c1 (at g (+ r 1) c)) (d (at g (+ r 1) (+ c 1)))) (cond ((and (not (= a 0)) (= d a) (= b 0) (= c1 0)) (set-cell (set-cell out r (+ c 1) a) (+ r 1) c a)) ((and (not (= b 0)) (= c1 b) (= a 0) (= d 0)) (set-cell (set-cell out r c b) (+ r 1) (+ c 1) b)) (else out))))))

Provenance

Generator
generators/01bb2cbe1309/generator.py
Notes and decisions
generators/01bb2cbe1309/notes.md
Review label
reviewed_safe
Generator SHA-256
f41ab65c06dc6d8627f1a44e5ac6967a6b2ad363f3afe7a45924a573118f0b7a
Rule hash
d45fd86e0516
Sources
bank:483ae17489fc
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 01bb2cbe1309 --count 1 --seed 20261108 --test 1