adding no_topmost_reordering as new option to the code_pred command
authorbulwahn
Thu, 25 Feb 2010 15:36:38 +0100
changeset 35381 5038f36b5ea1
parent 35380 6ac5b81a763d
child 35382 598ee3a4c1aa
adding no_topmost_reordering as new option to the code_pred command
src/HOL/Tools/Predicate_Compile/predicate_compile.ML
src/HOL/Tools/Predicate_Compile/predicate_compile_aux.ML
--- a/src/HOL/Tools/Predicate_Compile/predicate_compile.ML	Thu Feb 25 14:01:34 2010 +0100
+++ b/src/HOL/Tools/Predicate_Compile/predicate_compile.ML	Thu Feb 25 15:36:38 2010 +0100
@@ -151,7 +151,7 @@
       skip_proof = chk "skip_proof",
       function_flattening = not (chk "no_function_flattening"),
       fail_safe_function_flattening = false,
-      no_topmost_reordering = false,
+      no_topmost_reordering = (chk "no_topmost_reordering"),
       no_higher_order_predicate = [],
       inductify = chk "inductify",
       compilation = compilation
--- a/src/HOL/Tools/Predicate_Compile/predicate_compile_aux.ML	Thu Feb 25 14:01:34 2010 +0100
+++ b/src/HOL/Tools/Predicate_Compile/predicate_compile_aux.ML	Thu Feb 25 15:36:38 2010 +0100
@@ -556,7 +556,8 @@
 }
 
 val bool_options = ["show_steps", "show_intermediate_results", "show_proof_trace", "show_modes",
-  "show_mode_inference", "show_compilation", "skip_proof", "inductify", "no_function_flattening"]
+  "show_mode_inference", "show_compilation", "skip_proof", "inductify", "no_function_flattening",
+  "no_topmost_reordering"]
 
 val compilation_names = [("pred", Pred),
   (*("random", Random), ("depth_limited", Depth_Limited), ("annotated", Annotated),*)