← 84fd4bcdc53c · 857238219e77 →

85305305afdf

For each horizontal nonzero run, keep its blocked prefix fixed and move only its terminal cell one position right into the adjacent zero.

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

Provenance

Generator
generators/85305305afdf/generator.py
Notes and decisions
generators/85305305afdf/notes.md
Review label
reviewed_safe
Generator SHA-256
1b4bb2d0ca5f2325eb5bdbc4b8fd4656638826fcd2237c29631af91750510e88
Rule hash
dfecf6d0b7a6
Sources
bank:884454e62c49
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 85305305afdf --count 1 --seed 20261108 --test 1