← b47adc50b675 · b4ecb537757c →
b4d9320e0d9d
Complete a 2x2 square only when one diagonal contains the same nonzero colour and both opposite corners are empty; apply the symmetric main- and anti-diagonal cases simultaneously without overwriting occupied cells.
parametric family
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 ((a (at g r c)) (b (at g r (+ c 1))) (d (at g (+ r 1) c)) (e (at g (+ r 1) (+ c 1)))) (cond ((and (not (= a 0)) (= a e) (= b 0) (= d 0)) (set-cell (set-cell out r (+ c 1) a) (+ r 1) c a)) ((and (not (= b 0)) (= b d) (= a 0) (= e 0)) (set-cell (set-cell out r c b) (+ r 1) (+ c 1) b)) (else out))))))
Provenance
- Generator
- generators/b4d9320e0d9d/generator.py
- Notes and decisions
- generators/b4d9320e0d9d/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- b2bd90b14c66887139bac83196d9f66f7805a99147e3353659bc424726fddf39
- Rule hash
- e1a9213544fb
- Sources
- bank:bfb58307fa26
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate b4d9320e0d9d --count 1 --seed 20261108 --test 1