← 576426a573af · 577d2db13443 →
57799de7f990
A 9..26 zero-background grid contains 3..7 complete red diamonds. Consecutive centers sharing a row or column are connected through zero cells by blue lines. Alternating default lessons include an irregular three-arm false-center witness that refutes axis-local marker recognition.
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* ((centers (filter (lambda (p) p)
(for*/list ((r (range 1 (- h 1))) (c (range 1 (- w 1))))
(and
(and
(= (at g (- r 1) c) 2)
(= (at g (+ r 1) c) 2)
(= (at g r (- c 1)) 2)
(= (at g r (+ c 1)) 2))
(list r c)))))
(n (length centers))
(adj? (lambda (i j)
(let* ((r1 (first (nth centers i)))
(c1 (second (nth centers i)))
(r2 (first (nth centers j)))
(c2 (second (nth centers j))))
(cond
((= r1 r2) (not (find (lambda (k)
(and
(!= k i)
(!= k j)
(= (first (nth centers k)) r1)
(> (second (nth centers k)) (min c1 c2))
(< (second (nth centers k)) (max c1 c2))))
(range 0 n))))
((= c1 c2) (not (find (lambda (k)
(and
(!= k i)
(!= k j)
(= (second (nth centers k)) c1)
(> (first (nth centers k)) (min r1 r2))
(< (first (nth centers k)) (max r1 r2))))
(range 0 n))))
(else #f))))))
(reduce (lambda (acc i)
(reduce (lambda (acc2 j)
(if (or (<= j i) (not (adj? i j)))
acc2
(let* ((r1 (first (nth centers i)))
(c1 (second (nth centers i)))
(r2 (first (nth centers j)))
(c2 (second (nth centers j))))
(cond
((= r1 r2) (reduce (lambda (g3 c)
(if (zero? (at g3 r1 c))
(set-cell g3 r1 c 1)
g3))
acc2
(range (+ (min c1 c2) 1) (max c1 c2))))
((= c1 c2) (reduce (lambda (g3 r)
(if (zero? (at g3 r c1))
(set-cell g3 r c1 1)
g3))
acc2
(range (+ (min r1 r2) 1) (max r1 r2))))
(else acc2)))))
acc
(range 0 n)))
g
(range 0 n))))))Provenance
- Generator
- generators/57799de7f990/generator.py
- Notes and decisions
- generators/57799de7f990/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 9d5ff588c78e47ab5c094cdb86babc20b20067c092e3a6ba3829942bc72e7681
- Rule hash
- cd5434186fae
- Sources
- training
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 57799de7f990 --count 1 --seed 20261108 --test 1