← 75381adf158d · 758360aea29b →

75422b6b0a4d

A closed wall of one color 5..9 partitions a 7..18 by 8..20 grid into 2..4 connected chambers. Each chamber contains exactly one seed color 1..4 and at least one zero. The selected rule floods every zero reachable from a seed without crossing another color. Scheduled examples mix canonical straight partitions with stepped and partial dividers; the shortcut-witness and broad slots both carry those decisive contrasts so any query rotation of a four-pair lesson remains identifiable.

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 ((seeds (filter (lambda (p)
                         (let ((v (at g (first p) (second p))))
                           (or (= v 1) (= v 2) (= v 3) (= v 4))))
                       (grid-positions g))))
    (foldl (lambda (seed out)
             (let* ((color (at g (first seed) (second seed)))
                    (region (connected-region g (first seed) (second seed) (lambda (r c v) (or (= v 0) (= v color))))))
               (foldl (lambda (p acc)
                        (if (= (at g (first p) (second p)) 0)
                            (set-cell acc (first p) (second p) color)
                            acc))
                      out region)))
           g seeds)))

Provenance

Generator
generators/75422b6b0a4d/generator.py
Notes and decisions
generators/75422b6b0a4d/notes.md
Review label
reviewed_safe
Generator SHA-256
d3eb1f64cba0b39b7c7dc2d1ed4fa33008ea74092bf98b989c1cdcb6a36b5134
Rule hash
c8f68c67587f
Sources
bank:2f7d84161f6a
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 75422b6b0a4d --count 1 --seed 20261108 --test 1