Skip to main content
QUICK REVIEW

[Paper Review] Full LTL Synthesis over Infinite-state Arenas

Shaun Azzopardi, Luca Di Stefano|arXiv (Cornell University)|Jul 19, 2023
Formal Methods in VerificationComputer Science4 citations
TL;DR

This paper presents a fully automated approach to LTL synthesis over infinite-state reactive programs by extending safety abstractions with fairness abstractions, enabling termination on problems where prior methods fail. The key contribution is a counterexample-driven method that detects unbounded loops and infers ranking functions to add strong fairness assumptions, allowing synthesis of controllers for complex LTL properties in programs with unbounded variables.

ABSTRACT

Recently, interest has increased in applying reactive synthesis to richer-than-Boolean domains. A major (undecidable) challenge in this area is to establish when certain repeating behaviour terminates in a desired state when the number of steps is unbounded. Existing approaches struggle with this problem, or can handle at most deterministic games with Büchi goals. This work goes beyond by contributing the first effectual approach to synthesis with full LTL objectives, based on Boolean abstractions that encode both safety and liveness properties of the underlying infinite arena. We take a CEGAR approach: attempting synthesis on the Boolean abstraction, checking spuriousness of abstract counterstrategies through invariant checking, and refining the abstraction based on counterexamples. We reduce the complexity, when restricted to predicates, of abstracting and synthesising by an exponential through an efficient binary encoding. This also allows us to eagerly identify useful fairness properties. Our discrete synthesis tool outperforms the state-of-the-art on linear integer arithmetic (LIA) benchmarks from literature, solving almost double as many syntesis problems as the current state-of-the-art. It also solves slightly more problems than the second-best realisability checker, in one-third of the time. We also introduce benchmarks with richer objectives that other approaches cannot handle, and evaluate our tool on them.

Motivation & Objective

  • To address the limitation of existing automated LTL synthesis approaches that fail to terminate on specifications requiring unbounded reasoning over infinite-state programs.
  • To extend current safety-abstraction-based synthesis with fairness abstractions to capture liveness and loop termination properties essential for full LTL realizability.
  • To enable fully automated synthesis without user-provided controller templates, particularly for programs with unbounded integer variables.
  • To develop a CEGAR-style loop that dynamically discovers necessary fairness conditions from counterexample analysis.
  • To demonstrate the approach through case studies, including a reversible lane controller, showing viability on non-terminating problems.

Proposed method

  • The method uses a CEGAR-style loop where the program is abstracted into an LTL formula, and synthesis is performed over the abstract arena.
  • Counterexamples from unrealizable abstract strategies are analyzed to detect spurious loops involving unbounded variable updates.
  • When a loop is detected, termination checking is applied to compute a ranking function for the loop's behavior.
  • The ranking function is used to derive a strong fairness assumption that is added to the abstraction, eliminating entire families of spurious counterstrategies.
  • The abstraction is refined iteratively with both safety predicates and fairness conditions until a realizable controller is synthesized or unrealizability is proven.
  • The approach is implemented in a prototype tool with a DSL for reactive programs, supporting symbolic execution and automated fairness discovery.

Experimental results

Research questions

  • RQ1Can fairness abstractions be automatically discovered from counterexamples in infinite-state LTL synthesis to enable termination on problems with unbounded loops?
  • RQ2How can ranking functions be automatically inferred from spurious counterstrategies to strengthen abstractions with fairness assumptions?
  • RQ3To what extent does adding fairness abstractions extend the scope of automated LTL synthesis beyond safety and reachability properties?
  • RQ4Can the method synthesize correct controllers for non-terminating programs with unbounded integer variables without user-provided templates?
  • RQ5How does the integration of fairness abstractions affect the scalability and performance of the synthesis process?

Key findings

  • The proposed method successfully synthesizes controllers for problems where existing fully automated approaches do not terminate, including cases with unbounded loops and integer variables.
  • The prototype correctly identified and abstracted fairness conditions from counterexamples, enabling termination and correct synthesis in all case studies.
  • Runtime measurements show synthesis completes in seconds to minutes on a virtual machine, with the most time-consuming step being ranking function discovery (up to several seconds per instance).
  • The current implementation suffers from scalability issues when adding predicates to the abstraction, particularly due to combinatorial explosion in predicate subsets, though optimizations are being explored.
  • The method demonstrated viability on a reversible lane controller case study, showing that fairness abstractions are essential for solving such problems.
  • The approach is not limited to LTL but is expected to generalize to other ω-regular specifications, with potential for integration into existing synthesis tools.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.