{"id":"arxiv:cs/0112018","kind":"preprint","title":"Fast Context-Free Grammar Parsing Requires Fast Boolean Matrix Multiplication","authors":["Lillian Lee"],"author_count":1,"year":2001,"published":"2001-12-15","venue":"Journal of the ACM 49(1), pp. 1--15, January 2002","cited_by":null,"doi":null,"arxiv_id":"cs/0112018","nct_id":null,"source_url":"https://arxiv.org/abs/cs/0112018","archive_url":"https://space-kitty.com/papers/arxiv:cs/0112018","updated":"2001-12-15","pmid":null,"pmcid":null,"openalex_id":null,"pdf_url":"https://arxiv.org/pdf/cs/0112018","abstract":"In 1975, Valiant showed that Boolean matrix multiplication can be used for parsing context-free grammars (CFGs), yielding the asympotically fastest (although not practical) CFG parsing algorithm known. We prove a dual result: any CFG parser with time complexity $O(g n^{3 - \\epsilson})$, where $g$ is the size of the grammar and $n$ is the length of the input string, can be efficiently converted into an algorithm to multiply $m \\times m$ Boolean matrices in time $O(m^{3 - ε/3})$. Given that practical, substantially sub-cubic Boolean matrix multiplication algorithms have been quite difficult to find, we thus explain why there has been little progress in developing practical, substantially sub-cubic general CFG parsers. In proving this result, we also develop a formalization of the notion of parsing.","abstract_license":"CC0-1.0 (arXiv descriptive metadata)","license":null,"is_open_access":false,"retracted":false,"peer_reviewed":false,"categories":["cs.CL","cs.DS"],"details":null,"provenance":"arxiv","attribution":"Abstract: arXiv descriptive metadata (CC0). Thank you to arXiv for use of its open access interoperability. This service was not reviewed or approved by, nor does it necessarily express or reflect the policies or opinions of, arXiv.","topics":[],"cited_in_dossiers":[]}