diff options
Diffstat (limited to 'src/theory/theory.h')
-rw-r--r-- | src/theory/theory.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/src/theory/theory.h b/src/theory/theory.h index 6f6c863df..86dbb60d6 100644 --- a/src/theory/theory.h +++ b/src/theory/theory.h @@ -44,6 +44,7 @@ #include "theory/theory_rewriter.h" #include "theory/theory_state.h" #include "theory/trust_node.h" +#include "theory/trust_substitutions.h" #include "theory/valuation.h" #include "util/statistics_registry.h" @@ -699,10 +700,16 @@ class Theory { }; /** - * Given a literal, add the solved substitutions to the map, if any. - * The method should return true if the literal can be safely removed. + * Given a literal and its proof generator (encapsulated by trust node tin), + * add the solved substitutions to the map, if any. The method should return + * true if the literal can be safely removed from the input problem. + * + * Note that tin has trude node kind LEMMA. Its proof generator should be + * take into account when adding a substitution to outSubstitutions when + * proofs are enabled. */ - virtual PPAssertStatus ppAssert(TNode in, SubstitutionMap& outSubstitutions); + virtual PPAssertStatus ppAssert(TrustNode tin, + TrustSubstitutionMap& outSubstitutions); /** * Given an atom of the theory coming from the input formula, this |