Skip to main content

Module trace

Module trace 

Source
Expand description

Counterexample reconstruction.

The search logs only (parent, ordinal) for each new state, in a dive_store::predecessor::PredecessorLog. A trace is rebuilt by replaying the recorded ordinals with the same generator: the initial predicates are enumerated and the state at the root’s ordinal is kept, then each parent’s actions are enumerated in order and the successor at the recorded ordinal is kept, with the action that emitted it. The replay runs with memoization off. A replayed state that differs from the state the search expanded is an internal error, never a trace.

Structs§

TraceState
One state of a reconstructed behavior.

Functions§

replay
Replays path (root first) and returns its states.