prio/Paper/document/root.tex
author zhang
Wed, 01 Feb 2012 08:16:00 +0000
changeset 272 ee4611c1e13c
parent 269 70395e3fd99f
child 273 039711ba6cf9
permissions -rwxr-xr-x
All comments added.
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}
268
1baf8d0c7093 more text
urbanc
parents: 267
diff changeset
     6
%\usepackage{tikz}
1baf8d0c7093 more text
urbanc
parents: 267
diff changeset
     7
%\usepackage{pgf}
262
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
268
1baf8d0c7093 more text
urbanc
parents: 267
diff changeset
    20
\titlerunning{Proving the Priority Inheritance Protocol Correct}
262
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}
268
1baf8d0c7093 more text
urbanc
parents: 267
diff changeset
    48
In realtime systems with support for resource locking and for
1baf8d0c7093 more text
urbanc
parents: 267
diff changeset
    49
processes with priorities, one faces the problem of priority
267
83fb18cadd2b added two paragraphs to the introduction
urbanc
parents: 265
diff changeset
    50
inversion. This problem can make the behaviour of processes
83fb18cadd2b added two paragraphs to the introduction
urbanc
parents: 265
diff changeset
    51
unpredictable and the resulting bugs can be hard to find.  The
83fb18cadd2b added two paragraphs to the introduction
urbanc
parents: 265
diff changeset
    52
Priority Inheritance Protocol is one solution implemented in many
83fb18cadd2b added two paragraphs to the introduction
urbanc
parents: 265
diff changeset
    53
systems for solving this problem, but the correctness of this solution
83fb18cadd2b added two paragraphs to the introduction
urbanc
parents: 265
diff changeset
    54
has never been formally verified in a theorem prover. As already
268
1baf8d0c7093 more text
urbanc
parents: 267
diff changeset
    55
pointed out in the literature, the original informal investigation of
1baf8d0c7093 more text
urbanc
parents: 267
diff changeset
    56
the Property Inheritance Protocol presents a correctness ``proof'' for
269
70395e3fd99f more text
urbanc
parents: 268
diff changeset
    57
an \emph{incorrect} algorithm. In this paper we fix the problem of
70395e3fd99f more text
urbanc
parents: 268
diff changeset
    58
this proof by making all notions precise and implementing a variant of
70395e3fd99f more text
urbanc
parents: 268
diff changeset
    59
a solution proposed earlier. Our formalisation in Isabelle/HOL
70395e3fd99f more text
urbanc
parents: 268
diff changeset
    60
uncovered facts not mentioned in the literature, but also shows how to
70395e3fd99f more text
urbanc
parents: 268
diff changeset
    61
efficiently implement this protocol. Earlier correct implementations
70395e3fd99f more text
urbanc
parents: 268
diff changeset
    62
were criticised as too inefficient. Our formalisation is based on
70395e3fd99f more text
urbanc
parents: 268
diff changeset
    63
Paulson's inductive approach to verifying protocols.\medskip
265
993068ce745f changed abstract, intro and IsaMakefile
urbanc
parents: 263
diff changeset
    64
993068ce745f changed abstract, intro and IsaMakefile
urbanc
parents: 263
diff changeset
    65
{\bf Keywords:} Priority Inheritance Protocol, formal connectness proof, 
993068ce745f changed abstract, intro and IsaMakefile
urbanc
parents: 263
diff changeset
    66
realtime systems
262
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    67
\end{abstract}
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    68
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    69
\input{session}
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    70
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    71
\bibliographystyle{plain}
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    72
\bibliography{root}
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    73
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    74
\end{document}
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    75
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    76
%%% Local Variables:
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    77
%%% mode: latex
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    78
%%% TeX-master: t
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    79
%%% End: