On-the-fly Synthesis for LTL over Finite Traces: An Efficient Approach that Counts

Shengping Xiao, Yongkang Li, Shufang Zhu, Jun Sun, Jianwen Li, Geguang Pu, Moshe Y. Vardi
{"title":"On-the-fly Synthesis for LTL over Finite Traces: An Efficient Approach that Counts","authors":"Shengping Xiao, Yongkang Li, Shufang Zhu, Jun Sun, Jianwen Li, Geguang Pu, Moshe Y. Vardi","doi":"arxiv-2408.07324","DOIUrl":null,"url":null,"abstract":"We present an on-the-fly synthesis framework for Linear Temporal Logic over\nfinite traces (LTLf) based on top-down deterministic automata construction.\nExisting approaches rely on constructing a complete Deterministic Finite\nAutomaton (DFA) corresponding to the LTLf specification, a process with doubly\nexponential complexity relative to the formula size in the worst case. In this\ncase, the synthesis procedure cannot be conducted until the entire DFA is\nconstructed. This inefficiency is the main bottleneck of existing approaches.\nTo address this challenge, we first present a method for converting LTLf into\nTransition-based DFA (TDFA) by directly leveraging LTLf semantics,\nincorporating intermediate results as direct components of the final automaton\nto enable parallelized synthesis and automata construction. We then explore the\nrelationship between LTLf synthesis and TDFA games and subsequently develop an\nalgorithm for performing LTLf synthesis using on-the-fly TDFA game solving.\nThis algorithm traverses the state space in a global forward manner combined\nwith a local backward method, along with the detection of strongly connected\ncomponents. Moreover, we introduce two optimization techniques -- model-guided\nsynthesis and state entailment -- to enhance the practical efficiency of our\napproach. Experimental results demonstrate that our on-the-fly approach\nachieves the best performance on the tested benchmarks and effectively\ncomplements existing tools and approaches.","PeriodicalId":501208,"journal":{"name":"arXiv - CS - Logic in Computer Science","volume":"75 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-08-14","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - CS - Logic in Computer Science","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2408.07324","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

We present an on-the-fly synthesis framework for Linear Temporal Logic over finite traces (LTLf) based on top-down deterministic automata construction. Existing approaches rely on constructing a complete Deterministic Finite Automaton (DFA) corresponding to the LTLf specification, a process with doubly exponential complexity relative to the formula size in the worst case. In this case, the synthesis procedure cannot be conducted until the entire DFA is constructed. This inefficiency is the main bottleneck of existing approaches. To address this challenge, we first present a method for converting LTLf into Transition-based DFA (TDFA) by directly leveraging LTLf semantics, incorporating intermediate results as direct components of the final automaton to enable parallelized synthesis and automata construction. We then explore the relationship between LTLf synthesis and TDFA games and subsequently develop an algorithm for performing LTLf synthesis using on-the-fly TDFA game solving. This algorithm traverses the state space in a global forward manner combined with a local backward method, along with the detection of strongly connected components. Moreover, we introduce two optimization techniques -- model-guided synthesis and state entailment -- to enhance the practical efficiency of our approach. Experimental results demonstrate that our on-the-fly approach achieves the best performance on the tested benchmarks and effectively complements existing tools and approaches.
有限轨迹上 LTL 的即时合成:一种高效的计算方法
现有方法依赖于构建与 LTLf 规范相对应的完整的确定性有限自动机(DFA),在最坏情况下,这一过程相对于公式大小具有双指数复杂性。在这种情况下,合成过程要等到整个 DFA 构建完成后才能进行。为了应对这一挑战,我们首先提出了一种直接利用 LTLf 语义将 LTLf 转换为基于转换的 DFA(TDFA)的方法,并将中间结果作为最终自动机的直接组成部分,从而实现并行化合成和自动机构建。然后,我们探讨了 LTLf 综合与 TDFA 博弈之间的关系,并随后开发了使用即时 TDFA 博弈求解执行 LTLf 综合的分析算法,该算法以全局前向方式结合局部后向方法遍历状态空间,同时检测强连接组件。此外,我们还引入了两种优化技术--模型引导合成和状态蕴含,以提高我们方法的实用效率。实验结果表明,我们的即时方法在测试基准上取得了最佳性能,并有效地补充了现有工具和方法。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书