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.
This commit is contained in:
dev committed 2026-10-06 00:40:09 +03:00
1 parent cfee89ff19
commit f8d2a99249
28 files changed
+1278 -5

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
name: release-sequence
init: d=0 f=0
T0:
store d 1 rlx
store f 1 rel
T1:
r2 = rmw add f 2 rlx
T2:
r0 = load f acq
r1 = load d rlx
observe: T2.r0 T2.r1
allowed: (0,0) (0,1) (1,1) (2,0) (2,1) (3,1)
forbidden: (1,0) (3,0)