summaryrefslogtreecommitdiff
path: root/src/theory/theory_engine.h
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2020-10-21 21:21:42 -0500
committerGitHub <noreply@github.com>2020-10-21 21:21:42 -0500
commit0e7ebfa3ba5d5049c81b2c5ac113af62c35f5c64 (patch)
treec5a9d62c560592003f9fd0003faece8585c7c30a /src/theory/theory_engine.h
parenta99f5aaa46702a4894aaddeed3a7ff5cbf69bdfd (diff)
(proof-new) Make theory preprocessor user-context dependent (#5296)
Previously, theory preprocessing cache was manually cleared whenever the theory preprocess pass was run. However, proofs for theory preprocessing required to be alive for the remainder of the user context. This PR changes theory preprocessing so that both the cache and proofs in theory preprocessing are user-context dependent. This PR also makes the theory preprocess pass proof producing.
Diffstat (limited to 'src/theory/theory_engine.h')
-rw-r--r--src/theory/theory_engine.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/theory/theory_engine.h b/src/theory/theory_engine.h
index 3626b623a..e47dbbc6f 100644
--- a/src/theory/theory_engine.h
+++ b/src/theory/theory_engine.h
@@ -446,16 +446,11 @@ class TheoryEngine {
public:
/**
- * Signal the start of a new round of assertion preprocessing
- */
- void preprocessStart();
-
- /**
* Runs theory specific preprocessing on the non-Boolean parts of
* the formula. This is only called on input assertions, after ITEs
* have been removed.
*/
- Node preprocess(TNode node);
+ theory::TrustNode preprocess(TNode node);
/** Notify (preprocessed) assertions. */
void notifyPreprocessedAssertions(const std::vector<Node>& assertions);
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback