← e3f72a0f2ebb · e42b0a4cc753 →

e410357cf67e

A single color-2 border emitter sends a laser inward. The laser paints empty cells 7, reflects differently at color-4 and color-5 mirrors, and stops at color-8 walls or the boundary. A five-profile cyclic curriculum covers corner precedence, one- and two-reflection paths, active walls, boundary exits, and off-route mirror decoys.

mirrorsraytracingsimulation

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! (let ((dummy 0)) (define emitter (first (find-color g 2))) (define start-r (first emitter)) (define start-c (second emitter)) (define start-dir (cond ((= start-r 0) (list 1 0)) ((= start-r (- (rows g) 1)) (list -1 0)) ((= start-c 0) (list 0 1)) (else (list 0 -1)))) (let loop ((r start-r) (c start-c) (dr (first start-dir)) (dc (second start-dir)) (out g) (fuel (* 4 (rows g) (cols g)))) (if (= fuel 0) out (let ((nr (+ r dr)) (nc (+ c dc))) (cond ((not (in-bounds? nr nc (rows g) (cols g))) out) ((= (at g nr nc) 8) out) ((= (at g nr nc) 4) (loop nr nc (- dc) (- dr) out (- fuel 1))) ((= (at g nr nc) 5) (loop nr nc dc dr out (- fuel 1))) (else (loop nr nc dr dc (if (= (at g nr nc) 0) (set-cell out nr nc 7) out) (- fuel 1)))))))))

Provenance

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