src/HOL/Tools/Predicate_Compile/pred_compile_aux.ML
changeset 33127 eb91ec1ef6f0
parent 33125 2fef4f9429f7
child 33130 7eac458c2b22
equal deleted inserted replaced
33126:bb8806eb5da7 33127:eb91ec1ef6f0
   110 
   110 
   111 datatype options = Options of {  
   111 datatype options = Options of {  
   112   (*check_modes : (string * int list list) list,*)
   112   (*check_modes : (string * int list list) list,*)
   113   show_steps : bool,
   113   show_steps : bool,
   114   show_mode_inference : bool,
   114   show_mode_inference : bool,
       
   115   show_proof_trace : bool,
   115   show_intermediate_results : bool,
   116   show_intermediate_results : bool,
   116   (*
   117   (*
   117   inductify_functions : bool,
   118   inductify_functions : bool,
   118   *)
   119   *)
   119   inductify : bool,
   120   inductify : bool,
   120   rpred : bool
   121   rpred : bool
   121 };
   122 };
   122 
   123 
   123 fun show_steps (Options opt) = #show_steps opt
   124 fun show_steps (Options opt) = #show_steps opt
   124 fun show_intermediate_results (Options opt) = #show_intermediate_results opt
   125 fun show_intermediate_results (Options opt) = #show_intermediate_results opt
       
   126 fun show_proof_trace (Options opt) = #show_proof_trace opt
   125 
   127 
   126 fun is_inductify (Options opt) = #inductify opt
   128 fun is_inductify (Options opt) = #inductify opt
   127 fun is_rpred (Options opt) = #rpred opt
   129 fun is_rpred (Options opt) = #rpred opt
   128 
   130 
   129 
   131 
   130 val default_options = Options {
   132 val default_options = Options {
   131   show_steps = false,
   133   show_steps = false,
   132   show_intermediate_results = false,
   134   show_intermediate_results = false,
       
   135   show_proof_trace = false,
   133   show_mode_inference = false,
   136   show_mode_inference = false,
   134   inductify = false,
   137   inductify = false,
   135   rpred = false
   138   rpred = false
   136 }
   139 }
   137 
   140