3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-11-03 21:09:11 +00:00

Fix display_certificate in spacer

This is expected to work now
(query q1 :print-certificate true)
This commit is contained in:
Arie Gurfinkel 2018-11-11 08:26:00 -05:00
parent 58d93d8907
commit 6cc6ffcde2
2 changed files with 21 additions and 14 deletions

View file

@ -1007,7 +1007,10 @@ class context {
const vector<bool>& reach_pred_used,
pob_ref_buffer &out);
expr_ref mk_sat_answer();
/**
\brief Retrieve satisfying assignment with explanation.
*/
expr_ref mk_sat_answer() const {return get_ground_sat_answer();}
expr_ref mk_unsat_answer() const;
unsigned get_cex_depth ();
@ -1083,7 +1086,7 @@ public:
* get bottom-up (from query) sequence of ground predicate instances
* (for e.g. P(0,1,0,0,3)) that together form a ground derivation to query
*/
expr_ref get_ground_sat_answer ();
expr_ref get_ground_sat_answer () const;
proof_ref get_ground_refutation();
void get_rules_along_trace (datalog::rule_ref_vector& rules);