doc-src/TutorialI/Misc/let_rewr.thy
author paulson
Wed, 19 Jul 2000 12:28:32 +0200
changeset 9390 e6b96d953965
parent 8771 026f37a86ea7
child 9458 c613cd06d5cf
permissions -rw-r--r--
renamed // to / (which is what we want anyway) to avoid clash with the new use of // for quotienting

(*<*)
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 \isa{let}s one could even add \isa{Let_def} permanently:
*}
theorems [simp] = Let_def;
(*<*)
end
(*>*)