首页> 外文会议>International conference on mathematics of program construction >Self-certifying Railroad Diagrams Or: How to Teach Nondeterministic Finite Automata
【24h】

Self-certifying Railroad Diagrams Or: How to Teach Nondeterministic Finite Automata

机译:自认证铁路图,或者:如何教授不确定的有限自动机

获取原文

摘要

Regular expressions can be visualized using railroad or syntax diagrams. The construction does not depend on fancy artistic skills. Rather, a diagram can be systematically constructed through simple, local transformations due to Manna. We argue that the result can be seen as a nondeterministic finite automaton with ε-transitions. Despite its simplicity, the construction has a number of pleasing characteristics: the number of states and the number of edges is linear in the size of the regular expression; due to sharing of sub-automata and auto-merging of states the resulting automaton is often surprisingly small. The proof of correctness relies on the notion of a subfactor. In fact, Antimirov's sub-factors (partial derivatives) appear as target states of non-ε-transitions, suggesting a smooth path to nondeterministic finite automata without ε-transitions. Antimirov's subfactors, in turn, provide a fine-grained analysis of Brzozowski's factors (derivatives), suggesting a smooth path to deterministic finite automata. We believe that this makes a good story line for introducing regular expressions and automata.
机译:可以使用铁路图或语法图将正则表达式可视化。构造不取决于花哨的艺术技巧。而是可以通过Manna通过简单的局部转换来系统地构建图。我们认为结果可以看作是具有ε跃迁的不确定自动机。尽管结构简单,但它具有许多令人愉悦的特性:状态的数量和边的数量在正则表达式的大小中是线性的;由于共享了自动子机和状态的自动合并,因此自动机通常很小。正确性的证明依赖于子因素的概念。实际上,Antimirov的子因子(偏导数)作为非ε过渡的目标状态出现,这表明向无ε过渡的不确定的有限自动机的平滑路径。反过来,Antimirov的子因子对Brzozowski的因子(导数)进行了细粒度的分析,这为确定性有限自动机的发展提供了一条捷径。我们认为,这对于引入正则表达式和自动机来说是一个很好的故事情节。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号