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

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Xiao, Shengping, Li, Yongkang, Zhu, Shufang, Sun, Jun, Li, Jianwen, Pu, Geguang, Vardi, Moshe Y.
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866929458570592256
author Xiao, Shengping
Li, Yongkang
Zhu, Shufang
Sun, Jun
Li, Jianwen
Pu, Geguang
Vardi, Moshe Y.
author_facet Xiao, Shengping
Li, Yongkang
Zhu, Shufang
Sun, Jun
Li, Jianwen
Pu, Geguang
Vardi, Moshe Y.
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2408_07324
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle On-the-fly Synthesis for LTL over Finite Traces: An Efficient Approach that Counts
Xiao, Shengping
Li, Yongkang
Zhu, Shufang
Sun, Jun
Li, Jianwen
Pu, Geguang
Vardi, Moshe Y.
Artificial Intelligence
Logic in Computer Science
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.
title On-the-fly Synthesis for LTL over Finite Traces: An Efficient Approach that Counts
topic Artificial Intelligence
Logic in Computer Science
url https://arxiv.org/abs/2408.07324