doc-src/TutorialI/Recdef/document/Nested0.tex
changeset 9721 7e51c9f3d5a0
parent 9719 c753196599f9
child 9722 a5f86aed785b
equal deleted inserted replaced
9720:3b7b72db57f1 9721:7e51c9f3d5a0
     1 %
     1 \begin{isabelle}%
     2 \begin{isabellebody}%
       
     3 %
     2 %
     4 \begin{isamarkuptext}%
     3 \begin{isamarkuptext}%
     5 In \S\ref{sec:nested-datatype} we defined the datatype of terms%
     4 In \S\ref{sec:nested-datatype} we defined the datatype of terms%
     6 \end{isamarkuptext}%
     5 \end{isamarkuptext}%
     7 \isacommand{datatype}\ {\isacharparenleft}{\isacharprime}a{\isacharcomma}{\isacharprime}b{\isacharparenright}{\isachardoublequote}term{\isachardoublequote}\ {\isacharequal}\ Var\ {\isacharprime}a\ {\isacharbar}\ App\ {\isacharprime}b\ {\isachardoublequote}{\isacharparenleft}{\isacharprime}a{\isacharcomma}{\isacharprime}b{\isacharparenright}term\ list{\isachardoublequote}%
     6 \isacommand{datatype}\ {\isacharparenleft}{\isacharprime}a{\isacharcomma}{\isacharprime}b{\isacharparenright}{\isachardoublequote}term{\isachardoublequote}\ {\isacharequal}\ Var\ {\isacharprime}a\ {\isacharbar}\ App\ {\isacharprime}b\ {\isachardoublequote}{\isacharparenleft}{\isacharprime}a{\isacharcomma}{\isacharprime}b{\isacharparenright}term\ list{\isachardoublequote}%
    15 definitions and proofs about nested recursive datatypes. As an example we
    14 definitions and proofs about nested recursive datatypes. As an example we
    16 chose exercise~\ref{ex:trev-trev}:
    15 chose exercise~\ref{ex:trev-trev}:
    17 
    16 
    18 FIXME: declare trev now!%
    17 FIXME: declare trev now!%
    19 \end{isamarkuptext}%
    18 \end{isamarkuptext}%
    20 \end{isabellebody}%
    19 \end{isabelle}%
    21 %%% Local Variables:
    20 %%% Local Variables:
    22 %%% mode: latex
    21 %%% mode: latex
    23 %%% TeX-master: "root"
    22 %%% TeX-master: "root"
    24 %%% End:
    23 %%% End: