← 71f7823f30a3 · 7213d98ef029 →

71fd3c801ee1

Five separated, distinctly colored objects on the canonical 12x18 / 6-color profile. Group objects by (area, enclosed-hole count, row/column reflection-symmetry class) and recolor every member of a repeated class cyan (8). The v3 curriculum always uses different-outline feature twins plus same-area one-feature decoys, directly refuting exact-shape, area-only, area+holes, and area+symmetry shortcuts.

equivalence classesfeature groupingsame-size recolor

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 (object-mask obj) (let* ((r0 (obj-r1 obj)) (c0 (obj-c1 obj)) (h (obj-h obj)) (w (obj-w obj)) (cells (map (lambda (p) (list (- (first p) r0) (- (second p) c0))) (obj-cells obj)))) (paint-cells (empty-grid h w 0) cells 1))) (define (mask-holes mask) (length (filter (lambda (region) (all? (lambda (p) (and (> (first p) 0) (< (first p) (- (rows mask) 1)) (> (second p) 0) (< (second p) (- (cols mask) 1)))) region)) (find-0-regions mask 0)))) (define (shape-perimeter obj) (let ((cells (obj-cells obj))) (for/sum ((p (in-list cells))) (count-where (lambda (d) (not (member (list (+ (first p) (first d)) (+ (second p) (second d))) cells))) cardinal-deltas)))) (define (row-symmetry obj) (let* ((r0 (obj-r1 obj)) (c0 (obj-c1 obj)) (h (obj-h obj)) (norm (map (lambda (p) (list (- (first p) r0) (- (second p) c0))) (obj-cells obj)))) (all? (lambda (p) (member (list (- h 1 (first p)) (second p)) norm)) norm))) (define (col-symmetry obj) (let* ((r0 (obj-r1 obj)) (c0 (obj-c1 obj)) (w (obj-w obj)) (norm (map (lambda (p) (list (- (first p) r0) (- (second p) c0))) (obj-cells obj)))) (all? (lambda (p) (member (list (first p) (- w 1 (second p))) norm)) norm))) (define (border-touch obj grid) (any? (lambda (p) (or (= (first p) 0) (= (second p) 0) (= (first p) (- (rows grid) 1)) (= (second p) (- (cols grid) 1)))) (obj-cells obj))) (define (make-comp obj grid) (let* ((mask (object-mask obj)) (rsym (row-symmetry obj)) (csym (col-symmetry obj)) (sym-count (+ (if rsym 1 0) (if csym 1 0)))) (list obj (obj-color obj) (obj-cells obj) (obj-size obj) (obj-r1 obj) (obj-c1 obj) (obj-r2 obj) (obj-c2 obj) (obj-h obj) (obj-w obj) (mask-holes mask) rsym csym sym-count (border-touch obj grid) (shape-perimeter obj)))) (define (describe-components grid) (map (lambda (obj) (make-comp obj grid)) (objects grid 0))) (define (comp-cells x) (third x)) (define (comp-area x) (fourth x)) (define (comp-holes x) (list-ref x 10)) (define (comp-row-sym x) (list-ref x 11)) (define (comp-col-sym x) (list-ref x 12)) (define (sym-class comp) (cond ((and (comp-row-sym comp) (comp-col-sym comp)) 3) ((comp-row-sym comp) 1) ((comp-col-sym comp) 2) (else 0))) (define (feature-triple comp) (list (comp-area comp) (comp-holes comp) (sym-class comp))) (define desc (describe-components g)) (for/fold ((out g)) ((comp (in-list desc))) (if (> (count-where (lambda (other) (equal? (feature-triple other) (feature-triple comp))) desc) 1) (paint-cells out (comp-cells comp) 8) out))))

Provenance

Generator
generators/71fd3c801ee1/generator.py
Notes and decisions
generators/71fd3c801ee1/notes.md
Review label
reviewed_safe
Generator SHA-256
84c5209072ace3fc80b87f45b23a08ce7ec313992d7e320e0923b2e97e119b5e
Rule hash
12f0cca6ed07
Sources
bank:545aa94c7c6c
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 71fd3c801ee1 --count 1 --seed 20261108 --test 1