468
+ − 1
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ − 2
% Masters/Doctoral Thesis
+ − 3
% LaTeX Template
+ − 4
% Version 2.5 (27/8/17)
+ − 5
%
+ − 6
% This template was downloaded from:
+ − 7
% http://www.LaTeXTemplates.com
+ − 8
%
+ − 9
% Version 2.x major modifications by:
+ − 10
% Vel (vel@latextemplates.com)
+ − 11
%
+ − 12
% This template is based on a template by:
+ − 13
% Steve Gunn (http://users.ecs.soton.ac.uk/srg/softwaretools/document/templates/)
+ − 14
% Sunil Patel (http://www.sunilpatel.co.uk/thesis-template/)
+ − 15
%
+ − 16
% Template license:
+ − 17
% CC BY-NC-SA 3.0 (http://creativecommons.org/licenses/by-nc-sa/3.0/)
+ − 18
%
+ − 19
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ − 20
+ − 21
%----------------------------------------------------------------------------------------
+ − 22
% PACKAGES AND OTHER DOCUMENT CONFIGURATIONS
+ − 23
%----------------------------------------------------------------------------------------
+ − 24
+ − 25
\documentclass[
+ − 26
11pt, % The default document font size, options: 10pt, 11pt, 12pt
+ − 27
%oneside, % Two side (alternating margins) for binding by default, uncomment to switch to one side
+ − 28
english, % ngerman for German
+ − 29
singlespacing, % Single line spacing, alternatives: onehalfspacing or doublespacing
+ − 30
%draft, % Uncomment to enable draft mode (no pictures, no links, overfull hboxes indicated)
+ − 31
%nolistspacing, % If the document is onehalfspacing or doublespacing, uncomment this to set spacing in lists to single
+ − 32
%liststotoc, % Uncomment to add the list of figures/tables/etc to the table of contents
+ − 33
%toctotoc, % Uncomment to add the main table of contents to the table of contents
+ − 34
%parskip, % Uncomment to add space between paragraphs
+ − 35
%nohyperref, % Uncomment to not load the hyperref package
+ − 36
headsepline, % Uncomment to get a line under the header
+ − 37
%chapterinoneline, % Uncomment to place the chapter title next to the number on one line
471
+ − 38
consistentlayout, % Uncomment to change the layout of the declaration, abstract and acknowledgements pages to match the default layout
468
+ − 39
]{MastersDoctoralThesis} % The class file specifying the document structure
+ − 40
+ − 41
\usepackage[utf8]{inputenc} % Required for inputting international characters
+ − 42
\usepackage[T1]{fontenc} % Output font encoding for international characters
505
+ − 43
%\usepackage{fdsymbol} % Loads unicode-math
468
+ − 44
585
+ − 45
\usepackage{cancel}
+ − 46
590
+ − 47
\usepackage{listings}
+ − 48
\usepackage{xcolor}
+ − 49
\usepackage{beramono}
+ − 50
555
+ − 51
\usepackage{verbatim}
580
+ − 52
\usepackage{float}
468
+ − 53
\usepackage{mathpazo} % Use the Palatino font by default
+ − 54
\usepackage{hyperref}
542
+ − 55
\usepackage{lipsum}
564
+ − 56
\usepackage[backend=bibtex]{biblatex} % Use the bibtex backend with the authoryear citation style (which resembles APA)
577
+ − 57
+ − 58
\usepackage[usestackEOL]{stackengine}
+ − 59
\usepackage{scalerel}
+ − 60
\usepackage{graphicx}
+ − 61
564
+ − 62
%style=authoryear, natbib=true
500
+ − 63
\usepackage{stmaryrd}
537
+ − 64
\usepackage{caption}
601
+ − 65
\usepackage{afterpage}
468
+ − 66
+ − 67
\addbibresource{example.bib} % The filename of the bibliography
+ − 68
+ − 69
\usepackage[autostyle=true]{csquotes} % Required to generate language-dependent quotes in the bibliography
+ − 70
+ − 71
%My Newly added Libraries in addition to template
+ − 72
\usepackage{graphic}
+ − 73
\usepackage{data}
+ − 74
+ − 75
%\usepackage{algorithm}
+ − 76
\usepackage{amsmath}
577
+ − 77
\makeatletter
+ − 78
\newcommand{\xleftrightarrow}[2][]{\ext@arrow 3359\leftrightarrowfill@{#1}{#2}}
+ − 79
\newcommand{\xdashrightarrow}[2][]{\ext@arrow 0359\rightarrowfill@@{#1}{#2}}
+ − 80
\newcommand{\xdashleftarrow}[2][]{\ext@arrow 3095\leftarrowfill@@{#1}{#2}}
+ − 81
\newcommand{\xdashleftrightarrow}[2][]{\ext@arrow 3359\leftrightarrowfill@@{#1}{#2}}
+ − 82
\def\rightarrowfill@@{\arrowfill@@\relax\relbar\rightarrow}
+ − 83
\def\leftarrowfill@@{\arrowfill@@\leftarrow\relbar\relax}
+ − 84
\def\leftrightarrowfill@@{\arrowfill@@\leftarrow\relbar\rightarrow}
+ − 85
\def\arrowfill@@#1#2#3#4{%
+ − 86
$\m@th\thickmuskip0mu\medmuskip\thickmuskip\thinmuskip\thickmuskip
+ − 87
\relax#4#1
+ − 88
\xleaders\hbox{$#4#2$}\hfill
+ − 89
#3$%
+ − 90
}
+ − 91
\makeatother
579
+ − 92
\def\checkmark{\tikz\fill[scale=0.4](0,.35) -- (.25,0) -- (1,.7) -- (.25,.15) -- cycle;}
577
+ − 93
506
+ − 94
\usepackage{amsthm}
+ − 95
\usepackage{amssymb}
519
+ − 96
\usepackage{cleveref}
505
+ − 97
%\usepackage{mathtools}
468
+ − 98
\usepackage[noend]{algpseudocode}
+ − 99
\usepackage{enumitem}
+ − 100
\usepackage{nccmath}
+ − 101
\usepackage{tikz-cd}
+ − 102
\usepackage{tikz}
472
+ − 103
\usetikzlibrary{automata, positioning, calc}
579
+ − 104
\usetikzlibrary{arrows}
580
+ − 105
\usetikzlibrary{shapes.misc}
542
+ − 106
\usetikzlibrary{fit,
564
+ − 107
shapes.geometric,
+ − 108
patterns,
+ − 109
backgrounds,
+ − 110
graphs}
+ − 111
\usetikzlibrary{babel}
538
+ − 112
\usepackage{mathpartir}
555
+ − 113
\usepackage{stackrel}
537
+ − 114
+ − 115
\DeclareCaptionType{mytype}[Illustration][]
+ − 116
\newenvironment{envForCaption}{\captionsetup{type=mytype} }{}
577
+ − 117
590
+ − 118
\pgfplotsset{
+ − 119
myplotstyle/.style={
+ − 120
legend style={draw=none, font=\small},
+ − 121
legend cell align=left,
+ − 122
legend pos=north east,
+ − 123
ylabel style={align=center, font=\bfseries\boldmath},
+ − 124
xlabel style={align=center, font=\bfseries\boldmath},
+ − 125
x tick label style={font=\bfseries\boldmath},
+ − 126
y tick label style={font=\bfseries\boldmath},
+ − 127
scaled ticks=true,
+ − 128
every axis plot/.append style={thick},
+ − 129
},
+ − 130
}
+ − 131
+ − 132
\definecolor{dkgreen}{rgb}{0,0.6,0}
+ − 133
\definecolor{gray}{rgb}{0.5,0.5,0.5}
+ − 134
\definecolor{mauve}{rgb}{0.58,0,0.82}
+ − 135
\lstdefinestyle{myScalastyle}{
+ − 136
frame=tb,
+ − 137
language=scala,
+ − 138
aboveskip=3mm,
+ − 139
belowskip=3mm,
+ − 140
showstringspaces=false,
+ − 141
columns=flexible,
+ − 142
basicstyle={\small\ttfamily},
+ − 143
numbers=none,
+ − 144
numberstyle=\tiny\color{gray},
+ − 145
keywordstyle=\color{blue},
+ − 146
commentstyle=\color{dkgreen},
+ − 147
stringstyle=\color{mauve},
+ − 148
frame=single,
+ − 149
breaklines=true,
+ − 150
breakatwhitespace=true,
+ − 151
tabsize=3,
+ − 152
}
+ − 153
+ − 154
468
+ − 155
%----------------------------------------------------------------------------------------
+ − 156
% MARGIN SETTINGS
+ − 157
%----------------------------------------------------------------------------------------
+ − 158
+ − 159
\geometry{
+ − 160
paper=a4paper, % Change to letterpaper for US letter
+ − 161
inner=2.5cm, % Inner margin
+ − 162
outer=3.8cm, % Outer margin
+ − 163
bindingoffset=.5cm, % Binding offset
+ − 164
top=1.5cm, % Top margin
+ − 165
bottom=1.5cm, % Bottom margin
+ − 166
%showframe, % Uncomment to show how the type block is set on the page
+ − 167
}
+ − 168
+ − 169
%----------------------------------------------------------------------------------------
+ − 170
% THESIS INFORMATION
+ − 171
%----------------------------------------------------------------------------------------
+ − 172
+ − 173
\thesistitle{POSIX Regular Expression Matching and Lexing} % Your thesis title, this is used in the title and abstract, print it elsewhere with \ttitle
+ − 174
\supervisor{Dr. Christian \textsc{Urban}} % Your supervisor's name, this is used in the title page, print it elsewhere with \supname
+ − 175
\examiner{} % Your examiner's name, this is not currently used anywhere in the template, print it elsewhere with \examname
+ − 176
\degree{Doctor of Philosophy} % Your degree name, this is used in the title page and abstract, print it elsewhere with \degreename
+ − 177
\author{Chengsong \textsc{Tan}} % Your name, this is used in the title page and abstract, print it elsewhere with \authorname
+ − 178
\addresses{} % Your address, this is not currently used anywhere in the template, print it elsewhere with \addressname
+ − 179
+ − 180
\subject{Computer Science} % Your subject area, this is not currently used anywhere in the template, print it elsewhere with \subjectname
+ − 181
\keywords{} % Keywords for your thesis, this is not currently used anywhere in the template, print it elsewhere with \keywordnames
+ − 182
\university{\href{https://www.kcl.ac.uk}{King's College London}} % Your university's name and URL, this is used in the title page and abstract, print it elsewhere with \univname
+ − 183
\department{\href{https://www.kcl.ac.uk/informatics}{Department or Informatics}} % Your department's name and URL, this is used in the title page and abstract, print it elsewhere with \deptname
471
+ − 184
\group{\href{https://www.kcl.ac.uk/research/ssy}{Software Systems Group}} % Your research group's name and URL, this is used in the title page, print it elsewhere with \groupname
468
+ − 185
\faculty{\href{http://faculty.university.com}{Chengsong Tan}} % Your faculty's name and URL, this is used in the title page and abstract, print it elsewhere with \facname
+ − 186
+ − 187
\AtBeginDocument{
+ − 188
\hypersetup{pdftitle=\ttitle} % Set the PDF's title to your title
+ − 189
\hypersetup{pdfauthor=\authorname} % Set the PDF's author to your name
+ − 190
\hypersetup{pdfkeywords=\keywordnames} % Set the PDF's keywords to your keywords
+ − 191
}
+ − 192
+ − 193
\begin{document}
+ − 194
+ − 195
\frontmatter % Use roman page numbering style (i, ii, iii, iv...) for the pre-content pages
+ − 196
+ − 197
\pagestyle{plain} % Default to the plain heading style until the thesis style is called for the body content
+ − 198
+ − 199
%----------------------------------------------------------------------------------------
+ − 200
% TITLE PAGE
+ − 201
%----------------------------------------------------------------------------------------
+ − 202
+ − 203
\begin{titlepage}
+ − 204
\begin{center}
+ − 205
+ − 206
\vspace*{.06\textheight}
+ − 207
{\scshape\LARGE \univname\par}\vspace{1.5cm} % University name
+ − 208
\textsc{\Large Doctoral Thesis}\\[0.5cm] % Thesis type
+ − 209
+ − 210
\HRule \\[0.4cm] % Horizontal line
+ − 211
{\huge \bfseries \ttitle\par}\vspace{0.4cm} % Thesis title
+ − 212
\HRule \\[1.5cm] % Horizontal line
+ − 213
+ − 214
\begin{minipage}[t]{0.4\textwidth}
+ − 215
\begin{flushleft} \large
+ − 216
\emph{Author:}\\
+ − 217
\href{https://kclpure.kcl.ac.uk/portal/en/persons/chengsong-tan(a63b381b-04bc-4cd7-beea-beb3e96cb153).html}{\authorname} % Author name - remove the \href bracket to remove the link
+ − 218
\end{flushleft}
+ − 219
\end{minipage}
+ − 220
+ − 221
+ − 222
\begin{minipage}[t]{0.4\textwidth}
+ − 223
\begin{flushright} \large
+ − 224
\emph{Supervisor:} \\
+ − 225
\href{https://www.kcl.ac.uk/people/christian-urban}{\supname} % Supervisor name - remove the \href bracket to remove the link
+ − 226
\end{flushright}
+ − 227
\end{minipage}\\[3cm]
+ − 228
+ − 229
\vfill
+ − 230
+ − 231
\large \textit{A thesis submitted in fulfillment of the requirements\\ for the degree of \degreename}\\[0.3cm] % University requirement text
+ − 232
\textit{in the}\\[0.4cm]
+ − 233
\groupname\\\deptname\\[2cm] % Research group name and department name
+ − 234
+ − 235
\vfill
+ − 236
+ − 237
{\large \today}\\[4cm] % Date
+ − 238
%\includegraphics{Logo} % University/department logo - uncomment to place it
+ − 239
+ − 240
\vfill
+ − 241
\end{center}
+ − 242
\end{titlepage}
+ − 243
+ − 244
%----------------------------------------------------------------------------------------
+ − 245
% DECLARATION PAGE
+ − 246
%----------------------------------------------------------------------------------------
+ − 247
+ − 248
\begin{declaration}
+ − 249
\addchaptertocentry{\authorshipname} % Add the declaration to the table of contents
+ − 250
\noindent I, \authorname, declare that this thesis titled, \enquote{\ttitle} and the work presented in it are my own. I confirm that:
+ − 251
+ − 252
\begin{itemize}
629
+ − 253
\item This work was done wholly while in candidature for a research degree at this University.
468
+ − 254
\item Where any part of this thesis has previously been submitted for a degree or any other qualification at this University or any other institution, this has been clearly stated.
+ − 255
\item Where I have consulted the published work of others, this is always clearly attributed.
+ − 256
\item Where I have quoted from the work of others, the source is always given. With the exception of such quotations, this thesis is entirely my own work.
+ − 257
\item I have acknowledged all main sources of help.
+ − 258
\item Where the thesis is based on work done by myself jointly with others, I have made clear exactly what was done by others and what I have contributed myself.\\
+ − 259
\end{itemize}
+ − 260
+ − 261
\noindent Signed:\\
+ − 262
\rule[0.5em]{25em}{0.5pt} % This prints a line for the signature
+ − 263
+ − 264
\noindent Date:\\
+ − 265
\rule[0.5em]{25em}{0.5pt} % This prints a line to write the date
+ − 266
\end{declaration}
+ − 267
+ − 268
\cleardoublepage
+ − 269
+ − 270
%----------------------------------------------------------------------------------------
+ − 271
% QUOTATION PAGE
+ − 272
%----------------------------------------------------------------------------------------
+ − 273
601
+ − 274
%\vspace*{0.2\textheight}
+ − 275
%
+ − 276
%\noindent\enquote{\itshape Thanks to my solid academic training, today I can write hundreds of words on virtually any topic without possessing a shred of information, which is how I got a good job in journalism.}\bigbreak
+ − 277
%
+ − 278
%\hfill Dave Barry
468
+ − 279
+ − 280
%----------------------------------------------------------------------------------------
+ − 281
% ABSTRACT PAGE
+ − 282
%----------------------------------------------------------------------------------------
+ − 283
519
+ − 284
%\begin{abstract}
+ − 285
+ − 286
+ − 287
%\end{abstract}
+ − 288
+ − 289
527
+ − 290
\begin{abstract}
468
+ − 291
\addchaptertocentry{\abstractname} % Add the abstract to the table of contents
527
+ − 292
%\addchap{Abstract}
568
+ − 293
This thesis is about regular expressions and derivatives. It combines functional algorithms and their formal verification in the Isabelle/HOL theorem prover.
629
+ − 294
Classic results say that regular expression matching should be
+ − 295
linear with respect to the input. The size of the regular expressions
+ − 296
are often treated as a constant factor.
600
+ − 297
However with some regular expressions and inputs, existing implementations
+ − 298
often suffer from non-linear or even exponential running time,
638
+ − 299
giving rise to ReDoS (regular expression denial-of-service ) attacks.
+ − 300
To avoid these attacks, regular expression matchers and lexers with
+ − 301
formalised correctness and running time related
629
+ − 302
properties are of interest because the guarantees apply to all inputs, not just a finite
612
+ − 303
number of empirical test cases.
568
+ − 304
638
+ − 305
Sulzmann and Lu describe a lexing algorithm that calculates Brzozowski derivatives using bitcodes annotated to regular expressions. Their algorithm generates POSIX values which encode the information of how a regular expression matches a string—that is, which part of the string is matched by which part of the regular expression. This information is needed in the context of lexing in order to extract and to classify tokens. The purpose of the bitcodes is to generate POSIX values incrementally while derivatives are calculated. They also help with designing an “aggressive†simplification function that keeps the size of derivatives finitely bounded.
+ − 306
Our simplification function is more aggressive than the one by Sulzmann and Lu.
+ − 307
We also fix a problem in Sulzmann and Lu's simplification to do with their use of
+ − 308
the $\textit{nub}$ function which does not remove non-trivial duplicates.
+ − 309
Without simplification the size of some derivatives can grow arbitrarily big resulting in an extremely slow lexing algorithm.
629
+ − 310
In this thesis we describe a variant of Sulzmann and Lu’s algorithm: Our variant is a recursive functional program, whereas Sulzmann and Lu’s version involves a fixpoint construction. We (i) prove in Isabelle/HOL that our algorithm is correct and generates unique POSIX values; we also (ii) establish a finite bound for the size of the derivatives for every input string; we also
+ − 311
(iii) give a program and a conjecture that the finite
+ − 312
bound can be improved to be cubic if stronger simplification rules are applied.
568
+ − 313
468
+ − 314
568
+ − 315
+ − 316
468
+ − 317
527
+ − 318
\end{abstract}
519
+ − 319
468
+ − 320
+ − 321
%----------------------------------------------------------------------------------------
+ − 322
% ACKNOWLEDGEMENTS
+ − 323
%----------------------------------------------------------------------------------------
+ − 324
+ − 325
\begin{acknowledgements}
+ − 326
\addchaptertocentry{\acknowledgementname} % Add the acknowledgements to the table of contents
628
+ − 327
I would like to express my deepest thanks to my supervisor Doctor Christian Urban,
+ − 328
who have been always extremely supportive thoughout my PhD, in all sorts of ways.
+ − 329
Supervisionwise, Christian always
+ − 330
thinks in terms of the best interests for the student, to which I am eternally grateful for.
+ − 331
I would also like to thank Doctor Ning Zhang, who have always been very gentle and caring to me,
+ − 332
quick to lend a
+ − 333
helping hand at difficult times.
+ − 334
I want to thank Doctor Kathrin Stark, my SIGPLAN mentor, for offering brilliant advice
+ − 335
at the late stage of my PhD. My transition from a PhD student to a postdoc researcher
+ − 336
could not have been so smooth without Kathrin's mentoring.
638
+ − 337
%I want to thank Jeanna Wheeler, my UMO mentor, for helping me regulate my mental health
+ − 338
%and productivity, by being always encouraging
+ − 339
%and compassionate in her sessions.
+ − 340
I want to thank Jeanna Wheeler for helping me with keeping sane during my time during the PhD and COVID times when an encouraging and compassionate person was very appreciated.
628
+ − 341
+ − 342
I want to thank my father Haiyan Tan and my mother Yunan Cheng,
+ − 343
for their unconditional love, and who I have not seen
+ − 344
face to face for three years.
+ − 345
I really miss you.
+ − 346
I want to thank my friends Yuying Chen, Kai Zeng, Rui Luo, Jingyi Liu, Qingtian Ye, and many others,
+ − 347
who have always been very patient and compassionate, giving clever advice when I turned to
+ − 348
them for help.
468
+ − 349
\end{acknowledgements}
+ − 350
+ − 351
%----------------------------------------------------------------------------------------
+ − 352
% LIST OF CONTENTS/FIGURES/TABLES PAGES
+ − 353
%----------------------------------------------------------------------------------------
+ − 354
+ − 355
\tableofcontents % Prints the main table of contents
+ − 356
518
+ − 357
%\listoffigures % Prints the list of figures
468
+ − 358
518
+ − 359
%\listoftables % Prints the list of tables
468
+ − 360
+ − 361
%----------------------------------------------------------------------------------------
+ − 362
% ABBREVIATIONS
+ − 363
%----------------------------------------------------------------------------------------
+ − 364
+ − 365
500
+ − 366
+ − 367
\newtheorem{theorem}{Theorem}
+ − 368
\newtheorem{lemma}{Lemma}
528
+ − 369
\newtheorem{definition}{Definition}
542
+ − 370
\newtheorem{conjecture}{Conjecture}
554
+ − 371
\newtheorem{corollary}{Corollary}
+ − 372
\newtheorem{property}{Property}
+ − 373
\newtheorem{proposition}{Proposition}
505
+ − 374
%proof
+ − 375
500
+ − 376
601
+ − 377
%\newcommand\sflat[1][]{\textit{sflat} \, #1}
+ − 378
%\newcommand{\ASEQ}[3]{\textit{ASEQ}_{#1} \, #2 \, #3}
+ − 379
%\newcommand{\bderssimp}[2]{#1 \backslash_{bsimp} #2}
+ − 380
%\newcommand{\rderssimp}[2]{#1 \backslash_{rsimp} #2}
+ − 381
%\newcommand{\sflataux}[1]{\lbracket #1 \rbracket}
+ − 382
%\newcommand{\dn}{\stackrel{\mbox{\scriptsize def}}{=}}%
+ − 383
%\newcommand{\ZERO}{\mbox{\bf 0}}
+ − 384
%\newcommand{\ONE}{\mbox{\bf 1}}
+ − 385
%\newcommand{\AALTS}[2]{\XOR {\scriptstyle #1}\, #2}
+ − 386
%
+ − 387
%\def\lexer{\mathit{lexer}}
+ − 388
%\def\mkeps{\mathit{mkeps}}
+ − 389
%
+ − 390
%\def\AZERO{\textit{AZERO}}
+ − 391
%\def\AONE{\textit{AONE}}
+ − 392
%\def\ACHAR{\textit{ACHAR}}
+ − 393
%
+ − 394
%
+ − 395
%\def\ALTS{\textit{ALTS}}
+ − 396
%\def\ASTAR{\textit{ASTAR}}
+ − 397
%\def\DFA{\textit{DFA}}
+ − 398
%\def\bmkeps{\textit{bmkeps}}
+ − 399
%\def\retrieve{\textit{retrieve}}
+ − 400
%\def\blexer{\textit{blexer}}
+ − 401
%\def\flex{\textit{flex}}
+ − 402
%\def\inj{\mathit{inj}}
+ − 403
%\def\Empty{\mathit{Empty}}
+ − 404
%\def\Left{\mathit{Left}}
+ − 405
%\def\Right{\mathit{Right}}
+ − 406
%\def\Stars{\mathit{Stars}}
+ − 407
%\def\Char{\mathit{Char}}
+ − 408
%\def\Seq{\mathit{Seq}}
+ − 409
%\def\Der{\mathit{Der}}
+ − 410
%\def\nullable{\mathit{nullable}}
+ − 411
%\def\Z{\mathit{Z}}
+ − 412
%\def\S{\mathit{S}}
+ − 413
%\def\rup{r^\uparrow}
+ − 414
%%\def\bderssimp{\mathit{bders}\_\mathit{simp}}
+ − 415
%\def\distinctWith{\textit{distinctWith}}
+ − 416
%
+ − 417
%\def\rexp{\mathbf{rexp}}
+ − 418
%\def\simp{\mathit{simp}}
+ − 419
%\def\simpALTs{\mathit{simp}\_\mathit{ALTs}}
+ − 420
%\def\map{\mathit{map}}
+ − 421
%\def\distinct{\mathit{distinct}}
+ − 422
%\def\blexersimp{\mathit{blexer}\_\mathit{simp}}
+ − 423
%\def\map{\textit{map}}
+ − 424
%\def\vsuf{\textit{vsuf}}
+ − 425
%\def\sflataux{\textit{sflat}\_\textit{aux}}
+ − 426
%\def\rrexp{\textit{rrexp}}
+ − 427
%\def\rsize{\textit{rsize}}
+ − 428
%\def\asize{\textit{asize}}
+ − 429
%\def\rerase{\textit{rerase}}
+ − 430
%\def\erase{\textit{erase}}
+ − 431
%\def\STAR{\textit{STAR}}
+ − 432
%\def\flts{\textit{flts}}
+ − 433
%
503
+ − 434
+ − 435
468
+ − 436
+ − 437
+ − 438
+ − 439
%----------------------------------------------------------------------------------------
+ − 440
% SYMBOLS
+ − 441
%----------------------------------------------------------------------------------------
+ − 442
528
+ − 443
%\begin{symbols}{lll} % Include a list of Symbols (a three column table)
468
+ − 444
528
+ − 445
%$a$ & distance & \si{\meter} \\
+ − 446
%$P$ & power & \si{\watt} (\si{\joule\per\second}) \\
468
+ − 447
%Symbol & Name & Unit \\
+ − 448
528
+ − 449
%\addlinespace % Gap to separate the Roman symbols from the Greek
468
+ − 450
528
+ − 451
%$\omega$ & angular frequency & \si{\radian} \\
468
+ − 452
528
+ − 453
%\end{symbols}
468
+ − 454
+ − 455
%----------------------------------------------------------------------------------------
+ − 456
% DEDICATION
+ − 457
%----------------------------------------------------------------------------------------
+ − 458
+ − 459
\dedicatory{For/Dedicated to/To my\ldots}
+ − 460
+ − 461
%----------------------------------------------------------------------------------------
+ − 462
% THESIS CONTENT - CHAPTERS
+ − 463
%----------------------------------------------------------------------------------------
+ − 464
+ − 465
\mainmatter % Begin numeric (1,2,3...) page numbering
+ − 466
+ − 467
\pagestyle{thesis} % Return the page headers back to the "thesis" style
+ − 468
+ − 469
% Include the chapters of the thesis as separate files from the Chapters folder
+ − 470
% Uncomment the lines as you write the chapters
+ − 471
532
+ − 472
\include{Chapters/Introduction}
+ − 473
\include{Chapters/Inj}
+ − 474
\include{Chapters/Bitcoded1}
+ − 475
\include{Chapters/Bitcoded2}
+ − 476
\include{Chapters/Finite}
+ − 477
\include{Chapters/Cubic}
608
+ − 478
\include{Chapters/RelatedWork}
626
+ − 479
\include{Chapters/Future}
468
+ − 480
+ − 481
%----------------------------------------------------------------------------------------
+ − 482
% THESIS CONTENT - APPENDICES
+ − 483
%----------------------------------------------------------------------------------------
+ − 484
628
+ − 485
%\appendix % Cue to tell LaTeX that the following "chapters" are Appendices
468
+ − 486
+ − 487
% Include the appendices of the thesis as separate files from the Appendices folder
+ − 488
% Uncomment the lines as you write the Appendices
+ − 489
628
+ − 490
%\include{Appendices/AppendixA}
468
+ − 491
%\include{Appendices/AppendixB}
+ − 492
%\include{Appendices/AppendixC}
+ − 493
+ − 494
%----------------------------------------------------------------------------------------
+ − 495
% BIBLIOGRAPHY
+ − 496
%----------------------------------------------------------------------------------------
+ − 497
+ − 498
\printbibliography[heading=bibintoc]
+ − 499
+ − 500
%----------------------------------------------------------------------------------------
+ − 501
+ − 502
\end{document}