author | paulson |
Tue, 01 Aug 2000 15:28:21 +0200 | |
changeset 9491 | 1a36151ee2fc |
parent 9458 | c613cd06d5cf |
child 9541 | d17c0b34d5c8 |
permissions | -rw-r--r-- |
8751 | 1 |
lemma app_Nil2 [simp]: "xs @ [] = xs"; |
2 |
apply(induct_tac xs); |
|
9458 | 3 |
apply(auto); |
4 |
.; |
|
8751 | 5 |
|
6 |
lemma app_assoc [simp]: "(xs @ ys) @ zs = xs @ (ys @ zs)"; |
|
7 |
apply(induct_tac xs); |
|
9458 | 8 |
by(auto); |
8751 | 9 |
|
10 |
lemma rev_app [simp]: "rev(xs @ ys) = (rev ys) @ (rev xs)"; |
|
11 |
apply(induct_tac xs); |
|
9458 | 12 |
by(auto); |
8751 | 13 |
|
14 |
theorem rev_rev [simp]: "rev(rev xs) = xs"; |
|
15 |
apply(induct_tac xs); |
|
9458 | 16 |
by(auto); |
8751 | 17 |
|
8846 | 18 |
end; |