diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2021-09-02 12:02:46 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-02 17:02:46 +0000 |
commit | 66b67160df9ce4974039a1c137e84c859fad5237 (patch) | |
tree | 4c435a6cf616eb61a82ac6831d222fc8bfb01bd6 /src/proof/lazy_proof_chain.cpp | |
parent | 2d09af0b8789fd5e2a06032f93f85d0c9265a627 (diff) |
Implement lazy proof checking modes (#7106)
This implements several variants of lazy proof checking in the core proof checker.
Note this extends the ProofNode class with an additional Boolean d_provenChecked indicating whether the d_proven field was checked by the underlying proof checker.
This PR updates the default proof checking mode to lazy. The previous default can now be enabled by --proof-check=eager-simple.
Diffstat (limited to 'src/proof/lazy_proof_chain.cpp')
-rw-r--r-- | src/proof/lazy_proof_chain.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/proof/lazy_proof_chain.cpp b/src/proof/lazy_proof_chain.cpp index c835ca03d..4cb39cc40 100644 --- a/src/proof/lazy_proof_chain.cpp +++ b/src/proof/lazy_proof_chain.cpp @@ -272,8 +272,8 @@ void LazyCDProofChain::addLazyStep(Node expected, << " set to generator " << pg->identify() << "\n"; // note this will rewrite the generator for expected, if any d_gens.insert(expected, pg); - // check if chain is closed if options::proofEagerChecking() is on - if (options::proofEagerChecking()) + // check if chain is closed if eager checking is on + if (options::proofCheck() == options::ProofCheckMode::EAGER) { Trace("lazy-cdproofchain") << "LazyCDProofChain::addLazyStep: Checking closed proof...\n"; |