| author | nipkow |
| Tue, 29 Aug 2000 15:13:10 +0200 | |
| changeset 9721 | 7e51c9f3d5a0 |
| parent 9541 | d17c0b34d5c8 |
| child 9792 | bbefb6ce5cb2 |
| permissions | -rw-r--r-- |
| 8745 | 1 |
(*<*) |
2 |
theory let_rewr = Main:; |
|
3 |
(*>*) |
|
4 |
lemma "(let xs = [] in xs@ys@xs) = ys"; |
|
| 9458 | 5 |
by(simp add: Let_def); |
| 8745 | 6 |
|
7 |
text{*
|
|
8 |
If, in a particular context, there is no danger of a combinatorial explosion |
|
| 8771 | 9 |
of nested \isa{let}s one could even add \isa{Let_def} permanently:
|
| 8745 | 10 |
*} |
| 9541 | 11 |
lemmas [simp] = Let_def; |
| 8745 | 12 |
(*<*) |
13 |
end |
|
14 |
(*>*) |