English

Fast Context-Free Parsing Requires Fast Boolean Matrix Multiplication

cmp-lg 2008-02-03 v1 Computation and Language

Abstract

Valiant showed that Boolean matrix multiplication (BMM) can be used for CFG parsing. We prove a dual result: CFG parsers running in time O(Gw3\myeps)O(|G||w|^{3 - \myeps}) on a grammar GG and a string ww can be used to multiply m×mm \times m Boolean matrices in time O(m3\myeps/3)O(m^{3 - \myeps/3}). In the process we also provide a formal definition of parsing motivated by an informal notion due to Lang. Our result establishes one of the first limitations on general CFG parsing: a fast, practical CFG parser would yield a fast, practical BMM algorithm, which is not believed to exist.

Keywords

Cite

@article{arxiv.cmp-lg/9708008,
  title  = {Fast Context-Free Parsing Requires Fast Boolean Matrix Multiplication},
  author = {Lillian Lee},
  journal= {arXiv preprint arXiv:cmp-lg/9708008},
  year   = {2008}
}

Comments

6 pages, uses aclap.sty and eepic.sty