← 96fc9e1b827a · 974fee515740 →
9713c70409d0
Sparse colored objects are completed by row closure followed by column closure. Colors are sorted ascending and the output is a KxK overlap matrix with diagonal 5 and off-diagonal 8/0. A deterministic four-profile cycle preserves canonical 3- and 4-color scenes, includes a counterexample to the bounding-box shortcut, and varies five-object relation graphs.
double-closure overlapobject orderingsymbolic relation output
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 (points-of grid color) (sort (find-color grid color) cell<)) (define (row-close cells) (remove-duplicates (flatmap (lambda (r) (let* ((cols (sort (map second (filter (lambda (p) (= (first p) r)) cells)) <))) (if (empty? cols) (list) (for/list ((c (in-range (first cols) (+ (last cols) 1)))) (list r c))))) (remove-duplicates (map first cells))))) (define (col-close cells) (remove-duplicates (flatmap (lambda (c) (let* ((rs (sort (map first (filter (lambda (p) (= (second p) c)) cells)) <))) (if (empty? rs) (list) (for/list ((r (in-range (first rs) (+ (last rs) 1)))) (list r c))))) (remove-duplicates (map second cells))))) (define (double-close cells) (col-close (row-close cells))) (define (intersect-cells a b) (filter (lambda (p) (member p b)) a)) (let* ((colors (sort (grid-colors g 0) <)) (closures (map (lambda (color) (double-close (points-of g color))) colors)) (n (length colors))) (grid-from-fn n n (lambda (r c) (if (= r c) 5 (if (empty? (intersect-cells (list-ref closures r) (list-ref closures c))) 0 8)))))))
Provenance
- Generator
- generators/9713c70409d0/generator.py
- Notes and decisions
- generators/9713c70409d0/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 74002db308ca5a49255e4e077d7ea5871e095cb359f4f5d943af5dc6999ae093
- Rule hash
- c6c3ba6e25a0
- Sources
- bank:129d068bbf4e
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 9713c70409d0 --count 1 --seed 20261108 --test 1