diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2021-02-22 16:07:16 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-22 16:07:16 -0600 |
commit | 71d72df0437607723256bbd7b4f28cd6c89fe40f (patch) | |
tree | 1021b9e166290db4637a0be447da359d0aed4752 /src/theory/arith/constraint.cpp | |
parent | 580f3e93c2cc4564e6fa87d07426dc1ff87224e4 (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.cpp | 4 |
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(); |