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