A Verified Earley Parser

Martin Rau, Tobias Nipkow

Publikation: Beitrag in Buch/Bericht/KonferenzbandKonferenzbeitragBegutachtung

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.

OriginalspracheEnglisch
Titel15th International Conference on Interactive Theorem Proving, ITP 2024
Redakteure/-innenYves Bertot, Temur Kutsia, Michael Norrish
Herausgeber (Verlag)Schloss Dagstuhl- Leibniz-Zentrum fur Informatik GmbH, Dagstuhl Publishing
ISBN (elektronisch)9783959773379
DOIs
PublikationsstatusVeröffentlicht - Sept. 2024
Veranstaltung15th International Conference on Interactive Theorem Proving, ITP 2024 - Tbilisi, Georgien
Dauer: 9 Sept. 202414 Sept. 2024

Publikationsreihe

NameLeibniz International Proceedings in Informatics, LIPIcs
Band309
ISSN (Print)1868-8969

Konferenz

Konferenz15th International Conference on Interactive Theorem Proving, ITP 2024
Land/GebietGeorgien
OrtTbilisi
Zeitraum9/09/2414/09/24

Fingerprint

Untersuchen Sie die Forschungsthemen von „A Verified Earley Parser“. Zusammen bilden sie einen einzigartigen Fingerprint.

Dieses zitieren