First-Order vs. Second-Order Encodings for LTLf-to-Automata Translation

01/18/2019
by   Shufang Zhu, et al.
0

Translating formulas of Linear Temporal Logic (LTL) over finite traces, or LTLf, to symbolic Deterministic Finite Automata (DFA) plays an important role not only in LTLf synthesis, but also in synthesis for Safety LTL formulas. The translation is enabled by using MONA, a powerful tool for symbolic, BDD-based, DFA construction from logic specifications. Recent works used a first-order encoding of LTLf formulas to translate LTLf to First Order Logic (FOL), which is then fed to MONA to get the symbolic DFA. This encoding was shown to perform well, but other encodings have not been studied. Specifically, the natural question of whether second-order encoding, which has significantly simpler quantificational structure, can outperform first-order encoding remained open. In this paper we address this challenge and study second-order encodings for LTLf formulas. We first introduce a specific MSO encoding that captures the semantics of LTLf in a natural way and prove its correctness. We then explore is a Compact MSO encoding, which benefits from automata-theoretic minimization, thus suggesting a possible practical advantage. To that end, we propose a formalization of symbolic DFA in second-order logic, thus developing a novel connection between BDDs and MSO. We then show by empirical evaluations that the first-order encoding does perform better than both second-order encodings. The conclusion is that first-order encoding is a better choice than second-order encoding in LTLf-to-Automata translation.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
08/26/2021

Automata Linear Dynamic Logic on Finite Traces

Temporal logics are widely used by the Formal Methods and AI communities...
research
04/29/2021

Axiomatizations and Computability of Weighted Monadic Second-Order Logic

Weighted monadic second-order logic is a weighted extension of monadic s...
research
12/21/2022

Reactive Synthesis for DECLARE via symbolic automata

Given a specification of linear-time temporal logic interpreted over fin...
research
02/01/2019

Around finite second-order coherence spaces

Many applications of denotational semantics, such as higher-order model ...
research
01/25/2023

Lecture Notes on Monadic First- and Second-Order Logic on Strings

These notes present the essentials of first- and second-order monadic lo...
research
11/19/2019

Hybrid Compositional Reasoning for Reactive Synthesis from Finite-Horizon Specifications

LTLf synthesis is the automated construction of a reactive system from a...
research
02/22/2021

Behavioral QLTL

In this paper we introduce Behavioral QLTL, which is a “behavioral” vari...

Please sign up or login with your details

Forgot password? Click here to reset