← 6c08e545720f · 6c40e60caa4a →
6c2353a2cdee
Three compact connected 5x5 templates, each paired with a rotation code 1-4; overlay their transformed supports and encode coverage counts as 1->2, 2->4, and 3->8.
parametric familycount-map synthesisoverlay reasoningtemplate transforms
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 (f14b-transform 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)) ((= code 6) (flip-ud grid)) (else grid))) (define (f14b-drop xs n) (if (or (= n 0) (empty? xs)) xs (f14b-drop (rest xs) (- n 1)))) (let* ((top (subgrid g 0 0 4 (- (cols g) 1))) (panels (for/list ((i (in-range 3))) (subgrid top 0 (* i 6) 4 (+ (* i 6) 4)))) (code-row (row g 6)) (codes (for/list ((i (in-range 3))) (first (filter (lambda (v) (not (= v 0))) (take (f14b-drop code-row (* i 6)) 5))))) (transformed (let loop ((ps panels) (cs codes) (acc (list))) (if (empty? ps) (reverse acc) (loop (rest ps) (rest cs) (cons (f14b-transform (first ps) (first cs)) acc)))))) (grid-from-fn (rows (first transformed)) (cols (first transformed)) (lambda (r c) (let ((cnt (length (filter (lambda (panel) (not (= (at panel r c) 0))) transformed)))) (cond ((= cnt 1) 2) ((= cnt 2) 4) ((= cnt 3) 8) (else 0))))))))
Provenance
- Generator
- generators/6c2353a2cdee/generator.py
- Notes and decisions
- generators/6c2353a2cdee/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- f411a382a0d7248ee69bd02292daf6d78035d303c09ee6b6487f7feba9931a7d
- Rule hash
- 9fc3fd333ca6
- Sources
- bank:d82cc3a28c3b
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 6c2353a2cdee --count 1 --seed 20261108 --test 1