summaryrefslogtreecommitdiff
path: root/src/theory/arith/constraint.cpp
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2021-02-22 16:07:16 -0600
committerGitHub <noreply@github.com>2021-02-22 16:07:16 -0600
commit71d72df0437607723256bbd7b4f28cd6c89fe40f (patch)
tree1021b9e166290db4637a0be447da359d0aed4752 /src/theory/arith/constraint.cpp
parent580f3e93c2cc4564e6fa87d07426dc1ff87224e4 (diff)
(proof-new) Change proof-new option to proof (#5955)
Also moves several proof-specific options to proof_options.
Diffstat (limited to 'src/theory/arith/constraint.cpp')
-rw-r--r--src/theory/arith/constraint.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/theory/arith/constraint.cpp b/src/theory/arith/constraint.cpp
index c1db8e55a..02580083b 100644
--- a/src/theory/arith/constraint.cpp
+++ b/src/theory/arith/constraint.cpp
@@ -1081,7 +1081,7 @@ TrustNode Constraint::split()
Node lemma = NodeBuilder<3>(OR) << leqNode << geqNode;
TrustNode trustedLemma;
- if (options::proofNew())
+ if (d_database->isProofEnabled())
{
// Farkas proof that this works.
auto nm = NodeManager::currentNM();
@@ -2068,7 +2068,7 @@ void ConstraintDatabase::proveOr(std::vector<TrustNode>& out,
Node la = a->getLiteral();
Node lb = b->getLiteral();
Node orN = (la < lb) ? la.orNode(lb) : lb.orNode(la);
- if (options::proofNew())
+ if (isProofEnabled())
{
Assert(b->getNegation()->getType() != ConstraintType::Disequality);
auto nm = NodeManager::currentNM();
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback