arXiv:2609.00379cs.FLAug 2026

Manuscript Offprint

arXiv:2609.00379

A note on the reduction from LTLf to LTL

Alexandre Duret-Lutz

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

LTLf_f, a finite word variant of LTL, can be reduced to LTL by introducing a new atomic proposition indicating the prefix of the infinite words that correspond to the finite words that the original LTLf_f formula was considering. Such a reduction was originally proposed by De Giacomo and Vardi [2].

However, while any LTL formula reduced from LTLf_f describes an obligation property in the hierarchy of Manna and Pnueli [5], the aforementioned reduction does not provide an LTL formula that belongs to the syntactic obligation fragment of LTL.

This note shows how the reduction was fixed in Spot in order to ensure that the resulting LTL formula is always a syntactic obligation. Doing so allows algorithms specialized to syntactic obligation to be used on LTLf_f formulas. For instance, in previous work [4] we described a specialized translation from syntactic obligations to minimal, weak, deterministic Büchi automata that would not be usable with the original reduction.

1 Preliminaries

We assume that the reader is familiar with Linear Temporal Logic (LTL) over infinite words and with LTLf_f, one of its restrictions to finite words [2]. We use the standard temporal operators F\mathsf{F} (eventually), G\mathsf{G} (always), X\mathsf{X} (weak next), X[1]\mathsf{X}^{[\mathsf{1}]} (strong next), U\mathsf{U} (until), W\mathsf{W} (weak until), R\mathsf{R} (release), and M\mathsf{M} (strong release). In LTLf_f all operators are interpreted on nonempty finite words: strong operators (F\mathsf{F}, U\mathsf{U}, M\mathsf{M}) have to fulfill their promise before the end of the finite word, Xf\mathsf{X}f is vacuously true at the last position, and X[1]f\mathsf{X}^{[\mathsf{1}]}f requires a next position.

Satisfaction. We write (w,i)⊨φ(w, i) \vDash \varphi to mean that the infinite word ww satisfies the LTL formula φ\varphi at position i≥0i \geq 0, and w⊨finfw \vDash_{\text{fin}} f to mean that the finite word ww satisfies the LTLf_f formula ff (at its first position).

Syntactic hierarchy. We recall the syntactic hierarchy of Manna and Pnueli [5]. The hierarchy classifies LTL formulas into classes (Safety: φS\varphi_S; Guarantee: φG\varphi_G; Obligation: φO\varphi_O; Persistence; Recurrence; Reactivity) that correspond to automata-theoretic classes. The precise definition of the syntactic sub-classes most relevant to this paper is given by the following grammars, where ν\nu ranges over atomic propositions:

φB::=⊥∣⊤∣ν∣¬φB∣φB∧φB∣φB∨φB∣φB→φB∣φB↔φB∣φB⊕φB∣XφBφG::=φB∣¬φS∣φG∧φG∣φG∨φG∣φS→φG∣XφG∣FφG∣φG∪φG∣φGMφGφS::=φB∣¬φG∣φS∧φS∣φS∨φS∣φG→φS∣XφS∣GφS∣φSRφS∣φSWφSφO::=φG∣φS∣¬φO∣φO∧φO∣φO∨φO∣φO→φO∣φO↔φO∣φO⊕φO∣XφO∣φO∪φG∣φORφS∣φSWφO∣φGMφO\begin{aligned} \varphi_B &::= \bot \mid \top \mid \nu \mid \neg \varphi_B \mid \varphi_B \land \varphi_B \mid \varphi_B \lor \varphi_B \mid \varphi_B \to \varphi_B \mid \varphi_B \leftrightarrow \varphi_B \mid \varphi_B \oplus \varphi_B \mid \mathsf{X}\varphi_B \\ \varphi_G &::= \varphi_B \mid \neg \varphi_S \mid \varphi_G \land \varphi_G \mid \varphi_G \lor \varphi_G \mid \varphi_S \to \varphi_G \mid \mathsf{X}\varphi_G \mid \mathsf{F}\varphi_G \mid \varphi_G \cup \varphi_G \mid \varphi_G \mathsf{M} \varphi_G \\ \varphi_S &::= \varphi_B \mid \neg \varphi_G \mid \varphi_S \land \varphi_S \mid \varphi_S \lor \varphi_S \mid \varphi_G \to \varphi_S \mid \mathsf{X}\varphi_S \mid \mathsf{G}\varphi_S \mid \varphi_S \mathsf{R} \varphi_S \mid \varphi_S \mathsf{W} \varphi_S \\ \varphi_O &::= \varphi_G \mid \varphi_S \mid \neg \varphi_O \mid \varphi_O \land \varphi_O \mid \varphi_O \lor \varphi_O \mid \varphi_O \to \varphi_O \mid \varphi_O \leftrightarrow \varphi_O \mid \varphi_O \oplus \varphi_O \mid \mathsf{X}\varphi_O \\ &\mid \varphi_O \cup \varphi_G \mid \varphi_O \mathsf{R} \varphi_S \mid \varphi_S \mathsf{W} \varphi_O \mid \varphi_G \mathsf{M} \varphi_O \end{aligned}

Let LTLBLTL_B, LTLGLTL_G, LTLSLTL_S, and LTLOLTL_O denote the sets of LTL formulas generated by φB\varphi_B, φG\varphi_G, φS\varphi_S, and φO\varphi_O, respectively. Intuitively:

  • LTLBLTL_B (Bottom) contains propositional formulas plus X\mathsf{X}.

  • LTLGLTL_G (Guarantee) contains no weak operators (G\mathsf{G}, W\mathsf{W}, R\mathsf{R}).

• LTLSLTL_{S} (Safety) contains no strong operators (F, U, M).

  • LTLOLTL_O (Obligation) is the closure of LTLG∪LTLSLTL_G \cup LTL_S under Boolean connectives, X, and four mixed temporal operators: φO∪φG\varphi_O \cup \varphi_G, φORφS\varphi_O \mathsf{R} \varphi_S, φSWφO\varphi_S \mathsf{W} \varphi_O, and φGMφO\varphi_G \mathsf{M} \varphi_O. These additional grammar rules are due to Chang et al. [1].

Note that LTLGLTL_{G} and LTLSLTL_{S} are not closed under ⊕\oplus and ↔\leftrightarrow; however, LTLBLTL_{B} and LTLOLTL_{O} are.

We will also need a variant of LTLBLTL_B that includes the strong-next operator X[1]\mathbf{X}^{[1]} of LTLfLTL_f. Let LTL4BLTL_{4B} denote the set of LTLfLTL_f formulas generated by φB\varphi_B extended with the production ∣X[1]φB|\mathbf{X}^{[1]} \varphi_B.

The alive encoding. Following De Giacomo and Vardi [2], a nonempty finite word w=w0⋯wn−1w = w_0 \cdots w_{n-1} over an alphabet 2AP2^{AP} can be encoded as an infinite word w′=w0′w1′⋯w' = w'_0 w'_1 \cdots over 2AP∪{alive}2^{AP \cup \{alive\}} where

wi′=wi∪{alive} for i<n,alive∉wi′ for i≥n.w_{i}^{\prime}=w_{i}\cup\{a l i v e\}\mathrm{~f o r~}i<n,\qquad a l i v e\notin w_{i}^{\prime}\mathrm{~f o r~}i\geq n.

The proposition alive marks the live prefix of the infinite word; positions i≥ni \geq n are dead.

Equivalence at alive positions. We say that two LTL formulas ψ1\psi_1 and ψ2\psi_2 are equivalent at alive positions, written ψ1≡finψ2\psi_1 \equiv_{\text{fin}} \psi_2, if for every infinite word w′w' conforming to the alive encoding and every alive position ii of w′,(w′,i)⊨ψ1w', (w', i) \vDash \psi_1 if and only if (w′,i)⊨ψ2(w', i) \vDash \psi_2.