
%% $Id$

\documentclass[12pt,a4paper,fleqn]{report}
\usepackage{latexsym,graphicx}
\usepackage[refpage]{nomencl}
\usepackage{../../iman,../../extra,../../isar,../../proof}
\usepackage{../../isabelle,../../isabellesym}
\usepackage{style}
\usepackage{pgf}
\usepackage{pgflibraryshapes}
\usepackage{tikz}
\usepackage{../../pdfsetup}

%% setup

% hyphenation
\hyphenation{Isabelle}
\hyphenation{Isar}

% logical markup
\newcommand{\strong}[1]{{\bfseries {#1}}}
\newcommand{\qn}[1]{\emph{#1}}

% typographic conventions
\newcommand{\qt}[1]{``{#1}''}

% verbatim text
\newcommand{\isaverbatim}{\renewcommand{\baselinestretch}{1}\setlength{\baselineskip}{8pt}\fontsize{8pt}{0pt}}

% invisibility
\isadroptag{theory}

% quoted segments
\makeatletter
\isakeeptag{quote}
\newenvironment{quotesegment}{\begin{quote}\isa@parindent\parindent\parindent0pt\isa@parskip\parskip\parskip0pt}{\end{quote}}
\renewcommand{\isatagquote}{\begin{quotesegment}}
\renewcommand{\endisatagquote}{\end{quotesegment}}
\makeatother

\isakeeptag{quotett}
\renewcommand{\isatagquotett}{\begin{quotesegment}\isabellestyle{tt}\isastyle}
\renewcommand{\endisatagquotett}{\end{quotesegment}\isabellestyle{it}\isastyle}

% hack
\newcommand{\isasymSML}{SML}


%% contents

\title{\includegraphics[scale=0.5]{isabelle_isar}
  \\[4ex] Code generation from Isabelle/HOL theories}
\author{\emph{Florian Haftmann}}

\begin{document}

\maketitle

\begin{abstract}
  This tutorial gives an introduction to a generic code generator framework in Isabelle
  for generating executable code in functional programming languages from logical
  specifications in Isabelle/HOL.
\end{abstract}

\thispagestyle{empty}\clearpage

\pagenumbering{roman}
\clearfirst

\input{Thy/document/Introduction.tex}
\input{Thy/document/Program.tex}
\input{Thy/document/Adaption.tex}
\input{Thy/document/Further.tex}
\input{Thy/document/ML.tex}

\begingroup
%\tocentry{\bibname}
\bibliographystyle{plain} \small\raggedright\frenchspacing
\bibliography{../../manual}
\endgroup

\end{document}


%%% Local Variables: 
%%% mode: latex
%%% TeX-master: t
%%% End: 
