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.