Combining predicate transformer semantics for effects: a case study in parsing regular languages

May 01, 2020 ยท The Ethereal ยท ๐Ÿ› MSFP@ETAPS

๐Ÿ”ฎ THE ETHEREAL: The Ethereal
Pure theory โ€” exists on a plane beyond code

"No code URL or promise found in abstract"

Evidence collected by the PWNC Scanner

Authors Anne Baanen, Wouter Swierstra arXiv ID 2005.00197 Category cs.LO: Logic in CS Cross-listed cs.PL Citations 1 Venue MSFP@ETAPS Last Checked 5 months ago
Abstract
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.
Community shame:
Not yet rated
Community Contributions

Found the code? Know the venue? Think something is wrong? Let us know!

๐Ÿ“œ Similar Papers

In the same crypt โ€” Logic in CS