3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-23 03:27:52 +00:00

v2 of polysat

This commit is contained in:
Nikolaj Bjorner 2023-12-07 15:53:07 -08:00
parent d0a59f3740
commit 28820c8e0c
14 changed files with 1893 additions and 0 deletions

View 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);
}
}