13305
|
1 |
%
|
|
2 |
\begin{isabellebody}%
|
|
3 |
\def\isabellecontext{Plus}%
|
|
4 |
\isamarkupfalse%
|
|
5 |
%
|
|
6 |
\begin{isamarkuptext}%
|
|
7 |
\noindent Define the following addition function%
|
|
8 |
\end{isamarkuptext}%
|
|
9 |
\isamarkuptrue%
|
|
10 |
\isacommand{consts}\ plus\ {\isacharcolon}{\isacharcolon}\ {\isachardoublequote}nat\ {\isasymRightarrow}\ nat\ {\isasymRightarrow}\ nat{\isachardoublequote}\isanewline
|
|
11 |
\isamarkupfalse%
|
|
12 |
\isacommand{primrec}\isanewline
|
|
13 |
{\isachardoublequote}plus\ m\ {\isadigit{0}}\ {\isacharequal}\ m{\isachardoublequote}\isanewline
|
|
14 |
{\isachardoublequote}plus\ m\ {\isacharparenleft}Suc\ n{\isacharparenright}\ {\isacharequal}\ plus\ {\isacharparenleft}Suc\ m{\isacharparenright}\ n{\isachardoublequote}\isamarkupfalse%
|
|
15 |
%
|
|
16 |
\begin{isamarkuptext}%
|
|
17 |
\noindent and prove%
|
|
18 |
\end{isamarkuptext}%
|
|
19 |
\isamarkuptrue%
|
|
20 |
\isamarkupfalse%
|
|
21 |
\isamarkupfalse%
|
|
22 |
\isamarkupfalse%
|
13791
|
23 |
\isacommand{lemma}\ {\isachardoublequote}plus\ m\ n\ {\isacharequal}\ m{\isacharplus}n{\isachardoublequote}\isamarkupfalse%
|
13778
|
24 |
\isamarkupfalse%
|
13305
|
25 |
\isamarkupfalse%
|
|
26 |
\end{isabellebody}%
|
|
27 |
%%% Local Variables:
|
|
28 |
%%% mode: latex
|
|
29 |
%%% TeX-master: "root"
|
|
30 |
%%% End:
|