Manuscript Offprint
arXiv:2609.01032On Synthesis of Metric Interval Temporal Logics
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Hsi-Ming Ho
University of Sussex, Brighton, UK
Shankara Narayanan Krishna
IIT Bombay, Mumbai, India
Khushraj Madnani
IIT Guwahati, Guwahati, India
Abstract—Automated mining of formal specifications is vital for verifying real-time systems. However, existing passive learning approaches remain restricted to deterministic specifications or limited fragments of Timed Regular Expressions (TRE). To our knowledge, this paper presents the first framework to tackle precise passive learning for an expressive timed logic—Metric Interval Temporal Logic (MITL)—without relying on predefined templates or restricted logic fragments. Our approach formally reduces the timed learning problem into a scalable untimed one. By identifying quantitative timing differences between positive and negative traces, we synthesise precise timed constraints and inject them as new Boolean atomic propositions. This embeds timing into the alphabet, delegating the complex formula evaluation to highly optimised, off-the-shelf untimed LTL tools. Crucially, our framework is complete, guaranteeing a separating specification can always be found. We evaluate our implementation across several benchmarks, demonstrating the effectiveness of our approach.
Index Terms—Metric Interval Temporal Logic, Specification Mining, Passive Learning, Feature Synthesis, Real-Time Systems.
I. INTRODUCTION
Formal specifications underpin the verification, runtime monitoring, and testing of real-time and cyber-physical systems (CPS). However, manually crafting these rigorous mathematical formulae is notoriously complex and prone to error. While recent advances in Large Language Models (LLMs) have begun to alleviate this bottleneck by translating natural language requirements into formal specifications (see, e.g., [43]), this approach still relies on the existence of clear, comprehensive textual comments or documentation. In many practical scenarios, engineers instead possess vast amounts of implicit behavioural data, such as execution traces, logs, and counterexamples. Specification mining (or ‘learning’) addresses the inverse problem: synthesising a mathematical model that directly captures the behaviours hidden within samples of labelled traces, namely the positive and negative trace sets, and , respectively.
For (untimed) Linear Temporal Logic (LTL), the mining problem is well studied. Methods such as [28], [6], [31] are implemented in tools that handle thousands of traces. However, in many practical applications—such as autonomous driving, medical monitoring, and industrial automation—system correctness depends not only on the logical order of events but also on the strict time bounds of their occurrences. To rigorously reason about these timing constraints, one must turn to timed logics such as Metric Interval Temporal Logic (MITL) [3], a quantitative extension of LTL with integer-bounded timing constraints. However, the learning problem for MITL is conceivably harder: constructing a consistent MITL formula requires choosing both a structure (nested operators, atomic propositions) and interval parameters.
A naïve attempt to reuse mature LTL learning tools is the simple ‘untiming’ reduction: for a timed word over (i.e. is a subset of atomic propositions AP for all , and 's denote the time delay before witnessing 's), let be the sequence obtained from by removing the ‘delay’ component. We then feed and to an off-the-shelf LTL learner. This approach would not work, however, whenever a positive and a negative trace share an identical untimed projection, as obviously no LTL formula can distinguish between them. In this case, the two traces are said to be propositionally indistinguishable with respect to AP.
Example 1. Consider an EDF (Earliest Deadline First) scheduler with two tasks , where involves releasing a job (witnessed as ) and its completion (witnessed as ). The trace records a successful release ( ) and completion ( ) sequence, while the trace records the same sequence of events but with completing after a delay of 12.5 time units, well past its deadline. The untimed projection of , are identical: , and obviously no LTL formula over distinguishes them.
Quantitative distinguishability. When two propositionally indistinguishable traces are nonetheless behaviourally distinct (i.e. one in and one in ), their divergence is purely quantitative: some pair of event occurrences in the two traces differs in delay. We formalise this as a pivot—a tuple such that one trace's inter-event delay between positions i and j is below the integer boundary c and the other's is above c. Pivots are easily computable certificates of quantitative distinguishability. The crux of our framework is that a formula such as or evaluated at the corresponding position can distinguish the two traces involved. When treated as a fresh proposition and added to the set of atomic propositions, this formula serves as a new feature and effectively restores propositional distinguishability.
The work of Khushraj Madnani was supported by the ANRF ARG-MATRICS Grant (File No. ANRF/ARGM/2025/003152/MTR) under the project titled “Approaching the Decidability Purlieu of Timed Languages (ADePT).”
From timed mining to untimed mining. The feature-engineering pass is guaranteed to make progress on every iteration. Once enough synthesised features have been injected into the set of atomic propositions, every positive-negative trace pair are propositionally distinguishable with respect to the updated (expanded) set of atomic propositions AP. At that point, the set of positive and negative traces can both be recasted onto the updated AP with delays discarded, and an untimed LTL learner applied with no further modification. The expressive power lost when discarding delays is recovered by the features the learner now sees in the set of atomic propositions. In other words, this reduction turns a hard timed mining problem into an easier untimed one.
Contributions. We make the following contributions.
-
Formalisation of propositional indistinguishability (Section IV). We define propositional indistinguishability with respect to arbitrary subsets of atomic propositions, prove a structural characterisation of when a pair is quantitatively distinguishable but propositionally indistinguishable (Lemma 3), and reduce such cases to a finite collection of integer pivots.
-
Subset-projection collision detection (Section IV-A). We give an algorithm that enumerates subsets of atomic propositions in order of decreasing size and identifies every propositionally indistinguishable trace pair together with all the pivots which explain how the two traces may be distinguished. The algorithm runs in in the worst case (where is the number of traces in the larger of , and is the length of the longest trace) but is highly effective in practice because most real-world specifications use small numbers of atomic propositions.
-
Layered feature-synthesis framework (Sections IV-B and IV-C). We detail the successive phases of our translation pipeline: template injection, layered feature synthesis (formulated as a set-cover problem), and proposition minimisation. During feature synthesis, the engine primarily relies on standard MITL modalities ( , ) to extract separating timing constraints. Where these prove insufficiently expressive, such as for complex counting patterns, we use Pnueli modalities ( , ) as a fallback strategy. Furthermore, domain-specific template injection can be applied prior to synthesis, acting as a structural pre-filter to accelerate the resolution of known specification patterns.
-
Soundness and completeness (Sec. V). We prove that the synthesised features suffice to make every propositionally distinguishable (Theorem 9), and that the framework is complete in the sense that we can generate an MITPPL formula that distinguishes if they can be distinguished by a timed automaton (Theorem 10).
-
Implementation and evaluation (Sec. VI). We implement the framework in Python and evaluate it across three specific benchmark scenarios: (1) learning the behaviours of a simple timed automaton, (2) learning typical parameterised specification patterns used in the online monitoring of cyber-physical systems, and (3) learning to determine the precise timing constants within a train-gate controller. We demonstrate the feasibility and computational efficiency of our translation pipeline, contextualising our results against the performance of direct MTL mining and TRE synthesis reported in [32], [42], and explicitly evaluate the structural trade-off between solver scalability and out-of-sample generalisation.
Outline. Section II presents a motivating example. Section III collects preliminaries on timed words, MITL and MITPPL, untimed LTL learning, etc. Section IV formalises propositional indistinguishability and present the four phases of the process. Section V establishes the framework's correctness, progress, and complexity. Section VI reports the experimental evaluation. Sections VII and VIII discuss related work and conclude.
Setup. Consider a simple system with a single event type, giving the original set of atomic propositions . The goal is to distinguish from with a simple TRE (without intersection). [42] demonstrates that while the positive trace can be separated from each negative trace individually using simple TREs, distinguishing it from both simultaneously requires intersection (cf. [7]), which their synthesis method explicitly forbids and cannot support. Specifically, the traces are given as follows:
All three traces share the exact same untimed projection , making them propositionally indistinguishable
What our framework does. Phase 1 (Sec. IV-A) detects the propositionally indistinguishable pairs and extracts pivots:
• Pair : the sum of the first two delays is 4.1 time units in the positive trace and 3.8 in the negative trace, crossing the integer boundary 4.
• Pair : the sum of the last two delays is 4.1 time units in the positive trace and 3.8 in the negative trace, again crossing the integer boundary 4.
Rather than attempting to construct a complex monolithic formula with intersections, Phase 3 (Section IV-C) synthesises two new MITL formulae that serve as features:
The meaning of is: ‘there is an event with in at most 4 time units in the past from now’. This holds at position 3 in , but not at position 3 in and . Similarly, holds at position 4 in and , but not at position 4 in .
Expanded atomic propositions and untimed reduction. The expanded set of atomic propositions is . The positive and negative traces, with all delays stripped, are now pairwise distinguishable as untimed strings:
The Boolean evaluations of and at each position natively separate the behaviours around the critical 4 time unit boundary. When fed to the off-the-shelf LTL learner BOLT [11], the tool outputs the formula
seamlessly resolving the exact problem instance that precludes the existing TRE-based synthesis method of [42].
III. PRELIMINARIES
Timed words and projections. Let AP be a finite set of atomic propositions, and let denote the corresponding finite alphabet. Let N and denote the sets of natural numbers and non-negative real numbers, respectively.
Definition 1 (Timed Word). A timed word (or a trace) over is a finite sequence , where each represents the non-negative time delay elapsed immediately prior to observing the symbol . We denote the length of as . The untimed projection of is the sequence of symbols . For a set of timed words, we write for .
Definition 2 (Propositional Projection). For a subset of atomic propositions , the P-projection of a letter is . The P-projection of an untimed string is the string formed by projecting each individual letter in place, yielding . Similarly, the P-projection of a timed word , denoted , is the timed word . For a set of timed words, we write for .
Example 2 (Propositional Projection). Let
be a timed word over where . The -projection of is:
The -projection of is:
MITL with Past and Pnueli modalities. We use the standard MITPPL syntax and semantics of [19]. Let denote a left-open “(” or left-closed “[” boundary, and let denote a right-open “)” or right-closed “[” boundary. Let be the set of all intervals where , , and . Likewise, let . An interval is singular if it takes the form for , and non-singular otherwise.
Definition 3 (MITPPL Syntax). MITPPL formulae over AP are defined by the grammar:
where , is a non-singular interval, is a bounded interval, and with .
Standard derived modalities include: , , , and .
Given a timed word over , a position , and any , we define the pointwise-semantics of MITPPL inductively:
We write to denote . We omit the subscript, for succinctness, when the intended interval is as the interval imposes no restriction. Hence, LTL can be seen as a subclass of MITL with no intervals.
Passive untimed LTL learning. We adopt the standard passive learning setup of [24], [11]. An LTL formula uses standard temporal operators (F, G, X, U, etc.), without timing intervals.
Problem 1 (Untimed LTL Learning). Given an untimed sample , where and are sets of finite words over , find an LTL formula such that for all and for all .
Trivially, as long as and are strictly disjoint, a distinguishing formula always exists (e.g., by explicitly encoding the finite set as a large disjunction). However, such literal encodings severely overfit and fail to capture meaningful underlying patterns.
In practice, modern LTL learners employ various algorithmic strategies to systematically extract a minimum-size consistent formula. While some approaches reduce the problem to a SAT or SMT encoding (e.g., [28]), others leverage various syntactic and semantic enumeration techniques (e.g., [31], [38], [11]). Regardless of the specific methodology, our framework treats the untimed LTL learner purely as a black box. We remain entirely agnostic to its internal mechanisms, relying solely on the assumption that it returns a sound specification.
Passive MITPPL learning. We now lift the passive learning problem to the timed setting. While the untimed setting abstracts away absolute durations, the primary objective of our framework is to synthesise timing constraints directly from the delay data in traces. We formalise this core task as follows:
Problem 2 (Timed MITPPL Learning). Given a timed sample , where and are sets of timed words over , find an MITPPL formula such that for all and for all .
Our framework imposes no structural assumptions on the input traces; our theoretical guarantees hold strictly regardless of trace length, duration, or event density. Unlike the untimed setting, simply having disjoint positive and negative trace sets is insufficient to guarantee the existence of a distinguishing formula. As detailed in the subsequent sections, Problem 2 admits a valid solution if and only if the sets and can be separated by a timed automaton.
Remark 1 (Rational Constants and Scaling). While our pivot extraction algorithm relies on integer boundaries, non-integer timing constraints can always be accommodated via scaling. Provided the required granularity of timing precision is known, which is virtually always the case in practice, one can safely map the problem to the integer domain without any loss of precision. For example, if a target system requires thresholds at 0.5 granularity, pre-multiplying all trace timestamps by 2 safely satisfies the integer assumption prior to learning.
IV. THE SYNTHESIS FRAMEWORK
In this section, we outline our four-phase translation architecture. Given a sample of positive and negative timed words, our objective is to identify a set of localised MITPPL features such that, when injected as new atomic propositions, the untimed projections of the positive and negative traces become strictly disjoint. We achieve this through four distinct phases: (1) subset-projection collision detection, which isolates the exact locations where traces share identical logical structures but diverge in timing; (2) template injection, which applies user-provided domain knowledge to rapidly filter out broad structural violations; (3) layered feature synthesis, which iteratively constructs and evaluates new temporal features to separate the remaining conflicts using a global sliding-window algorithm (where is the length of the longest trace); and (4) proposition minimisation, which eliminates redundant features to ensure the final set of propositions is as compact as possible.
Before detailing these phases, we first formalise the obstacle that defeats a naive reduction (i.e., the direct application of untimed LTL learning) and precisely characterise the conditions under which it occurs.
Definition 4 (Propositional Indistinguishability). Let be timed words of equal lengths (i.e. ) over and . The pair is propositionally indistinguishable with respect to , written , if . Note that this implies for all .
Lemma 1 (LTL Indistinguishability). If , then for every untimed LTL formula over , .
Corollary 2. If and satisfy , then no untimed LTL formula can distinguish from .
Quantitative distinguishability. The key structural observation relies on the notion of simple elementary languages [41], which establishes a necessary condition for distinguishability with respect to timed automata [2]. By definition, a simple elementary language groups together propositionally indistinguishable timed words that satisfy the exact same tightest integer-bounded time constraints for all possible consecutive sequences of delays (i.e., the sum of the delays strictly falls between two consecutive integers and , or is exactly equal to ).
For example, consider the sequence of two delays associated with an untimed event sequence . The timed words with delays and belong to the exact same simple elementary language because their delays and sums share identical integer bounds: , , and . In contrast, a timed word with delays belongs to a different simple elementary language; although its individual delays still fall within , their sum strictly falls into the distinct interval .
Consequently, if two traces are propositionally indistinguishable yet can be separated by a timed automaton (and by extension, any formal timed specification), they cannot belong to the same simple elementary language. This implies that their tightest integer bounds must differ, guaranteeing the existence of a specific integer time boundary—which we term a pivot—at which the two traces' inter-event delays disagree.
Definition 5 (Pivot). Let be propositionally indistinguishable with respect to (i.e. ) and . A pivot for is a triple where , , and
with the accumulated delay between the th and th events of ( ).
Remark 2 (Pivot Multiplicity). A pair of inter-event delays generates exactly integer pivots, but for our purpose we just need one pivot for .
Definition 6 (Quantitative Indistinguishability). Let be timed words of equal lengths (i.e. ) over and . The pair is quantitatively indistinguishable, written , if for some simple elementary language over .
Lemma 3 (Pivot Characterisation). Let be propositionally indistinguishable with respect to but quantitatively distinguishable. Then there exists a pivot for .
Example 3 (Pivots). The pair of Example 1 is propositionally indistinguishable with respect to any subset
Algorithm 1 Phase 1: Subset-Projection Collision Detection
Input: ; ; ,
Output: ;
Mismatches:
1: ; Mismatches[ ]
2: for , do
3: for all with do
4: Compute for each
5: for all do
6: if then
7:
8: Compute pivots for
9: Mismatches[ ]
Mismatches[ ]
10: return ( , Mismatches)
P of AP = but quantitatively distinguishable. The pivots are for , for , and for .
A. Phase 1: Subset-Projection Collision Detection
Algorithm 1 takes as input a sample over and a user-specified threshold . It yields two outputs: a set of conflicting trace pairs that are propositionally indistinguishable with respect to at least one with , and a map Mismatches from each conflicting pair to its list of pivots.
The primary motivation for this subset-projection mechanism stems from the observation that, in many practical scenarios, and are already propositionally distinguishable over the complete set of atomic propositions AP. By systematically projecting the traces onto restricted subsets of atomic propositions, the framework intentionally abstracts away these irrelevant structural variations, effectively forcing otherwise distinct traces to become propositionally indistinguishable. Once this structural equivalence is artificially induced, any remaining behavioural divergence between the positive and negative traces must be inherently quantitative. This purposeful isolation enables the algorithm to precisely pinpoint the pure timing differences and extract their corresponding pivots.
The outer loop enumerates subsets of AP by decreasing cardinality; intuitively, our aim is to identify trace pairs that become propositionally indistinguishable once specific atomic propositions are discarded via projection. For any pair that is propositionally indistinguishable with respect to , the pivot extractor iterates over all ordered index pairs , emitting a single pivot for each . We remark that in practice it is often the case that for typical specifications, making a small constant. For example, the benchmarks in [42] all have , which corresponds to .
Proposition 4 (Phase 1 Complexity). Algorithm 1 runs in time on a sample with traces of maximum length .
Proof. The outer enumeration contributes subsets. For each , projecting all traces is . Comparing the ordered cross-pairs costs per pair. Pivot extraction per matched pair adds .
Example 4. Consider the sample with , where AP = :
Phase 1 enumerates subsets of AP in decreasing order of cardinality . Suppose that we set .
• At r = 5 and r = 4: no collisions occur.
• At r = 3:
-
: The pair collides, both projecting to . There are more than one pivot for , but as an example, the accumulated delays between (position 1) and (position 3) are 3.0 and 6.0 respectively, yielding .
-
: The pair collides, both projecting to .
-
: The pair collides, both projecting to .
• At and : , and both strip down to .
B. Phase 2: Template Injection
Algorithm 2 takes as input the set of conflicting trace pairs generated in Phase 1, alongside an optional structural template . It outputs , a reduced subset of trace pairs that remain unresolved.
The motivation for this phase is that, in many practical settings, domain experts possess prior knowledge of specific behavioural patterns the synthesised specification should respect—for example, ‘every arrival is eventually followed by a completion’. When provided, this template is efficiently evaluated at every position across all traces using a sliding-window dynamic programming algorithm (Proposition 5). The resulting Boolean truth vectors are then injected into all the traces as a free new proposition. Any conflicting pairs in that are successfully distinguished by this newly injected template are immediately resolved and discarded. The remaining, indistinguishable trace pairs form the output set . In this capacity, the template functions as a powerful structural pre-filter. It cleanly separates broad structural violations—which the domain-knowledge template readily catches—from pure quantitative timing violations, leaving only the latter for Phase 3 to address.
Algorithm 2 Phase 2: Template Injection
Input: Pairs ; optional template
Output: Updated AP, Pairs
1: AP ← AP ; Pairs ← Pairs
2: if is provided then
3: Evaluate on every position of every trace via sliding-window DP
4: AP ← AP ∪
5: for all do
6: if at some position distinguishes from then
7: Pairs ← Pairs
8: return (AP, Pairs )
Proposition 5 (Sliding-Window DP). For any feature formula of the form , , , or where are Boolean combinations of atomic propositions and a timed word of length , the Boolean satisfaction values can be computed in time and auxiliary space.
Proof sketch. The evaluation of the standard unary MITL modalities and can be computed in time using standard sliding-window techniques (see, e.g., [20]). We therefore focus on constructively demonstrating the evaluation algorithm for the Pnueli modalities.
For the k-ary future Pnueli modality , we must evaluate whether there exists a sequence of indices such that , , and for all (the case of the past Pnueli modality is symmetric). We maintain a state array , where records the minimum ending position of a valid matching subsequence that lie after the current position. We initialise for all .
We iterate i backwards from down to 1. At each i:
- Update the DP state: We process the position :
• For m from 1 up to : if , we update .
• For : if , we update .
- Update right boundary: Update the right window boundary leftwards to enforce that . The Pnueli modality holds at if and only if .
The state array requires auxiliary space. For each of the steps, advancing the DP state takes operations. The right pointer retreats at most times globally, amortising to per step. Thus, the overall evaluation time is bounded by .
Corollary 6 (Membership for MITPPL formula). Given a timed word of length , an MITPPL formula with temporal operators and maximum Pnueli arity , the satisfaction relation can be decided for all in time and space .
C. Phase 3: Layered Feature Synthesis as Set Cover
Algorithm 3 iteratively selects a sequence of synthesised features such that each distinguishes at least one pair in that has not been previously resolved by . This process continues until . We formulate this as a classical set-cover problem: the universe of elements to cover is the set of unresolved pairs , and the available sets are defined by the distinguishing power of each candidate feature, denoted . The objective is to cover the universe using the minimum number of features.
Given the intractability of optimal set cover, we solve this problem greedily. Notably, our synthesis approach is layered (or compositional). When synthesising the -th feature , the framework may utilise not only the original atomic propositions (AP) but also any of the previously synthesised and injected features . This layered expansion allows the algorithm to express complex, nested timing constraints incrementally (e.g., placing a bounded deadline on a condition that itself contains a previously resolved temporal obligation) without suffering the combinatorial explosion of attempting to synthesise deeply nested MITPPL formulae in a single pass.
Standard MITL features. For each unresolved pair and each corresponding pivot , we construct the candidate features:
These candidate features are subsequently evaluated at every position across all traces. (Note that we use the strict interval rather than if the larger delay is exactly equal to ). Here, and are interpreted as the Boolean conjunctions corresponding to , respectively.
Pnueli features. If the previous step yields an empty candidate set, or if every candidate has an empty , it remains possible to distinguish the two timed words via counting. For each , we extract the subwords and around the pivot: specifically, the sequences of events from and that fall within the time window relative to position .
We then identify a shortest sequence that is a subsequence of one bounded sub-word but not of the other (this must exist since and are of different lengths). This constitutes a classical shortest distinguishing subsequence (SDS) problem [8], which can be solved via a breadth-first search (BFS) in time. The extracted SDS naturally yields the Pnueli feature
By construction, because the SDS is present in one sub-word and absent from the other, is guaranteed to distinguish at position i.
Expressiveness. It is important to note that our feature synthesis phase exclusively generates MITL and Pnueli modalities with bounded intervals of the form . This design choice, however, imposes no limitation on the theoretical expressiveness of our framework. As established in [19], unilateral MITL and Pnueli modalities are expressively complete for full MITPPL; for instance, a general bounded-until formula such as can always be logically decomposed into an equivalent formula using only unilateral intervals. Consequently, our approach requires no user-supplied templates to achieve full expressiveness. Instead, we rely on the downstream untimed LTL learner to compose these simple unilateral features into the logical equivalents of more complex modalities, should they be necessary to separate the sample.
Global scoring. Relying exclusively on a feature’s ability to resolve currently outstanding conflicting pairs can lead to severe overfitting, as the algorithm risks selecting highly specific, brittle formulae tailored to noisy edge cases. To promote structural generalisation, candidate features are instead evaluated by their broad distinguishing power across the entire dataset, rather than being strictly limited to pairs currently in . Consequently, for the purpose of global scoring, we broaden the definition of a feature’s distinguishing set to encompass the entire universal dataset:
This global set is computed using a single linear-time sliding-window dynamic programming pass over all traces (Proposition 5). Candidates are then scored based on the cardinality of their intersection with a target set, . Here, is a user-selectable parameter that dictates the generalisation reach of the synthesis: targeting prioritises immediate local progress; targeting favours formulae that resolve a broader set of historical collisions; and targeting optimises generalisation to unseen but structurally similar pairs. In the event of a tie, we prioritise candidates that maximise , where P is the set of atomic propositions occurring in . We favour features heavily grounded in , as they are typically easier for downstream untimed LTL learners to process. Finally, any remaining ties are broken by favouring shorter formula lengths.
Progress guarantee. We select the first candidate in sorted order whose is non-empty. This selection rule ensures that
i.e. the undone-pair count strictly decreases on every iteration. Hence the outer loop terminates in at most iterations.
D. Phase 4: Proposition Minimisation
While the expanded AP produced by Phase 3 successfully resolves all structural ambiguities, it is not necessarily minimal. Because of the greedy selection strategy, an earlier feature may become redundant if a subset of subsequently added features
Algorithm 3 Phase 3: Layered Feature Synthesis
Input: Pairs , Mismatches, AP, Pairs
Output: Updated AP with synthesised features
1: while Pairs do 2: Candidates ← 3: for all do 4: for all pivot do 5: for all do 6: 7: Compute Dist( ), via DP 8: Candidates ← Candidates 9: if Candidates = or every candidate has empty then 10: for all do 11: Extract ; find SDS 12: 13: Compute Dist( ), via DP 14: Candidates ← Candidates 15: Sort Candidates descending by , then by , then ascending by length 16: first candidate in sorted order with 17: AP ← AP 18: Pairs 19: return AP
collectively covers all the trace pairs it originally distinguished, thereby rendering it obsolete. Phase 4 minimises AP by reducing this task to another classical set-cover instance, which is then solved either exactly (via Petrick's method [30]) or approximately (via a greedy hitting-set algorithm). Specifically, let AP be the fully expanded set of atomic propositions output by Phase 3, and let be the universal set of originally conflicting trace pairs. For each proposition , we define as the specific subset of conflicting pairs that successfully distinguishes. The objective is to identify a subset of minimum cardinality such that .
In practice, we observe that exact minimisation via Petrick's method is generally tractable for the problem instances typically encountered, where the universe is relatively small and the distinguishing sets are sparse. Upon completion, the framework returns . These sets are constructed by projecting the original traces exclusively onto and discarding all timing data. Because both sets now consist of strictly disjoint untimed words over a minimised set of atomic propositions, an off-the-shelf LTL learner can process them directly to mine the final specification.
V. THEORETICAL ANALYSIS
In this section, we formally establish the correctness and efficiency of our proposed synthesis framework. First, we prove its soundness, demonstrating that the layered feature synthesis restores propositional distinguishability for all conflicting pairs, thereby validating our reduction from timed synthesis to untimed LTL learning. Second, we establish completeness, ensuring that the algorithm is guaranteed to terminate and return a valid separating set of atomic propositions. Finally, we analyse the computational complexity of the procedure. In what follows, we assume that the sample is inherently distinguishable, i.e. each trace pair is either propositionally or quantitatively distinguishable.
Lemma 7 (Termination). Let AP be the set of atomic propositions produced by Phase 3, and let be the output of Phase 4. For every , the untimed projections and are distinct untimed strings.
Proof. Every pair in is removed either in Phase 2 (by the injection of template ) or, due to the progress guarantee of Phase 3, at some iteration in Phase 3 (by adding a feature with ). In either case, evaluates to true at some position of and false at the matching position of (or vice versa). Phase 4's set-cover constraint forces (or some other feature that distinguishes ) into . Therefore .
Corollary 8. For a given sample over , the corresponding untimed sample over can be distinguished by an LTL formula over at position 1.
The following theorem is then immediate, by the definition of the semantics of MITPPL.
Theorem 9 (Soundness). The MITPPL formula over , where are the templates and features added in Phase 2 and Phase 3, distinguishes at position 1.
The theorem below holds since in Phase 3, for each , the Pnueli feature is guaranteed to distinguish at position .
Theorem 10 (Completeness). If an instance of Problem 2 has a solution, then applying Phases 1 to 4 also yields a solution .
Corollary 11. An instance of Problem 2 has a solution if and only if can be distinguished by a timed automaton.
Proof sketch. By Theorem 10, if has a solution, there is an MITPPL formula that distinguishes at position 1, and can be translated into a language-equivalent timed automaton [19]. Conversely, if can be distinguished by a timed automaton, each trace pair must either be propositionally or quantitatively distinguishable. By Theorem 9, we can apply Phases 1 to 4 and obtain a solution .
Although timed automata are strictly more expressive than MITPPL in general, Corollary 11 shows that the gap disappears while distinguishing finite collections of timed words.
Proposition 12 (Complexity). The framework runs in time on a sample with , the maximum length of traces, and AP the set of atomic propositions after Phase 3.
Proof. In each of the phases:
• Phase 1: by Proposition 4.
• Phase 2: per template evaluation.
• Phase 3: iterations in the worst case, each evaluating candidates by sliding-window DP at per candidate, total .
• Phase 4: if we use the greedy hitting-set algorithm instead.
VI. IMPLEMENTATION AND EXPERIMENTAL EVALUATION
We have implemented our synthesis framework, including subset-projection collision detection, template injection, layered feature synthesis, and proposition minimisation, in Python 3.14. To generate timed words for our evaluations, we utilised the timed automata uniform sampler WORDGEN [9], and when necessary, employed MIGHTYPPL [19] to convert MITPPL formulae into timed automata. For the downstream untimed learning phase, we use the BOLT tool [11] as our LTL learning back-end. All experiments were conducted on a desktop workstation with an Intel Core i9-13900K CPU and 64GB of RAM. While direct empirical comparisons are inherently difficult due to variations in problem instance formulations and targeted formalisms, a direct hardware-matched benchmarking was not possible because the implementation for [42] is not publicly available. Consequently, we frame our experimental results to explicitly demonstrate the standalone feasibility and efficiency of our translation pipeline, discussing its performance in the context of recent state-of-the-art methods [32], [42] whenever possible.
To demonstrate the effectiveness and efficiency of our approach, we conducted three sets of experiments. First, we evaluate the toolchain's performance on learning the behaviours of a simple timed automaton. Second, we demonstrate the scalability of our approach when learning standard CPS specification patterns, specifically evaluating the impact of domain-knowledge template injection. Finally, we apply our synthesis approach to a case study involving a train-gate controller to identify unknown timing constants.
A. A Simple Timed Automaton
In this subsection, we evaluate our framework’s ability to capture the behaviours of a simple timed automaton (Figure 1), adapted from [42, Section VII.A]. To precisely replicate the experimental setting of [42, Section VII.A], positive traces of varying lengths ( ) are sampled directly from the automaton, with the expected delay of each individual event set to 2. Negative traces of identical lengths are sampled, with the same expected delay, from a timed automaton accepting the complement timed language (this automaton is easy to construct, despite timed automata not being closed under complementation in the general case). We construct balanced trace sets where , for . In Tables I and II, each divided data cell contains two numbers: the first denotes the execution time originally reported in [42], and the second represents the execution time of our own toolchain. We emphasise that this juxtaposition is provided purely for reference; it must not be treated as a direct, head-to-head comparison, given the significant differences in the goal (their method finds minimal intersection- and renaming-free TREs), underlying hardware, and running environments.
The experimental results demonstrate that our approach highly efficiently synthesises separating MITPPL formulae—which, for this specific benchmark, resolve entirely to standard MITL. Whilst enabling the subset-projection strategy incurs a minor runtime overhead, it yields slightly more concise specifications: the average number of operators in the resulting formulae is 8.63, compared to 9.90 when subset projection is disabled. Conversely, if we strictly minimise the output set of propositions, the downstream LTL learner must compensate by generating more sophisticated structural constraints: the average operator counts increase to 10.73 (with subset projection) and 10.23 (without), highlighting the delicate balance between proposition size and structural formula complexity.

Fig. 1. The simple timed automaton used in Section VI-A. Note that the alphabet size is 2.
TABLE I EXECUTION TIMES (S) ON THE SIMPLE TIMED AUTOMATON BENCHMARK (WITHOUT SUBSET PROJECTION). IN EACH CELL THE FIRST NUMBER IS THE REPORTED EXECUTION TIME IN [42], THE SECOND NUMBER IS THE EXECUTION TIME OF OUR FRAMEWORK.
| 5 | 7 | 9 | 11 | 13 | 15 | |||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 6 | 0.41 | 0.04 | 107.8 | 0.04 | 0.33 | 0.08 | 245.9 | 0.13 | 125.8 | 0.18 | 122.5 | 0.18 |
| 7 | 32.6 | 0.02 | 128.5 | 0.04 | 125.7 | 0.08 | 120.1 | 0.10 | 115.0 | 0.19 | 120.6 | 0.47 |
| 8 | 1.52 | 0.04 | 32.1 | 0.10 | 154.7 | 0.05 | 119.2 | 0.05 | 124.9 | 0.18 | 118.8 | 0.15 |
| 9 | 122.5 | 0.04 | 1.48 | 0.04 | 124.3 | 0.09 | 122.4 | 0.14 | 117.5 | 0.17 | 120.1 | 0.16 |
| 10 | 112.7 | 0.04 | 127.0 | 0.04 | 127.2 | 0.05 | 124.8 | 0.06 | 116.4 | 0.20 | 123.2 | 0.12 |
B. Standard Patterns in CPS
In this subsection, we evaluate the scalability of our method against standard specification patterns common in real-time task scheduling and the online monitoring of cyber-physical systems [32]. These include structural archetypes such as bounded response and delayed acknowledgement.
TABLE II EXECUTION TIMES (S) ON THE SIMPLE TIMED AUTOMATON BENCHMARK (WITH SUBSET PROJECTION). IN EACH CELL THE FIRST NUMBER IS THE REPORTED EXECUTION TIME IN [42], THE SECOND NUMBER IS THE EXECUTION TIME OF OUR FRAMEWORK.
| 5 | 7 | 9 | 11 | 13 | 15 | |||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 6 | 0.41 | 0.08 | 107.8 | 0.11 | 0.33 | 0.29 | 245.9 | 0.25 | 125.8 | 0.61 | 122.5 | 0.70 |
| 7 | 32.6 | 0.07 | 128.5 | 0.17 | 125.7 | 0.20 | 120.1 | 0.24 | 115.0 | 0.62 | 120.6 | 0.58 |
| 8 | 1.52 | 0.07 | 32.1 | 0.18 | 154.7 | 0.23 | 119.2 | 0.24 | 124.9 | 0.60 | 118.8 | 0.46 |
| 9 | 122.5 | 0.13 | 1.48 | 0.17 | 124.3 | 0.24 | 122.4 | 0.31 | 117.5 | 0.41 | 120.1 | 0.58 |
| 10 | 112.7 | 0.12 | 127.0 | 0.22 | 127.2 | 0.28 | 124.8 | 0.35 | 116.4 | 0.40 | 123.2 | 0.64 |
To this end, we fix the sample size to and select four representative MITL formulae from [32, Section 6]:
For each target formula , positive and negative traces of varying lengths () are sampled from the language-equivalent timed automata for and , respectively, constructed via MIGHTYPPL. In Tables III and IV, each divided data cell reports two execution times to highlight the impact of domain knowledge: the first denotes the baseline synthesis time without template injection, and the second denotes the time when a corresponding structural template (, , , and , respectively) is injected before the main synthesis loop.
The experimental results confirm the efficiency of our toolchain in resolving this benchmark suite. For context, the direct synthesis times reported for these patterns in [32, Section 6] range from 10 to 5400 seconds. We reiterate, however, that these figures are provided purely as a reference point rather than for direct empirical comparison, as [32] solves a related but different problem (find minimal formulae with bounded future-reach). We also observe that enabling the subset-projection strategy yields significantly more concise specifications, reducing the average number of operators from 11.44 down to 8.88. Finally, we evaluate the effect of template injection. We emphasise that templates represent a form of domain knowledge or an ‘oracle’ that is not necessarily available in all practical settings. However, in scenarios where such structural priors are known and injected, they function as pre-computed, highly selective features. The downstream BOLT learner immediately incorporates these injected features, effectively bypassing the need to synthesise complex, quantitative structural constraints from scratch.
C. Case Study: Train-Gate Controller
Our final case study involves extracting timing constants from a train-gate controller, modelled by a timed automaton and adapted from [42, Section VII.C]. For this scenario, we assume a grey-box setting where the general ‘shape’ or logical sequence of the system’s behaviour is known to the practitioner,
TABLE III EXECUTION TIMES (S) ON THE CPS PATTERNS BENCHMARK (WITHOUT SUBSET PROJECTION). IN EACH CELL THE FIRST NUMBER IS THE EXECUTION TIME WITHOUT TEMPLATE INJECTION, THE SECOND NUMBER IS THE EXECUTION TIME WITH TEMPLATE INJECTION.
| 5 | 0.12 | 0.07 | 0.43 | 0.07 | 1.54 | 0.07 | 0.07 | 0.07 |
| 10 | 0.17 | 0.12 | 2.58 | 0.12 | 0.43 | 0.12 | 0.43 | 0.12 |
| 15 | 2.06 | 0.12 | 2.05 | 0.12 | 0.12 | 0.12 | 0.12 | 0.12 |
| 20 | 0.64 | 0.12 | 2.82 | 0.17 | 0.12 | 0.17 | 0.12 | 0.17 |
TABLE IV EXECUTION TIMES (S) ON THE CPS PATTERNS BENCHMARK (WITH SUBSET PROJECTION). IN EACH CELL THE FIRST NUMBER IS THE EXECUTION TIME WITHOUT TEMPLATE INJECTION, THE SECOND NUMBER IS THE EXECUTION TIME WITH TEMPLATE INJECTION.
| 5 | 0.42 | 0.33 | 0.68 | 0.29 | 0.60 | 0.40 | 0.57 | 0.27 |
| 10 | 1.57 | 0.77 | 8.40 | 0.98 | 2.34 | 0.93 | 6.32 | 0.88 |
| 15 | 4.30 | 1.67 | 9.76 | 1.93 | 5.48 | 1.92 | 6.70 | 1.67 |
| 20 | 8.89 | 3.57 | 17.49 | 3.63 | 11.11 | 3.62 | 10.54 | 4.68 |
but the precise integer time boundaries must be learned entirely from the sampled traces. Positive traces are sampled directly from the timed automaton shown in Figure 2, with the expected delay of each individual event set to 10. Negative traces are generated using the same expected delay, but are sampled from a structurally identical automaton where all guard conditions have been relaxed to true. The samples comprise traces of varying lengths; for instance, the rows marked ‘’ correspond to trace lengths , which are the only valid lengths up to 10 accepted by the original automaton. As before, we construct balanced trace sets where .
The effect of proposition minimisation. For this part of experiment we consider . In Tables V and VI, each divided data cell contains two numbers: the first denotes the execution time without proposition minimisation, and the second denotes the time with minimisation enabled.
Our framework performs efficiently on the moderate sample sizes evaluated here. Consistent with previous observations, enabling the subset-projection strategy slightly reduces the structural complexity of the output formulae, dropping the average number of operators from 37.25 to 36.83 (when proposition minimisation is disabled). Furthermore, whilst proposition minimisation can yield up to a performance boost in certain cases, this speed-up comes at the cost of significantly more complex formulae: the average operator counts surge to 64.67 (without subset-projection) and 63.17 (with subset-projection).
Scalability bottleneck and phase-by-phase breakdown. To identify the primary computational bottleneck, Table VII provides a runtime breakdown on extended sample sizes , as in [42, Section VII.C]). Our feature synthesis (Phases 1–3) and proposition minimisation (Phase 4) remain highly efficient, completing in roughly 9 minutes even for the largest sets of 750 traces. The primary computational limitation, however, arises during the downstream BOLT execution. Because BOLT performs an exact structural search over an exponentially large space, it times out on datasets of 300 or more traces when proposition minimisation is disabled. However, enabling minimisation drastically compresses this search space, allowing BOLT to scale up to 600 traces. This confirms that our frontend timing reduction is fundamentally scalable; as downstream untimed learners improve, the overall capacity of our framework will naturally increase.
Generalisation and formula quality. Because BOLT cannot scale beyond without enabling proposition minimisation—which acts as a form of lossy compression on the logical search space—we disable minimisation for the feature-level analysis of this experiment. Table VIII lists the raw timing features extracted (Phases 1–3) for larger trace sets (). For shorter traces (), the framework consistently isolates bounds matching the automaton's exact internal guards (e.g., 2, 3, 7, and 12), converging tightly on these physical bounds as increases. For larger bounds (), the features incorporate larger constants (e.g., 24, 36, or 62). Because longer traces encompass multiple structural loops, these expanded intervals successfully capture macro-level systemic delays that reflect the accumulated sums of base constants across repeated iterations. Examples of the corresponding full MITPPL formulae synthesised from these features are provided in Table IX. Furthermore, to assess generalisation, we evaluated these formulae against a single large hold-out set comprising 10,000 unseen test traces (5,000 positive, 5,000 negative) generated up to . Table X illustrates the out-of-sample accuracy of specifications trained on varying sample sizes (). The results highlight a clear structural trade-off: specifications learned without proposition minimisation consistently achieve higher accuracy (reaching up to 94.48%). By retaining full feature granularity, the uncompressed alphabet allows the exact solver to better capture the ground truth. In contrast, while proposition minimisation is strictly necessary to prevent the downstream BOLT search from timing out on larger datasets, this logical compression artificially restricts the solver's vocabulary, forcing a measurable degradation in accuracy on unseen traces.

Fig. 2. The train-gate timed automaton used in Section VI-C. Note that the alphabet size is 5.
TABLE V
EXECUTION TIMES (S) ON THE TRAIN-GATE BENCHMARK (WITHOUT SUBSET PROJECTION). IN EACH CELL THE FIRST NUMBER IS THE EXECUTION TIME WITHOUT PROPOSITION MINIMISATION, THE SECOND NUMBER IS THE EXECUTION TIME WITH PROPOSITION MINIMISATION.
| 25 | 50 | 75 | 100 | |||||
|---|---|---|---|---|---|---|---|---|
| 1.77 | 0.67 | 10.25 | 4.94 | 32.33 | 15.46 | 20.09 | 11.38 | |
| 1.82 | 1.19 | 11.19 | 8.39 | 25.77 | 9.60 | 37.29 | 16.04 | |
| 1.42 | 0.56 | 6.17 | 8.50 | 11.11 | 7.70 | 24.15 | 18.83 | |
TABLE VI
EXECUTION TIMES (S) ON THE TRAIN-GATE BENCHMARK (WITH SUBSET PROJECTION). IN EACH CELL THE FIRST NUMBER IS THE EXECUTION TIME WITHOUT PROPOSITION MINIMISATION, THE SECOND NUMBER IS THE EXECUTION TIME WITH PROPOSITION MINIMISATION.
| 25 | 50 | 75 | 100 | |||||
|---|---|---|---|---|---|---|---|---|
| 3.49 | 1.50 | 10.05 | 6.22 | 41.33 | 19.48 | 39.11 | 15.99 | |
| 3.00 | 2.23 | 14.00 | 8.80 | 30.66 | 14.52 | 40.00 | 21.08 | |
| 3.70 | 2.78 | 10.75 | 12.71 | 24.34 | 18.68 | 32.95 | 28.42 | |
TABLE VII
PHASE-BY-PHASE EXECUTION TIME BREAKDOWN (S) FOR THE TRAIN-GATE BENCHMARK (, WITH SUBSET PROJECTION).
| Subset Projection | Layered Feature Synthesis | Proposition Minimisation | BOLT w/o Proposition Minimisation | BOLT w/ Proposition Minimisation | |
|---|---|---|---|---|---|
| 25 | 0.05 | 2.35 | 0.00 | 3.34 | 2.56 |
| 50 | 0.21 | 9.82 | 0.00 | 9.08 | 14.46 |
| 75 | 0.53 | 12.22 | 0.01 | 25.13 | 16.02 |
| 100 | 0.91 | 20.04 | 0.02 | 33.12 | 27.51 |
| 300 | 8.74 | 100.56 | 0.24 | ERR | 123.58 |
| 450 | 21.82 | 196.79 | 0.71 | ERR | 243.26 |
| 600 | 38.14 | 316.19 | 1.76 | ERR | 425.13 |
| 750 | 60.87 | 478.81 | 3.40 | ERR | ERR |
TABLE VIII
TIMING FEATURES SYNTHESISED (WITHOUT PROPOSITION MINIMISATION).
| Synthesised Features (Phases 1–3) | ||
|---|---|---|
| 100 | ||
| 300 | ||
| 450 | ||
| 600 | ||
| 750 | ||
| 100 | ||
| 300 | ||
| 450 | ||
| 600 | ||
| 750 | ||
| 100 | ||
| 300 | ||
| 450 | ||
| 600 | ||
| 750 |
TABLE IX
EXAMPLE FORMULAE SYNTHESISED (, WITHOUT PROPOSITION MINIMISATION).
| Synthesised MITPPL Formula | ||
|---|---|---|
| 25 | (\text{G}((\text{X}[\!])\ (\text{X}(\text{X}[\!])\ (\text{X}[\!])\ (\text{r})))) \rightarrow (\text{F}[0,29]!\text{(q)}\ & \text{!}(\text{r})))) \& ((\text{X}((!\text{!}(\text{F}[0,29]!\text{(q)}\ & \text{!}(\text{r})))) \text{R}((\text{F}[0,42]!\text{(q)})) \text{U}(\text{F}[0,29]!\text{(q)}\ & \text{!}(\text{r})))) \mid ((\text{F}[0,42]!\text{(q)})) \& (\text{G}((\text{q}) \llrightarrow ((\text{q}) \text{R}((\text{q}) \text{U}(\text{F}[0,29]!\text{(q)}\ & \text{!}(\text{r}))))))) | |
| 50 |
TABLE X
OUT-OF-SAMPLE GENERALISATION ACCURACY EVALUATED ON A HELD-OUT SET OF 10,000 UNSEEN TRACES ().
| Training Size () | Accuracy (w/o Prop. Min.) | Accuracy (w/ Prop. Min.) | |
|---|---|---|---|
| 25 | 77.22% | 71.27% | |
| 50 | 78.64% | 80.12% | |
| 75 | 83.63% | 77.80% | |
| 100 | 91.97% | 89.65% | |
| 25 | 83.11% | 72.35% | |
| 50 | 90.87% | 83.42% | |
| 75 | 88.99% | 85.96% | |
| 100 | 94.48% | 89.88% | |
| 25 | 84.70% | 83.21% | |
| 50 | 83.86% | 65.00% | |
| 75 | 81.40% | 80.60% | |
| 100 | 80.86% | 79.07% |
VII. RELATED WORK
A. Learning Timed Automata
Automata learning techniques seek to construct a state-machine representation of timed behaviors. These approaches are typically divided into active and passive learning.
Active learning. Active learning assumes the existence of an oracle or “teacher” that can answer membership and equivalence queries during the learning process. Foundational work [17] adapts Angluin’s classical algorithm to infer event-recording automata (ERAs) [4]. Subsequent research has focused on expanding the expressiveness of the learned models while managing the inherent complexity of continuous time. For instance, [18] extends active learning to timed automata with unobservable clock resets. Some other works restrict the learning problem to one-clock formalisms, such as one-clock timed automata [5], [44] and single-timer Mealy machines [37]. More recently, significant advances have been made toward learning general multi-clock deterministic timed automata (DTAs) [41], [36]. Some other approaches have sought to optimise the learning process by bridging passive state-merging with active query refinement [1], utilising model-based mutation testing to iteratively refine timed automata from tests [34], or inferring symbolic timed constraints directly from concrete timed interactions [14].
Passive learning. In contrast, passive learning operates solely on given sets of positive (normal) and negative (anomalous) traces; the dominant methodology here is state-merging. For example, [40] uses statistical heuristics on timestamped labels to efficiently identify deterministic real-time automata (DRTAs), i.e. DTAs with only one clock that resets on every transition over integer-time traces. Another recent approach is the TAG algorithm [13], which infers DRTAs from only positive traces. Other approaches formulate passive timed automata learning as an exact logical constraint satisfaction problem solved via SMT [35], [26]. We remark that passive learning of automata is generally computationally hard (see e.g., [39]).
B. Learning Untimed LTL Specifications
Texada [24] is the first tool to support passive learning of full LTL. Subsequent state-of-the-art tools have employed sophisticated combinatorial search techniques. SCARLET [31], for instance, focusses on specifically tailored fragments of LTL to improve scalability. [38] proposes a GPU-accelerated enumerative algorithm that utilises characteristic tables and observational equivalence for fast formula evaluation. Building upon this, BOLT [11] is a CPU-based tool that achieves further orders-of-magnitude speedups.
C. Learning Timed Temporal Logics
Parameter synthesis. Much of the existing literature relies on template-based parameter synthesis, where the structural architecture of the formula is provided a priori: the learning algorithm optimises the numerical time bounds and signal thresholds. This is frequently formulated as a statistical optimisation problem, where algorithms maximise quantitative robustness semantics to classify stochastic processes [10], detect cyber-physical anomalies [21], [22], or extract reward functions for reinforcement learning frameworks [25], [45], [32]. While template-based methods are less computationally demanding, they inherently limit the expressive capability of the learned specifications to the designer's prior domain assumptions.
Structure synthesis. Overcoming the template restriction requires structure synthesis—a significantly more complex problem due to the infinite search space of formula architectures. Foundational work [16] established the synthesis of distinguishing formulae for timed bisimulation equivalence. Modern template-free approaches tackle the computational challenge using diverse techniques. Some rely on systematic enumerative search, coupled with aggressive heuristic pruning or partial ordering to manage the combinatorial explosion [23], [27]. Others adapt classical machine learning paradigms, such as inferring interval temporal logic decision trees [12] or clustering execution traces to generate hybrid system assertions [29]. A notable recent approach [15] maps discrete logic into continuous domains for differentiable neural-network inference.
Comparison to our approach. While recent template-free structure synthesis methods have shown considerable progress, they often face severe scalability bottlenecks or expressiveness limits. For instance, [42] tackles the passive synthesis of (intersection- and renaming-free) timed regular expressions (TREs) by enumerating untimed parametric TRE templates and subsequently resolving the timing constraints via SMT solvers. Although effective and able to find minimal (intersection- and renaming-free) TREs, this method is inherently tied to the rigid structure of that limited fragment. Similarly, [32] proposes an exact SMT-based approach to synthesise MTL formulae of arbitrary structure by encoding the entire syntax DAG and continuous monitoring semantics into Linear Real Arithmetic. However, their reliance on a monolithic SMT encoding to discover both the logical structure and timing bounds simultaneously poses a substantial scalability challenge. Their focus is also quite different: finding minimal formulae with bounded future reach (lookahead) to prioritise online monitoring efficiency.
In contrast, our framework distinctively separates the timed and untimed aspects of the problem. By extracting quantitative timing differences a priori and embedding them into the alphabet as atomic propositions, we bypass the need for monolithic SMT structural encoding or template enumeration entirely. This novel abstraction allows us to delegate the complex combinatorial search to highly optimised untimed LTL tools (such as BOLT or SCARLET), guaranteeing completeness while retaining the full expressiveness of MITPPL.
VIII. Conclusion and Future Work
We presented a framework that reduces timed specification mining to untimed LTL learning by synthesising timed features to resolve propositional indistinguishability. The approach combines collision detection, template injection, layered feature synthesis, and proposition minimisation, with formal guarantees of soundness, progress, and completeness, alongside strong experimental results across diverse real-time systems. Our experimental evaluation demonstrates its efficiency and practical utility across diverse real-time scenarios.
Several directions remain for future work, including synthesising minimal timed formulae through incremental enumeration, integrating regular expressions to better capture cyclic behaviours, and reversing the workflow by first extracting untimed structural templates and subsequently synthesising timing parameters. Furthermore, while our current approach is highly effective, it relies on the availability of both positive and negative examples to extract separating timing pivots and mathematically bound the learned specification. Recognising that observing anomalous failure traces can be difficult in safety-critical domains, we plan to adapt our framework to learn exclusively from positive traces via one-class classification (see, e.g., [33]). Because our architecture strictly separates the extraction of timing features from the synthesis of logical structure, these modules can be updated independently. By shifting our feature extraction module to calculate tightness metrics such as bounding envelopes from positive delays—we can swap our downstream structural learner for one that optimises for language minimality over those features, acting as a regulariser to prevent overfitting.
ACKNOWLEDGMENT
The authors would like to acknowledge the use of Claude 4.6 (Anthropic) to assist with copy-editing and grammatical refinement during the preparation of this manuscript.
REFERENCES
[1] Bernhard K Aichernig, Andrea Pferscher, and Martin Tappler. From passive to active: Learning timed automata efficiently. In NFM, pages 1–19. Springer, 2020.
[2] Rajeev Alur and David L. Dill. A theory of timed automata. Theoretical Computer Science, 126(2):183–235, 1994.
[3] Rajeev Alur, Tomás Feder, and Thomas A. Henzinger. The benefits of relaxing punctuality. Journal of the ACM, 43(1):116–146, 1996.
[4] Rajeev Alur, Limor Fix, and Thomas A Henzinger. Event-clock automata: A determinizable class of timed automata. Theoretical Computer Science, 211(1-2):253–273, 1999.
[5] Jie An, Mingshuai Chen, Bohua Zhan, Naijun Zhan, and Miaomiao Zhang. Learning one-clock timed automata. In TACAS, pages 444–462. Springer, 2020.
[6] M Fareed Arif, Daniel Larraz, Mitziu Echeverria, Andrew Reynolds, Omar Chowdhury, and Cesare Tinelli. Syslite: syntax-guided synthesis of pltl formulas from finite traces. In FMCAD, pages 93–103. IEEE, 2020.
[7] Eugene Asarin, Paul Caspi, and Oded Maler. Timed regular expressions. Journal of the ACM, 49(2):172–206, 2002.
[8] Ricardo A Baeza-Yates. Searching subsequences. Theoretical Computer Science, 78(2):363–376, 1991.
[9] Benoît Barbot, Nicolas Basset, and Alexandre Donzé. Wordgen: a timed word generation tool. In HSCC, pages 1–7, 2023.
[10] Ezio Bartocci, Luca Bortolussi, and Guido Sanguinetti. Data-driven statistical learning of temporal logic properties. In FORMATS, pages 23–37. Springer, 2014.
[11] Gabriel Bathie, Nathanaël Fijalkow, Théo Matricon, Baptiste Mouillon, and Pierre Vandenhove. LTLf learning meets boolean set cover. In TACAS, pages 480–501. Springer, 2026.
[12] Andrea Brunello, Guido Sciavicco, and Ionel E Stan. Interval temporal logic decision tree learning. In JELIA, pages 778–793. Springer, 2019.
[13] Léo Cornanguer, Christine Largouët, Laurence Rozé, and Alexandre Termier. Tag: learning timed automata from logs. In AAAI, volume 36, pages 3949–3958, 2022.
[14] S Dierl, FM Howar, S Kauffman, M Kristjansen, KG Larsen, F Lorber, and M Mauritz. Learning symbolic timed models from concrete timed data. In NFM, pages 104–121. Springer, 2023.
[15] N Fronda and H Abbas. Differentiable inference of temporal logic formulas. In ICCAD, pages 1–9. IEEE, 2022.
[16] Jens Chr Godskesen and Kim G Larsen. Synthesizing distinguishing formulae for real time systems. In MFCS, pages 426–435. Springer, 1995.
[17] Olga Grinchtain, Bengt Jonsson, and Martin Leucker. Learning of event-recording automata. Theoretical Computer Science, 411(47):4029–4054, 2010.
[18] Léo Henry, Thierry Jéron, and Nicolas Markey. Active learning of timed automata with unobservable resets. In FORMATS, pages 144–160. Springer, 2020.
[19] Hsi-Ming Ho, Shankara Narayanan Krishna, Khushraj Madnani, Rupak Majumdar, and Paritosh K. Pandya. MightyPPL: Model checking MITL with past and Pnueli modalities. In TACAS, volume 16505 of Lecture Notes in Computer Science, pages 457–479. Springer, 2026.
[20] Hsi-Ming Ho, Joël Ouaknine, and James Worrell. Online monitoring of metric temporal logic. In RV, pages 178–192. Springer, 2014.
[21] Austin Jones, Zhaodan Kong, and Calin Belta. Anomaly detection in cyber-physical systems: A formal methods approach. In CDC, pages 848–853. IEEE, 2014.
[22] Zhaodan Kong, Austin Jones, and Calin Belta. Temporal logics for learning and detection of anomalous behavior. IEEE Transactions on Automatic Control, 62(3):1210–1224, 2016.
[23] Zhaodan Kong, Austin Jones, Ana Medina Ayala, Ebru Aydin Gol, and Calin Belta. Temporal logic inference for classification and prediction from data. In HSCC, pages 273–282, 2014.
[24] Caroline Lemieux, Dennis Park, and Ivan Beschastnikh. General LTL specification mining. In ASE, pages 81–92. IEEE, 2015.
[25] Xiao Li, Cristian-Ioan Vasile, and Calin Belta. Reinforcement learning with temporal logic rewards. In IROS, pages 3834–3839. IEEE, 2017.
[26] Anirban Majumdar, Sayan Mukherjee, and Jean-François Raskin. Learning event-recording automata passively. In ATVA, pages 27–48. Springer, 2025.
[27] Sara Mohammadinejad, Jyotirmoy V Deshmukh, et al. Interpretable classification of time-series data using efficient enumerative techniques. In HSCC, pages 1–10, 2020.
[28] Daniel Neider and Ivan Gavran. Learning linear temporal properties. In FMCAD, pages 1–10. IEEE, 2018.
[29] D Nicoletti, S Germiniani, et al. Mining signal temporal logic specifications for hybrid systems. In FDL. IEEE, 2024.
[30] Stanley R. Petrick. A direct determination of the irredundant forms of a boolean function from the set of prime implicants. Technical Report AFCRC-TR-56-110, Air Force Cambridge Research Center, 1956.
[31] Ritam Raha, Rajarshi Roy, Nathanaël Fijalkow, and Daniel Neider. Scalable anytime algorithms for learning fragments of linear temporal logic. In TACAS, pages 263–280. Springer, 2022.
[32] Ritam Raha, Rajarshi Roy, Nathanaël Fijalkow, Daniel Neider, and Guillermo A. Pérez. Synthesizing efficiently monitorable formulas in metric temporal logic. In TACAS. Springer, 2023.
[33] Rajarshi Roy, Jean-Raphaël Gaglione, Nasim Baharisangari, Daniel Neider, Zhe Xu, and Ufuk Topcu. Learning interpretable temporal properties from positive examples only. In AAAI, volume 37, pages 6507–6515, 2023.
[34] Martin Tappler, Bernhard K. Aichernig, Kim G. Larsen, and Florian Lorber. Time to learn—learning timed automata from tests. In FORMATS, volume 11750 of Lecture Notes in Computer Science, pages 216–235. Springer, 2019.
[35] Martin Tappler, Bernhard K. Aichernig, and Florian Lorber. Timed automata learning via SMT solving. In NFM, volume 13260 of Lecture Notes in Computer Science, pages 489–507. Springer, 2022.
[36] Yin Teng, Miaomiao Zhang, and Jie An. Learning deterministic multi-clock timed automata. In HSCC, pages 6:1–6:11. ACM, 2024.
[37] Frits W Vaandrager, Roderick Bloem, and Moesken Ebrahimi. Learning mealy machines with one timer. In LATA, pages 157–170. Springer, 2021.
[38] Mojtaba Valizadeh, Nathanaël Fijalkow, and Martin Berger. LTL learning on GPUs. In CAV, pages 209–231. Springer, 2024.
[39] Sicco Verwer, Mathijs de Weerdt, and Cees Witteveen. The efficiency of identifying timed automata and the power of clocks. Information and Computation, 209(3):606–625, 2011.
[40] Sicco Verwer, Mathijs de Weerdt, and Cees Witteveen. Efficiently identifying deterministic real-time automata from labeled data. Machine Learning, 86(3):295–333, 2012.
[41] Masaki Waga. Active learning of deterministic timed automata with Myhill-Nerode style characterization. In CAV, volume 13964 of Lecture Notes in Computer Science, pages 3–26. Springer, 2023.
[42] Ziran Wang, Naijun Zhan, Jie An, Miaomiao Zhang, and Zhenya Zhang. On synthesis of timed regular expressions. In RTSS, pages 311–323. IEEE, 2025.
[43] Danning Xie, Byoungwoo Yoo, Nan Jiang, Mijung Kim, Lin Tan, Xiangyu Zhang, and Judy S Lee. How effective are large language models in generating software specifications? In SANER, pages 1–12. IEEE, 2025.
[44] Rui Xu, Jie An, and Bohua Zhan. Active learning of one-clock timed automata using constraint solving. In ATVA, pages 249–265. Springer, 2022.
[45] Zhe Xu and Ufuk Topcu. Transfer of temporal logic formulas in reinforcement learning. In IJCAI, pages 4010–4018, 2019.
APPENDIX FORMULAE SYNTHESISED WITH AND WITHOUT PROPOSITION MINIMISATION. ℓ n With Proposition Minimisation Without Proposition Minimisation ≤ 10 25 (G ((X[!] ((F0, 42) -> (F[0, 29](!(q) && !(r))))) -> (F0, 42))) & (((X (X ((F[0, 29](!(q) && !(r))) <-> (X (F[0, 29](!(q) && !(r))))))) & (X ((! (F[0, 29](!(q) && !(r)))) R ((F0, 42) U (F[0, 29](!(q) && !(r))))))) | ((G ((F[0, 29](!(q) && !(r))) | (X (F0, 42)))) & (! ((X (X (X (X[!] (F[0, 29](!(q) && !(r))))))) U (F[0, 29](!(q) && !(r))))))) (G ((X[!] (X (X[!] (X[!] (r))))) -> (F[0, 29](!(q) && !(r))))) & ((X ((! (F[0, 29](!(q) && !(r)))) R ((F0, 42) U (F[0, 29](!(q) && !(r)))))) | ((F0, 42) & (G ((q) <-> ((q) R ((q) U (F[0, 29](!(q) && !(r))))))))) 50 (((G ((F0, 14) -> (X (X (X[!] (true)))))) & ((F0, 14) | (G (X ((F0, 14) | (X (F0, 15))))))) | (((F0, 14) R (! (F0, 15))) & ((F (! ((X[!] (X[!] (X (F0, 14)))) -> (F0, 14)))) & (G (((F0, 14) R (X[!] (X (F0, 15)))) -> (F0, 14)))))) & ((! (F0, 15)) & ((X (F0, 15)) | ((! ((F0, 15) R (X (F0, 14)))) <-> (! ((F0, 15) R (X (X ((F0, 15) R (F0, 14))))))))) (G (F (! (r)))) & ((G ((F0, 14) <-> (r))) | ((! ((r) R ((F0, 15) U (! (F0, 14))))) & ((G ((F0, 15) -> ((X (X (F0, 15))) -> (r)))) | ((G ((X[!] (p)) -> (F0, 14))) & ((! (F0, 15)) & (G (((F0, 14) U (X[!] (X (false)))) -> (r)))))))) 75 ((((((X (F0, 10)) -> (F[0, 25](!(q) && !(r)))) & ((F ((F[0, 25](!(q) && !(r))) <-> ((F (F0, 4)) R (! (F[0, 25](!(q) && !(r))))))) | (((F[0, 25](!(q) && !(r))) <-> (X (F0, 4))) & (G (((F0, 4) R (F0, 10)) -> (X (X (F0, 10)))))))) | ((X ((F0, 10) -> (F0, 4))) & ((G ((F0, 4) -> (X (X (X[!] (X (F0, 10))))))) & ((X (F[0, 25](!(q) && !(r)))) <-> (F (! ((X[!] (F[0, 25](!(q) && !(r)))) -> (F (F0, 4))))))))) & (((F0, 10) -> (F (X[!] ((F0, 10) | (F0, 4))))) <-> ((X (F0, 4)) | ((F0, 10) R (! ((F0, 4) R (X[!] (F[0, 25](!(q) && !(r)))))))))) | (((F[0, 25](!(q) && !(r))) <-> (X (F0, 4))) & ((! ((X (F[0, 25](!(q) && !(r)))) | (F (F0, 4)))) | ((F (! ((F0, 10) -> (F (F0, 4))))) & (X (X ((! (F[0, 25](!(q) && !(r)))) R (F (F[0, 25](!(q) && !(r))))))))))) & ((X (X ((F0, 10) -> (F[0, 25](!(q) && !(r)))))) & ((F0, 4) | (((X (F0, 10)) <-> ((X (X (F0, 4))) R (F0, 10))) & ((F0, 10) | (X (X ((F0, 10) R ((F0, 4) -> (F[0, 25](!(q) && !(r))))))))))) ((((X (! ((F (F0, 4)) U (F0, 10)))) | ((X ((F0, 4) -> (F[0, 25](!(q) && !(r))))) <-> ((X (X ((F0, 10) -> (F[0, 25](!(q) && !(r)))))) <-> ((X ((F0, 10) -> (F0, 4))) & (((G (! ((F0, 4) R (p)))) & (F ((F[0, 25](!(q) && !(r))) <-> (X (p))))) | ((((r) R (! (F0, 4))) | (G ((F0, 4) -> ((F0, 4) U (p))))) & ((G (! ((F0, 4) R (p)))) | (! ((F (F0, 4)) U ((F0, 10) & (q))))))))))) & ((F ((F0, 10) <-> ((F (F0, 4)) <-> (F (p))))) <-> ((X (F0, 4)) | ((r) R ((F0, 4) -> (X (X[!] (r)))))))) | (((F[0, 25](!(q) && !(r))) <-> (X (F0, 10))) & (((r) R (! (F0, 10))) | ((G ((F[0, 25](!(q) && !(r))) <-> (r))) | (((r) R (F (F0, 10))) & (G ((F0, 4) -> (X ((p) R (F (F[0, 25](!(q) && !(r))))))))))))) & ((G (F ((p) <-> (r)))) & ((F[0, 25](!(q) && !(r))) | ((G (((X (F0, 10)) R (F0, 4)) -> (X (p)))) <-> (X (X (((X (F0, 4)) U (F0, 10)) -> (F[0, 25](!(q) && !(r))))))))) 100 (((X ((F0, 18) -> (X (q)))) & ((G ((F (q)) <-> (X[!] (X[!] (true))))) & (((((F0, 18) U (F0, 7)) -> (F0, 7)) & (G ((F0, 7) -> ((q) -> (X (q)))))) | ((X (X (X (X (F0, 18))))) & (G ((F0, 7) -> ((q) -> (X (q))))))))) | (G (X ((F0, 7) <-> (X[!] (q)))))) & ((F ((F0, 7) & ((q) <-> (X (F0, 18))))) | (X ((q) U (X ((X[!] (true)) -> (F0, 7)))))) (((((F[0, 40](!(q) && !(r))) -> (F0, 18)) & (G ((F0, 7) -> ((r) U (X (X[!] (F[0, 40](!(q) && !(r))))))))) & ((X ((F0, 18) -> (X (p)))) & (F ((F0, 7) <-> ((p) R (X (F0, 18))))))) | (((r) R (F (p))) & (G ((X[!] ((F0, 7) R (X (r)))) -> (r))))) & ((X (X (p))) | ((F (F0, 7)) R (! ((r) R (X[!] (F0, 18)))))) ≤ 15 25 (X (X ((F[0, 27](!(p) && !(q) && !(r))) U (X (X[!] (X[!] (true))))))) & ((G (! ((F[0, 27](!(p) && !(q) && !(r))) & (X (F[0, 27](!(p) && !(q) && !(r))))))) | (((! (F[0, 27](!(p) && !(q) && !(r)))) R (F (F[0, 27](!(p) && !(q) && !(r))))) & (((F[0, 27](!(p) && !(q) && !(r))) & (X (X (X (F[0, 27](!(p) && !(q) && !(r))))))) | (((F (F[0, 27](!(p) && !(q) && !(r)))) U (X (false))) & ((X (! (F[0, 27](!(p) && !(q) && !(r))))) | (G (! ((F[0, 27](!(p) && !(q) && !(r))) & (X (X[!] (X[!] (F[0, 27](!(p) && !(q) && !(r)))))))))))))) (F (! ((X[!] (F[0, 27](!(p) && !(q) && !(r)))) -> (p)))) & ((G ((F[0, 27](!(p) && !(q) && !(r))) -> (X (X (F (F[0, 27](!(p) && !(q) && !(r)))))))) | (((F[0, 27](!(p) && !(q) && !(r))) -> (X (X (p)))) & ((G ((p) | (X (X (F (F[0, 27](!(p) && !(q) && !(r)))))))) | (G ((X[!] ((F[0, 27](!(p) && !(q) && !(r))) R (X (p)))) -> (r)))))) 50 ((X (! (F0, 8))) & ((G (! (F0, 3))) | (((X (F0, 3)) | (X (X ((F0, 3) <-> (X (X[!] (X (false)))))))) & ((X (! (F0, 8))) & ((G (((F0, 3) R (F0, 8)) -> (X (F0, 3)))) | (G ((F0, 3) -> (X (X[!] (X[!] (X[!] (true)))))))))))) & ((F ((F (F0, 8)) <-> (X (X (false))))) & ((F0, 3) | ((! ((F0, 3) R (X[!] ((F0, 8) U (X (F0, 8)))))) & ((F0, 8) | ((F0, 3) R ((F0, 3) -> ((F0, 8) -> (X (F0, 8))))))))) ((G (F ((p) <-> (r)))) & (((r) R (X (! (F0, 8)))) | (((F0, 3) -> (F (X[!] (F0, 3)))) <-> (G ((F0, 3) -> (X ((q) U (p)))))))) & (((F0, 3) -> (F (X[!] (F0, 8)))) & (G ((F0, 8) -> ((X (r)) -> (p))))) 75 (((X (X (! (F0, 3)))) & ((G ((F0, 3) -> (X ((! (F0, 3)) U (F[0, 34](!(q) && !(r))))))) & ((G (X (! (F0, 6)))) | ((F (! ((F0, 6) -> (F0, 3)))) & (G ((F0, 6) -> (X (X (F (F[0, 34](!(q) && !(r)))))))))))) | ((G ((F0, 6) -> (X (X[!] (X[!] (X (F[0, 34](!(q) && !(r))))))))) | ((F (! ((F0, 3) -> (F[0, 34](!(q) && !(r)))))) & (F (! ((X[!] (F[0, 34](!(q) && !(r)))) -> (F (F0, 6)))))))) & (((F[0, 34](!(q) && !(r))) -> (F (F0, 6))) <-> (((F[0, 34](!(q) && !(r))) -> (X (X (X (F[0, 34](!(q) && !(r))))))) & ((G ((F0, 3) -> (X ((F[0, 34](!(q) && !(r))) -> (X (F[0, 34](!(q) && !(r)))))))) & (((F0, 3) -> (G ((F0, 6) -> (F (F0, 3))))) <-> ((F0, 3) -> (((! (F0, 6)) U (F0, 3)) U (F[0, 34](!(q) && !(r))))))))) (((X (X ((F0, 3) <-> (G (F (p)))))) & ((F (! ((F[0, 34](!(q) && !(r))) -> ((p) -> (F (F0, 3)))))) | (G ((r) | (X ((X (F0, 3)) -> (F0, 6))))))) | ((F ((F0, 6) & (p))) & (G ((F0, 6) -> (X ((p) U (X[!] (r)))))))) & ((G (! ((F0, 3) R ((F0, 3) U (r))))) & ((F ((F0, 3) <-> ((q) <-> (F (p))))) & ((F[0, 34](!(q) && !(r))) -> ((F (F0, 6)) <-> (F (X[!] (p))))))) 100 ((((((F0, 10) <-> (F[0, 40](!(q) && !(r)))) R (X[!] (true))) & ((X ((F0, 10) -> (X (X (X (F0, 2)))))) & (((F (F[0, 40](!(q) && !(r)))) U (X (false))) R (! (F0, 2))))) & ((G ((F0, 10) -> ((! (F0, 2)) R (F0, 10)))) & (X (X ((F0, 2) <-> (X (X[!] (X[!] (F0, 2))))))))) | ((! ((F0, 2) R ((F0, 2) -> (F0, 10)))) R (F0, 10))) & ((F (! ((X[!] (F[0, 40](!(q) && !(r)))) -> (F (F0, 2))))) & ((X (((F0, 10) <-> (X (F0, 2))) U (X (F0, 10)))) & (((! (F[0, 40](!(q) && !(r)))) | (F ((F[0, 40](!(q) && !(r))) & (X (X[!] (X (F (F0, 2)))))))) & ((X (X (X (F0, 10)))) | (F (! ((F0, 10) | (X (X (X[!] (F[0, 40](!(q) && !(r))))))))))))) (((G (! (F0, 10))) | (((F[0, 40](!(q) && !(r))) R (F (p))) & ((! (F0, 2)) & ((X ((F0, 10) -> (X (p)))) & (G ((X[!] ((F0, 10) & (F0, 2))) -> (r))))))) | ((F ((F0, 10) & (r))) & ((F0, 2) R ((r) R ((F0, 2) <-> (X[!] (p))))))) & ((G ((F0, 10) -> ((X (r)) -> (p)))) & (X (! ((F0, 10) U (G (X (F (r)))))))) ≤ 19 25 (X (! ((F[0, 25](!(p) && !(q) && !(r))) U (X (false))))) & ((X (X ((F[0, 25](!(p) && !(q) && !(r))) | (X (X[!] (true)))))) & ((G ((F[0, 25](!(p) && !(q) && !(r))) -> ((F[0, 25](!(p) && !(q) && !(r))) U (X (F[0, 25](!(p) && !(q) && !(r))))))) | (((F (F[0, 25](!(p) && !(q) && !(r)))) U (X (false))) & (X (X ((F[0, 25](!(p) && !(q) && !(r))) | (X (F[0, 25](!(p) && !(q) && !(r)))))))))) (X (! ((F[0, 25](!(p) && !(q) && !(r))) U (X (false))))) & ((G ((X[!] ((p) R (X (r)))) -> (F[0, 25](!(p) && !(q) && !(r))))) | (G ((p) -> (X[!] (X[!] ((r) -> (F[0, 25](!(p) && !(q) && !(r))))))))) 50 (((X (! ((F0, 12) U (X (false))))) & (((F0, 12) U (X (X (X (X (false)))))) | ((F (! ((F0, 12) | (X (X (F (F0, 12))))))) & (((X (X (F0, 12))) <-> ((F0, 12) & (X ((X (X (X (F0, 12)))) R (! (F0, 12)))))) | ((X (X (X (X ((F (F0, 12)) -> (F0, 12)))))) & (X (! ((F0, 12) R (X[!] (X (X (F0, 12)))))))))))) | ((((F (F0, 12)) U (X (false))) & (X (! (((F0, 12) R (X (F0, 12))) -> (F0, 12))))) | (((F0, 12) <-> (X (X (F0, 12)))) & ((X (X (X (X[!] (X (X (X (F0, 12)))))))) & ((X ((F0, 12) U (X[!] (X[!] (X[!] (F0, 12)))))) <-> (G (((F0, 12) R (X[!] (F0, 12))) -> (F0, 12)))))))) & (((G ((F0, 12) -> (X (X[!] (true))))) | ((F0, 12) | (X (X ((X (F0, 12)) -> (F0, 12)))))) <-> ((G ((F0, 12) | (X (X (X (X[!] (true))))))) | (((X (F0, 12)) | (X (! ((F0, 12) R (X (X[!] (X (F0, 12)))))))) <-> (((F0, 12) <-> (X ((F0, 12) | (X (X (F0, 12)))))) | ((F0, 12) <-> (G ((F0, 12) -> (X (X (X[!] (true))))))))))) (G (F (! (r)))) & ((G (((F0, 12) R (q)) -> (X[!] (X (F0, 12))))) | ((F (! ((F0, 12) -> (p)))) & ((G ((q) -> ((F0, 12) <-> (p)))) | (((X (X (F0, 12))) -> (F0, 12)) & ((G (F ((p) <-> (r)))) & (((r) R ((q) <-> (X (F0, 12)))) | (((F0, 12) U ((! (F0, 12)) U (r))) & (F (! ((F0, 12) | (X (F (q))))))))))))) 75 ((((G ((F[0, 26](!(p) && !(q) && !(r))) | (X (F (F0, 6))))) | ((G ((X[!] (X (X[!] (F0, 6)))) -> (F[0, 26](!(p) && !(q) && !(r))))) | (((F (F[0, 26](!(p) && !(q) && !(r)))) U (X (false))) & (G ((F[0, 26](!(p) && !(q) && !(r))) -> (X ((X[!] (F[0, 26](!(p) && !(q) && !(r)))) -> (F[0, 26](!(p) && !(q) && !(r)))))))))) & (((! (F[0, 26](!(p) && !(q) && !(r)))) U (X (X (F0, 6)))) | ((X (X (X ((X (F[0, 26](!(p) && !(q) && !(r)))) -> (F0, 6))))) <-> ((F[0, 26](!(p) && !(q) && !(r))) | ((F (! ((F[0, 26](!(p) && !(q) && !(r))) -> (X (X (F (F0, 6))))))) <-> ((F (F0, 6)) <-> ((! (F[0, 26](!(p) && !(q) && !(r)))) U ((F[0, 26](!(p) && !(q) && !(r))) U (X (X (F0, 6))))))))))) | ((X (X (! (F0, 6)))) & (((F0, 6) R (F (F[0, 26](!(p) && !(q) && !(r))))) & ((X ((X (F[0, 26](!(p) && !(q) && !(r)))) -> (F[0, 26](!(p) && !(q) && !(r))))) <-> (((F0, 6) R (X (! ((F[0, 26](!(p) && !(q) && !(r))) <-> (F0, 6))))) | ((G ((F0, 6) -> (X (X (F[0, 26](!(p) && !(q) && !(r))))))) & (((F (F[0, 26](!(p) && !(q) && !(r)))) U (X (false))) U (F0, 6)))))))) & ((G ((F[0, 26](!(p) && !(q) && !(r))) -> (X (F0, 6)))) | (((F (F[0, 26](!(p) && !(q) && !(r)))) U (X (false))) & ((! ((F0, 6) U (F[0, 26](!(p) && !(q) && !(r))))) | (((F0, 6) <-> ((F[0, 26](!(p) && !(q) && !(r))) U (X (false)))) & (F ((F0, 6) <-> ((F[0, 26](!(p) && !(q) && !(r))) | (X (X (F[0, 26](!(p) && !(q) && !(r)))))))))))) ((((G ((p) -> ((! (F[0, 26](!(p) && !(q) && !(r)))) R (F (F[0, 26](!(p) && !(q) && !(r))))))) | ((G ((p) -> (F (F[0, 26](!(p) && !(q) && !(r)))))) & (! ((F[0, 26](!(p) && !(q) && !(r))) R ((F[0, 26](!(p) && !(q) && !(r))) -> (p)))))) & ((G (X ((p) -> (F[0, 26](!(p) && !(q) && !(r)))))) | (((G ((X[!] ((F[0, 26](!(p) && !(q) && !(r))) R (X (q)))) -> (r))) | (G (X ((p) -> ((! (F0, 6)) U (F[0, 26](!(p) && !(q) && !(r)))))))) & ((F0, 6) | ((G ((q) U (((F[0, 26](!(p) && !(q) && !(r))) R (p)) -> (F0, 6)))) | (G ((p) -> ((! (F[0, 26](!(p) && !(q) && !(r)))) R (F (F[0, 26](!(p) && !(q) && !(r)))))))))))) | (((F0, 6) R (F (F[0, 26](!(p) && !(q) && !(r))))) & ((G ((r) | (X ((X (p)) -> (F0, 6))))) | (((r) R (! (F0, 6))) & (F (! (((F0, 6) U (F[0, 26](!(p) && !(q) && !(r)))) -> (F[0, 26](!(p) && !(q) && !(r)))))))))) & ((F (! ((p) -> (F[0, 26](!(p) && !(q) && !(r)))))) <-> (! (((F0, 6) & (p)) R (X (F[0, 26](!(p) && !(q) && !(r))))))) 100 (((((X (F[0, 46](!(q) && !(r)))) <-> (((F[0, 20](!(p) && !(r))) U (X (X (F[0, 20](!(p) && !(r)))))) <-> ((X ((F[0, 20](!(p) && !(r))) -> (X (X (F[0, 20](!(p) && !(r))))))) & ((G ((F[0, 20](!(p) && !(r))) | (X (F[0, 20](!(p) && !(r)))))) | (G ((F[0, 20](!(p) && !(r))) -> (X (X (F (F[0, 46](!(q) && !(r)))))))))))) | ((G (X ((F[0, 20](!(p) && !(r))) -> (F[0, 46](!(q) && !(r)))))) & ((G ((F[0, 20](!(p) && !(r))) -> (X (X (F (F[0, 20](!(p) && !(r)))))))) | ((X (! (F[0, 20](!(p) && !(r))))) & (X (X (X (X (X[!] (X (! (F[0, 20](!(p) && !(r)))))))))))))) & ((G ((F[0, 20](!(p) && !(r))) -> (F (F[0, 46](!(q) && !(r)))))) & ((! ((F[0, 20](!(p) && !(r))) -> (X (F[0, 20](!(p) && !(r)))))) | (G ((F[0, 20](!(p) && !(r))) -> (X (X (X[!] (true))))))))) | ((X (! ((F[0, 46](!(q) && !(r))) U ((F[0, 20](!(p) && !(r))) <-> (X (F[0, 20](!(p) && !(r)))))))) | (((X (! (F[0, 20](!(p) && !(r))))) & ((G ((F[0, 20](!(p) && !(r))) <-> (F[0, 46](!(q) && !(r))))) R (X (X (F[0, 46](!(q) && !(r))))))) | ((G ((F[0, 20](!(p) && !(r))) -> (X (X (X (X[!] (true))))))) & (G ((F[0, 46](!(q) && !(r))) -> (X ((F[0, 20](!(p) && !(r))) U (X (F[0, 20](!(p) && !(r)))))))))))) & (((((F[0, 20](!(p) && !(r))) U (((F[0, 20](!(p) && !(r))) R (F[0, 46](!(q) && !(r)))) R (! (F[0, 20](!(p) && !(r)))))) & ((G ((F[0, 20](!(p) && !(r))) | (X (F[0, 20](!(p) && !(r)))))) | ((F (! ((F[0, 20](!(p) && !(r))) -> (F[0, 46](!(q) && !(r)))))) | ((F[0, 20](!(p) && !(r))) & (X ((F[0, 20](!(p) && !(r))) <-> (X ((F[0, 20](!(p) && !(r))) <-> (X (F[0, 20](!(p) && !(r)))))))))))) | ((((F[0, 46](!(q) && !(r))) U (X (false))) & (X ((F[0, 20](!(p) && !(r))) R (X (X (X (X[!] (F[0, 20](!(p) && !(r)))))))))) | ((X (X (X (X[!] (X (X (X (F[0, 20](!(p) && !(r)))))))))) & ((F[0, 20](!(p) && !(r))) U (G ((F[0, 20](!(p) && !(r))) -> (X (X (F[0, 46](!(q) && !(r))))))))))) | (X (! ((G ((F[0, 20](!(p) && !(r))) -> (F[0, 46](!(q) && !(r))))) U (F[0, 20](!(p) && !(r))))))) (((F (F[0, 46](!(q) && !(r)))) & ((G (X ((p) -> ((F[0, 20](!(p) && !(r))) U (X[!] (F[0, 46](!(q) && !(r)))))))) & ((G ((! (p)) U ((q) <-> (X[!] (F[0, 20](!(p) && !(r))))))) | (((! (F[0, 20](!(p) && !(r)))) R (F (F[0, 20](!(p) && !(r))))) & ((((q) U (F[0, 20](!(p) && !(r)))) U (X (false))) | (G (((F[0, 20](!(p) && !(r))) U (X[!] (X (false)))) -> (r)))))))) | ((F[0, 20](!(p) && !(r))) & (((r) R ((q) <-> (X (F[0, 20](!(p) && !(r)))))) | (((r) R ((p) <-> (X (X (X (F[0, 20](!(p) && !(r)))))))) | (((X (! (F[0, 20](!(p) && !(r))))) & (G ((p) | (X (X (F[0, 20](!(p) && !(r)))))))) | ((G ((p) -> (F (F[0, 46](!(q) && !(r)))))) & (! ((F[0, 46](!(q) && !(r))) U (X (X ((p) R (F[0, 46](!(q) && !(r)))))))))))))) & ((((X (F[0, 20](!(p) && !(r)))) | (X ((F[0, 46](!(q) && !(r))) U (! ((q) <-> (X (F[0, 20](!(p) && !(r))))))))) & (((G ((p) -> (F[0, 20](!(p) && !(r))))) | (X (((F[0, 20](!(p) && !(r))) R (q)) -> (F[0, 20](!(p) && !(r)))))) <-> ((F (! (((F[0, 20](!(p) && !(r))) R (F[0, 46](!(q) && !(r)))) -> (F[0, 20](!(p) && !(r)))))) & ((G ((X[!] (r)) -> (p))) | (((F[0, 46](!(q) && !(r))) R (F (p))) & ((X (((F[0, 20](!(p) && !(r))) R (q)) -> (F[0, 20](!(p) && !(r))))) & (G ((r) -> (X[!] ((F[0, 46](!(q) && !(r))) <-> (F (F[0, 20](!(p) && !(r)))))))))))))) | ((X (! ((G ((F[0, 20](!(p) && !(r))) -> (F[0, 46](!(q) && !(r))))) U (F[0, 20](!(p) && !(r)))))) | ((F[0, 20](!(p) && !(r))) & (X (! (((p) R (F[0, 46](!(q) && !(r)))) R (q)))))))