← 02dc25c0440b · 03000b260ae0 →

02fcd49e49d6

In every row with exactly two 8s, paint the empty integer midpoint red(2); odd-distance pairs, three-8 rows, and occupied midpoints remain unchanged.

parametric familymidpoint detectionpair reasoningrow geometry

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!
  (for/fold ([out g]) ([r (in-range (rows g))])
    (let ((cols-hit (for/list ([c (in-range (cols g))] #:when (= (at g r c) 8)) c)))
      (if (= (length cols-hit) 2)
          (let ((c1 (first cols-hit)) (c2 (second cols-hit)))
            (if (= (modulo (+ c1 c2) 2) 0)
                (let ((mid (quotient (+ c1 c2) 2)))
                  (if (= (at g r mid) 0) (set-cell out r mid 2) out))
                out))
          out))))

Provenance

Generator
generators/02fcd49e49d6/generator.py
Notes and decisions
generators/02fcd49e49d6/notes.md
Review label
reviewed_safe
Generator SHA-256
9f601e2c57f134addb74dbbd35b4cd5969d6f99e3e2be0fd455176a7d94468a6
Rule hash
ad32c1140d6e
Sources
bank:e06827914c5c
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 02fcd49e49d6 --count 1 --seed 20261108 --test 1