← 4201f3b3ea1b · 424c822d69f3 →

4238cc89338a

Exactly one blue object supplies per-row cell counts and exactly one red object supplies per-column cell counts. The output is their color-8 threshold intersection. A cyclic curriculum includes blue rows with internal gaps, refuting the canonical-fitting row-span shortcut.

canonical outputdual-source constructionrow/column fusion

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 (top-left< a b) (if (= (obj-r1 a) (obj-r1 b)) (< (obj-c1 a) (obj-c1 b)) (< (obj-r1 a) (obj-r1 b)))) (define (row-profile obj) (for/list ((r (in-range (obj-r1 obj) (+ (obj-r2 obj) 1)))) (count-where (lambda (p) (= (first p) r)) (obj-cells obj)))) (define (col-profile obj) (for/list ((c (in-range (obj-c1 obj) (+ (obj-c2 obj) 1)))) (count-where (lambda (p) (= (second p) c)) (obj-cells obj)))) (define (canonical-intersection rows-profile cols-profile (color 8)) (grid-from-fn (length rows-profile) (length cols-profile) (lambda (r c) (if (and (< c (list-ref rows-profile r)) (< r (list-ref cols-profile c))) color 0)))) (define comps (objects g 0)) (define blue (first (sort (filter (lambda (obj) (= (obj-color obj) 1)) comps) top-left<))) (define red (first (sort (filter (lambda (obj) (= (obj-color obj) 2)) comps) top-left<))) (canonical-intersection (row-profile blue) (col-profile red) 8)))

Provenance

Generator
generators/4238cc89338a/generator.py
Notes and decisions
generators/4238cc89338a/notes.md
Review label
reviewed_safe
Generator SHA-256
8d06cde59e6271f2218dd6472039b3a57cd8c79829b0a421f8091fd0a89fa838
Rule hash
e8d6ce4b7903
Sources
bank:fe9bb13a9b18
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 4238cc89338a --count 1 --seed 20261108 --test 1