计算机科学 > 计算机科学中的逻辑
[提交于 2023年9月7日]
标题:Lifting the Reasoning Level in Generic Weak Memory Verification (Extended Version)
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Weak memory models specify the semantics of concurrent programs on multi-core architectures. Reasoning techniques for weak memory models are often specialized to one fixed model and verification results are hence not transferable to other memory models. A recent proposal of a generic verification technique based on axioms on program behaviour expressed via weakest preconditions aims at overcoming this specialization to dedicated models. Due to the usage of weakest preconditions, reasoning however takes place on a very low level requiring the application of numerous axioms for deriving program properties, even for a single statement. In this paper, we lift reasoning in this generic verification approach to a more abstract level. Based on a view-based assertion language, we provide a number of novel proof rules for directly reasoning on the level of program constructs. We prove soundness of our proof rules and exemplify them on the write-to-read causality (WRC) litmus test. A comparison to the axiom-based low-level proof reveals a significant reduction in the number of required proof steps.
提交历史
来自:Lara Bargmann[v1] 2023年9月7日 星期四 00:00:00 UTC