← 9adaf46a8128 · 9af68e46cf69 →
9aed2df94248
0-bg grid (size varies) with THREE PANELS separated by blank zero-columns, all one color. Panel A is a random D4-ASYMMETRIC shape (unique transform); panel B is A under a chosen detectable transform (code 1-5: rot-cw / rot-180 / transpose / flip-lr / flip-ud — NOT rot-ccw or anti-transpose, which this rule cannot infer); panel C is another asymmetric shape. Rule: infer the A->B transform and output it applied to C. Each panel has no internal blank column. The shapes, transform, positions and color all vary freely (was a fixed 6x13 layout with 2 transforms x ~8 colors, ~16 distinct).
parametric familyanalogypanel transfertransform inference
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))
(define (apply-transform grid cmd)
(cond [(= cmd 0) grid]
[(= cmd 1) (rotate-cw grid)]
[(= cmd 2) (rotate-180 grid)]
[(= cmd 3) (transpose grid)]
[(= cmd 4) (flip-lr grid)]
[else (flip-ud grid)]))
(define (split-blank-cols grid)
(let loop ([c 0] [panels (list)])
(cond [(>= c (cols grid)) (reverse panels)]
[(all? (lambda (r) (= (at grid r c) 0)) (range 0 (rows grid)))
(loop (+ c 1) panels)]
[else
(let scan ([stop c])
(if (or (>= stop (cols grid))
(all? (lambda (r) (= (at grid r stop) 0)) (range 0 (rows grid))))
(loop (+ stop 1)
(cons (subgrid grid 0 c (- (rows grid) 1) (- stop 1)) panels))
(scan (+ stop 1))))])))
(let* ((panels (map crop-to-content (split-blank-cols g)))
(a (first panels))
(b (second panels))
(c (third panels))
(cmd (find-first (lambda (t) (equal? (apply-transform a t) b)) (list 0 1 2 3 4 5))))
(apply-transform c (if (eq? cmd #f) 0 cmd)))))Provenance
- Generator
- generators/9aed2df94248/generator.py
- Notes and decisions
- generators/9aed2df94248/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- d76e40c50ac47a293a1839e50930134b2b7fee67eff991f7ccf39be7d5f99b87
- Rule hash
- 5d915217602a
- Sources
- bank:63dac95f0c67
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 9aed2df94248 --count 1 --seed 20261108 --test 1