~tapaal-ltl/verifypn/scc-optimise

« back to all changes in this revision

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