← 2aa2f3b2ed8f · 2b3472c73d30 →

2ab8c1aaa3e2

In each column, fill between the two occurrences of each nonzero color appearing exactly twice. Preserve other cells; triples are not pairs, unlike endpoints do not join, and a pair can overwrite an interior singleton.

parametric familycolor-preserving propagationcolumn-wise reasoningsegment fill

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)) ((c (in-range (cols g)))) (for/fold ((acc out)) ((color (in-list (remove-duplicates (filter (lambda (v) (not (= v 0))) (col g c)))))) (let ((rs (filter (lambda (r) (= (at g r c) color)) (range (rows g))))) (if (= (length rs) 2) (paint-cells acc (map (lambda (r) (list r c)) (range (apply min rs) (+ (apply max rs) 1))) color) acc))))))

Provenance

Generator
generators/2ab8c1aaa3e2/generator.py
Notes and decisions
generators/2ab8c1aaa3e2/notes.md
Review label
reviewed_safe
Generator SHA-256
9a831d8a28858cec55830840899f7c67d511b256328145308b9d8ecc7b9fe264
Rule hash
ad1f1fa8669a
Sources
bank:529ce7614691
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 2ab8c1aaa3e2 --count 1 --seed 20261108 --test 1