Article ID | Journal | Published Year | Pages | File Type |
---|---|---|---|---|
432616 | Journal of Logical and Algebraic Methods in Programming | 2014 | 10 Pages |
Abstract
•Certified implementation of the CYK parsing algorithm for context-free languages.•Proof-oriented datatypes: substring parsing relation, certified memoization tables.•Termination from a structurally recursive version of the program.•The program and the proof are structured with the list monad.•Modular correctness proof: from the naive version to the memoizing program.
We report a work on certified parsing for context-free grammars. In our development we implement the Cocke–Younger–Kasami parsing algorithm and prove it correct using the Agda dependently typed programming language.
Keywords
Related Topics
Physical Sciences and Engineering
Computer Science
Computational Theory and Mathematics
Authors
Denis Firsov, Tarmo Uustalu,