mirror of
https://github.com/Z3Prover/z3
synced 2025-08-21 02:30:23 +00:00
fix unsoundness in quantifier propagation #6116 and add initial lemma logging
This commit is contained in:
parent
912b284602
commit
ce1f3987d9
15 changed files with 78 additions and 13 deletions
|
@ -92,6 +92,8 @@ namespace sat {
|
|||
bool m_trim = false;
|
||||
stats m_stats;
|
||||
|
||||
std::function<void(unsigned, literal const*, status)> m_print_clause;
|
||||
|
||||
void dump_activity();
|
||||
void dump(unsigned n, literal const* c, status st);
|
||||
void bdump(unsigned n, literal const* c, status st);
|
||||
|
@ -138,6 +140,10 @@ namespace sat {
|
|||
void add(literal_vector const& c); // add learned clause
|
||||
void add(unsigned sz, literal const* lits, status st);
|
||||
|
||||
void set_print_clause(std::function<void(unsigned, literal const*, status)>& print_clause) {
|
||||
m_print_clause = print_clause;
|
||||
}
|
||||
|
||||
// support for SMT - connect Boolean variables with AST nodes
|
||||
// associate AST node id with Boolean variable v
|
||||
void bool_def(bool_var v, unsigned n);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue