Improvements for get-difficulty (#7720)
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>
Wed, 1 Dec 2021 17:16:42 +0000 (11:16 -0600)
committerGitHub <noreply@github.com>
Wed, 1 Dec 2021 17:16:42 +0000 (17:16 +0000)
commit18758ae6ba02fb30744e560bf660c75a3af78008
tree4969bd55b2eddfc90180ff6426d8a2384bba3323
parent8ce83ed35085fccace319ddd75d6fc1bd9a14a07
Improvements for get-difficulty (#7720)

This makes 2 improvements for get-difficulty:
(1) Ensures that we recompute relevance info for lemmas sent at STANDARD effort.
(2) An open proof error was reported by Certora using --produce-difficulty.
This makes get-difficulty more robust by ensuring that lemmas are not marked as having a difficulty. It also minimizes the cases where we mark lemmas as having a difficulty internally.
src/smt/proof_manager.cpp
src/theory/difficulty_manager.cpp
src/theory/relevance_manager.cpp
src/theory/relevance_manager.h
src/theory/theory_engine.cpp