关于半条件矩阵文法的计算完备性
On Computational Completeness of Semi-Conditional Matrix Grammars
AI总结:
本文研究半条件矩阵文法的计算完备性,通过限制许可串与禁止串长度、非终结符数、条件矩阵数等资源,证明某些半条件矩阵文法族可生成全部递归可枚举语言。
摘要:
矩阵文法是受控重写中最早提出的方法之一,规定规则必须按特定顺序应用。最初,Ábrahám 基于语言学动机引入了矩阵文法。在传统受控重写中,最有趣的情形出现在所有规则都是上下文无关的时候。典型的描述复杂性度量包括非终结符数量或矩阵长度,即每个矩阵中的规则数。当把矩阵视为程序片段时,自然会考虑为这些矩阵附加额外的适用性条件。本文关注的是在矩阵文法中为每个矩阵附加一个许可串和一个禁止串。只有当许可串是句型 w 的子词且禁止串不是句型 w 的子词时,该矩阵才适用于句型 w。我们把这种矩阵应用受到上述条件约束的文法称为半条件矩阵文法。我们将以下资源(描述复杂性度量)作为半条件矩阵文法的考察对象:(1)许可串和禁止串的最大长度,(2)非终结符数量,(3)条件矩阵数量,(4)任意矩阵的最大长度,以及(5)许可串和禁止串均非空的条件矩阵数量。本文证明,通过限制这些资源所定义的某些半条件矩阵文法族能够生成全部递归可枚举语言。
英文摘要:
Matrix grammars are one of the first approaches ever proposed in regulated rewriting, prescribing that rules have to be applied in a certain order. Originally, they have been introduced by Ábrahám on linguistic grounds. In traditional regulated rewriting, the most interesting case shows up when all rules are context-free. Typical descriptional complexity measures incorporate the number of nonterminals or the matrix length, i.e., the number of rules per matrix. When viewing matrices as program fragments, it becomes natural to consider additional applicability conditions for such matrices. Here, we focus on attaching a permitting and a forbidden string to every matrix in a matrix grammar. The matrix is applicable to a sentential form~$w$ only if the permitting string is a subword in~$w$ and the forbidden string is not a subword in~$w$. We call such a grammar, where the application of a matrix is conditioned as described, a semi-conditional matrix grammar. We consider $(1)$ the maximal lengths of permitting and forbidden strings, $(2)$ the number of nonterminals, $(3)$ the number of conditional matrices, $(4)$ the maximal length of any matrix and $(5)$ the number of conditional matrices with nonempty permitting and forbidden strings, as the resources (descriptional complexity measures) of a semi-conditional matrix grammar. In this paper, we show that certain semi-conditional matrix grammar families defined by restricting resources can generate all of the recursively enumerable languages.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。