mirror of
https://github.com/Z3Prover/z3
synced 2025-04-28 11:25:51 +00:00
bypass simplifier if (m_is_clausal) {
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
9d75babcda
commit
301f441801
10 changed files with 39 additions and 23 deletions
|
@ -123,6 +123,7 @@ namespace opt {
|
|||
m_objective_refs(m),
|
||||
m_enable_sat(false),
|
||||
m_enable_sls(false),
|
||||
m_is_clausal(false),
|
||||
m_pp_neat(false)
|
||||
{
|
||||
params_ref p;
|
||||
|
@ -553,6 +554,10 @@ namespace opt {
|
|||
}
|
||||
|
||||
void context::simplify_fmls(expr_ref_vector& fmls) {
|
||||
if (m_is_clausal) {
|
||||
return;
|
||||
}
|
||||
|
||||
goal_ref g(alloc(goal, m, true, false));
|
||||
for (unsigned i = 0; i < fmls.size(); ++i) {
|
||||
g->assert_expr(fmls[i].get());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue