作为提升问题的解析与Chomsky-Schützenberger表示定理
Parsing as a lifting problem and the Chomsky-Schützenberger representation theorem
AI总结:
本文通过操作元函子统一描述上下文无关文法,并推广Chomsky-Schützenberger表示定理,证明任意范畴上的箭头上下文无关语言可表示为色树轮廓语言与正则语言交集的函子像。
摘要:
我们首先解释任何上下文无关文法如何编码一个从自由生成的操作元范畴到某个“拼接词操作元范畴”的操作元函子。这促使我们在任意范畴$C$上定义更一般的上下文无关文法(CFG)概念,即一个有限物种$S$,配备一个表示起始符号的颜色,以及一个操作元函子$p : Free[S] \to W[C]$,其中$W[C]$是$C$中拼接箭头的操作元范畴。我们证明上下文无关文法的许多标准性质可以在该框架内表述,并且上下文无关语言的通常闭包性质可以推广到箭头的上下文无关语言。我们还通过“显示”操作元的概念讨论了函子$p$的对偶纤维化视角,这对应于一个从$W[C]$到$Span(Set)$的松弛操作元函子。\n\n然后我们转向Chomsky-Schützenberger表示定理。我们描述非确定性有限状态自动机如何被视为一个范畴$Q$,配备一对表示初始状态和接受状态的对象,以及一个满足因子分解唯一提升性质和有限纤维性质的范畴函子$Q \to C$。接着,我们解释如何将该自动机概念扩展到操作元函子,这推广了树自动机,使得我们能够将范畴上的自动机提升到其拼接箭头操作元上的自动机。我们证明每个范畴上的上下文无关文法都可以沿着同一范畴上的非确定性有限状态自动机拉回,因此上下文无关语言对正则语言的交集封闭。最后一个重要成分是识别拼接箭头操作元函子的左伴随$C[-] : Operad \to Cat$,它构建了操作元的“轮廓范畴”。利用这一点,我们推广了C-S表示定理,证明范畴$C$上任何箭头的上下文无关语言都是$C$-色树轮廓语言与正则语言交集的函子像。
英文摘要:
We begin by explaining how any context-free grammar encodes a functor of operads from a freely generated operad into a certain "operad of spliced words". This motivates a more general notion of CFG over any category $C$, defined as a finite species $S$ equipped with a color denoting the start symbol and a functor of operads $p : Free[S] \to W[C]$ into the operad of spliced arrows in $C$. We show that many standard properties of CFGs can be formulated within this framework, and that usual closure properties of CF languages generalize to CF languages of arrows. We also discuss a dual fibrational perspective on the functor $p$ via the notion of "displayed" operad, corresponding to a lax functor of operads $W[C] \to Span(Set)$. We then turn to the Chomsky-Schützenberger Representation Theorem. We describe how a non-deterministic finite state automaton can be seen as a category $Q$ equipped with a pair of objects denoting initial and accepting states and a functor of categories $Q \to C$ satisfying the unique lifting of factorizations property and the finite fiber property. Then, we explain how to extend this notion of automaton to functors of operads, which generalize tree automata, allowing us to lift an automaton over a category to an automaton over its operad of spliced arrows. We show that every CFG over a category can be pulled back along a ND finite state automaton over the same category, and hence that CF languages are closed under intersection with regular languages. The last important ingredient is the identification of a left adjoint $C[-] : Operad \to Cat$ to the operad of spliced arrows functor, building the "contour category" of an operad. Using this, we generalize the C-S representation theorem, proving that any context-free language of arrows over a category $C$ is the functorial image of the intersection of a $C$-chromatic tree contour language and a regular language.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。