Fixed mistake in const generation, will postpone this.
authorCezary Kaliszyk <kaliszyk@in.tum.de>
Wed, 28 Oct 2009 12:22:06 +0100
changeset 216 8934d2153469
parent 215 89a2ff3f82c7
child 217 9cc87d02190a
Fixed mistake in const generation, will postpone this.
FSet.thy
--- a/FSet.thy	Wed Oct 28 10:29:00 2009 +0100
+++ b/FSet.thy	Wed Oct 28 12:22:06 2009 +0100
@@ -169,14 +169,14 @@
 
 
 ML {* val fset_defs = @{thms EMPTY_def IN_def UNION_def card_def INSERT_def fmap_def fold_def} *}
-ML {* val consts = map (fst o dest_Const o fst o Logic.dest_equals o concl_of) fset_defs *}
+(* ML {* val consts = map (fst o dest_Const o fst o Logic.dest_equals o concl_of) fset_defs *} *)
 
-(* ML {*
+ML {*
   val consts = [@{const_name "Nil"}, @{const_name "Cons"},
                 @{const_name "membship"}, @{const_name "card1"},
                 @{const_name "append"}, @{const_name "fold1"},
                 @{const_name "map"}];
-*} *)
+*}
 
 ML {* val fset_defs_sym = add_lower_defs @{context} fset_defs *}