diff options
author | Gereon Kremer <gkremer@stanford.edu> | 2021-02-17 15:39:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-17 15:39:42 +0100 |
commit | fb5e3113312322c21a00062b22c358c30fa27101 (patch) | |
tree | e3809bd67d9f897f5d99b90a8c514acad6ff1976 /src/theory/arrays/inference_manager.h | |
parent | 2d6de44a51fed47a625ae73181efbcc3dac0c751 (diff) |
Add InferenceIds for theory of arrays (#5910)
This PR introduces new InferenceIds for the theory of arrays and uses them instead of InferenceId::UNKNOWN.
Diffstat (limited to 'src/theory/arrays/inference_manager.h')
-rw-r--r-- | src/theory/arrays/inference_manager.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/theory/arrays/inference_manager.h b/src/theory/arrays/inference_manager.h index b4ae228be..96af0b677 100644 --- a/src/theory/arrays/inference_manager.h +++ b/src/theory/arrays/inference_manager.h @@ -45,14 +45,15 @@ class InferenceManager : public TheoryInferenceManager * @return true if the fact was successfully asserted, and false if the * fact was redundant. */ - bool assertInference(TNode atom, bool polarity, TNode reason, PfRule id); + bool assertInference(TNode atom, bool polarity, InferenceId id, TNode reason, PfRule pfr); /** * Send lemma (exp => conc) based on proof rule id with properties p. Cache * the lemma if doCache is true. */ bool arrayLemma(Node conc, + InferenceId id, Node exp, - PfRule id, + PfRule pfr, LemmaProperty p = LemmaProperty::NONE, bool doCache = false); |