arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2107.12568cs.PL
收藏

版本空间代数是无循环树自动机

Version Space Algebras are Acyclic Tree Automata

James Koppel

摘要:

版本空间代数是一种表示程序空间的方法,可以使用并集、交集和叉积/"连接”运算符来组合。在其具体形式为具有显式联合和连接节点的AST中,它们具有压缩表示指数大空间的程序的能力,因此它们已成为自2010年引入FlashFill以来最流行的枚举程序合成方法。我们提出了一个从版本空间代数到非确定有限树自动机的线性时间语义保持的构造嵌入,表明前者只是后者的一个特例。结合最近的结果发现之间的对应关系的e-图和最小的确定性树自动机,这表明树自动机是严格的概括最近所有的主要方法,有效地表示大空间的程序共享。

英文摘要:

Version space algebras are ways of representing spaces of programs which can be combined using union, intersection, and cross-product/``join" operators. In their reified form as ASTs with explicit union and join nodes, they have the ability to compactly represent exponentially-large spaces of programs, owing to which they have become become the most popular approach to enumerative program synthesis since the introduction of FlashFill in 2010. We present a linear-time semantics-preserving constructive embedding from version space algebras into nondeterministic finite tree automata, showing that the former are but a special case of the latter. Combined with recent results finding a correspondence between e-graphs and minimal deterministic tree automata, this shows that tree automata are strict generalizations of all recent major approaches to efficiently representing large spaces of programs by sharing.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