← 2dae2c34641b · 2db2974cdb04 →

2db1f7f0392d

A 0-background grid is enclosed by color-9 walls and partitioned by additional color-9 dividers. Exactly two single-cell seeds, in distinct non-{0,9} colors and different wall-bounded components, each emit four cardinal rays in their own color. A ray paints every non-wall cell until the grid edge or a color-9 wall stops it; walls remain 9. Generated scenes also contain off-ray zeros and an empty compartment so full-region and wall-ignoring shortcuts disagree visibly.

ray castingwall stopping

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 ((seeds (filter (lambda (cell) (not (member? (third cell) (list 0 9)))) (grid-cells g))))
    (for/fold ([out g]) ([seed (in-list seeds)])
      (for/fold ([cur out]) ([d (in-list cardinal-deltas)])
        (let loop ([acc cur] [r (+ (first seed) (first d))] [c (+ (second seed) (second d))])
          (if (or (not (in-bounds? r c (rows g) (cols g))) (= (at g r c) 9))
              acc
              (loop (set-cell acc r c (third seed)) (+ r (first d)) (+ c (second d)))))))))

Provenance

Generator
generators/2db1f7f0392d/generator.py
Notes and decisions
generators/2db1f7f0392d/notes.md
Review label
reviewed_safe
Generator SHA-256
e186e86842cfebb37bb3b7fcfc8cc345710225e56fb3855d886fcf58cb3ebd1b
Rule hash
d90c04209e45
Sources
bank:26462ff56908
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 2db1f7f0392d --count 1 --seed 20261108 --test 1