diff options
author | Gereon Kremer <gereon.kremer@cs.rwth-aachen.de> | 2021-03-11 23:48:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-11 22:48:11 +0000 |
commit | a22deeb091673226a1edb5a89bc8a596a3d51fc7 (patch) | |
tree | f51d6edc2fe374cb0001681c3f882e1a1e7f4a3a /src/theory/arith/constraint.cpp | |
parent | 5998d7f5a9168b0dd1c26f3aa1b85e570fe72af8 (diff) |
Make linear arithmetic use its inference manager (#5934)
This PR refactors the linear arithmetic solver to properly use its inference manager, instead of directly sending lemmas to the output channel. To do this, it introduces new InferenceIds for the various linear lemmas.
Diffstat (limited to 'src/theory/arith/constraint.cpp')
-rw-r--r-- | src/theory/arith/constraint.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/theory/arith/constraint.cpp b/src/theory/arith/constraint.cpp index bafd4d682..f2de5da6c 100644 --- a/src/theory/arith/constraint.cpp +++ b/src/theory/arith/constraint.cpp @@ -2236,7 +2236,7 @@ bool ConstraintDatabase::handleUnateProp(ConstraintP ant, ConstraintP cons){ if(cons->negationHasProof()){ Debug("arith::unate") << "handleUnate: " << ant << " implies " << cons << endl; cons->impliedByUnate(ant, true); - d_raiseConflict.raiseConflict(cons); + d_raiseConflict.raiseConflict(cons, InferenceId::UNKNOWN); return true; }else if(!cons->isTrue()){ ++d_statistics.d_unatePropagateImplications; |