mirror of
https://github.com/Z3Prover/z3
synced 2025-09-05 17:47:41 +00:00
more tactic descriptions
This commit is contained in:
parent
0d8a472aac
commit
c07b6ab38f
10 changed files with 233 additions and 46 deletions
|
@ -21,8 +21,10 @@ Notes:
|
|||
#include "ast/macros/macro_manager.h"
|
||||
#include "ast/macros/macro_finder.h"
|
||||
#include "ast/macros/quasi_macros.h"
|
||||
#include "ast/recfun_decl_plugin.h"
|
||||
#include "tactic/ufbv/quasi_macros_tactic.h"
|
||||
|
||||
|
||||
class quasi_macros_tactic : public tactic {
|
||||
|
||||
struct imp {
|
||||
|
@ -41,6 +43,12 @@ class quasi_macros_tactic : public tactic {
|
|||
|
||||
bool produce_proofs = g->proofs_enabled();
|
||||
bool produce_unsat_cores = g->unsat_core_enabled();
|
||||
|
||||
recfun::util rec(m());
|
||||
if (!rec.get_rec_funs().empty()) {
|
||||
result.push_back(g.get());
|
||||
return;
|
||||
}
|
||||
|
||||
macro_manager mm(m_manager);
|
||||
quasi_macros qm(m_manager, mm);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue