← e03758508612 · e0650802a8fb →

e04777b1f6d7

Place 3-8 separated colour-{2,3,4} objects of equal cell count. Exactly one shape occurs twice, while another object is a rotated or reflected version that is not exactly equal. Sort objects row-major and output the pairwise translation-normalized exact-shape equality matrix (8/0).

pairwise comparisonshape congruencesymbolic matrices

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 (obj-top-left< a b) (if (= (obj-r1 a) (obj-r1 b)) (< (obj-c1 a) (obj-c1 b)) (< (obj-r1 a) (obj-r1 b)))) (define (offset< a b) (if (= (first a) (first b)) (< (second a) (second b)) (< (first a) (first b)))) (define (relative-offsets obj anchor) (let* ((ar (cond ((= anchor 0) (obj-r1 obj)) ((= anchor 1) (obj-r1 obj)) ((= anchor 2) (obj-r2 obj)) (else (obj-r2 obj)))) (ac (cond ((= anchor 0) (obj-c1 obj)) ((= anchor 1) (obj-c2 obj)) ((= anchor 2) (obj-c1 obj)) (else (obj-c2 obj))))) (sort (map (lambda (p) (list (- (first p) ar) (- (second p) ac))) (obj-cells obj)) offset<))) (define cands (sort (filter (lambda (obj) (member (obj-color obj) (list 2 3 4))) (objects g 0)) obj-top-left<)) (define sigs (map (lambda (obj) (relative-offsets obj 0)) cands)) (define n (length cands)) (grid-from-fn n n (lambda (r c) (if (equal? (list-ref sigs r) (list-ref sigs c)) 8 0)))))

Provenance

Generator
generators/e04777b1f6d7/generator.py
Notes and decisions
generators/e04777b1f6d7/notes.md
Review label
reviewed_safe
Generator SHA-256
983f3880d4a93d0d786301f88fd12b4325408ed09621894f0a3a40e316d01223
Rule hash
672d7e42ddc1
Sources
bank:40f7bd2c7916
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate e04777b1f6d7 --count 1 --seed 20261108 --test 1