← 4c0d744296ec · 4c26a1072222 →

4c17a205be08

A 5x17 zero-background grid has three 5x5 panels separated by full color-9 columns. Crop A and B, infer the unique transform mapping A to B from identity/90-degree rotations/180/left-right/up-down flips, then apply it to cropped panel C. Sparse canonical-scale motifs, colors, positions, component profiles, and all six transform branches vary.

analogy transferpanel parsingtransform 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-cmd grid code)
      (cond [(= code 1) grid]
            [(= code 2) (rotate-cw grid)]
            [(= code 3) (rotate-180 grid)]
            [(= code 4) (rotate-ccw grid)]
            [(= code 5) (flip-lr grid)]
            [else (flip-ud grid)]))
    (define (sep-col? c)
      (all? (lambda (r) (= (at g r c) 9)) (range 0 (rows g))))
    (define (split-panels)
      (let loop ([c 0] [panels (list)])
        (cond [(>= c (cols g)) (reverse panels)]
              [(sep-col? c) (loop (+ c 1) panels)]
              [else
               (let scan ([stop c])
                 (if (or (>= stop (cols g)) (sep-col? stop))
                     (loop (+ stop 1)
                           (cons (subgrid g 0 c (- (rows g) 1) (- stop 1)) panels))
                     (scan (+ stop 1))))])))
    (let* ((panels (split-panels))
           (a (first panels))
           (b (second panels))
           (c (third panels))
           (code (first (filter (lambda (k) (equal? (apply-cmd (crop-to-content a) k)
                                                    (crop-to-content b)))
                                (range 1 7)))))
      (apply-cmd (crop-to-content c) code))))

Provenance

Generator
generators/4c17a205be08/generator.py
Notes and decisions
generators/4c17a205be08/notes.md
Review label
reviewed_safe
Generator SHA-256
bc804b9fdda08451fbd63dbfb2918d0f1e1e84074d71db7cf97973555722fe2b
Rule hash
e3805c81bf19
Sources
bank:64addfdad75c
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 4c17a205be08 --count 1 --seed 20261108 --test 1