← ceef568b1cd4 · cf09cffb4663 →

cefd2849a551

One solid 4-connected object on background 0 is replaced by its same-colour 4-neighbour boundary; interior cells become 0.

4-neighbor reasoningboundary extractionsame-size mask

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)) (let* ((comp (first (sort (objects g 0) (lambda (a b) (> (obj-size a) (obj-size b)))))) (cells (obj-cells comp)) (boundary (filter (lambda (p) (any? (lambda (d) (not (member? (list (+ (first p) (first d)) (+ (second p) (second d))) cells))) cardinal-deltas)) cells))) (paint-cells (empty-grid (rows g) (cols g) 0) boundary (obj-color comp)))))

Provenance

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