projects
/
cvc5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ae07a9
)
Fix the build; --check-proof works for UF but not for the new UFC logic.
author
Morgan Deters
<mdeters@cs.nyu.edu>
Thu, 10 Apr 2014 22:34:44 +0000
(18:34 -0400)
committer
Morgan Deters
<mdeters@cs.nyu.edu>
Thu, 10 Apr 2014 22:35:15 +0000
(18:35 -0400)
src/smt/smt_engine_check_proof.cpp
patch
|
blob
|
history
diff --git
a/src/smt/smt_engine_check_proof.cpp
b/src/smt/smt_engine_check_proof.cpp
index a731ff024a0feb4b9eaa243c4da5b657b234cb10..4c218b48c9fc05e4d34e5482a36cb7b698e3dcef 100644
(file)
--- a/
src/smt/smt_engine_check_proof.cpp
+++ b/
src/smt/smt_engine_check_proof.cpp
@@
-57,10
+57,11
@@
void SmtEngine::checkProof() {
Chat() << "checking proof..." << endl;
- if(!d_logic.isPure(theory::THEORY_BOOL) &&
- !d_logic.isPure(theory::THEORY_UF)) {
+ if( ! ( d_logic.isPure(theory::THEORY_BOOL) ||
+ ( d_logic.isPure(theory::THEORY_UF) &&
+ ! d_logic.hasCardinalityConstraints() ) ) ) {
// no checking for these yet
- Notice() << "Notice: no proof-checking for non-UF proofs yet" << endl;
+ Notice() << "Notice: no proof-checking for non-UF
/Bool
proofs yet" << endl;
return;
}