~tapaal-ltl/verifypn/scc-optimise

« back to all changes in this revision

Viewing changes to test_models/query-test001/query.xml

  • Committer: srba.jiri at gmail
  • Date: 2020-09-11 14:23:39 UTC
  • mfrom: (213.1.151 interval_tar)
  • Revision ID: srba.jiri@gmail.com-20200911142339-bq9328s1gppw24uj
merged in lp:~verifypn-maintainers/verifypn/interval_tar doing 
- Implements TAR w/o z3, but using a simple integer inference engine for Hoare logic.
 - Replaces LP-Solve with GLPK, reduces computation-time and memory overhead
 - Implements new global properties, translated into CTL formulae.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
 
2
<property-set xmlns="http://tapaal.net/">
 
3
  
 
4
  <property>
 
5
    <id>query-test001.FALSE-1</id>
 
6
    <description>query-test001.FALSE-1</description>
 
7
    <formula>
 
8
      <exists-path>
 
9
        <finally>
 
10
          <conjunction>
 
11
            <integer-ge>
 
12
              <tokens-count>
 
13
                <place>P1</place>
 
14
              </tokens-count>
 
15
              <integer-constant>1</integer-constant>
 
16
            </integer-ge>
 
17
            <integer-ge>
 
18
              <tokens-count>
 
19
                <place>P2</place>
 
20
              </tokens-count>
 
21
              <integer-constant>2</integer-constant>
 
22
            </integer-ge>
 
23
            <integer-ge>
 
24
              <tokens-count>
 
25
                <place>P4</place>
 
26
              </tokens-count>
 
27
              <integer-constant>1</integer-constant>
 
28
            </integer-ge>
 
29
          </conjunction>
 
30
        </finally>
 
31
      </exists-path>
 
32
    </formula>
 
33
  </property>
 
34
  <property>
 
35
    <id>query-test001.FALSE-2</id>
 
36
    <description>query-test001.FALSE-2</description>
 
37
    <formula>
 
38
      <exists-path>
 
39
        <finally>
 
40
          <conjunction>
 
41
            <integer-ge>
 
42
              <tokens-count>
 
43
                <place>P1</place>
 
44
              </tokens-count>
 
45
              <integer-constant>2</integer-constant>
 
46
            </integer-ge>
 
47
            <negation>
 
48
              <integer-ge>
 
49
                <tokens-count>
 
50
                  <place>P4</place>
 
51
                </tokens-count>
 
52
                <integer-constant>0</integer-constant>
 
53
              </integer-ge>
 
54
            </negation>
 
55
          </conjunction>
 
56
        </finally>
 
57
      </exists-path>
 
58
    </formula>
 
59
  </property>
 
60
  <property>
 
61
    <id>query-test001.FALSE-3</id>
 
62
    <description>query-test001.FALSE-3</description>
 
63
    <formula>
 
64
      <exists-path>
 
65
        <finally>
 
66
          <conjunction>
 
67
            <integer-ge>
 
68
              <tokens-count>
 
69
                <place>P1</place>
 
70
              </tokens-count>
 
71
              <integer-constant>2</integer-constant>
 
72
            </integer-ge>
 
73
            <integer-ge>
 
74
              <tokens-count>
 
75
                <place>P4</place>
 
76
              </tokens-count>
 
77
              <integer-constant>1</integer-constant>
 
78
            </integer-ge>
 
79
          </conjunction>
 
80
        </finally>
 
81
      </exists-path>
 
82
    </formula>
 
83
  </property>
 
84
  <property>
 
85
    <id>query-test001.TRUE-4</id>
 
86
    <description>query-test001.TRUE-4</description>
 
87
    <formula>
 
88
      <exists-path>
 
89
        <finally>
 
90
          <conjunction>
 
91
            <integer-ge>
 
92
              <tokens-count>
 
93
                <place>P2</place>
 
94
              </tokens-count>
 
95
              <integer-constant>2</integer-constant>
 
96
            </integer-ge>
 
97
            <integer-ge>
 
98
              <tokens-count>
 
99
                <place>P3</place>
 
100
              </tokens-count>
 
101
              <integer-constant>2</integer-constant>
 
