|
1 |
|
2 %% $Id$ |
|
3 |
|
4 \documentclass[12pt,a4paper,fleqn]{report} |
|
5 \usepackage{latexsym,graphicx} |
|
6 \usepackage{listings} |
|
7 \usepackage[refpage]{nomencl} |
|
8 \usepackage{../../iman,../../extra,../../isar,../../proof} |
|
9 \usepackage{Thy/document/isabelle,Thy/document/isabellesym} |
|
10 \usepackage{style} |
|
11 \usepackage{Thy/document/pdfsetup} |
|
12 |
|
13 \newcommand{\cmd}[1]{\isacommand{#1}} |
|
14 |
|
15 \newcommand{\isasymINFIX}{\cmd{infix}} |
|
16 \newcommand{\isasymLOCALE}{\cmd{locale}} |
|
17 \newcommand{\isasymINCLUDES}{\cmd{includes}} |
|
18 \newcommand{\isasymDATATYPE}{\cmd{datatype}} |
|
19 \newcommand{\isasymAXCLASS}{\cmd{axclass}} |
|
20 \newcommand{\isasymFIXES}{\cmd{fixes}} |
|
21 \newcommand{\isasymASSUMES}{\cmd{assumes}} |
|
22 \newcommand{\isasymDEFINES}{\cmd{defines}} |
|
23 \newcommand{\isasymNOTES}{\cmd{notes}} |
|
24 \newcommand{\isasymSHOWS}{\cmd{shows}} |
|
25 \newcommand{\isasymCLASS}{\cmd{class}} |
|
26 \newcommand{\isasymINSTANCE}{\cmd{instance}} |
|
27 \newcommand{\isasymLEMMA}{\cmd{lemma}} |
|
28 \newcommand{\isasymPROOF}{\cmd{proof}} |
|
29 \newcommand{\isasymQED}{\cmd{qed}} |
|
30 \newcommand{\isasymFIX}{\cmd{fix}} |
|
31 \newcommand{\isasymASSUME}{\cmd{assume}} |
|
32 \newcommand{\isasymSHOW}{\cmd{show}} |
|
33 \newcommand{\isasymNOTE}{\cmd{note}} |
|
34 \newcommand{\isasymIN}{\cmd{in}} |
|
35 \newcommand{\isasymCODEGEN}{\cmd{code\_gen}} |
|
36 \newcommand{\isasymPRINTCODETHMS}{\cmd{print\_codethms}} |
|
37 \newcommand{\isasymFUN}{\cmd{fun}} |
|
38 \newcommand{\isasymFUNCTION}{\cmd{function}} |
|
39 \newcommand{\isasymPRIMREC}{\cmd{primrec}} |
|
40 \newcommand{\isasymRECDEF}{\cmd{recdef}} |
|
41 |
|
42 \newcommand{\qt}[1]{``#1''} |
|
43 \newcommand{\qtt}[1]{"{}{#1}"{}} |
|
44 \newcommand{\qn}[1]{\emph{#1}} |
|
45 \newcommand{\strong}[1]{{\bfseries #1}} |
|
46 \newcommand{\fixme}[1][!]{\strong{FIXME: #1}} |
|
47 |
|
48 \lstset{basicstyle=\scriptsize\ttfamily, keywordstyle=\itshape, commentstyle=\itshape\sffamily, frame=shadowbox} |
|
49 \newcommand{\lstsml}[1]{\lstset{language=ML}\lstinputlisting{#1}} |
|
50 \newcommand{\lsthaskell}[1]{\lstset{language=Haskell}\lstinputlisting{#1}} |
|
51 |
|
52 \hyphenation{Isabelle} |
|
53 \hyphenation{Isar} |
|
54 |
|
55 \isadroptag{theory} |
|
56 \title{\includegraphics[scale=0.5]{isabelle_isar} |
|
57 \\[4ex] Defining Recursive Functions in Isabelle/HOL} |
|
58 \author{\emph{Alexander Krauss}} |
|
59 |
|
60 |
|
61 \isabellestyle{tt} |
|
62 |
|
63 \begin{document} |
|
64 |
|
65 \maketitle |
|
66 |
|
67 \begin{abstract} |
|
68 This tutorial describes the use of the new \emph{function} package, |
|
69 starting with very simple examples and the proceeding to the more |
|
70 intricate ones. No familiarity with other definition facilities is |
|
71 assumed. |
|
72 \end{abstract} |
|
73 |
|
74 \thispagestyle{empty}\clearpage |
|
75 |
|
76 \pagenumbering{roman} |
|
77 \clearfirst |
|
78 |
|
79 \input{Thy/document/Functions.tex} |
|
80 |
|
81 \begingroup |
|
82 %\tocentry{\bibname} |
|
83 \bibliographystyle{plain} \small\raggedright\frenchspacing |
|
84 \bibliography{../../manual} |
|
85 \endgroup |
|
86 |
|
87 \end{document} |
|
88 |
|
89 |
|
90 %%% Local Variables: |
|
91 %%% mode: latex |
|
92 %%% TeX-master: t |
|
93 %%% End: |