25171
|
1 |
\documentclass[11pt,a4paper]{article}
|
|
2 |
\usepackage{isabelle,isabellesym}
|
|
3 |
% this should be the last package used
|
|
4 |
\usepackage{pdfsetup}
|
|
5 |
|
|
6 |
% urls in roman style, theory text in math-similar italics
|
|
7 |
\urlstyle{rm}
|
|
8 |
\isabellestyle{it}
|
|
9 |
|
|
10 |
|
|
11 |
\begin{document}
|
|
12 |
|
|
13 |
\title{State Spaces: The Locale Way}
|
|
14 |
\author{Norbert Schirmer}
|
|
15 |
\maketitle
|
|
16 |
|
|
17 |
\tableofcontents
|
|
18 |
|
25174
|
19 |
\parindent 0pt\parskip 0.5ex
|
25171
|
20 |
|
|
21 |
\section{Introduction}
|
|
22 |
|
|
23 |
These theories introduce a new command called \isacommand{statespace}.
|
|
24 |
It's usage is similar to \isacommand{record}s. However, the command does not introduce a new type but an
|
|
25 |
abstract specification based on the locale infrastructure. This leads
|
|
26 |
to extra flexibility in composing state space components, in particular
|
|
27 |
multiple inheritance and renaming of components.
|
|
28 |
|
|
29 |
The state space infrastructure basically manages the following things:
|
|
30 |
\begin{itemize}
|
|
31 |
\item distinctness of field names
|
|
32 |
\item projections~/ injections from~/ to an abstract \emph{value} type
|
|
33 |
\item syntax translations for lookup and update, hiding the projections and injections
|
|
34 |
\item simplification procedure for lookups~/ updates, similar to records
|
|
35 |
\end{itemize}
|
|
36 |
|
|
37 |
|
|
38 |
\paragraph{Overview}
|
|
39 |
In Section \ref{sec:DistinctTreeProver} we define distinctness of the nodes in a binary tree and provide the basic prover tools to support efficient distinctness reasoning for field names managed by
|
|
40 |
state spaces. The state is represented as a function from (abstract) names to (abstract) values as
|
|
41 |
introduced in Section \ref{sec:StateFun}. The basic setup for state spaces is in Section
|
|
42 |
\ref{sec:StateSpaceLocale}. Some syntax for lookup and updates is added in Section \ref{sec:StateSpaceSyntax}. Finally Section \ref{sec:Examples} explains the usage of state spaces by examples.
|
|
43 |
|
|
44 |
|
|
45 |
% generated text of all theories
|
|
46 |
\input{session}
|
|
47 |
|
|
48 |
% optional bibliography
|
|
49 |
%\bibliographystyle{abbrv}
|
|
50 |
%\bibliography{root}
|
|
51 |
|
|
52 |
\end{document}
|
|
53 |
|
|
54 |
%%% Local Variables:
|
|
55 |
%%% mode: latex
|
|
56 |
%%% TeX-master: t
|
|
57 |
%%% End:
|