prio/Paper/document/root.tex
author urbanc
Fri, 10 Feb 2012 21:01:03 +0000
changeset 291 5ef9f6ebe827
parent 284 d296cb127fcb
child 298 f2e0d031a395
permissions -rwxr-xr-x
more on paper; modified schs functions; it is still compatible with the old definition
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}
284
d296cb127fcb more on paper
urbanc
parents: 283
diff changeset
     6
\usepackage{mathpartir}
291
5ef9f6ebe827 more on paper; modified schs functions; it is still compatible with the old definition
urbanc
parents: 284
diff changeset
     7
\usepackage{tikz}
5ef9f6ebe827 more on paper; modified schs functions; it is still compatible with the old definition
urbanc
parents: 284
diff changeset
     8
\usepackage{pgf}
262
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
     9
%\usetikzlibrary{arrows,automata,decorations,fit,calc}
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    10
%\usetikzlibrary{shapes,shapes.arrows,snakes,positioning}
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    11
%\usepgflibrary{shapes.misc} % LATEX and plain TEX and pure pgf
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    12
%\usetikzlibrary{matrix}
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    13
\usepackage{pdfsetup}
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    14
\usepackage{ot1patch}
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    15
\usepackage{times}
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    16
%%\usepackage{proof}
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    17
%%\usepackage{mathabx}
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    18
\usepackage{stmaryrd}
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    19
\usepackage{url}
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    20
268
1baf8d0c7093 more text
urbanc
parents: 267
diff changeset
    21
\titlerunning{Proving the Priority Inheritance Protocol Correct}
262
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    22
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    23
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    24
\urlstyle{rm}
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    25
\isabellestyle{it}
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    26
\renewcommand{\isastyleminor}{\it}%
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    27
\renewcommand{\isastyle}{\normalsize\it}%
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    28
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    29
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    30
\def\dn{\,\stackrel{\mbox{\scriptsize def}}{=}\,}
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    31
\renewcommand{\isasymequiv}{$\dn$}
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    32
\renewcommand{\isasymemptyset}{$\varnothing$}
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    33
\renewcommand{\isacharunderscore}{\mbox{$\_\!\_$}}
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    34
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    35
\newcommand{\isasymcalL}{\ensuremath{\cal{L}}}
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    36
\newcommand{\isasymbigplus}{\ensuremath{\bigplus}}
291
5ef9f6ebe827 more on paper; modified schs functions; it is still compatible with the old definition
urbanc
parents: 284
diff changeset
    37
\renewcommand{\isasymiota}{}
262
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    38
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    39
\newcommand{\bigplus}{\mbox{\Large\bf$+$}}
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    40
\begin{document}
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    41
277
541bfdf1fa36 slight tuning
urbanc
parents: 273
diff changeset
    42
\title{Priority Inheritance Protocol Proved Correct}
262
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    43
\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
    44
\institute{PLA University of Science and Technology, China \and 
265
993068ce745f changed abstract, intro and IsaMakefile
urbanc
parents: 263
diff changeset
    45
           King's College London, United Kingdom}
262
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    46
\maketitle
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    47
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    48
\begin{abstract}
284
d296cb127fcb more on paper
urbanc
parents: 283
diff changeset
    49
In real-time systems with threads, resource locking and 
d296cb127fcb more on paper
urbanc
parents: 283
diff changeset
    50
priority sched\-uling, one faces the problem of Priority
d296cb127fcb more on paper
urbanc
parents: 283
diff changeset
    51
Inversion. This problem can make the behaviour of threads
267
83fb18cadd2b added two paragraphs to the introduction
urbanc
parents: 265
diff changeset
    52
unpredictable and the resulting bugs can be hard to find.  The
83fb18cadd2b added two paragraphs to the introduction
urbanc
parents: 265
diff changeset
    53
Priority Inheritance Protocol is one solution implemented in many
83fb18cadd2b added two paragraphs to the introduction
urbanc
parents: 265
diff changeset
    54
systems for solving this problem, but the correctness of this solution
83fb18cadd2b added two paragraphs to the introduction
urbanc
parents: 265
diff changeset
    55
has never been formally verified in a theorem prover. As already
268
1baf8d0c7093 more text
urbanc
parents: 267
diff changeset
    56
pointed out in the literature, the original informal investigation of
1baf8d0c7093 more text
urbanc
parents: 267
diff changeset
    57
the Property Inheritance Protocol presents a correctness ``proof'' for
269
70395e3fd99f more text
urbanc
parents: 268
diff changeset
    58
an \emph{incorrect} algorithm. In this paper we fix the problem of
70395e3fd99f more text
urbanc
parents: 268
diff changeset
    59
this proof by making all notions precise and implementing a variant of
70395e3fd99f more text
urbanc
parents: 268
diff changeset
    60
a solution proposed earlier. Our formalisation in Isabelle/HOL
277
541bfdf1fa36 slight tuning
urbanc
parents: 273
diff changeset
    61
uncovers facts not mentioned in the literature, but also shows how to
269
70395e3fd99f more text
urbanc
parents: 268
diff changeset
    62
efficiently implement this protocol. Earlier correct implementations
70395e3fd99f more text
urbanc
parents: 268
diff changeset
    63
were criticised as too inefficient. Our formalisation is based on
70395e3fd99f more text
urbanc
parents: 268
diff changeset
    64
Paulson's inductive approach to verifying protocols.\medskip
265
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, 
284
d296cb127fcb more on paper
urbanc
parents: 283
diff changeset
    67
real-time systems, Isabelle/HOL
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: