计算机科学 > 计算机科学中的逻辑
[提交于 2020年3月10日 (v1),最后修订于 2020年3月11日 (此版本, v2)]
标题:An Under-Approximate Relational Logic: Heralding Logics of Insecurity, Incorrect Implementation & More
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Recently, authors have proposed under-approximate logics for reasoning about programs. So far, all such logics have been confined to reasoning about individual program behaviours. Yet there exist many over-approximate relational logics for reasoning about pairs of programs and relating their behaviours. We present the first under-approximate relational logic, for the simple imperative language IMP. We prove our logic is both sound and complete. Additionally, we show how reasoning in this logic can be decomposed into non-relational reasoning in an under-approximate Hoare logic, mirroring Beringer's result for over-approximate relational logics. We illustrate the application of our logic on some small examples in which we provably demonstrate the presence of insecurity.