Skip to content

Commit

Permalink
Revert "Do not retry SMT query when WarnDecidePredicateUnknown" (#3901)
Browse files Browse the repository at this point in the history
Some `kasmer` proof rely heavily on simplifications and start failing
when we stop applying them.

This reverts commit 40c912b.

Co-authored-by: rv-jenkins <[email protected]>
  • Loading branch information
geo2a and rv-jenkins authored May 28, 2024
1 parent 912cbe6 commit deb6870
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions kore/src/Kore/Rewrite/SMT/Evaluator.hs
Original file line number Diff line number Diff line change
Expand Up @@ -169,11 +169,7 @@ decidePredicate ::
decidePredicate onUnknown sideCondition predicates =
whileDebugEvaluateCondition predicates $
do
result <- case onUnknown of
-- do not retry the query on Unknown if the use-case is "soft", i.e. applying simplifications
WarnDecidePredicateUnknown _ _ -> query
-- if Unknown leads to a hard error, retry the query with scaled timeouts
ErrorDecidePredicateUnknown _ _ -> query >>= whenUnknown retry
result <- query >>= whenUnknown retry
debugEvaluateConditionResult result
case result of
Unsat -> return False
Expand Down

0 comments on commit deb6870

Please sign in to comment.