Interpolating Strong Induction

06/04/2019
by   Hari Govind V K, et al.
0

The principle of strong induction, also known as k-induction is one of the first techniques for unbounded SAT-based Model Checking (SMC). While elegant and simple to apply, properties as such are rarely k-inductive and when they can be strengthened, there is no effective strategy to guess the depth of induction. It has been mostly displaced by techniques that compute inductive strengthenings based on interpolation and property directed reachability (Pdr). In this paper, we present kAvy, an SMC algorithm that effectively uses k-induction to guide interpolation and Pdr-style inductive generalization. Unlike pure k-induction, kAvy uses Pdr-style generalization to compute and strengthen an inductive trace. Unlike pure Pdr, kAvy uses relative k-induction to construct an inductive invariant. The depth of induction is adjusted dynamically by minimizing a proof of unsatisfiability. We have implemented kAvy within the Avy Model Checker and evaluated it on HWMCC instances. Our results show that kAvy is more effective than both Avy and Pdr, and that using k-induction leads to faster running time and solving more instances. Further, on a class of benchmarks, called shift, kAvy is orders of magnitude faster than Avy, Pdr and k-induction.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
07/04/2022

Formal Verification of Safety Properties Using Interpolation and k-induction

This technical report presents implementation of two symbolic model chec...
research
03/06/2018

Efficient Mendler-Style Lambda-Encodings in Cedille

It is common to model inductive datatypes as least fixed points of funct...
research
08/02/2022

Stratified Certification for k-Induction

Our recently proposed certification framework for bit-level k-induction-...
research
09/19/2020

Faster Smarter Induction in Isabelle/HOL

We present semantic_induct, an automatic tool to recommend how to apply ...
research
05/28/2021

Latticed k-Induction with an Application to Probabilistic Programs

We revisit two well-established verification techniques, k-induction and...
research
11/29/2018

Course-of-Value Induction in Cedille

In the categorical setting, histomorphisms model a course-of-value recur...
research
03/22/2021

The Implications of the No-Free-Lunch Theorems for Meta-induction

The important recent book by G. Schurz appreciates that the no-free-lunc...

Please sign up or login with your details

Forgot password? Click here to reset