mirror of
https://github.com/Z3Prover/z3
synced 2025-08-23 03:27:52 +00:00
v2 of polysat
This commit is contained in:
parent
d0a59f3740
commit
28820c8e0c
14 changed files with 1893 additions and 0 deletions
25
src/sat/smt/polysat_constraints.cpp
Normal file
25
src/sat/smt/polysat_constraints.cpp
Normal file
|
@ -0,0 +1,25 @@
|
|||
/*++
|
||||
Copyright (c) 2021 Microsoft Corporation
|
||||
|
||||
Module Name:
|
||||
|
||||
polysat constraints
|
||||
|
||||
Author:
|
||||
|
||||
Nikolaj Bjorner (nbjorner) 2021-03-19
|
||||
Jakob Rath 2021-04-06
|
||||
|
||||
--*/
|
||||
#include "sat/smt/polysat_core.h"
|
||||
#include "sat/smt/polysat_solver.h"
|
||||
#include "sat/smt/polysat_constraints.h"
|
||||
|
||||
namespace polysat {
|
||||
|
||||
signed_constraint constraints::ule(pdd const& p, pdd const& q) {
|
||||
auto* c = alloc(ule_constraint, p, q);
|
||||
m_trail.push(new_obj_trail(c));
|
||||
return signed_constraint(ckind_t::ule_t, c);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue