3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-03-09 14:54:53 +00:00
z3/src/sat/smt/polysat_constraints.cpp
Nikolaj Bjorner 28820c8e0c v2 of polysat
2023-12-16 16:12:12 -08:00

25 lines
519 B
C++

/*++
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);
}
}