Explicit-State Reachability

Search a transition system from its initial states and reconstruct a shortest finite witness to a forbidden state.

Source
Anbloq
Language
English
Created
Updated
Chapters
2
Reading time
1 min
In this article2 chapters
  1. Visited states bound repeated exploration
  2. Keep the witness small enough to inspect

Visited states bound repeated exploration

A transition system specifies initial states and possible successors. Begin with every initial state and enumerate successors until the work queue is empty, marking a state at first discovery. The invariant is that every marked state is reachable. Conversely, exhausting the queue means all successors of marked states are also marked, so induction on path length includes every reachable state. The procedure requires a finite represented state space or another reason for termination.

Keep the witness small enough to inspect

Breadth-first order returns a state with the fewest transitions from any initial state among those violating the property. Each discovered state needs only one predecessor and transition label to reconstruct the path. Two counters that each range over \(0,\ldots,100\) already permit 10201 combinations, before adding control states. Bounded model checking encodes paths instead of listing the whole graph. Temporal specifications explain why some properties require more than a finite reachability witness.[1][2]

References

  1. Benjamin C. Pierce et al., Software Foundations ↩
  2. Anders Møller and Michael I. Schwartzbach, Static Program Analysis ↩