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