prio/Paper/document/root.tex
author urbanc
Fri, 27 Jan 2012 23:19:10 +0000
changeset 265 993068ce745f
parent 263 f1e6071a4613
child 267 83fb18cadd2b
permissions -rwxr-xr-x
changed abstract, intro and IsaMakefile
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
262
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
     1
\documentclass[runningheads]{llncs}
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
     2
\usepackage{isabelle}
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
     3
\usepackage{isabellesym}
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
     4
\usepackage{amsmath}
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
     5
\usepackage{amssymb}
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
     6
\usepackage{tikz}
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
     7
\usepackage{pgf}
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
     8
%\usetikzlibrary{arrows,automata,decorations,fit,calc}
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
     9
%\usetikzlibrary{shapes,shapes.arrows,snakes,positioning}
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    10
%\usepgflibrary{shapes.misc} % LATEX and plain TEX and pure pgf
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    11
%\usetikzlibrary{matrix}
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    12
\usepackage{pdfsetup}
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    13
\usepackage{ot1patch}
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    14
\usepackage{times}
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    15
%%\usepackage{proof}
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    16
%%\usepackage{mathabx}
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    17
\usepackage{stmaryrd}
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    18
\usepackage{url}
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    19
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    20
\titlerunning{Myhill-Nerode using Regular Expressions}
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    21
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    22
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    23
\urlstyle{rm}
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    24
\isabellestyle{it}
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    25
\renewcommand{\isastyleminor}{\it}%
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    26
\renewcommand{\isastyle}{\normalsize\it}%
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    27
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    28
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    29
\def\dn{\,\stackrel{\mbox{\scriptsize def}}{=}\,}
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    30
\renewcommand{\isasymequiv}{$\dn$}
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    31
\renewcommand{\isasymemptyset}{$\varnothing$}
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    32
\renewcommand{\isacharunderscore}{\mbox{$\_\!\_$}}
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    33
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    34
\newcommand{\isasymcalL}{\ensuremath{\cal{L}}}
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    35
\newcommand{\isasymbigplus}{\ensuremath{\bigplus}}
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    36
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    37
\newcommand{\bigplus}{\mbox{\Large\bf$+$}}
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    38
\begin{document}
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    39
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    40
\title{A Formalisation of Priority Inheritance Protocol \\ 
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    41
       for Correct and Efficient Implementation}
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    42
\author{Xingyuan Zhang\inst{1} \and Christian Urban\inst{2} \and Chunhan Wu\inst{1}}
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    43
\institute{PLA University of Science and Technology, China \and 
265
993068ce745f changed abstract, intro and IsaMakefile
urbanc
parents: 263
diff changeset
    44
           King's College London, United Kingdom}
262
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    45
\maketitle
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    46
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    47
\begin{abstract}
265
993068ce745f changed abstract, intro and IsaMakefile
urbanc
parents: 263
diff changeset
    48
In realtime systems with support for resource locking and
993068ce745f changed abstract, intro and IsaMakefile
urbanc
parents: 263
diff changeset
    49
processes involving priorities, one faces the problem of
993068ce745f changed abstract, intro and IsaMakefile
urbanc
parents: 263
diff changeset
    50
priority inversion. This problem can make the behaviour of processes unpredictable
993068ce745f changed abstract, intro and IsaMakefile
urbanc
parents: 263
diff changeset
    51
and the resulting bugs can be hard to find.  The Priority Inheritance
993068ce745f changed abstract, intro and IsaMakefile
urbanc
parents: 263
diff changeset
    52
Protocol is one solution implemented in many systems for
993068ce745f changed abstract, intro and IsaMakefile
urbanc
parents: 263
diff changeset
    53
solving the priority inversion problem, but the correctness of this solution has never
993068ce745f changed abstract, intro and IsaMakefile
urbanc
parents: 263
diff changeset
    54
been formally verified in a theorem prover. The original description
993068ce745f changed abstract, intro and IsaMakefile
urbanc
parents: 263
diff changeset
    55
of the Property Inheritance Protocol presents a ``correctness proof''
993068ce745f changed abstract, intro and IsaMakefile
urbanc
parents: 263
diff changeset
    56
done with pencil-and-paper for an \emph{incorrect} algorithm. This has
993068ce745f changed abstract, intro and IsaMakefile
urbanc
parents: 263
diff changeset
    57
already been pointed out in the literature. In this paper we fix the
993068ce745f changed abstract, intro and IsaMakefile
urbanc
parents: 263
diff changeset
    58
problem of the original proof by making all notions precise and implement a
993068ce745f changed abstract, intro and IsaMakefile
urbanc
parents: 263
diff changeset
    59
variant of a solution proposed earlier. Our formalisation in
993068ce745f changed abstract, intro and IsaMakefile
urbanc
parents: 263
diff changeset
    60
Isabelle/HOL uncovered facts not mentioned in the literature, but also
993068ce745f changed abstract, intro and IsaMakefile
urbanc
parents: 263
diff changeset
    61
shows how to efficiently implement this protocol. Earlier correct
993068ce745f changed abstract, intro and IsaMakefile
urbanc
parents: 263
diff changeset
    62
implementations were criticised as too inefficient. Our formalisation  
993068ce745f changed abstract, intro and IsaMakefile
urbanc
parents: 263
diff changeset
    63
is based on Paulson's inductive approach to verifying 
993068ce745f changed abstract, intro and IsaMakefile
urbanc
parents: 263
diff changeset
    64
protocols.\medskip
993068ce745f changed abstract, intro and IsaMakefile
urbanc
parents: 263
diff changeset
    65
993068ce745f changed abstract, intro and IsaMakefile
urbanc
parents: 263
diff changeset
    66
{\bf Keywords:} Priority Inheritance Protocol, formal connectness proof, 
993068ce745f changed abstract, intro and IsaMakefile
urbanc
parents: 263
diff changeset
    67
realtime systems
262
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    68
\end{abstract}
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    69
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    70
\input{session}
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    71
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    72
\bibliographystyle{plain}
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    73
\bibliography{root}
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    74
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    75
\end{document}
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    76
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    77
%%% Local Variables:
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    78
%%% mode: latex
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    79
%%% TeX-master: t
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    80
%%% End: