Formal Specification and Verification
Formal specification (2) 6.12.2016 Viorica Sofronie-Stokkermans e-mail: sofronie@uni-koblenz.de
1
Formal Specification and Verification Formal specification (2) - - PowerPoint PPT Presentation
Formal Specification and Verification Formal specification (2) 6.12.2016 Viorica Sofronie-Stokkermans e-mail: sofronie@uni-koblenz.de 1 Until now Logic Formal specification (generalities) Algebraic specification Transition systems 2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#2: Transition systems Model Checking start select start start select select start start start select select select start start select select start select coin coin coin bget sget coin coin coin bget sget coin coin sget bget sprite beer bget sget bget sget coin ret coin refill refill refill c JPK 23
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
Normal Heat
T(t) < Tm T(t) > TM
f : R −> R evolution of external temperature h : R −> R evolution of heater temperature dT/dt(t) = −k(T(t)−f(t)) T(t) > Tm dT/dt(t) = −k[T(t) − (h(t)+f(t))] T(t) < TM
53
54
55
Inv flow Inv flow React Fill Filter Dump
4 1 1 2 2 4 3 3
Inv Inv flow flow
56
Inv flow Inv flow React Fill Filter Dump
4 1 1 2 2 4 3 3
Inv Inv flow flow
57
Inv flow Inv flow Inv flow React Fill Filter Dump
4 1 1 2 2 4 3 3
Inv flow
i=1 xi ≥ 0 ∧
.
.
.
.
.
58
Inv flow Inv flow Inv flow React Fill Filter Dump
4 1 1 2 2 4 3 3
Inv flow
i=1 xi ≥ 0 ∧
.
.
.
.
.
.
.
59
Inv flow Inv flow React Fill Filter Dump
4 1 1 2 2 4 3 3
Inv flow Inv flow
i=1 xi ≥ 0 ∧
.
.
.
60
Inv flow Inv flow React Fill Filter Dump
4 1 1 2 2 4 3 3
Inv Inv flow flow
i=1 xi = 0 and flow4 : 3 i=1 .
61
62