← b13481ce1294 · b16b381c077e →

b159f935141a

Fill a zero cell exactly when its four cardinal neighbors share one nonzero color. Preserve exact canonical-size two-plus examples while mixing horizontal-only, vertical-only, three-arm, mixed-arm, occupied-center, and diagonal decoys that distinguish plausible shortcut rules.

parametric familycompletionlocalplussame_size

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!
  (for*/fold ([out g])
             ([r (in-range 1 (- (rows g) 1))]
              [c (in-range 1 (- (cols g) 1))])
    (let ((vals (list (at g (- r 1) c) (at g (+ r 1) c) (at g r (- c 1)) (at g r (+ c 1)))))
      (if (and (= (at g r c) 0)
               (not (= (first vals) 0))
               (all? (lambda (v) (= v (first vals))) vals))
          (set-cell out r c (first vals))
          out))))

Provenance

Generator
generators/b159f935141a/generator.py
Notes and decisions
generators/b159f935141a/notes.md
Review label
reviewed_safe
Generator SHA-256
d060270b16f1515c9dedbaa944256700a5da3608ada0bb82bb7bd432e2301460
Rule hash
d4bb39745d13
Sources
bank:a54e1d9e1d4b
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate b159f935141a --count 1 --seed 20261108 --test 1