forked from OCamlPro/alt-ergo
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Showing
7 changed files
with
51 additions
and
31 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 @@ | ||
(error "Invalid action during mode Util.Assert: Set option steps_bound") |
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 @@ | ||
(set-logic ALL) | ||
|
||
(declare-const x Int) | ||
(assert (= (* x x) 3)) | ||
(set-option :steps-bound 2) | ||
; Should fail because this option cannot be set after set-logic | ||
(check-sat) |
File renamed without changes.
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,17 @@ | ||
(set-option :steps-bound 2) | ||
(set-logic ALL) | ||
|
||
(declare-const x Int) | ||
(assert (= (* x x) 3)) | ||
; Should answer 'unknown' | ||
(check-sat) | ||
(get-info :reason-unknown) | ||
|
||
(reset) | ||
|
||
(set-option :steps-bound 100) | ||
(set-logic ALL) | ||
(declare-const x Int) | ||
(assert (= (* x x) 3)) | ||
; Should answer 'unsat' | ||
(check-sat) |