-
Notifications
You must be signed in to change notification settings - Fork 123
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add special cases to handle setting timeouts for SBV-based solvers
fixes #1808 * Yices still does not work due to unexpected behavior after a timeout is triggered (see: LeventErkok/sbv#735) * the special cases for CVC4/5 are addressed in the 11.1.5 release for SBV (which is not compatible with cryptol as it requires GHC 9.8)
- Loading branch information
1 parent
bf09809
commit ca03170
Showing
3 changed files
with
50 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
:set proverTimeout=1 | ||
|
||
:l ../../examples/funstuff/NQueens.cry | ||
|
||
:set prover=sbv-z3 | ||
:sat nQueens : (Solution 50) | ||
|
||
:set prover=sbv-cvc5 | ||
:sat nQueens : (Solution 50) | ||
|
||
// FIXME: | ||
// broken due to: https://github.com/LeventErkok/sbv/issues/735 | ||
// :set prover=sbv-yices | ||
// :sat nQueens : (Solution 50) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Loading module Cryptol | ||
Loading module Cryptol | ||
Loading module Main | ||
Unknown. | ||
Reason: timeout | ||
Unknown. | ||
Reason: timeout |