This repository has been archived by the owner on Jun 17, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
change the default solver to z3 and add manual switch
z3 is only slow for corner cases, while yices2 is actually suprisingly terrible
- Loading branch information
Showing
10 changed files
with
60 additions
and
14 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
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
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,20 @@ | ||
#!/bin/zsh | ||
echo "z3 , yices2, fn" | ||
for i in *.smt2 | ||
do | ||
|
||
|
||
TIME_Z3=$( | ||
(time z3 $i >/dev/null) 2>&1 | rev | cut -d ' ' -f 2 | rev | tr -d '.' | ||
) | ||
TIME_YI=$( | ||
(time yices_smt2 --incremental $i >/dev/null) 2>&1 | rev | cut -d ' ' -f 2 | rev | tr -d '.' | ||
) | ||
|
||
if [ $TIME_Z3 -gt $TIME_YI ] | ||
then | ||
echo -e "\e[31m$TIME_Z3\e[39m , \e[32m$TIME_YI\e[39m , $i" | ||
else | ||
echo -e "\e[32m$TIME_Z3\e[39m , \e[31m$TIME_YI\e[39m , $i" | ||
fi | ||
done |
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
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
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