计算机科学 > 计算机科学中的逻辑
[提交于 2020年5月5日]
标题:Combining predicate transformer semantics for effects: a case study in parsing regular languages
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:This paper describes how to verify a parser for regular expressions in a functional programming language using predicate transformer semantics for a variety of effects. Where our previous work in this area focused on the semantics for a single effect, parsing requires a combination of effects: non-determinism, general recursion and mutable state. Reasoning about such combinations of effects is notoriously difficult, yet our approach using predicate transformers enables the careful separation of program syntax, correctness proofs and termination proofs.
提交历史
来自:EPTCS[v1] 2020年5月5日 星期二 00:00:00 UTC