102
            </integer-ge>
 
103
          </conjunction>
 
104
        </finally>
 
105
      </exists-path>
 
106
    </formula>
 
107
  </property>
 
108
  <property>
 
109
    <id>query-test001.TRUE-5</id>
 
110
    <description>query-test001.TRUE-5</description>
 
111
    <formula>
 
112
      <exists-path>
 
113
        <finally>
 
114
          <conjunction>
 
115
            <integer-eq>
 
116
              <tokens-count>
 
117
                <place>P1</place>
 
118
              </tokens-count>
 
119
              <integer-constant>1</integer-constant>
 
120
            </integer-eq>
 
121
            <integer-ge>
 
122
              <tokens-count>
 
123
                <place>P2</place>
 
124
              </tokens-count>
 
125
              <integer-constant>1</integer-constant>
 
126
            </integer-ge>
 
127
            <integer-ge>
 
128
              <tokens-count>
 
129
                <place>P3</place>
 
130
              </tokens-count>
 
131
              <integer-constant>2</integer-constant>
 
132
            </integer-ge>
 
133
            <integer-le>
 
134
              <tokens-count>
 
135
                <place>P4</place>
 
136
              </tokens-count>
 
137
              <integer-constant>1</integer-constant>
 
138
            </integer-le>
 
139
          </conjunction>
 
140
        </finally>
 
141
      </exists-path>
 
142
    </formula>
 
143
  </property>
 
144
  <property>
 
145
    <id>query-test001.TRUE-6</id>
 
146
    <description>query-test001.TRUE-6</description>
 
147
    <formula>
 
148
      <exists-path>
 
149
        <finally>
 
150
          <disjunction>
 
151
            <integer-ge>
 
152
              <tokens-count>
 
153
                <place>P1</place>
 
154
              </tokens-count>
 
155
              <integer-constant>2</integer-constant>
 
156
            </integer-ge>
 
157
            <conjunction>
 
158
              <integer-le>
 
159
                <tokens-count>
 
160
                  <place>P3</place>
 
161
                </tokens-count>
 
162
                <integer-constant>0</integer-constant>
 
163
              </integer-le>
 
164
              <integer-ge>
 
165
                <tokens-count>
 
166
                  <place>P4</place>
 
167
                </tokens-count>
 
168
                <integer-constant>1</integer-constant>
 
169
              </integer-ge>
 
170
            </conjunction>
 
171
          </disjunction>
 
172
        </finally>
 
173
      </exists-path>
 
174
    </formula>
 
175
  </property>
 
176
  <property>
 
177
    <id>query-test001.TRUE-7</id>
 
178
    <description>query-test001.TRUE-7</description>
 
179
    <formula>
 
180
      <all-paths>
 
181
        <globally>
 
182
          <disjunction>
 
183
            <integer-le>
 
184
              <tokens-count>
 
185
                <place>P1</place>
 
186
              </tokens-count>
 
187
              <integer-constant>1</integer-constant>
 
188
            </integer-le>
 
189
            <integer-le>
 
190
              <tokens-count>
 
191
                <place>P4</place>
 
192
              </tokens-count>
 
193
              <integer-constant>1</integer-constant>
 
194
            </integer-le>
 
195
          </disjunction>
 
196
        </globally>
 
197
      </all-paths>
 
198
    </formula>
 
199
  </property>
 
200
  <property>
 
201
    <id>query-test001.FALSE-8</id>
 
202
    <description>query-test001.FALSE-8</description>
 
203
    <formula>
 
204
      <all-paths>
 
205
        <globally>
 
206
          <disjunction>
 
207
            <integer-ge>
 
208
              <tokens-count>
 
209
                <place>P1</place>
 
210
              </tokens-count>
 
211
              <integer-constant>2</integer-constant>
 
212
            </integer-ge>
 
213
            <integer-lt>
 
214
              <tokens-count>
 
215
                <place>P2</place>
 
216
              </tokens-count>
 
217
              <integer-constant>1</integer-constant>
 
218
            </integer-lt>
 
219
          </disjunction>
 
220
        </globally>
 
221
      </all-paths>
 
222
    </formula>
 
223
  </property>
 
224
</property-set>