doc-src/TutorialI/Misc/let_rewr.thy
author wenzelm
Wed, 09 Aug 2000 20:43:03 +0200
changeset 9561 714ad541a133
parent 9541 d17c0b34d5c8
child 9792 bbefb6ce5cb2
permissions -rw-r--r--
thms "atomize";

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

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