Counterexample generation¶
This is the high-level flow for generating counterexamples using Z3.
- User clicks on Counterexample button in toolbar.
CEWorker
is constructed and started inCounterExampleAction
.AbstractCounterExampleGenerator#searchCounterExample
prepares the sequent by applying theSemanticsBlastingMacro
.SolverLauncher
,Z3CESocket
and other classes launch Z3 and await its output.Z3CESocket
gets the model and passes it to theModelExtractor
.InformationWindow#initModel
displays the counterexample.