← ab8cb362ef4d · abe8a3c35e86 →

aba5e4aeb835

A unique border 2 launches a beam through interior / (3) and \ (4) mirrors. Paint traversed zeros 8, preserving objects; stop at a wall 5 or exit. Four scheduled profiles teach walls, long routes and repeated mirror orientations, with occluded and off-path distractors.

beammirrorssimulation

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 (positions-of-color grid color) (filter (lambda (p) (= (at grid (first p) (second p)) color)) (grid-positions grid))) (let* ((starts (positions-of-color g 2))) (if (empty? starts) g (let* ((start (first starts)) (r0 (first start)) (c0 (second start)) (d (cond ((= c0 0) (list 0 1)) ((= c0 (- (cols g) 1)) (list 0 -1)) ((= r0 0) (list 1 0)) (else (list -1 0)))) (visited (make-hash))) (let trace ((r r0) (c c0) (dr (first d)) (dc (second d)) (out g)) (let ((rr (+ r dr)) (cc (+ c dc))) (cond ((not (in-bounds? rr cc (rows g) (cols g))) out) ((= (at g rr cc) 5) out) ((hash-has-key? visited (list rr cc dr dc)) out) (else (hash-set! visited (list rr cc dr dc) #t) (let ((v (at g rr cc)) (next-out (if (= (at g rr cc) 0) (set-cell out rr cc 8) out))) (cond ((= v 0) (trace rr cc dr dc next-out)) ((= v 3) (trace rr cc (- dc) (- dr) next-out)) ((= v 4) (trace rr cc dc dr next-out)) ((= v 2) (trace rr cc dr dc next-out)) (else next-out))))))))))))

Provenance

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