← 39fd645f21c6 · 3a4b67ab16ff →

3a0af56db83e

A 12xW zero-background input is four stacked 3-row monochrome masks. Project the four bands onto one 3xW frame and choose the first nonzero cell in priority order band 0, then band 1, then band 3, then band 2; emit 0 only when all four projected cells are 0. Band colors are distinct within a scene and may be reassigned across bands, so color identity is not a substitute for band priority.

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! (lambda (g)
  (let* ((w (cols g))
         ;; Four monochrome 3-row masks are stacked vertically. Project them
         ;; onto one 3-row frame without letting color identity encode priority.
         (band (lambda (j r c) (at g (+ (* j 3) r) c))))
    (build-grid 3 w (r c)
      ;; First nonzero wins in priority order 0 > 1 > 3 > 2.
      (let ((v0 (band 0 r c))
            (v1 (band 1 r c))
            (v3 (band 3 r c))
            (v2 (band 2 r c)))
        (cond
          ((!= v0 0) v0)
          ((!= v1 0) v1)
          ((!= v3 0) v3)
          ((!= v2 0) v2)
          (else 0)))))))

Provenance

Generator
generators/3a0af56db83e/generator.py
Notes and decisions
generators/3a0af56db83e/notes.md
Review label
reviewed_safe
Generator SHA-256
773d54bdbec469ca64c9e2037e2a9cf1ef0033aa601e4539c482b0332d7ee4f1
Rule hash
d5832237956b
Sources
training
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 3a0af56db83e --count 1 --seed 20261108 --test 1