52794
|
1 |
\documentclass[12pt,a4paper]{article} % fleqn
|
52792
|
2 |
\usepackage{latexsym}
|
|
3 |
\usepackage{graphicx}
|
|
4 |
\usepackage{iman}
|
|
5 |
\usepackage{extra}
|
|
6 |
\usepackage{isar}
|
|
7 |
\usepackage{isabelle}
|
|
8 |
\usepackage{isabellesym}
|
|
9 |
\usepackage{style}
|
|
10 |
\usepackage{pdfsetup}
|
|
11 |
|
|
12 |
\newcommand{\cmd}[1]{\isacommand{#1}}
|
|
13 |
|
52794
|
14 |
\renewcommand{\isacharunderscore}{\mbox{\_}}
|
|
15 |
\renewcommand{\isacharunderscorekeyword}{\mbox{\_}}
|
|
16 |
|
52792
|
17 |
\hyphenation{isa-belle}
|
|
18 |
|
|
19 |
\isadroptag{theory}
|
|
20 |
|
|
21 |
\title{%\includegraphics[scale=0.5]{isabelle_hol} \\[4ex]
|
|
22 |
Defining (Co)datatypes in Isabelle/HOL}
|
|
23 |
\author{\hbox{} \\
|
|
24 |
Jasmin Christian Blanchette, Andrei Popescu, and Dmitriy Traytel \\
|
|
25 |
{\normalsize Institut f\"ur Informatik, Technische Universit\"at M\"unchen} \\
|
|
26 |
\hbox{}}
|
|
27 |
\begin{document}
|
|
28 |
|
|
29 |
\maketitle
|
|
30 |
|
|
31 |
\begin{abstract}
|
|
32 |
\noindent
|
52794
|
33 |
This tutorial describes how to use the new package for defining datatypes and
|
|
34 |
codatatypes in Isabelle/HOL. The package provides four main user-level commands:
|
|
35 |
\cmd{datatype\_new}, \cmd{codatatype}, \cmd{primrec\_new}, and \cmd{primcorec}.
|
|
36 |
The commands suffixed by \cmd{\_new} are intended to subsume, and eventually
|
52792
|
37 |
replace, the corresponding commands from the old datatype package.
|
|
38 |
\end{abstract}
|
|
39 |
|
52794
|
40 |
\tableofcontents
|
|
41 |
|
52792
|
42 |
\input{Datatypes.tex}
|
|
43 |
|
|
44 |
\let\em=\sl
|
|
45 |
\bibliography{manual}{}
|
|
46 |
\bibliographystyle{abbrv}
|
|
47 |
|
|
48 |
\end{document}
|