4 <meta charset=
"utf-8" />
5 <meta name=
"author" content=
"bandali" />
6 <meta name=
"viewport" content=
"width=device-width, initial-scale=1" />
7 <title>master of mathematics
— bandali
</title>
8 <link rel=
"canonical" href=
"https://bndl.org/mmath.html" />
9 <link rel=
"alternate" href=
"bandali-mmath.txt" title=
"plain text" type=
"text/plain" />
17 details { margin:
1em
0; }
18 details summary { cursor: pointer; }
19 #copy { font-size:
0.84em; }
20 #copy p { padding:
0 2em; }
21 blockquote { text-align: justify; }
23 font-family:
"Tex Gyre Termes", serif;
24 text-transform: uppercase;
28 margin-left: -
0.1667em;
29 margin-right: -
0.125em;
30 vertical-align: -
0.5ex;
35 margin-right: -
0.15em;
36 vertical-align:
0.15em;
40 border:
1px solid #e6e6e6;
45 @media (prefers-color-scheme: dark) {
46 body { background: #
1c1c1c; color: white; }
47 a:link { color: #acdeff; }
48 a:visited { color: #f8f; }
49 a:active { color: #e00; }
50 .box { background: #
1b1d1e; border-color: #
373c34; }
55 <h1><a href=
".">bandali
</a>'s master of mathematics
</h1>
57 <p>I graduated from the University of Waterloo with the degree of
58 Master of Mathematics in Computer Science in Spring
2020. My research
59 at the
<a href=
"https://watform.uwaterloo.ca">Waterloo Formal Methods
</a>
60 group focused on formal logic, model checking, and verification; under
62 <a href=
"https://cs.uwaterloo.ca/~nday/">Prof. Nancy Day
</a>.
</p>
64 <h2>A Comprehensive Study of Declarative Modelling Languages
</h2>
66 <!-- <p><em>Jump to:</em>
67 <a href="#thesis">thesis</a> |
68 <a href="#presentation">presentation</a> |
69 <a href="#models">models</a></p> -->
71 <h3 id=
"thesis">Thesis
</h3>
74 <a href=
"https://p.bndl.org/bandali-mmath-thesis.pdf">pdf
</a> |
75 <a href=
"bandali-bib.html#bandali2020">bib
</a><br />
77 <span class=
"tex">L
<sup>a
</sup>T
<sub>e
</sub>X
</span> sources:
78 <a href=
"https://p.bndl.org/bandali-mmath-thesis.tar.gz">tar.gz
</a> |
79 <a href=
"https://p.bndl.org/bandali-mmath-thesis.zip">zip
</a></p>
82 <summary>Abstract
</summary>
84 <p>Declarative behavioural modelling is a powerful modelling paradigm
85 that enables users to model system functionality abstractly and
86 formally. An abstract model is a concise and compact representation
87 of key characteristics of a system, and enables the stakeholders to
88 reason about the correctness of the system in the early stages of
91 <p>There are many different declarative languages and they have
92 greatly varying constructs for representing a transition system, and
93 they sometimes differ in rather subtle ways. In this thesis, we
94 compare seven formal declarative modelling languages B, Event-B,
95 Alloy, Dash, TLA
<sup>+
</sup>, PlusCal, and AsmetaL on several
96 criteria. We classify these criteria under three main categories:
97 structuring transition systems (control modelling), data descriptions
98 in transition systems (data modelling), and modularity aspects of
99 modelling. We developed this comparison by completing a set of case
100 studies across the data- vs. control-oriented spectrum in all of the
103 <p>Structurally, a transition system is comprised of a snapshot
104 declaration and snapshot space, initialization, and a transition
105 relation, which is potentially composed of individual transitions.
106 We meticulously outline the differences between the languages with
107 respect to how the modeller would express each of the above components
108 of a transition system in each language, and include discussions
109 regarding stuttering and inconsistencies in the transition relation.
110 Data-related aspects of a formal model include use of basic and
111 composite datatypes, well-formedness and typechecking, and separation
112 of name spaces with respect to global and local variables. Modularity
113 criteria includes subtransition systems and data decomposition.
114 We employ a series of small and concise exemplars we have devised to
115 highlight these differences in each language. To help modellers
116 answer the important question of which declarative modelling language
117 may be most suited for modelling their system, we present
118 recommendations based on our observations about the differentiating
119 characteristics of each of these languages.
</p>
123 <details class=
"box" open
>
124 <summary>License
</summary>
126 This thesis is free software: you can redistribute it and/or modify
127 it under the terms of the GNU General Public License as published by
128 the Free Software Foundation, either version
3 of the License, or
129 (at your option) any later version.
131 This thesis is distributed in the hope that it will be useful,
132 but WITHOUT ANY WARRANTY; without even the implied warranty of
133 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
134 GNU General Public License for more details.
136 You should have received a copy of the GNU General Public License
137 along with this thesis. If not, see
<<a href=
"https://www.gnu.org/licenses/">https://www.gnu.org/licenses/
</a>>.
141 <p>A copy of the GNU General Public License is available from the
142 COPYING file included in both of
143 the
<span class=
"tex">L
<sup>a
</sup>T
<sub>e
</sub>X
</span> source
144 archives linked above.
</p>
146 <h3 id=
"presentation">Presentation
</h3>
148 <p>Reference version:
149 pdf (coming soon)
<br />
150 <span class=
"tex">L
<sup>a
</sup>T
<sub>e
</sub>X
</span> sources:
151 tar.gz | zip (coming soon)
</p>
153 <p>This is the presentation I delivered to my supervisor and the
154 second readers of my thesis on Jun
30,
2020, as
155 <a href=
"https://cs.uwaterloo.ca/events/masters-thesis-presentation-formal-methods-comprehensive-study-declarative-modelling-languages">announced
</a>
156 on the Cheriton School of Computer Science website.
</p>
158 <h3 id=
"models">Models
</h3>
160 <p>Reference version:
161 tar.gz | zip (coming soon)
</p>
165 <summary>Copyright
© 2020 bandali
</summary>
166 <p>Copying and distribution of this file, with or without
167 modification, are permitted in any medium without royalty provided the
168 copyright notice and this notice are preserved. This file is offered
169 as-is, without any warranty.
</p>