mirror of
https://github.com/Z3Prover/z3
synced 2025-11-02 20:47:52 +00:00
Allow bool_ind_generalizer to skip non-array literals
Currently a hack to skip generalizing some literals. Used together with quic generalizer to remove all array terms if possible before quic generalization
This commit is contained in:
parent
46fb0d928a
commit
7dee36358d
2 changed files with 33 additions and 2 deletions
|
|
@ -48,11 +48,14 @@ class lemma_bool_inductive_generalizer : public lemma_generalizer {
|
|||
};
|
||||
|
||||
unsigned m_failure_limit;
|
||||
bool m_array_only;
|
||||
stats m_st;
|
||||
|
||||
public:
|
||||
lemma_bool_inductive_generalizer(context& ctx, unsigned failure_limit) :
|
||||
lemma_generalizer(ctx), m_failure_limit(failure_limit) {}
|
||||
lemma_bool_inductive_generalizer(context& ctx, unsigned failure_limit,
|
||||
bool array_only = false) :
|
||||
lemma_generalizer(ctx), m_failure_limit(failure_limit),
|
||||
m_array_only(array_only) {}
|
||||
~lemma_bool_inductive_generalizer() override {}
|
||||
void operator()(lemma_ref &lemma) override;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue