tools/litmus/enumerate.py was written by an independent author from spec 04 §20 alone, with the programs blind (outcome sets removed). check.py compares its allowed sets with tests/litmus/*.lit: 20/20 equal. 21 self-tests derived from the axioms. Both run in CI. The author's spec findings are Q-024.
12 lines
135 B
Plaintext
12 lines
135 B
Plaintext
name: channel-handoff
|
|
init: x=0
|
|
T0:
|
|
store x 1 rlx
|
|
send c
|
|
T1:
|
|
recv c
|
|
r0 = load x rlx
|
|
observe: T1.r0
|
|
allowed: (1)
|
|
forbidden: (0)
|