doc-src/TutorialI/Misc/document/let_rewr.tex
author wenzelm
Wed, 02 Aug 2000 19:40:14 +0200
changeset 9502 50ec59aff389
parent 9458 c613cd06d5cf
child 9541 d17c0b34d5c8
permissions -rw-r--r--
adapted deriv;

\begin{isabelle}%
\isacommand{lemma}~{"}(let~xs~=~[]~in~xs@ys@xs)~=~ys{"}\isanewline
\isacommand{by}(simp~add:~Let\_def)%
\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: