← 661dffbdf39a · 664a918eb273 →

66387591ebe6

Read key k at (0,0), keep the unique color-9 pivot fixed, and rotate every other nonzero cell with its color preserved by k-1 clockwise quarter-turns around that pivot on a fresh zero canvas.

parametric familypivotrigid_motionrotationsame_size

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 (rotate-about cells pivot turns) (map (lambda (p) (let* ((y (- (first p) (first pivot))) (x (- (second p) (second pivot))) (k (modulo turns 4)) (ny (cond ((= k 0) y) ((= k 1) x) ((= k 2) (- y)) (else (- x)))) (nx (cond ((= k 0) x) ((= k 1) (- y)) ((= k 2) (- x)) (else y)))) (list (+ (first pivot) ny) (+ (second pivot) nx)))) cells)) (let* ((key (at g 0 0)) (pivot (first (find-color g 9))) (cells (filter (lambda (p) (and (not (equal? p (list 0 0))) (not (= (at g (first p) (second p)) 9)) (not (= (at g (first p) (second p)) 0)))) (grid-positions g))) (rotated (rotate-about cells pivot (- key 1)))) (for/fold ((out (set-cell (set-cell (empty-grid (rows g) (cols g) 0) 0 0 key) (first pivot) (second pivot) 9))) ((src (in-list cells)) (dst (in-list rotated))) (set-cell out (first dst) (second dst) (at g (first src) (second src)))))))

Provenance

Generator
generators/66387591ebe6/generator.py
Notes and decisions
generators/66387591ebe6/notes.md
Review label
reviewed_safe
Generator SHA-256
a9441145ece90f77e0f9ae76aac15706055e0daf6648d6fcd93910ee48119782
Rule hash
60007e76f218
Sources
bank:bc9ea2a8b0ce
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 66387591ebe6 --count 1 --seed 20261108 --test 1