-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Brian Huffman
committed
Jan 22, 2021
1 parent
3cf6e54
commit 0f045d2
Showing
2 changed files
with
26 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// This is a regression test for GaloisInc/saw-script#985. | ||
// It uses `goal_eval` and then calls `goal_intro` to enforce | ||
// that `goal_eval` has preserved the explicit quantifiers in | ||
// the goal. | ||
|
||
enable_experimental; | ||
|
||
let prop = {{ \(xs:[4][8]) (ys:([8],[8])) -> sum xs == ys.0 * ys.1 }}; | ||
|
||
prove | ||
do { | ||
goal_intro "z"; | ||
assume_unsat; | ||
} | ||
prop; | ||
|
||
prove | ||
do { | ||
goal_eval; | ||
goal_intro "z"; | ||
assume_unsat; | ||
} | ||
prop; | ||
|
||
print "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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
$SAW test.saw |