← cf787ae40567 · cfadc43e5098 →

cf976dae6b92

Exactly one marker each of colors 2, 4, and 3. Connect 2 to 4 and then 4 to 3 with gray paths that move horizontally first and vertically second; preserve all marker colors.

parametric family

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* ((h (rows g))
                (w (cols g)))
           (let* ((p2 (first (find-color g 2)))
                  (p4 (first (find-color g 4)))
                  (p3 (first (find-color g 3)))
                  (r2 (fst p2))
                  (c2 (snd p2))
                  (r4 (fst p4))
                  (c4 (snd p4))
                  (r3 (fst p3))
                  (c3 (snd p3)))
             (cellmap g
                      (r c v)
                      (cond
                        ((and (= r r2) (= c c2)) 2)
                        ((and (= r r4) (= c c4)) 4)
                        ((and (= r r3) (= c c3)) 3)
                        ((and (= r r2) (>= c (min c2 c4)) (<= c (max c2 c4))) 5)
                        ((and (= c c4) (>= r (min r2 r4)) (<= r (max r2 r4))) 5)
                        ((and (= r r4) (>= c (min c4 c3)) (<= c (max c4 c3))) 5)
                        ((and (= c c3) (>= r (min r4 r3)) (<= r (max r4 r3))) 5)
                        (else 0)))))))

Provenance

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