← 0261c073ae3f · 0281fbec1cf2 →
027805c8ff0f
0-bg N x (3N+2) grid: three square N x N panels A | B | C split by two full-height blue(1) divider columns. B = t(A) for t in {1=id 2=cw 3=180 4=transpose 5=flip-lr 6=flip-ud}; C holds an independent shape. Rule: crop each panel to content, find the FIRST t (in 1..6 order) with t(crop A) == crop B, and output t(crop C) — a small cropped grid, NOT the 3-panel layout.
parametric familyanalogygeometric transform transferpanel reasoning
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 (split-panels grid)
(let ((seps (filter (lambda (c) (all? (lambda (r) (= (at grid r c) 1)) (range 0 (rows grid))))
(range 0 (cols grid)))))
(let loop ([remaining (append seps (list (cols grid)))] [start 0] [panels (list)])
(if (empty? remaining)
(reverse panels)
(let ((stop (first remaining)))
(loop (rest remaining)
(+ stop 1)
(if (> stop start)
(cons (subgrid grid 0 start (- (rows grid) 1) (- stop 1)) panels)
panels)))))))
(define (without-divider panel)
(grid-from-fn (rows panel) (cols panel)
(lambda (r c) (if (= (at panel r c) 1) 0 (at panel r c)))))
(define (transform-code grid code)
(cond [(= code 1) grid]
[(= code 2) (rotate-cw grid)]
[(= code 3) (rotate-180 grid)]
[(= code 4) (transpose grid)]
[(= code 5) (flip-lr grid)]
[else (flip-ud grid)]))
(let* ((panels (split-panels g))
(a (crop-to-content (without-divider (first panels))))
(b (crop-to-content (without-divider (second panels))))
(q (crop-to-content (without-divider (third panels))))
(code (let ((hit (find-first (lambda (t) (equal? (transform-code a t) b))
(list 1 2 3 4 5 6))))
(if hit hit 1))))
(transform-code q code))))Provenance
- Generator
- generators/027805c8ff0f/generator.py
- Notes and decisions
- generators/027805c8ff0f/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 5a35e346da48c9990e2fb9a558685e0157662d619ea24f576da91d5ff4b1bc53
- Rule hash
- 2d205350180d
- Sources
- bank:6905604d1760
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 027805c8ff0f --count 1 --seed 20261108 --test 1