From 4e2afa2282965f3f54033d43cd990cc0b0a8b200 Mon Sep 17 00:00:00 2001 From: Andrew Reynolds Date: Mon, 8 Mar 2021 14:11:24 -0600 Subject: [PATCH] Fix handling of negation of Boolean bound variables in FMF (#6066) Fixes #5922. We were not correctly handling when a Boolean bound variable was negated. --- src/theory/quantifiers/fmf/full_model_check.cpp | 11 +++++++++-- test/regress/CMakeLists.txt | 1 + test/regress/regress0/fmf/issue5922-fmf-not-x.smt2 | 8 ++++++++ 3 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 test/regress/regress0/fmf/issue5922-fmf-not-x.smt2 diff --git a/src/theory/quantifiers/fmf/full_model_check.cpp b/src/theory/quantifiers/fmf/full_model_check.cpp index 053174d07..3a444df93 100644 --- a/src/theory/quantifiers/fmf/full_model_check.cpp +++ b/src/theory/quantifiers/fmf/full_model_check.cpp @@ -982,8 +982,15 @@ void FullModelChecker::doCheck(FirstOrderModelFmc * fm, Node f, Def & d, Node n void FullModelChecker::doNegate( Def & dc ) { for (unsigned i=0; i (f true) false)) +(check-sat) -- 2.30.2