# HG changeset patch # User chaieb # Date 1188390079 -7200 # Node ID acd19ea21fbb60e850c79d8cbb846a5e195237e5 # Parent 943ef707396c7dfda4313489f8d6aeeb7a6b31ee fixed Proofs diff -r 943ef707396c -r acd19ea21fbb src/HOL/Complex/ex/MIR.thy --- a/src/HOL/Complex/ex/MIR.thy Wed Aug 29 13:58:00 2007 +0200 +++ b/src/HOL/Complex/ex/MIR.thy Wed Aug 29 14:21:19 2007 +0200 @@ -3586,8 +3586,8 @@ thus "(UNION M (\ (a,b,c). set (f (a,b,c)))) = (UNION M (\ (a,b,c). set (g a b c)))" by (auto simp add: split_def) qed - from foldl_append_map_Nil_set[where xs="rsplit0 a" and f="?ff"] - have "?SS (Floor a) = UNION (?SS a) (\x. set (?ff x))" by auto + have "?SS (Floor a) = UNION (?SS a) (\x. set (?ff x))" + by (auto simp add: foldl_conv_concat) also have "\ = UNION (?SS a) (\ (p,n,s). set (?ff (p,n,s)))" by auto also have "\ = ((UNION {(p,n,s). (p,n,s) \ ?SS a \ n=0} (\ (p,n,s). set (?ff (p,n,s)))) Un @@ -3739,8 +3739,8 @@ thus "(UNION M (\ (a,b,c). set (f (a,b,c)))) = (UNION M (\ (a,b,c). set (g a b c)))" by (auto simp add: split_def) qed - from foldl_append_map_Nil_set[where xs="rsplit0 a" and f="?ff"] - have "?SS (Floor a) = UNION (?SS a) (\x. set (?ff x))" by auto + + have "?SS (Floor a) = UNION (?SS a) (\x. set (?ff x))" by (auto simp add: foldl_conv_concat) also have "\ = UNION (?SS a) (\ (p,n,s). set (?ff (p,n,s)))" by auto also have "\ = ((UNION {(p,n,s). (p,n,s) \ ?SS a \ n=0} (\ (p,n,s). set (?ff (p,n,s)))) Un @@ -5810,6 +5810,10 @@ apply mir done +(* +lemma "ALL x y. \x\ = \y\ \ 0 \ abs (y - x) \ abs (y - x) \ 1" +by mir +*) ML "reset Toplevel.timing" end