← 8b320727aa72 · 8b595f6acd93 →

8b3462620478

A red(2) source and adjacent blue(1) heading launch a beam. Empty path cells become 8; diagonal mirrors 3/4 turn the beam according to their orientation; a canonical-scale gray(5) border frame blocks the final leg. Every requested mirror lies on a compact serpentine route; 3+ mirror routes mix relative turn directions, and optional interior blocker cells add exact wall-count variation.

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* ((src (find-color g 2))
         (arr (find-color g 1)))
    (define (slash dr dc) (list (- 0 dc) (- 0 dr)))
    (define (backslash dr dc) (list dc dr))
    (if (and (= (length src) 1) (= (length arr) 1))
        (let* ((s (first src))
               (a (first arr))
               (dr (- (first a) (first s)))
               (dc (- (second a) (second s))))
          (if (not (= (+ (abs dr) (abs dc)) 1))
              g
              (let loop ([out g] [r (+ (first a) dr)] [c (+ (second a) dc)] [dr dr] [dc dc] [fuel 500])
                (if (or (= fuel 0) (not (in-bounds? r c (rows g) (cols g))) (= (at g r c) 5))
                    out
                    (let* ((v (at g r c))
                           (nd (cond [(= v 3) (slash dr dc)]
                                     [(= v 4) (backslash dr dc)]
                                     [else (list dr dc)]))
                           (next-out (if (= v 0) (set-cell out r c 8) out)))
                      (loop next-out (+ r (first nd)) (+ c (second nd)) (first nd) (second nd) (- fuel 1)))))))
        g)))

Provenance

Generator
generators/8b3462620478/generator.py
Notes and decisions
generators/8b3462620478/notes.md
Review label
reviewed_safe
Generator SHA-256
f3794014b466fab737ca0249cdb02fe187d86f16bd46a40a45657da1d49008d0
Rule hash
805506f84e33
Sources
bank:3b7f019624a4
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 8b3462620478 --count 1 --seed 20261108 --test 1