@inproceedings{59209745967a434d92ef4441f2fef74f,
title = "A Verified Earley Parser",
abstract = "An Earley parser is a top-down parsing technique that is capable of parsing arbitrary context-free grammars. We present a functional implementation of an Earley parser verified using the interactive theorem prover Isabelle/HOL. Our formalization builds upon Cliff Jones' extensive, refinement-based paper proof. We implement and prove soundness and completeness of a functional recognizer modeling Jay Earley's original imperative implementation and extend it with the necessary data structures to enable the construction of parse trees following the work of Elizabeth Scott. Building upon this foundation, we develop a functional parser and prove its soundness. We round off the paper by providing an informal argument and empirical data regarding the running time and space complexity of our implementation.",
keywords = "Earley, Isabelle, Parsers, Verification",
author = "Martin Rau and Tobias Nipkow",
note = "Publisher Copyright: {\textcopyright} 2024 Martin Rau and Tobias Nipkow.; 15th International Conference on Interactive Theorem Proving, ITP 2024 ; Conference date: 09-09-2024 Through 14-09-2024",
year = "2024",
month = sep,
doi = "10.4230/LIPIcs.ITP.2024.31",
language = "English",
series = "Leibniz International Proceedings in Informatics, LIPIcs",
publisher = "Schloss Dagstuhl- Leibniz-Zentrum fur Informatik GmbH, Dagstuhl Publishing",
editor = "Yves Bertot and Temur Kutsia and Michael Norrish",
booktitle = "15th International Conference on Interactive Theorem Proving, ITP 2024",
}