Files
aji/tests/litmus/spawn_join.lit
dev f8d2a99249 P5-1a: independent axiomatic oracle and the litmus corpus (20 tests agree)
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.
2026-10-06 00:40:09 +03:00

14 lines
193 B
Plaintext

name: spawn-join
init: x=0
T0:
store x 1 rlx
spawn T1
join T1
r1 = load x rlx
T1 (spawned):
r0 = load x rlx
store x 2 rlx
observe: T1.r0 T0.r1
allowed: (1,2)
forbidden: (0,2) (1,1)