src/Doc/Datatypes/document/root.tex
author blanchet
Tue, 30 Jul 2013 16:22:39 +0200
changeset 52792 3e651be14fcd
child 52794 aae782070611
permissions -rw-r--r--
sketched documentation for new (co)datatype package
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
52792
3e651be14fcd sketched documentation for new (co)datatype package
blanchet
parents:
diff changeset
     1
\documentclass[12pt,a4paper,fleqn]{article}
3e651be14fcd sketched documentation for new (co)datatype package
blanchet
parents:
diff changeset
     2
\usepackage{latexsym}
3e651be14fcd sketched documentation for new (co)datatype package
blanchet
parents:
diff changeset
     3
\usepackage{graphicx}
3e651be14fcd sketched documentation for new (co)datatype package
blanchet
parents:
diff changeset
     4
\usepackage{iman}
3e651be14fcd sketched documentation for new (co)datatype package
blanchet
parents:
diff changeset
     5
\usepackage{extra}
3e651be14fcd sketched documentation for new (co)datatype package
blanchet
parents:
diff changeset
     6
\usepackage{isar}
3e651be14fcd sketched documentation for new (co)datatype package
blanchet
parents:
diff changeset
     7
\usepackage{isabelle}
3e651be14fcd sketched documentation for new (co)datatype package
blanchet
parents:
diff changeset
     8
\usepackage{isabellesym}
3e651be14fcd sketched documentation for new (co)datatype package
blanchet
parents:
diff changeset
     9
\usepackage{style}
3e651be14fcd sketched documentation for new (co)datatype package
blanchet
parents:
diff changeset
    10
\usepackage{pdfsetup}
3e651be14fcd sketched documentation for new (co)datatype package
blanchet
parents:
diff changeset
    11
3e651be14fcd sketched documentation for new (co)datatype package
blanchet
parents:
diff changeset
    12
\newcommand{\cmd}[1]{\isacommand{#1}}
3e651be14fcd sketched documentation for new (co)datatype package
blanchet
parents:
diff changeset
    13
3e651be14fcd sketched documentation for new (co)datatype package
blanchet
parents:
diff changeset
    14
\hyphenation{isa-belle}
3e651be14fcd sketched documentation for new (co)datatype package
blanchet
parents:
diff changeset
    15
3e651be14fcd sketched documentation for new (co)datatype package
blanchet
parents:
diff changeset
    16
\isadroptag{theory}
3e651be14fcd sketched documentation for new (co)datatype package
blanchet
parents:
diff changeset
    17
3e651be14fcd sketched documentation for new (co)datatype package
blanchet
parents:
diff changeset
    18
\title{%\includegraphics[scale=0.5]{isabelle_hol} \\[4ex]
3e651be14fcd sketched documentation for new (co)datatype package
blanchet
parents:
diff changeset
    19
Defining (Co)datatypes in Isabelle/HOL}
3e651be14fcd sketched documentation for new (co)datatype package
blanchet
parents:
diff changeset
    20
\author{\hbox{} \\
3e651be14fcd sketched documentation for new (co)datatype package
blanchet
parents:
diff changeset
    21
Jasmin Christian Blanchette, Andrei Popescu, and Dmitriy Traytel \\
3e651be14fcd sketched documentation for new (co)datatype package
blanchet
parents:
diff changeset
    22
{\normalsize Institut f\"ur Informatik, Technische Universit\"at M\"unchen} \\
3e651be14fcd sketched documentation for new (co)datatype package
blanchet
parents:
diff changeset
    23
\hbox{}}
3e651be14fcd sketched documentation for new (co)datatype package
blanchet
parents:
diff changeset
    24
\begin{document}
3e651be14fcd sketched documentation for new (co)datatype package
blanchet
parents:
diff changeset
    25
3e651be14fcd sketched documentation for new (co)datatype package
blanchet
parents:
diff changeset
    26
\maketitle
3e651be14fcd sketched documentation for new (co)datatype package
blanchet
parents:
diff changeset
    27
3e651be14fcd sketched documentation for new (co)datatype package
blanchet
parents:
diff changeset
    28
\begin{abstract}
3e651be14fcd sketched documentation for new (co)datatype package
blanchet
parents:
diff changeset
    29
\noindent
3e651be14fcd sketched documentation for new (co)datatype package
blanchet
parents:
diff changeset
    30
This tutorial describes how to use the new package for defining
3e651be14fcd sketched documentation for new (co)datatype package
blanchet
parents:
diff changeset
    31
datatypes and codatatypes in Isabelle/HOL. The package provides four
3e651be14fcd sketched documentation for new (co)datatype package
blanchet
parents:
diff changeset
    32
main user-level commands: \cmd{datatype\_new}, \cmd{codatatype}, \cmd{primrec\_new}, and
3e651be14fcd sketched documentation for new (co)datatype package
blanchet
parents:
diff changeset
    33
\cmd{primcorec}. The \cmd{\_new} commands are designed to subsume, and eventually
3e651be14fcd sketched documentation for new (co)datatype package
blanchet
parents:
diff changeset
    34
replace, the corresponding commands from the old datatype package.
3e651be14fcd sketched documentation for new (co)datatype package
blanchet
parents:
diff changeset
    35
\end{abstract}
3e651be14fcd sketched documentation for new (co)datatype package
blanchet
parents:
diff changeset
    36
3e651be14fcd sketched documentation for new (co)datatype package
blanchet
parents:
diff changeset
    37
\input{Datatypes.tex}
3e651be14fcd sketched documentation for new (co)datatype package
blanchet
parents:
diff changeset
    38
3e651be14fcd sketched documentation for new (co)datatype package
blanchet
parents:
diff changeset
    39
\let\em=\sl
3e651be14fcd sketched documentation for new (co)datatype package
blanchet
parents:
diff changeset
    40
\bibliography{manual}{}
3e651be14fcd sketched documentation for new (co)datatype package
blanchet
parents:
diff changeset
    41
\bibliographystyle{abbrv}
3e651be14fcd sketched documentation for new (co)datatype package
blanchet
parents:
diff changeset
    42
3e651be14fcd sketched documentation for new (co)datatype package
blanchet
parents:
diff changeset
    43
\end{document}