← 8862a204ce3a · 8881f54cf3c8 →

8862d66fbb3d

A fixed 4x7 input contains a command at (0,0), a left 3x3 motif, and a right 3x3 motif separated by a blank column. Transform the right motif according to the command, intersect its nonzero mask with the left nonzero mask, and output a 3x3 mask colored 7. Panel colors are irrelevant distractors and may be solid or multicolored.

parametric familycommand tokenintersectiontransform composition

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).

Reference rule (Racket)

(rule!
  (let ((dummy 0))
    (define (anti-transpose grid) (rotate-180 (transpose grid)))
    (define (transform-code grid code)
      (cond [(= code 1) grid]
            [(= code 2) (rotate-cw grid)]
            [(= code 3) (rotate-180 grid)]
            [(= code 4) (transpose grid)]
            [(= code 5) (flip-lr grid)]
            [(= code 6) (flip-ud grid)]
            [(= code 7) (transpose grid)]
            [else (anti-transpose grid)]))
    (let* ((cmd (at g 0 0))
           (left (subgrid g 1 0 3 2))
           (right (subgrid g 1 4 3 6))
           (tr (transform-code right cmd)))
      (grid-from-fn 3 3
        (lambda (r c) (if (and (not (= (at left r c) 0)) (not (= (at tr r c) 0))) 7 0))))))

Provenance

Generator
generators/8862d66fbb3d/generator.py
Notes and decisions
generators/8862d66fbb3d/notes.md
Review label
reviewed_safe
Generator SHA-256
a8bd22a3e34c388c2c97fbdb43576e2dbe14fe3966883f2ff0ec6e1ba89d46a1
Rule hash
6f140febdf35
Sources
bank:ba76b91f26f9
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 8862d66fbb3d --count 1 --seed 20261108 --test 1