← 71fd3c801ee1 · 72416068b0cf →

7213d98ef029

A zero-corner grid carries nonzero column headers across row 0 and row headers down column 0; the zero interior is replaced by the colored row-by-column equality matrix after both header axes are removed.

equality relationlegend strip parsingmatrix construction

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!
 ;; Headers as axes: cell (i,j) lights with the shared color when the i-th
 ;; LEFT header equals the j-th TOP header (headers dropped from the output).
 (let ((top (rest (first g)))
       (left (map first (rest g))))
   (grid-from-fn (length left) (length top) (lambda (r c)
     (let ((lv (list-ref left r)) (tv (list-ref top c)))
       (if (and (!= lv 0) (= lv tv)) lv 0))))))

Provenance

Generator
generators/7213d98ef029/generator.py
Notes and decisions
generators/7213d98ef029/notes.md
Review label
reviewed_safe
Generator SHA-256
46ef37fa96e213a9e51f1ae0e7891cdc9c4571cbc90f6a4dbe6bfe76970998d2
Rule hash
e5bbb5dc0c42
Sources
bank:9a1b04175c5a
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 7213d98ef029 --count 1 --seed 20261108 --test 1