-
Notifications
You must be signed in to change notification settings - Fork 224
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add more abduction regressions (#7461)
Fixes #5848. This also fixes an issue leftover from #6605 where a spurious assertion failure was thrown. Also introduces subfolder regress/regress1/abduction.
- Loading branch information
Showing
18 changed files
with
50 additions
and
12 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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,6 @@ | ||
; COMMAND-LINE: --produce-abducts | ||
; SCRUBBER: grep -v -E '(\(define-fun)' | ||
; EXIT: 0 | ||
(set-logic ALL) | ||
(declare-fun v9 () Bool) | ||
(get-abduct A (or true v9)) |
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,8 @@ | ||
; COMMAND-LINE: --produce-abducts | ||
; EXPECT: none | ||
(set-logic UFLRA) | ||
(declare-sort S0 0) | ||
(declare-fun S0-0 () S0) | ||
(declare-fun S0-1 () S0) | ||
(declare-fun v87 () Bool) | ||
(get-abduct A (and false (exists ((q117 S0)) (or v87 (and (= S0-1 q117) (= q117 S0-0)))))) |
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 @@ | ||
; COMMAND-LINE: --produce-abducts | ||
; SCRUBBER: grep -v -E '(\(define-fun)' | ||
; EXIT: 0 | ||
(set-logic ALL) | ||
(declare-fun a () Int) | ||
(assert (= (mod 0 a) 0)) | ||
(get-abduct A (= a 1)) |
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,11 @@ | ||
; COMMAND-LINE: --produce-abducts | ||
; SCRUBBER: grep -v -E '(\(define-fun)' | ||
; EXIT: 0 | ||
(set-logic ALL) | ||
(set-option :produce-abducts true) | ||
(declare-fun a () Int) | ||
(declare-fun b () Int) | ||
(declare-fun c () Int) | ||
(assert (= (>= b c) (>= 0 a))) | ||
(assert (= c a)) | ||
(get-abduct d (<= a b)) |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.