Counterexample generation¶
This is the high-level flow for generating counterexamples using Z3.
- User clicks on Counterexample button in toolbar.
CEWorkeris constructed and started inCounterExampleAction.AbstractCounterExampleGenerator#searchCounterExampleprepares the sequent by applying theSemanticsBlastingMacro.SolverLauncher,Z3CESocketand other classes launch Z3 and await its output.Z3CESocketgets the model and passes it to theModelExtractor.InformationWindow#initModeldisplays the counterexample.