doc-src/TutorialI/Misc/let_rewr.thy
author nipkow
Wed, 19 Apr 2000 12:54:56 +0200
changeset 8746 ccbb5e0dccdf
parent 8745 13b32661dde4
child 8771 026f37a86ea7
permissions -rw-r--r--
Adding generated files.

(*<*)
theory let_rewr = Main:;
(*>*)
lemma "(let xs = [] in xs@ys@xs) = ys";
apply(simp add: Let_def).;

text{*
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:
*}
theorems [simp] = Let_def;
(*<*)
end
(*>*)