Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
`cvc5` can output three different things: 1. If it found a counter-example: ``` sat (... the model ...) ``` 2. If it didn't find a counter-example: ``` unsat (error "Cannot get model unless after a SAT or UNKNOWN response.") ``` 3. If you screw things up: ``` (error "Parse Error: model_smt_prop_fp_isnan.smt2:11.59: Symbol 'zf_is_NajhghjN_D_smt' not declared as a variable") ``` Note the last one has no `sat` or `unsat`, which meant it resulted in Sail printing `Solver could not find counterexample`, which is very misleading! This change makes it a bit safer by explicitly looking for both `sat` *and* `unsat`. I also changed all the prints in the file to print to stdout to be consistent.
- Loading branch information