This repository has been archived by the owner on Apr 14, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathexample1.smt2
36 lines (29 loc) · 2.05 KB
/
example1.smt2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
(set-option :produce-unsat-cores true)
; PROGRAM ORDER CONSTRAINTS
(declare-const MAX Int)
(assert (= MAX 8))
(declare-const [email protected] Int)
(assert (and (>= [email protected] 0) (<= [email protected] MAX)))
(declare-const [email protected][email protected] Int)
(assert (and (>= [email protected][email protected] 0) (<= [email protected][email protected] MAX)))
(declare-const [email protected] Int)
(assert (and (>= [email protected] 0) (<= [email protected] MAX)))
(declare-const [email protected] Int)
(assert (and (>= [email protected] 0) (<= [email protected] MAX)))
(declare-const [email protected][email protected] Int)
(assert (and (>= [email protected][email protected] 0) (<= [email protected][email protected] MAX)))
(declare-const [email protected][email protected] Int)
(assert (and (>= [email protected][email protected] 0) (<= [email protected][email protected] MAX)))
(declare-const [email protected][email protected] Int)
(assert (and (>= [email protected][email protected] 0) (<= [email protected][email protected] MAX)))
(declare-const [email protected] Int)
(assert (and (>= [email protected] 0) (<= [email protected] MAX)))
; FORK-START CONSTRAINTS
; JOIN-END CONSTRAINTS
; WAIT-NOTIFY CONSTRAINTS
; LOCKING CONSTRAINTS
; SEND-RECEIVE CONSTRAINTS
; RECEIVE-HANDLER LINKAGE CONSTRAINTS