doc-src/TutorialI/Misc/document/let_rewr.tex
author wenzelm
Thu, 27 Jul 2000 18:25:01 +0200
changeset 9451 5c25ed3c10a0
parent 9145 9f7b8de5bfaf
child 9458 c613cd06d5cf
permissions -rw-r--r--
begin_theory: store *copy* of initial theory;

\begin{isabelle}%
\isacommand{lemma}~{"}(let~xs~=~[]~in~xs@ys@xs)~=~ys{"}\isanewline
\isacommand{apply}(simp~add:~Let\_def)\isacommand{.}%
\begin{isamarkuptext}%
If, in a particular context, there is no danger of a combinatorial explosion
of nested \isa{let}s one could even add \isa{Let_def} permanently:%
\end{isamarkuptext}%
\isacommand{theorems}~[simp]~=~Let\_def\end{isabelle}%
%%% Local Variables:
%%% mode: latex
%%% TeX-master: "root"
%%% End: