52794
|
1 |
\documentclass[12pt,a4paper]{article} % fleqn
|
52805
|
2 |
\usepackage{cite}
|
|
3 |
\usepackage{enumitem}
|
52792
|
4 |
\usepackage{latexsym}
|
|
5 |
\usepackage{graphicx}
|
|
6 |
\usepackage{iman}
|
|
7 |
\usepackage{extra}
|
|
8 |
\usepackage{isar}
|
|
9 |
\usepackage{isabelle}
|
|
10 |
\usepackage{isabellesym}
|
|
11 |
\usepackage{style}
|
|
12 |
\usepackage{pdfsetup}
|
52822
|
13 |
\usepackage{railsetup}
|
|
14 |
\usepackage{framed}
|
52792
|
15 |
|
52805
|
16 |
\newbox\boxA
|
|
17 |
\setbox\boxA=\hbox{\ }
|
|
18 |
\parindent=4\wd\boxA
|
|
19 |
|
52824
|
20 |
\newcommand{\keyw}[1]{\isacommand{#1}}
|
53534
|
21 |
\newcommand{\synt}[1]{\textit{#1}}
|
52792
|
22 |
|
53491
|
23 |
%\renewcommand{\isactrlsub}[1]{\/$\sb{\mathrm{#1}}$}
|
|
24 |
\renewcommand{\isactrlsub}[1]{\/$\sb{#1}$}
|
|
25 |
\renewcommand{\isadigit}[1]{\/\ensuremath{\mathrm{#1}}}
|
52822
|
26 |
\renewcommand{\isacharprime}{\isamath{{'}\mskip-2mu}}
|
52794
|
27 |
\renewcommand{\isacharunderscore}{\mbox{\_}}
|
|
28 |
\renewcommand{\isacharunderscorekeyword}{\mbox{\_}}
|
52805
|
29 |
\renewcommand{\isachardoublequote}{\mbox{\upshape{``}}}
|
53028
|
30 |
\renewcommand{\isachardoublequoteopen}{\mbox{\upshape{``}\kern.1ex}}
|
|
31 |
\renewcommand{\isachardoublequoteclose}{\/\kern.15ex\mbox{\upshape{''}}}
|
52794
|
32 |
|
52792
|
33 |
\hyphenation{isa-belle}
|
|
34 |
|
|
35 |
\isadroptag{theory}
|
|
36 |
|
|
37 |
\title{%\includegraphics[scale=0.5]{isabelle_hol} \\[4ex]
|
|
38 |
Defining (Co)datatypes in Isabelle/HOL}
|
|
39 |
\author{\hbox{} \\
|
52805
|
40 |
Jasmin Christian Blanchette \\
|
53028
|
41 |
Lorenz Panny \\
|
52805
|
42 |
Andrei Popescu \\
|
|
43 |
Dmitriy Traytel \\
|
52792
|
44 |
{\normalsize Institut f\"ur Informatik, Technische Universit\"at M\"unchen} \\
|
|
45 |
\hbox{}}
|
|
46 |
\begin{document}
|
|
47 |
|
|
48 |
\maketitle
|
|
49 |
|
|
50 |
\begin{abstract}
|
|
51 |
\noindent
|
52794
|
52 |
This tutorial describes how to use the new package for defining datatypes and
|
|
53 |
codatatypes in Isabelle/HOL. The package provides four main user-level commands:
|
52824
|
54 |
\keyw{datatype\_new}, \keyw{codatatype}, \keyw{primrec\_new}, and \keyw{primcorec}.
|
|
55 |
The commands suffixed by \keyw{\_new} are intended to subsume, and eventually
|
52792
|
56 |
replace, the corresponding commands from the old datatype package.
|
|
57 |
\end{abstract}
|
|
58 |
|
52794
|
59 |
\tableofcontents
|
|
60 |
|
52792
|
61 |
\input{Datatypes.tex}
|
|
62 |
|
|
63 |
\let\em=\sl
|
|
64 |
\bibliography{manual}{}
|
|
65 |
\bibliographystyle{abbrv}
|
|
66 |
|
|
67 |
\end{document}
|