diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2021-05-27 16:28:58 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-27 21:28:58 +0000 |
commit | 8b3de13131d24bf400ba5f36fc234008d950f345 (patch) | |
tree | 0de3a60dcdad716cede78b8fe024996690399a2f /src/smt/term_formula_removal.h | |
parent | b9062490a7590708bcf158d4670a23d859fe3355 (diff) |
Update proof namespaces (#6614)
This removes namespace theory from proof utilities, and moves MethodId to its own file in src/proof/.
Diffstat (limited to 'src/smt/term_formula_removal.h')
-rw-r--r-- | src/smt/term_formula_removal.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/smt/term_formula_removal.h b/src/smt/term_formula_removal.h index c2b1f27f3..6f27b9462 100644 --- a/src/smt/term_formula_removal.h +++ b/src/smt/term_formula_removal.h @@ -88,24 +88,24 @@ class RemoveTermFormulas { * right hand side is assertion after removing term formulas, and the proof * generator (if provided) that can prove the equivalence. */ - theory::TrustNode run(TNode assertion, - std::vector<theory::TrustNode>& newAsserts, - std::vector<Node>& newSkolems, - bool fixedPoint = false); + TrustNode run(TNode assertion, + std::vector<TrustNode>& newAsserts, + std::vector<Node>& newSkolems, + bool fixedPoint = false); /** * Same as above, but does not track lemmas, and does not run to fixed point. * The relevant lemmas can be extracted by the caller later using getSkolems * and getLemmaForSkolem. */ - theory::TrustNode run(TNode assertion); + TrustNode run(TNode assertion); /** * Same as above, but transforms a lemma, returning a LEMMA trust node that * proves the same formula as lem with term formulas removed. */ - theory::TrustNode runLemma(theory::TrustNode lem, - std::vector<theory::TrustNode>& newAsserts, - std::vector<Node>& newSkolems, - bool fixedPoint = false); + TrustNode runLemma(TrustNode lem, + std::vector<TrustNode>& newAsserts, + std::vector<Node>& newSkolems, + bool fixedPoint = false); /** * Get proof generator that is responsible for all proofs for removing term @@ -190,7 +190,7 @@ class RemoveTermFormulas { * the version of assertion with all term formulas removed. */ Node runInternal(TNode assertion, - std::vector<theory::TrustNode>& newAsserts, + std::vector<TrustNode>& newAsserts, std::vector<Node>& newSkolems); /** * This is called on curr of the form (t, val) where t is a term and val is @@ -202,7 +202,7 @@ class RemoveTermFormulas { * Otherwise, if t should not be replaced in the term context, this method * returns the null node. */ - Node runCurrent(std::pair<Node, uint32_t>& curr, theory::TrustNode& newLem); + Node runCurrent(std::pair<Node, uint32_t>& curr, TrustNode& newLem); /** Whether proofs are enabled */ bool isProofEnabled() const; |