mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 17:15:31 +00:00
add parameter to disable pattern inference #6884
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
99239068ba
commit
4d9af7848d
4 changed files with 13 additions and 10 deletions
|
@ -624,9 +624,11 @@ bool pattern_inference_cfg::reduce_quantifier(
|
|||
proof_ref & result_pr) {
|
||||
|
||||
TRACE("pattern_inference", tout << "processing:\n" << mk_pp(q, m) << "\n";);
|
||||
if (!is_forall(q)) {
|
||||
if (!m_params.m_pi_enabled)
|
||||
return false;
|
||||
|
||||
if (!is_forall(q))
|
||||
return false;
|
||||
}
|
||||
|
||||
int weight = q->get_weight();
|
||||
|
||||
|
@ -653,9 +655,8 @@ bool pattern_inference_cfg::reduce_quantifier(
|
|||
}
|
||||
}
|
||||
|
||||
if (q->get_num_patterns() > 0) {
|
||||
if (q->get_num_patterns() > 0)
|
||||
return false;
|
||||
}
|
||||
|
||||
if (m_params.m_pi_nopat_weight >= 0)
|
||||
weight = m_params.m_pi_nopat_weight;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue