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