mirror of
https://github.com/Z3Prover/z3
synced 2025-06-05 05:41:23 +00:00
fix distribute forall, fixes issue #138
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
020620aadd
commit
7b918e83c3
1 changed files with 4 additions and 0 deletions
|
@ -30,6 +30,10 @@ class distribute_forall_tactic : public tactic {
|
||||||
expr * const * new_no_patterns,
|
expr * const * new_no_patterns,
|
||||||
expr_ref & result,
|
expr_ref & result,
|
||||||
proof_ref & result_pr) {
|
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))) {
|
if (m.is_not(new_body) && m.is_or(to_app(new_body)->get_arg(0))) {
|
||||||
// (forall X (not (or F1 ... Fn)))
|
// (forall X (not (or F1 ... Fn)))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue