← 587396c0817d · 58cc346198c0 →

588ee22f3c4f

Two color-5 guides share a row or column. Same-row guides select a top-to-bottom full-grid reflection; same-column guides select a left-to-right reflection. A varied motif occupies only the source half and the selected Racket rule completes its mirror while preserving the guides.

parametric familyaxis inferencereflectionrelational command

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* ((guides (find-color g 5))
         (work (grid-from-fn (rows g) (cols g)
                 (lambda (r c)
                   (let ((v (at g r c)))
                     (if (and (not (= v 0)) (not (= v 5))) v 0))))))
    (define mirrored
      (if (and (= (length guides) 2) (= (first (first guides)) (first (second guides))))
          (for*/fold ([out work])
                     ([r (in-range (rows g))]
                      [c (in-range (cols g))])
            (let ((v (at work r c)))
              (if (not (= v 0)) (set-cell out (- (- (rows g) 1) r) c v) out)))
          (for*/fold ([out work])
                     ([r (in-range (rows g))]
                      [c (in-range (cols g))])
            (let ((v (at work r c)))
              (if (not (= v 0)) (set-cell out r (- (- (cols g) 1) c) v) out)))))
    (paint-cells mirrored guides 5)))

Provenance

Generator
generators/588ee22f3c4f/generator.py
Notes and decisions
generators/588ee22f3c4f/notes.md
Review label
reviewed_safe
Generator SHA-256
39c70b2db920418b1188ea5854f5a93902974abda6fd3b6abc142537ac8572a6
Rule hash
6f11c3f4c1e7
Sources
bank:f2c80d62966a
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 588ee22f3c4f --count 1 --seed 20261108 --test 1