diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2021-12-14 13:35:53 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-14 13:35:53 -0600 |
commit | e16ab44a2b4622bb5745633cbafd43a0023a518c (patch) | |
tree | d980bdc3dc771abfc8101036d1e2aaebc8020134 /src/theory/trust_substitutions.h | |
parent | ad34df900d79aad64558b354a866870715bfd007 (diff) | |
parent | effb0d47ba5bfaebae17dcd06153489dccd90eff (diff) |
Merge branch 'master' into cav22-stringscav22-strings
Diffstat (limited to 'src/theory/trust_substitutions.h')
-rw-r--r-- | src/theory/trust_substitutions.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/theory/trust_substitutions.h b/src/theory/trust_substitutions.h index cc08c870d..abcf039ba 100644 --- a/src/theory/trust_substitutions.h +++ b/src/theory/trust_substitutions.h @@ -87,11 +87,12 @@ class TrustSubstitutionMap : public ProofGenerator /** * Apply substitutions in this class to node n. Returns a trust node * proving n = n*sigma, where the proof generator is provided by this class - * (when proofs are enabled). + * (when proofs are enabled). If a non-null rewriter is provided, the result + * of the substitution is rewritten. */ - TrustNode applyTrusted(Node n, bool doRewrite = true); + TrustNode applyTrusted(Node n, Rewriter* r = nullptr); /** Same as above, without proofs */ - Node apply(Node n, bool doRewrite = true); + Node apply(Node n, Rewriter* r = nullptr); /** Get the proof for formula f */ std::shared_ptr<ProofNode> getProofFor(Node f) override; |