← 78cc0b96bc87 · 78f3cf31c4bf →

78e3f26e92aa

A 22..24 by 17..20 color-0 grid contains two separated one-cell-wide vertical bars of equal height in green (3), plus an analogous pair in cyan (8), with the two color pairs vertically separated. Each pair emits two bidirectional step-rays from its outer bbox columns: the rays move one column outward per full bar-height of vertical distance. Output cells are green or cyan on one color's rays, magenta (6) at intersections, and 0 elsewhere. Four canonical-anchor profiles are followed by four decorrelated companion profiles, covering both vertical orders, height-1 bars, and both intersection branches without locking independent axes.

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)))
           (begin
             (define (find-bar color)
               (let* ((cells (find-color g color)))
                 (if (null? cells)
                     #f
                     (let* ((r1 (min-of first cells))
                            (r2 (max-of first cells))
                            (cl (min-of second cells))
                            (cr (max-of second cells)))
                       (list r1 (+ 1 (- r2 r1)) cl cr)))))
             (define (bar-reaches? bar r c)
               (and
                 bar
                 (let* ((r1 (first bar))
                        (bh (second bar))
                        (cl (third bar))
                        (cr (fourth bar))
                        (dr (- r r1))
                        (k (if (>= dr 0)
                               (quotient dr bh)
                               (quotient (+ (- 0 dr) (- bh 1)) bh))))
                   (or (= c (- cl k)) (= c (+ cr k))))))
             (let* ((gb (find-bar 3))
                    (cb (find-bar 8)))
               (cellmap g
                        (r c v)
                        (let* ((has-g (bar-reaches? gb r c))
                               (has-c (bar-reaches? cb r c)))
                          (cond ((and has-g has-c) 6) (has-g 3) (has-c 8) (else 0)))))))))

Provenance

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