mirror of
https://github.com/Z3Prover/z3
synced 2025-04-10 19:27:06 +00:00
fix distribute forall, fixes issue #138
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
f3f85b5e0f
commit
5f484c069b
|
@ -30,6 +30,10 @@ class distribute_forall_tactic : public tactic {
|
|||
expr * const * new_no_patterns,
|
||||
expr_ref & result,
|
||||
proof_ref & result_pr) {
|
||||
|
||||
if (!old_q->is_forall()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (m.is_not(new_body) && m.is_or(to_app(new_body)->get_arg(0))) {
|
||||
// (forall X (not (or F1 ... Fn)))
|
||||
|
|
Loading…
Reference in a new issue