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/callbacks.h | |
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/callbacks.h')
-rw-r--r-- | src/theory/arith/callbacks.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/theory/arith/callbacks.h b/src/theory/arith/callbacks.h index 574d289b0..9f0ae1017 100644 --- a/src/theory/arith/callbacks.h +++ b/src/theory/arith/callbacks.h @@ -21,6 +21,7 @@ #include "theory/arith/arithvar.h" #include "theory/arith/bound_counts.h" #include "theory/arith/constraint_forward.h" +#include "theory/inference_id.h" #include "util/rational.h" namespace CVC4 { @@ -111,7 +112,7 @@ public: RaiseConflict(TheoryArithPrivate& ta); /** Calls d_ta.raiseConflict(c) */ - void raiseConflict(ConstraintCP c) const; + void raiseConflict(ConstraintCP c, InferenceId id) const; }; class FarkasConflictBuilder { |