diff options
Diffstat (limited to 'src/theory/trust_substitutions.cpp')
-rw-r--r-- | src/theory/trust_substitutions.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/theory/trust_substitutions.cpp b/src/theory/trust_substitutions.cpp index 47507bfe0..7a2fb19bd 100644 --- a/src/theory/trust_substitutions.cpp +++ b/src/theory/trust_substitutions.cpp @@ -146,7 +146,7 @@ void TrustSubstitutionMap::addSubstitutions(TrustSubstitutionMap& t) } } -TrustNode TrustSubstitutionMap::apply(Node n, bool doRewrite) +TrustNode TrustSubstitutionMap::applyTrusted(Node n, bool doRewrite) { Trace("trust-subs") << "TrustSubstitutionMap::addSubstitution: apply " << n << std::endl; @@ -169,6 +169,11 @@ TrustNode TrustSubstitutionMap::apply(Node n, bool doRewrite) return TrustNode::mkTrustRewrite(n, ns, this); } +Node TrustSubstitutionMap::apply(Node n, bool doRewrite) +{ + return d_subs.apply(n, doRewrite); +} + std::shared_ptr<ProofNode> TrustSubstitutionMap::getProofFor(Node eq) { Assert(eq.getKind() == kind::EQUAL); |