← 8e7f766c96bf · 8ead1e696890 →

8e8d21720efb

Keep each nonzero cell iff it has a same-colour cardinal neighbour. Alternating canonical-linked and counterexample-rich profiles teach that the condition is local, same-colour, and 4-connected rather than a global colour-frequency, 8-neighbour, arbitrary-contact, or one-axis rule.

parametric familylocal filteringnoise removalorthogonal adjacency

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).

Reference rule (Racket)

(rule!
  (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)))
      (if (and (not (= v 0))
               (any? (lambda (d)
                       (let ((nr (+ r (first d))) (nc (+ c (second d))))
                         (and (in-bounds? nr nc (rows g) (cols g))
                              (= (at g nr nc) v))))
                     cardinal-deltas))
          (set-cell out r c v)
          out))))

Provenance

Generator
generators/8e8d21720efb/generator.py
Notes and decisions
generators/8e8d21720efb/notes.md
Review label
reviewed_safe
Generator SHA-256
9117be8035b5244cf7d95855b08b38f2a9e13d5e5b9b7a8b708d95de758b6270
Rule hash
76b667ae03a8
Sources
bank:f3a2e93ae563
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 8e8d21720efb --count 1 --seed 20261108 --test 1