src/HOL/Library/More_List.thy
changeset 39791 a91430778479
parent 39778 9b1814140bcf
child 39921 45f95e4de831
     1.1 --- a/src/HOL/Library/More_List.thy	Wed Sep 29 11:55:08 2010 +0200
     1.2 +++ b/src/HOL/Library/More_List.thy	Wed Sep 29 15:28:29 2010 +0200
     1.3 @@ -100,8 +100,6 @@
     1.4    "fold plus xs = plus (listsum (rev xs))"
     1.5    by (induct xs) (simp_all add: add.assoc)
     1.6  
     1.7 -declare listsum_foldl [code del]
     1.8 -
     1.9  lemma (in monoid_add) listsum_conv_fold [code]:
    1.10    "listsum xs = fold (\<lambda>x y. y + x) xs 0"
    1.11    by (auto simp add: listsum_foldl foldl_fold fun_eq_iff)