~tapaal-ltl/verifypn/scc-optimise

« back to all changes in this revision

Viewing changes to test_models/workflow-test010/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>workflow-test010.TRUE-1</id>
 
6
    <description>workflow-test010.TRUE-1</description>
 
7
    <formula>
 
8
      <all-paths>
 
9
        <globally>
 
10
          <disjunction>
 
11
            <integer-eq>
 
12
              <tokens-count>
 
13
                <place>Observer_TransfusionStart</place>
 
14
              </tokens-count>
 
15
              <integer-constant>0</integer-constant>
 
16
            </integer-eq>
 
17
            <integer-eq>
 
18
              <tokens-count>
 
19
                <place>Observer_IDchecked</place>
 
20
              </tokens-count>
 
21
              <integer-constant>1</integer-constant>
 
22
            </integer-eq>
 
23
          </disjunction>
 
24
        </globally>
 
25
      </all-paths>
 
26
    </formula>
 
27
  </property>
 
28
  <property>
 
29
    <id>workflow-test010.FALSE-2</id>
 
30
    <description>workflow-test010.FALSE-2</description>
 
31
    <formula>
 
32
      <exists-path>
 
33
        <finally>
 
34
          <integer-ge>
 
35
            <tokens-count>
 
36
              <place>Observer_IDchecked</place>
 
37
            </tokens-count>
 
38
            <integer-constant>2</integer-constant>
 
39
          </integer-ge>
 
40
        </finally>
 
41
      </exists-path>
 
42
    </formula>
 
43
  </property>
 
44
  <property>
 
45
    <id>workflow-test010.TRUE-3</id>
 
46
    <description>workflow-test010.TRUE-3</description>
 
47
    <formula>
 
48
      <exists-path>
 
49
        <finally>
 
50
          <integer-eq>
 
51
            <tokens-count>
 
52
              <place>Observer_TransfusionStart</place>
 
53
            </tokens-count>
 
54
            <integer-constant>1</integer-constant>
 
55
          </integer-eq>
 
56
        </finally>
 
57
      </exists-path>
 
58
    </formula>
 
59
  </property>
 
60
  <property>
 
61
    <id>workflow-test010.TRUE-4</id>
 
62
    <description>workflow-test010.TRUE-4</description>
 
63
    <formula>
 
64
      <all-paths>
 
65
        <globally>
 
66
          <disjunction>
 
67
            <integer-eq>
 
68
              <tokens-count>
 
69
                <place>Observer_TransfusionStart</place>
 
70
              </tokens-count>
 
71
              <integer-constant>1</integer-constant>
 
72
            </integer-eq>
 
73
            <integer-eq>
 
74
              <tokens-count>
 
75
                <place>Observer_TransfusionStart</place>
 
76
              </tokens-count>
 
77
              <integer-constant>0</integer-constant>
 
78
            </integer-eq>
 
79
          </disjunction>
 
80
        </globally>
 
81
      </all-paths>
 
82
    </formula>
 
83
  </property>
 
84
  <property>
 
85
    <id>workflow-test010.TRUE-5</id>
 
86
    <description>workflow-test010.TRUE-5</description>
 
87
    <formula>
 
88
      <exists-path>
 
89
        <finally>
 
90
          <integer-eq>
 
91
            <tokens-count>
 
92
              <place>StartProcedure_end</place>
 
93
            </tokens-count>
 
94
            <integer-constant>1</integer-constant>
 
95
          </integer-eq>
 
96
        </finally>
 
97
      </exists-path>
 
98
    </formula>
 
99
  </property>
 
100
  <property>
 
101
    <id>workflow-test010.TRUE-6</id>
 
102
    <description>workflow-test010.TRUE-6</description>
 
103
    <formula>
 
104
      <exists-path>
 
105
        <finally>
 
106
          <conjunction>
 
107
            <integer-ge>
 
108
              <tokens-count>
 
109
                <place>Observer_PatientReaction</place>
 
110
              </tokens-count>
 
111
              <integer-constant>1</integer-constant>
 
112
            </integer-ge>
 
113
            <disjunction>
 
114
              <integer-eq>
 
115
                <tokens-count>
 
116
                  <place>StartProcedure_end</place>
 
117
                </tokens-count>
 
118
                <integer-constant>1</integer-constant>
 
119
              </integer-eq>
 
120
              <integer-eq>
 
121
                <tokens-count>
 
122
                  <place>StartProcedure_endNoTreatment</place>
 
123
                </tokens-count>
 
124
                <integer-constant>1</integer-constant>
 
125
              </integer-eq>
 
126
            </disjunction>
 
127
          </conjunction>
 
128
        </finally>
 
129
      </exists-path>
 
130
    </formula>
 
131
  </property>
 
132
  <property>
 
133
    <id>workflow-test010.TRUE-7</id>
 
134
    <description>workflow-test010.TRUE-7</description>
 
135
    <formula>
 
136
      <exists-path>
 
137
        <finally>
 
138
          <disjunction>
 
139
            <integer-eq>
 
140
              <tokens-count>
 
141
                <place>StartProcedure_end</place>
 
142
              </tokens-count>
 
143
              <integer-constant>1</integer-constant>
 
144
            </integer-eq>
 
145
            <integer-eq>
 
146
              <tokens-count>
 
147
                <place>StartProcedure_endNoTreatment</place>
 
148
              </tokens-count>
 
149
              <integer-constant>1</integer-constant>
 
150
            </integer-eq>
 
151
          </disjunction>
 
152
        </finally>
 
153
      </exists-path>
 
154
    </formula>
 
155
  </property>
 
156
</property-set>