← 1314f4ccf5cc · 135219aecdb4 →
13507b4f7614
Two or three separated solid yellow rectangles. Odd-by-odd rectangles reduce to center crosses; an occasional even rectangle remains unchanged.
parametric familybounding boxesodd-sized rectanglesshape reduction
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 (objs-color grid color) (filter (lambda (obj) (= (obj-color obj) color)) (objects grid 0))) (define (paint-obj grid obj color) (paint-cells grid (obj-cells obj) color)) (for/fold ((out g)) ((obj (in-list (objs-color g 4)))) (let* ((h (+ 1 (- (obj-r2 obj) (obj-r1 obj)))) (w (+ 1 (- (obj-c2 obj) (obj-c1 obj))))) (if (and (= (modulo h 2) 1) (= (modulo w 2) 1) (solid-rect? obj)) (let* ((cleared (paint-obj out obj 0)) (mr (quotient (+ (obj-r1 obj) (obj-r2 obj)) 2)) (mc (quotient (+ (obj-c1 obj) (obj-c2 obj)) 2)) (with-row (for/fold ((acc cleared)) ((c (in-range (obj-c1 obj) (+ (obj-c2 obj) 1)))) (set-cell acc mr c 4)))) (for/fold ((acc with-row)) ((r (in-range (obj-r1 obj) (+ (obj-r2 obj) 1)))) (set-cell acc r mc 4))) out)))))
Provenance
- Generator
- generators/13507b4f7614/generator.py
- Notes and decisions
- generators/13507b4f7614/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- fb2750a16ab6e2c12a10f0cd30f6526e411213043857f8ff2680ac4864831a77
- Rule hash
- 812105731900
- Sources
- bank:b87bafc16aa7
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 13507b4f7614 --count 1 --seed 20261108 --test 1