3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-25 12:35:59 +00:00

simplify Boolean resolve

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2021-09-22 05:37:46 -07:00
parent ad267ce294
commit 2d78bc9282
3 changed files with 15 additions and 23 deletions

View file

@ -96,7 +96,7 @@ namespace polysat {
/** Perform boolean resolution with the clause upon variable 'var'.
* Precondition: core/clause contain complementary 'var'-literals.
*/
void resolve(constraint_manager const& m, sat::bool_var var, clause const& cl);
void resolve(constraint_manager const& m, sat::literal lit, clause const& cl);
/** Perform value resolution by applying various inference rules.
* Returns true if it was possible to eliminate the variable 'v'.