上下文无关文法化简的形式化
Formalization of simplification for context-free grammars
摘要:
上下文无关文法化简是计算机语言处理技术和形式语言理论中的一个重要课题。本文提出了一种形式化,使用Coq证明助手,一般的上下文无关文法生成的语言,也可以产生的简单和等价的上下文无关文法的事实。在保留原文法生成的语言方面,描述了无用符号消除、不可达符号消除、单位规则消除和空规则消除操作,并证明了这些操作的正确性。
英文摘要:
Context-free grammar simplification is a subject of high importance in computer language processing technology as well as in formal language theory. This paper presents a formalization, using the Coq proof assistant, of the fact that general context-free grammars generate languages that can be also generated by simpler and equivalent context-free grammars. Namely, useless symbol elimination, inaccessible symbol elimination, unit rules elimination and empty rules elimination operations were described and proven correct with respect to the preservation of the language generated by the original grammar.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。