prio/Paper/document/root.tex
author urbanc
Sun, 12 Feb 2012 14:58:47 +0000
changeset 301 e820ee5f76f7
parent 298 f2e0d031a395
child 321 6a4249608ad0
permissions -rwxr-xr-x
lates
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{$\_\!\_$}}
291
5ef9f6ebe827 more on paper; modified schs functions; it is still compatible with the old definition
urbanc
parents: 284
diff changeset
    34
\renewcommand{\isasymiota}{}
262
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    35
298
f2e0d031a395 completed model section; vt has only state as argument
urbanc
parents: 291
diff changeset
    36
\newcommand{\numbered}[1]{\refstepcounter{equation}{\rm(\arabic{equation})}\label{#1}}
f2e0d031a395 completed model section; vt has only state as argument
urbanc
parents: 291
diff changeset
    37
f2e0d031a395 completed model section; vt has only state as argument
urbanc
parents: 291
diff changeset
    38
262
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    39
\begin{document}
4190df6f4488 initial version of the PIP formalisation
urbanc
parents:
diff changeset
    40
277
541bfdf1fa36 slight tuning
urbanc
parents: 273
diff changeset
    41
\title{Priority Inheritance Protocol Proved Correct}
262
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}
284
d296cb127fcb more on paper
urbanc
parents: 283
diff changeset
    48
In real-time systems with threads, resource locking and 
d296cb127fcb more on paper
urbanc
parents: 283
diff changeset
    49
priority sched\-uling, one faces the problem of Priority
d296cb127fcb more on paper
urbanc
parents: 283
diff changeset
    50
Inversion. This problem can make the behaviour of threads
267
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
277
541bfdf1fa36 slight tuning
urbanc
parents: 273
diff changeset
    60
uncovers facts not mentioned in the literature, but also shows how to
269
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, 
284
d296cb127fcb more on paper
urbanc
parents: 283
diff changeset
    66
real-time systems, Isabelle/HOL
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: