← 0a1bba9e3d93 · 0a7f0faace31 →
0a54983176e5
Color-8 markers identify a vertical or horizontal reflection axis. Every other colored cell mirrors only into background; occupied targets block the write and out-of-bounds reflections clip. Exact controls cover all declared dimensions, both orientations, and five lawful textures. Every default three-demo window includes an occupied-target witness and an off-center-axis witness.
implicit symmetry axisorientation inferencereflection completion
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 ((dummy 0)) (let* ((axis (find-color g 8)) (axis-cols (remove-duplicates (map second axis))) (axis-rows (remove-duplicates (map first axis)))) (if (= (length axis-cols) 1) (let ((b (first axis-cols))) (for*/fold ((out g)) ((r (in-range (rows g))) (c (in-range (cols g)))) (let ((v (at g r c)) (mc (- (* 2 b) c))) (if (and (not (member? v (list 0 8))) (in-bounds? r mc (rows g) (cols g)) (= (at out r mc) 0)) (set-cell out r mc v) out)))) (let ((b (first axis-rows))) (for*/fold ((out g)) ((r (in-range (rows g))) (c (in-range (cols g)))) (let ((v (at g r c)) (mr (- (* 2 b) r))) (if (and (not (member? v (list 0 8))) (in-bounds? mr c (rows g) (cols g)) (= (at out mr c) 0)) (set-cell out mr c v) out))))))))
Provenance
- Generator
- generators/0a54983176e5/generator.py
- Notes and decisions
- generators/0a54983176e5/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 63431735aebb18e582a5a8ce9ccdc2cfc8cbb53f3c70513b1e2ecc48adb2979e
- Rule hash
- e266f9b65f93
- Sources
- bank:02cfd661bb19
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 0a54983176e5 --count 1 --seed 20261108 --test 1