~tapaal-ltl/verifypn/scc-optimise

« back to all changes in this revision

Viewing changes to test_models/discrete-test006/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>discrete-test006.FALSE-1</id>
 
6
    <description>discrete-test006.FALSE-1</description>
 
7
    <formula>
 
8
      <exists-path>
 
9
        <globally>
 
10
          <integer-ge>
 
11
            <tokens-count>
 
12
              <place>P6</place>
 
13
            </tokens-count>
 
14
            <integer-constant>1</integer-constant>
 
15
          </integer-ge>
 
16
        </globally>
 
17
      </exists-path>
 
18
    </formula>
 
19
  </property>
 
20
  <property>
 
21
    <id>discrete-test006.TRUE-2</id>
 
22
    <description>discrete-test006.TRUE-2</description>
 
23
    <formula>
 
24
      <exists-path>
 
25
        <globally>
 
26
          <integer-gt>
 
27
            <tokens-count>
 
28
              <place>P7</place>
 
29
            </tokens-count>
 
30
            <integer-constant>0</integer-constant>
 
31
          </integer-gt>
 
32
        </globally>
 
33
      </exists-path>
 
34
    </formula>
 
35
  </property>
 
36
  <property>
 
37
    <id>discrete-test006.TRUE-3</id>
 
38
    <description>discrete-test006.TRUE-3</description>
 
39
    <formula>
 
40
      <all-paths>
 
41
        <finally>
 
42
          <integer-eq>
 
43
            <tokens-count>
 
44
              <place>P0</place>
 
45
            </tokens-count>
 
46
            <integer-constant>0</integer-constant>
 
47
          </integer-eq>
 
48
        </finally>
 
49
      </all-paths>
 
50
    </formula>
 
51
  </property>
 
52
  <property>
 
53
    <id>discrete-test006.FALSE-4</id>
 
54
    <description>discrete-test006.FALSE-4</description>
 
55
    <formula>
 
56
      <all-paths>
 
57
        <finally>
 
58
          <conjunction>
 
59
            <integer-eq>
 
60
              <tokens-count>
 
61
                <place>P0</place>
 
62
              </tokens-count>
 
63
              <integer-constant>1</integer-constant>
 
64
            </integer-eq>
 
65
            <integer-eq>
 
66
              <tokens-count>
 
67
                <place>P1</place>
 
68
              </tokens-count>
 
69
              <integer-constant>0</integer-constant>
 
70
            </integer-eq>
 
71
          </conjunction>
 
72
        </finally>
 
73
      </all-paths>
 
74
    </formula>
 
75
  </property>
 
76
  <property>
 
77
    <id>discrete-test006.FALSE-5</id>
 
78
    <description>discrete-test006.FALSE-5</description>
 
79
    <formula>
 
80
      <exists-path>
 
81
        <globally>
 
82
          <integer-eq>
 
83
            <tokens-count>
 
84
              <place>P7</place>
 
85
            </tokens-count>
 
86
            <integer-constant>1</integer-constant>
 
87
          </integer-eq>
 
88
        </globally>
 
89
      </exists-path>
 
90
    </formula>
 
91
  </property>
 
92
  <property>
 
93
    <id>discrete-test006.TRUE-6</id>
 
94
    <description>discrete-test006.TRUE-6</description>
 
95
    <formula>
 
96
      <exists-path>
 
97
        <finally>
 
98
          <conjunction>
 
99
            <integer-eq>
 
100
              <tokens-count>
 
101
                <place>P3</place>
 
102
              </tokens-count>
 
103
              <integer-constant>1</integer-constant>
 
104
            </integer-eq>
 
105
            <integer-eq>
 
106
              <tokens-count>
 
107
                <place>P6</place>
 
108
              </tokens-count>
 
109
              <integer-constant>1</integer-constant>
 
110
            </integer-eq>
 
111
          </conjunction>
 
112
        </finally>
 
113
      </exists-path>
 
114
    </formula>
 
115
  </property>
 
116
  <property>
 
117
    <id>discrete-test006.TRUE-7</id>
 
118
    <description>discrete-test006.TRUE-7</description>
 
119
    <formula>
 
120
      <all-paths>
 
121
        <globally>
 
122
          <disjunction>
 
123
            <integer-ge>
 
124
              <tokens-count>
 
125
                <place>P0</place>
 
126
              </tokens-count>
 
127
              <integer-constant>1</integer-constant>
 
128
            </integer-ge>
 
129
            <integer-ge>
 
130
              <tokens-count>
 
131
                <place>P1</place>
 
132
              </tokens-count>
 
133
              <integer-constant>1</integer-constant>
 
134
            </integer-ge>
 
135
            <integer-ge>
 
136
              <tokens-count>
 
137
                <place>P2</place>
 
138
              </tokens-count>
 
139
              <integer-constant>1</integer-constant>
 
140
            </integer-ge>
 
141
            <integer-eq>
 
142
              <tokens-count>
 
143
                <place>P3</place>
 
144
              </tokens-count>
 
145
              <integer-constant>1</integer-constant>
 
146
            </integer-eq>
 
147
            <integer-eq>
 
148
              <tokens-count>
 
149
                <place>P3</place>
 
150
              </tokens-count>
 
151
              <integer-constant>2</integer-constant>
 
152
            </integer-eq>
 
153
          </disjunction>
 
154
        </globally>
 
155
      </all-paths>
 
156
    </formula>
 
157
  </property>
 
158
  <property>
 
159
    <id>discrete-test006.FALSE-8</id>
 
160
    <description>discrete-test006.FALSE-8</description>
 
161
    <formula>
 
162
      <all-paths>
 
163
        <globally>
 
164
          <disjunction>
 
165
            <integer-ge>
 
166
              <tokens-count>
 
167
                <place>P0</place>
 
168
              </tokens-count>
 
169
              <integer-constant>1</integer-constant>
 
170
            </integer-ge>
 
171
            <integer-ge>
 
172
              <tokens-count>
 
173
                <place>P1</place>
 
174
              </tokens-count>
 
175
              <integer-constant>1</integer-constant>
 
176
            </integer-ge>
 
177
            <integer-ge>
 
178
              <tokens-count>
 
179
                <place>P2</place>
 
180
              </tokens-count>
 
181
              <integer-constant>1</integer-constant>
 
182
            </integer-ge>
 
183
            <integer-eq>
 
184
              <tokens-count>
 
185
                <place>P3</place>
 
186
              </tokens-count>
 
187
              <integer-constant>1</integer-constant>
 
188
            </integer-eq>
 
189
            <integer-eq>
 
190
              <tokens-count>
 
191
                <place>P3</place>
 
192
              </tokens-count>
 
193
              <integer-constant>0</integer-constant>
 
194
            </integer-eq>
 
195
          </disjunction>
 
196
        </globally>
 
197
      </all-paths>
 
198
    </formula>
 
199
  </property>
 
200
</property-set>