Counterexample-Guided Abstraction Refinement

Use an abstract counterexample to identify which missing predicate matters, then check the refined model again.

Source
Anbloq
Language
English
Created
Updated
Chapters
2
Reading time
1 min
In this article2 chapters
  1. A coarse model deliberately allows extra paths
  2. Check feasibility before accepting the witness

A coarse model deliberately allows extra paths

Suppose a program initializes \(x=0\), updates it by adding two and must stay off odd values. An abstraction that preserves only a coarse sign can admit a transition from even to odd because these states share an abstract class. Sound overapproximation makes absence of bad reachability useful. A reported abstract path can combine concrete steps that have no common state sequence.

Check feasibility before accepting the witness

Encode the candidate path with constraints on the concrete transition at each step. If feasible, read a concrete counterexample. If infeasible, refine the relevant abstract distinction, here by tracking parity. Recheck the property on the refined model. The refinement process may continue without termination for a general infinite system. Bounded model checking supplies a way to encode finite paths, while inductive invariants give a sufficient proof when a closed abstract set is found.[1][2]

References

  1. Edmund M. Clarke et al., Counterexample-Guided Abstraction Refinement ↩
  2. Anders Møller and Michael I. Schwartzbach, Static Program Analysis ↩