3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-05 02:40:24 +00:00

cardinality reduction

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2017-01-17 16:08:33 -08:00
parent 975474f560
commit e1640fcee9
2 changed files with 103 additions and 23 deletions

View file

@ -373,9 +373,14 @@ namespace smt {
literal_vector m_antecedents;
void inc_coeff(literal l, int offset);
int get_coeff(bool_var v) const;
int get_abs_coeff(bool_var v) const;
int arg_max(uint_set& seen, int& coeff);
void reset_coeffs();
literal cardinality_reduction();
bool resolve_conflict(card& c, literal_vector const& conflict_clause);
void process_antecedent(literal l, int offset);
@ -383,7 +388,7 @@ namespace smt {
void cut();
bool is_proof_justification(justification const& j) const;
void validate_lemma();
bool validate_lemma();
void hoist_maximal_values();