summaryrefslogtreecommitdiff
path: root/src/prop
diff options
context:
space:
mode:
authorHaniel Barbosa <hanielbbarbosa@gmail.com>2021-03-16 12:19:46 -0300
committerGitHub <noreply@github.com>2021-03-16 15:19:46 +0000
commit0d3ea6f2dcaf80d386c7765ee8a708c18e3ed574 (patch)
tree6dbc58a39c468cc0ab96ab7b8928a6de223333a9 /src/prop
parent5a879f4315d0105f8487c8718659a4f060ea634e (diff)
[proof-new] Renaming proof option to be in sync with SMT-LIB (#6154)
Diffstat (limited to 'src/prop')
-rw-r--r--src/prop/minisat/core/Solver.cc2
-rw-r--r--src/prop/minisat/minisat.cpp2
-rw-r--r--src/prop/theory_proxy.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/prop/minisat/core/Solver.cc b/src/prop/minisat/core/Solver.cc
index b36fe9517..8c27e2bdd 100644
--- a/src/prop/minisat/core/Solver.cc
+++ b/src/prop/minisat/core/Solver.cc
@@ -56,7 +56,7 @@ namespace {
*/
bool assertionLevelOnly()
{
- return (options::proof() || options::unsatCores())
+ return (options::produceProofs() || options::unsatCores())
&& options::incrementalSolving();
}
diff --git a/src/prop/minisat/minisat.cpp b/src/prop/minisat/minisat.cpp
index 935c08e9b..694c73e5e 100644
--- a/src/prop/minisat/minisat.cpp
+++ b/src/prop/minisat/minisat.cpp
@@ -160,7 +160,7 @@ ClauseId MinisatSatSolver::addClause(SatClause& clause, bool removable) {
}
d_minisat->addClause(minisat_clause, removable, clause_id);
// FIXME: to be deleted when we kill old proof code for unsat cores
- Assert(!options::unsatCores() || options::proof()
+ Assert(!options::unsatCores() || options::produceProofs()
|| clause_id != ClauseIdError);
return clause_id;
}
diff --git a/src/prop/theory_proxy.cpp b/src/prop/theory_proxy.cpp
index bcdcdf623..5ee472b93 100644
--- a/src/prop/theory_proxy.cpp
+++ b/src/prop/theory_proxy.cpp
@@ -81,7 +81,7 @@ void TheoryProxy::explainPropagation(SatLiteral l, SatClause& explanation) {
theory::TrustNode tte = d_theoryEngine->getExplanation(lNode);
Node theoryExplanation = tte.getNode();
- if (CVC4::options::proof())
+ if (CVC4::options::produceProofs())
{
d_propEngine->getProofCnfStream()->convertPropagation(tte);
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback