On Synthesis of Timed Regular Expressions

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Wang, Ziran, An, Jie, Zhan, Naijun, Zhang, Miaomiao, Zhang, Zhenya
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866918138961985536
author Wang, Ziran
An, Jie
Zhan, Naijun
Zhang, Miaomiao
Zhang, Zhenya
author_facet Wang, Ziran
An, Jie
Zhan, Naijun
Zhang, Miaomiao
Zhang, Zhenya
contents Timed regular expressions serve as a formalism for specifying real-time behaviors of Cyber-Physical Systems. In this paper, we consider the synthesis of timed regular expressions, focusing on generating a timed regular expression consistent with a given set of system behaviors including positive and negative examples, i.e., accepting all positive examples and rejecting all negative examples. We first prove the decidability of the synthesis problem through an exploration of simple timed regular expressions. Subsequently, we propose our method of generating a consistent timed regular expression with minimal length, which unfolds in two steps. The first step is to enumerate and prune candidate parametric timed regular expressions. In the second step, we encode the requirement that a candidate generated by the first step is consistent with the given set into a Satisfiability Modulo Theories (SMT) formula, which is consequently solved to determine a solution to parametric time constraints. Finally, we evaluate our approach on benchmarks, including randomly generated behaviors from target timed models and a case study.
format Preprint
id arxiv_https___arxiv_org_abs_2509_06262
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle On Synthesis of Timed Regular Expressions
Wang, Ziran
An, Jie
Zhan, Naijun
Zhang, Miaomiao
Zhang, Zhenya
Formal Languages and Automata Theory
Artificial Intelligence
Timed regular expressions serve as a formalism for specifying real-time behaviors of Cyber-Physical Systems. In this paper, we consider the synthesis of timed regular expressions, focusing on generating a timed regular expression consistent with a given set of system behaviors including positive and negative examples, i.e., accepting all positive examples and rejecting all negative examples. We first prove the decidability of the synthesis problem through an exploration of simple timed regular expressions. Subsequently, we propose our method of generating a consistent timed regular expression with minimal length, which unfolds in two steps. The first step is to enumerate and prune candidate parametric timed regular expressions. In the second step, we encode the requirement that a candidate generated by the first step is consistent with the given set into a Satisfiability Modulo Theories (SMT) formula, which is consequently solved to determine a solution to parametric time constraints. Finally, we evaluate our approach on benchmarks, including randomly generated behaviors from target timed models and a case study.
title On Synthesis of Timed Regular Expressions
topic Formal Languages and Automata Theory
Artificial Intelligence
url https://arxiv.org/abs/2509.06262