-
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.
- Loading branch information
1 parent
a588a7a
commit 14ebcf9
Showing
8 changed files
with
29 additions
and
80 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,7 @@ | ||
|
||
unknown | ||
( | ||
(define-fun x () Int 0) | ||
(define-fun y () Int 0) | ||
(define-fun a1 () (Array Int Int) (store (as @a1 (Array Int Int)) 0 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,10 @@ | ||
(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)) | ||
(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,14 +1,5 @@ | ||
|
||
unknown | ||
( | ||
|
||
; Functions | ||
|
||
; Constants | ||
|
||
(define-fun x () Int 0) | ||
|
||
; Arrays not yet supported | ||
|
||
|
||
(define-fun x () 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 |
---|---|---|
@@ -1,16 +1,6 @@ | ||
|
||
unknown | ||
( | ||
|
||
; Functions | ||
|
||
; Constants | ||
|
||
(define-fun x () Int 8) | ||
|
||
(define-fun y () Int 42) | ||
|
||
; Arrays not yet supported | ||
|
||
|
||
(define-fun x () Int 8) | ||
(define-fun y () Int 42) | ||
) |
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,30 +1,11 @@ | ||
|
||
unknown | ||
( | ||
|
||
; Functions | ||
|
||
; Constants | ||
|
||
; Arrays not yet supported | ||
|
||
|
||
) | ||
|
||
unknown | ||
( | ||
|
||
; Functions | ||
|
||
; Constants | ||
|
||
(define-fun p () Bool true) | ||
|
||
(define-fun q () Bool true) | ||
|
||
(define-fun nq () Bool true) | ||
|
||
; Arrays not yet supported | ||
|
||
|
||
(define-fun p () Bool true) | ||
(define-fun q () Bool true) | ||
(define-fun nq () Bool true) | ||
) |
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,12 +1,4 @@ | ||
|
||
unknown | ||
( | ||
|
||
; Functions | ||
|
||
; Constants | ||
|
||
; Arrays not yet supported | ||
|
||
|
||
) |
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,18 +1,7 @@ | ||
|
||
unknown | ||
( | ||
|
||
; Functions | ||
|
||
(define-fun f ((arg_0 Int)) Int 0) | ||
|
||
; Constants | ||
|
||
(define-fun a () Int 0) | ||
|
||
(define-fun b () Int 0) | ||
|
||
; Arrays not yet supported | ||
|
||
|
||
(define-fun f ((arg_0 Int)) Int 0) | ||
(define-fun a () Int 0) | ||
(define-fun b () 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 |
---|---|---|
@@ -1,18 +1,7 @@ | ||
|
||
unknown | ||
( | ||
|
||
; Functions | ||
|
||
(define-fun f ((arg_0 Int)) Int (ite (= arg_0 a) 2 0)) | ||
|
||
; Constants | ||
|
||
(define-fun a () Int 0) | ||
|
||
(define-fun b () Int (- 2)) | ||
|
||
; Arrays not yet supported | ||
|
||
|
||
(define-fun f ((arg_0 Int)) Int (ite (= arg_0 a) 2 0)) | ||
(define-fun a () Int 0) | ||
(define-fun b () Int (- 2)) | ||
) |