← a286d31d63fb · a2ad2da63297 →

a287e878de99

On a zero background, place 2..5 separated gray components. Keep exactly the gray cells with one orthogonal gray neighbor; erase all other cells. A four-example schedule covers paths, a branch, a cycle, and an isolated cell so the lesson identifies the local degree-one rule.

endpoint detectionlocal degree counting

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! (let ((dummy 0)) (for/fold ((out (empty-grid (rows g) (cols g) 0))) ((p (in-list (find-color g 5)))) (let ((deg (length (filter (lambda (d) (let ((rr (+ (first p) (first d))) (cc (+ (second p) (second d)))) (and (in-bounds? rr cc (rows g) (cols g)) (= (at g rr cc) 5)))) cardinal-deltas)))) (if (= deg 1) (set-cell out (first p) (second p) 5) out)))))

Provenance

Generator
generators/a287e878de99/generator.py
Notes and decisions
generators/a287e878de99/notes.md
Review label
reviewed_safe
Generator SHA-256
7094d09bf5e92160593b8bfd0eb298a778d925fe779eb9f2688504f32954396a
Rule hash
d7cc9d995b63
Sources
bank:76c10b1ad4b3
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate a287e878de99 --count 1 --seed 20261108 --test 1