DeepAI AI Chat
Log In Sign Up

Plain and Simple Inductive Invariant Inference for Distributed Protocols in TLA+

by   William Schultz, et al.
Northeastern University

We present a new technique for automatically inferring inductive invariants of parameterized distributed protocols specified in TLA+. Ours is the first such invariant inference technique to work directly on TLA+, an expressive, high level specification language. To achieve this, we present a new algorithm for invariant inference that is based around a core procedure for generating plain, potentially non-inductive lemma invariants that are used as candidate conjuncts of an overall inductive invariant. We couple this with a greedy lemma invariant selection procedure that selects lemmas that eliminate the largest number of counterexamples to induction at each round of our inference procedure. We have implemented our algorithm in a tool, endive, and evaluate it on a diverse set of distributed protocol benchmarks, demonstrating competitive performance and ability to uniquely solve an industrial scale reconfiguration protocol.


page 1

page 2

page 3

page 4


Inferring Inductive Invariants from Phase Structures

Infinite-state systems such as distributed protocols are challenging to ...

On Symmetry and Quantification: A New Approach to Verify Distributed Protocols

Proving that an unbounded distributed protocol satisfies a given safety ...

Automating and Mechanizing Cutoff-based Verification of Distributed Protocols

Distributed protocols are generally parametric and can be executed on a ...

Undecidability of Inferring Linear Integer Invariants

We show that the problem of determining the existence of an inductive in...

Complexity and Information in Invariant Inference

This paper addresses the complexity of SAT-based invariant inference, a ...

Inferring Invariants with Quantifier Alternations: Taming the Search Space Explosion

We present a PDR/IC3 algorithm for finding inductive invariants with qua...

Invariant Inference With Provable Complexity From the Monotone Theory

Invariant inference algorithms such as interpolation-based inference and...