Specification sketching for Linear Temporal Logic

06/14/2022
by   Simon Lutz, et al.
0

Virtually all verification and synthesis techniques assume that the formal specifications are readily available, functionally correct, and fully match the engineer's understanding of the given system. However, this assumption is often unrealistic in practice: formalizing system requirements is notoriously difficult, error-prone, and requires substantial training. To alleviate this severe hurdle, we propose a fundamentally novel approach to writing formal specifications, named specification sketching for Linear Temporal Logic (LTL). The key idea is that an engineer can provide a partial LTL formula, called an LTL sketch, where parts that are hard to formalize can be left out. Given a set of examples describing system behaviors that the specification should or should not allow, the task of a so-called sketching algorithm is then to complete a given sketch such that the resulting LTL formula is consistent with the examples. We show that deciding whether a sketch can be completed falls into the complexity class NP and present two SAT-based sketching algorithms. We also demonstrate that sketching is a practical approach to writing formal specifications using a prototype implementation.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
04/02/2018

Maximum Realizability for Linear Temporal Logic Specifications

Automatic synthesis from linear temporal logic (LTL) specifications is w...
research
09/21/2021

From English to Signal Temporal Logic

Formal methods provide very powerful tools and techniques for the design...
research
12/06/2019

User Experience with Language-Independent Formal Verification

The goal of this paper is to help mainstream programmers routinely use f...
research
02/06/2018

Formalising Sensor Topologies for Target Counting

We present a formal model developed to reason about topologies created b...
research
04/13/2020

Generation Of A Complete Set Of Properties

One of the problems of formal verification is that it is not functionall...
research
05/26/2023

STL: Surprisingly Tricky Logic (for System Validation)

Much of the recent work developing formal methods techniques to specify ...
research
11/13/2019

Reinforcement Learning-Driven Test Generation for Android GUI Applications using Formal Specifications

There have been many studies on automated test generation for mobile Gra...

Please sign up or login with your details

Forgot password? Click here to reset