doc-src/TutorialI/Misc/document/let_rewr.tex
author nipkow
Thu, 20 Apr 2000 09:54:56 +0200
changeset 8754 42ce93ada11e
parent 8749 2665170f104a
child 8771 026f37a86ea7
permissions -rw-r--r--
*** empty log message ***

\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 \texttt{let}s one could even add \texttt{Let_def} permanently:%
\end{isamarkuptext}%
\isacommand{theorems}~[simp]~=~Let\_def\end{isabelle}%