← aea86d2776f1 · af0ae766e671 →

aeb31f908966

A 0-background grid has one red (2) marker on the top or left edge and a gray (5) object. The marker selects a vertical or horizontal mirror axis. In-bounds reflections onto background become orange (7); occupied or out-of-bounds targets are left unchanged. A six-profile curriculum covers both orientations, both source sides, occupied targets, and out-of-bounds targets.

conditional axis choicereflectionsame-size synthesis

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 ((top-markers (for/list ([c (in-range (cols g))] #:when (= (at g 0 c) 2)) c))
        (left-markers (for/list ([r (in-range (rows g))] #:when (= (at g r 0) 2)) r)))
    (if (not (empty? top-markers))
        (let ((axis (first top-markers)))
          (for/fold ([out g]) ([p (in-list (find-color g 5))])
            (let ((mc (- (* 2 axis) (second p))))
              (if (and (in-bounds? (first p) mc (rows g) (cols g))
                       (= (at out (first p) mc) 0))
                  (set-cell out (first p) mc 7)
                  out))))
        (let ((axis (first left-markers)))
          (for/fold ([out g]) ([p (in-list (find-color g 5))])
            (let ((mr (- (* 2 axis) (first p))))
              (if (and (in-bounds? mr (second p) (rows g) (cols g))
                       (= (at out mr (second p)) 0))
                  (set-cell out mr (second p) 7)
                  out)))))))

Provenance

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