Real CPUs (x86-TSO, ARM, RISC-V, POWER) reorder loads and stores aggressively for performance, so the program order you write is not the order other cores observe. Verifying concurrent code requires modelling these reorderings precisely.
dmb, lwsync).Work on verifying weak memory models represents the frontier of verification research in my opinion (as of 2025 at least).