From 71d72df0437607723256bbd7b4f28cd6c89fe40f Mon Sep 17 00:00:00 2001 From: Andrew Reynolds Date: Mon, 22 Feb 2021 16:07:16 -0600 Subject: (proof-new) Change proof-new option to proof (#5955) Also moves several proof-specific options to proof_options. --- src/theory/arith/constraint.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/theory/arith/constraint.cpp') 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& 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(); -- cgit v1.2.3