author | blanchet |
Fri, 20 Sep 2013 16:32:27 +0200 | |
changeset 53753 | ae7f50e70c09 |
parent 53647 | e78ebb290dd6 |
child 54073 | 1e4c845c1f18 |
permissions | -rw-r--r-- |
52794 | 1 |
\documentclass[12pt,a4paper]{article} % fleqn |
52805 | 2 |
\usepackage{cite} |
3 |
\usepackage{enumitem} |
|
53647 | 4 |
\usepackage{footmisc} |
52792 | 5 |
\usepackage{latexsym} |
6 |
\usepackage{graphicx} |
|
7 |
\usepackage{iman} |
|
8 |
\usepackage{extra} |
|
9 |
\usepackage{isar} |
|
10 |
\usepackage{isabelle} |
|
11 |
\usepackage{isabellesym} |
|
12 |
\usepackage{style} |
|
13 |
\usepackage{pdfsetup} |
|
52822 | 14 |
\usepackage{railsetup} |
15 |
\usepackage{framed} |
|
52792 | 16 |
|
53552 | 17 |
\setcounter{secnumdepth}{3} |
18 |
\setcounter{tocdepth}{3} |
|
19 |
||
52805 | 20 |
\newbox\boxA |
21 |
\setbox\boxA=\hbox{\ } |
|
22 |
\parindent=4\wd\boxA |
|
23 |
||
53621 | 24 |
\newcommand\blankline{\vskip-.25\baselineskip} |
53552 | 25 |
|
53621 | 26 |
\newenvironment{indentblock}{\list{}{\setlength{\leftmargin}{\parindent}}\item[]}{\endlist} |
53552 | 27 |
|
53617 | 28 |
\newcommand{\keyw}[1]{\textbf{#1}} |
53534 | 29 |
\newcommand{\synt}[1]{\textit{#1}} |
53544 | 30 |
\newcommand{\hthm}[1]{\textbf{\textit{#1}}} |
52792 | 31 |
|
53491 | 32 |
%\renewcommand{\isactrlsub}[1]{\/$\sb{\mathrm{#1}}$} |
33 |
\renewcommand{\isactrlsub}[1]{\/$\sb{#1}$} |
|
34 |
\renewcommand{\isadigit}[1]{\/\ensuremath{\mathrm{#1}}} |
|
52822 | 35 |
\renewcommand{\isacharprime}{\isamath{{'}\mskip-2mu}} |
52794 | 36 |
\renewcommand{\isacharunderscore}{\mbox{\_}} |
37 |
\renewcommand{\isacharunderscorekeyword}{\mbox{\_}} |
|
52805 | 38 |
\renewcommand{\isachardoublequote}{\mbox{\upshape{``}}} |
53028 | 39 |
\renewcommand{\isachardoublequoteopen}{\mbox{\upshape{``}\kern.1ex}} |
40 |
\renewcommand{\isachardoublequoteclose}{\/\kern.15ex\mbox{\upshape{''}}} |
|
52794 | 41 |
|
52792 | 42 |
\hyphenation{isa-belle} |
43 |
||
44 |
\isadroptag{theory} |
|
45 |
||
46 |
\title{%\includegraphics[scale=0.5]{isabelle_hol} \\[4ex] |
|
47 |
Defining (Co)datatypes in Isabelle/HOL} |
|
48 |
\author{\hbox{} \\ |
|
53619 | 49 |
Jasmin Christian Blanchette, |
50 |
Lorenz Panny, \\ |
|
51 |
Andrei Popescu, and |
|
52805 | 52 |
Dmitriy Traytel \\ |
52792 | 53 |
{\normalsize Institut f\"ur Informatik, Technische Universit\"at M\"unchen} \\ |
54 |
\hbox{}} |
|
55 |
\begin{document} |
|
56 |
||
57 |
\maketitle |
|
58 |
||
59 |
\begin{abstract} |
|
60 |
\noindent |
|
52794 | 61 |
This tutorial describes how to use the new package for defining datatypes and |
53753
ae7f50e70c09
renamed "primcorec" to "primcorecursive", to open the door to a 'theory -> theory' command called "primcorec" (cf. "fun" vs. "function")
blanchet
parents:
53647
diff
changeset
|
62 |
codatatypes in Isabelle/HOL. The package provides five main commands: |
ae7f50e70c09
renamed "primcorec" to "primcorecursive", to open the door to a 'theory -> theory' command called "primcorec" (cf. "fun" vs. "function")
blanchet
parents:
53647
diff
changeset
|
63 |
\keyw{datatype\_new}, \keyw{codatatype}, \keyw{primrec\_new}, |
ae7f50e70c09
renamed "primcorec" to "primcorecursive", to open the door to a 'theory -> theory' command called "primcorec" (cf. "fun" vs. "function")
blanchet
parents:
53647
diff
changeset
|
64 |
\keyw{primcorecursive}, and \keyw{primcorec}. The commands suffixed by |
ae7f50e70c09
renamed "primcorec" to "primcorecursive", to open the door to a 'theory -> theory' command called "primcorec" (cf. "fun" vs. "function")
blanchet
parents:
53647
diff
changeset
|
65 |
\keyw{\_new} are intended to subsume, and eventually replace, the corresponding |
ae7f50e70c09
renamed "primcorec" to "primcorecursive", to open the door to a 'theory -> theory' command called "primcorec" (cf. "fun" vs. "function")
blanchet
parents:
53647
diff
changeset
|
66 |
commands from the old datatype package. |
52792 | 67 |
\end{abstract} |
68 |
||
52794 | 69 |
\tableofcontents |
70 |
||
52792 | 71 |
\input{Datatypes.tex} |
72 |
||
73 |
\let\em=\sl |
|
74 |
\bibliography{manual}{} |
|
75 |
\bibliographystyle{abbrv} |
|
76 |
||
77 |
\end{document} |