← 3065bdeaa7b0 · 306f5b5f899c →

306adf8e4c54

In one simultaneous pass, fill a zero cell yellow(4) exactly when its immediate horizontal or vertical neighbors are both yellow. Preserve blocked midpoints, wider separations, other-color sandwiches, and cells that would become eligible only after an earlier fill.

horizontal and vertical symmetrylocal line completion

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!
  (grid-from-fn h w
    (lambda (r c)
      (let ((v (cell-at g r c)))
        (if (and (= v 0)
                 (or
                   (and (> c 0) (< c (- w 1))
                        (= (cell-at g r (- c 1)) 4)
                        (= (cell-at g r (+ c 1)) 4))
                   (and (> r 0) (< r (- h 1))
                        (= (cell-at g (- r 1) c) 4)
                        (= (cell-at g (+ r 1) c) 4))))
            4
            v)))))

Provenance

Generator
generators/306adf8e4c54/generator.py
Notes and decisions
generators/306adf8e4c54/notes.md
Review label
reviewed_safe
Generator SHA-256
2dc2a95dfa78e61a2e93c522a6f3ab914804e085fd2de974e383a392fe3cb419
Rule hash
aff0e8ed7bbb
Sources
bank:e352836528da
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 306adf8e4c54 --count 1 --seed 20261108 --test 1