二维 Dyck 词
Two-dimensional Dyck words
AI总结:
本文提出三种将 Dyck 语言从一维词推广到二维图片的方法:良好嵌套 Dyck、可中和 Dyck 和 Dyck 纵横字谜,并证明它们之间的严格包含关系,为定义上下文无关图片语言奠定基础。
摘要:
我们提出了将 Dyck 语言的概念从词提升到二维(2D)图片的不同方法,通过引入具有递增全面性的新定义。其中两个提议基于 Dyck 语言的替代定义,这些定义在词上等价,但在图片上不等价。首先,任意两对匹配括号是良好嵌套或不相交的性质被重新表述为矩形框的情形,从而得到良好嵌套 Dyck 语言 $DW_k$。这是已知的中国盒语言的推广,但与中国盒不同,$DW_k$ 不能被平铺系统识别。其次,Dyck 消除规则被重新表述为中和规则,将表示子图片四角的四元符号映射为中性符号。可中和 Dyck 语言 $DN_k$ 通过从中和 2×2 子图片开始迭代中和操作,直到整个图片被完全中和而得到。第三,我们定义 Dyck 纵横字谜 $DC_k$ 为 Dyck 词语言的行列组合,规定每一列和每一行都是一个 Dyck 词。$DC_k$ 中匹配括号之间的关系由位于图片网格上的图的边表示。这些边构成一个回路,路径长度为四的倍数,由行匹配和列匹配交替组成。长度为四的回路具有矩形形状,而更长的回路则展现出丰富多样的形式。$DC_k$ 的一个真子集,称为四元组,通过排除所有长度大于 4 的回路而引入。我们证明 $DN_k$ 真包含 $DW_k$,并且它与四元组 $DC_k$ 重合,使得子图片之间的可中和关系诱导出一个偏序。二维语言良好嵌套、可中和、四元组和 Dyck 纵横字谜按严格包含关系排序。这项工作也可被视为迈向上下文无关图片语言定义的第一步。
英文摘要:
We propose different ways of lifting the notion of Dyck language from words to 2-dimensional (2D) pictures, by means of new definitions of increasing comprehensiveness. Two of the proposals are based on alternative definitions of a Dyck language, which are equivalent over words but not on pictures. First, the property that any two pairs of matching parentheses are well-nested or disjoint is rephrased for rectangular boxes and leads to the well-nested Dyck, $DW_k$. This is a generalization of the known Chinese box language, but, unlike the Chinese boxes, $DW_k$ is not recognizable by a tiling system. Second, the Dyck cancellation rule is rephrased as a neutralization rule, mapping a quadruple of symbols representing the corners of a subpicture onto neutral symbols.The neutralizable Dyck language $DN_k$ is obtained by iterating neutralizations, starting from 2-by-2 subpictures, until the picture is wholly neutralized. Third, we define the Dyck crossword $DC_k$ as the row-column combination of Dyck word languages, which prescribes that each column and row is a Dyck word. The relation between matching parentheses is represented in $DC_k$ by an edge of a graph situated on the picture grid. Such edges form a circuit, of path length multiple of four, of alternating row and column matches. Length-four circuits have rectangular shape, while longer ones exhibit a large variety of forms. A proper subset of $DC_k$, called quaternate, is also introduced by excluding all circuits of length greater than 4. We prove that $DN_k$ properly includes $DW_k$, and that it coincides with the quaternate $DC_k$ such that the neutralizability relation between subpictures induces a partial order. The 2D languages well-nested, neutralizable, quaternate and Dyck crossword are ordered by strict inclusions. This work can be also seen as a first step towards the definition of context-free picture languages.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。