计算机科学 > 计算机科学中的逻辑
[提交于 2012年11月22日 (v1),最后修订于 2013年3月25日 (此版本, v2)]
标题:Model Checking Parse Trees
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Parse trees are fundamental syntactic structures in both computational linguistics and compilers construction. We argue in this paper that, in both fields, there are good incentives for model-checking sets of parse trees for some word according to a context-free grammar. We put forward the adequacy of propositional dynamic logic (PDL) on trees in these applications, and study as a sanity check the complexity of the corresponding model-checking problem: although complete for exponential time in the general case, we find natural restrictions on grammars for our applications and establish complexities ranging from nondeterministic polynomial time to polynomial space in the relevant cases.