mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 17:45:32 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
271cd2ac6b
commit
2e6908bd9e
7 changed files with 61 additions and 20 deletions
|
@ -49,6 +49,7 @@ Author:
|
|||
Notes:
|
||||
|
||||
--*/
|
||||
#include "ast/ast_pp.h"
|
||||
#include "tactic/tactical.h"
|
||||
#include "tactic/goal_shared_occs.h"
|
||||
#include "tactic/generic_model_converter.h"
|
||||
|
@ -268,6 +269,7 @@ class tseitin_cnf_tactic : public tactic {
|
|||
!m.is_or(c1, c1, c2))
|
||||
return false;
|
||||
|
||||
SASSERT(to_app(n)->get_num_args() == 3);
|
||||
swap_if_gt(a1, a2);
|
||||
swap_if_gt(b1, b2);
|
||||
swap_if_gt(c1, c2);
|
||||
|
@ -834,6 +836,8 @@ class tseitin_cnf_tactic : public tactic {
|
|||
m_produce_models = g->models_enabled();
|
||||
m_produce_unsat_cores = g->unsat_core_enabled();
|
||||
|
||||
TRACE("tseitin_cnf", g->display(tout););
|
||||
|
||||
m_occs(*g);
|
||||
reset_cache();
|
||||
m_deps.reset();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue