-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
I also add another tests to check if the counter increases properly.
- Loading branch information
Showing
7 changed files
with
52 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
|
||
unknown | ||
( | ||
(define-fun a1 () (Array Int Int) (store (as @!k1 (Array Int Int)) 0 0)) | ||
(define-fun a1 () (Array Int Int) (store (as @a0 (Array Int Int)) 0 0)) | ||
(define-fun a2 () (Array Int Int) (store (as @a1 (Array Int Int)) 0 0)) | ||
(define-fun x () Int 0) | ||
(define-fun y () Int 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
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 @@ | ||
|
||
unknown | ||
( | ||
(define-fun a1 () (Array Int Int) (store (as @a0 (Array Int Int)) 0 0)) | ||
(define-fun a2 () (Array Int Int) (store (as @a1 (Array Int Int)) 0 0)) | ||
(define-fun x () Int 0) | ||
(define-fun y () Int 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,12 @@ | ||
(set-logic ALL) | ||
(set-option :produce-models true) | ||
(declare-const x Int) | ||
(declare-const y Int) | ||
(declare-const a1 (Array Int Int)) | ||
(declare-const a2 (Array Int Int)) | ||
(assert (= (select a1 x) x)) | ||
(assert (= (store a1 x y) a1)) | ||
(assert (= (select a2 x) x)) | ||
(assert (= (store a2 x y) a1)) | ||
(check-sat) | ||
(get-model) |
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
|
||
unknown | ||
( | ||
(define-fun a () Pair (pair 5 (as @!k3 Int))) | ||
(define-fun a () Pair (pair 5 (as @a0 Int))) | ||
) |