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

LTLf到自动机转换的一阶与二阶编码

First-Order vs. Second-Order Encodings for LTLf-to-Automata Translation

Shufang Zhu, Geguang Pu, Moshe Y. Vardi

摘要:

将有限迹上的线性时序逻辑(LTL)公式转换为符号确定有限自动机(DFA),不仅在LTL公式综合中起着重要作用,而且在安全LTL公式综合中也起着重要作用。翻译是通过使用MONA,一个强大的工具,符号,BDD为基础,从逻辑规范的DFA建设。最近的工作使用LTLf公式的一阶编码将LTLf转换为一阶逻辑(FOL),然后将其馈送到MONA以获得符号DFA。这种编码表现良好,但其他编码尚未研究。具体来说,具有明显更简单的量化结构的二阶编码是否能优于一阶编码的自然问题仍然是开放的。在本文中,我们解决这一挑战,并研究二阶编码LTLf公式。我们首先介绍了一个特定的MSO编码,捕捉LTLf的语义在一个自然的方式,并证明其正确性。然后,我们探索的是一个紧凑的MSO编码,它受益于自动机理论的最小化,从而提出了一个可能的实际优势。为此,我们提出了一个形式化的符号DFA在二阶逻辑,从而开发了一个新的BDD和MSO之间的连接。然后,我们通过经验评估表明,一阶编码的性能优于二阶编码。结论是在LTLf到自动机的转换中,一阶编码比二阶编码更好。

英文摘要:

Translating formulas of Linear Temporal Logic (LTL) over finite traces, or LTLf, to symbolic Deterministic Finite Automata (DFA) plays an important role not only in LTLf synthesis, but also in synthesis for Safety LTL formulas. The translation is enabled by using MONA, a powerful tool for symbolic, BDD-based, DFA construction from logic specifications. Recent works used a first-order encoding of LTLf formulas to translate LTLf to First Order Logic (FOL), which is then fed to MONA to get the symbolic DFA. This encoding was shown to perform well, but other encodings have not been studied. Specifically, the natural question of whether second-order encoding, which has significantly simpler quantificational structure, can outperform first-order encoding remained open. In this paper we address this challenge and study second-order encodings for LTLf formulas. We first introduce a specific MSO encoding that captures the semantics of LTLf in a natural way and prove its correctness. We then explore is a Compact MSO encoding, which benefits from automata-theoretic minimization, thus suggesting a possible practical advantage. To that end, we propose a formalization of symbolic DFA in second-order logic, thus developing a novel connection between BDDs and MSO. We then show by empirical evaluations that the first-order encoding does perform better than both second-order encodings. The conclusion is that first-order encoding is a better choice than second-order encoding in LTLf-to-Automata translation.

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

↑