Abstract:The memory consistency model defines constraints on memory access orders for parallel programs on multi-core systems and is an important architectural specification that is jointly followed by software and hardware. Sequential Consistency (SC) Per Location is one of the classic axioms of memory consistency model, which specifies that all memory operations with the same address in a multi-core system follow sequential consistency. It has been widely used in the memory consistency axiom model of classic architectures such as X86/TSO, Power, ARM, and plays an important role in chip memory consistency verification, system software, and parallel program development. As an open-source architectural specification, RISC-V's memory model is defined by global memory order, preserved program order, and three axioms (load value axiom, atomicity axiom, and progress axiom). It does not directly include SC Per Location as an axiom, which poses challenges for existing memory model verification tools and system software development. In this paper, we formalize the SC Per Location as a theorem based on the defined axioms and rules in the RISC-V memory model. The proof process abstracts the construction of arbitrary same-address memory access sequences into deterministic finite automata for inductive proof. This research is a theoretical supplement to the formal methods of RISC-V memory consistency.