src/HOL/Library/reflection.ML
changeset 42426 7ec150fcf3dc
parent 42368 3b8498ac2314
child 43333 2bdec7f430d3
equal deleted inserted replaced
42425:2aa907d5ee4f 42426:7ec150fcf3dc
   310   let
   310   let
   311     val t = (case to of NONE => HOLogic.dest_Trueprop goal | SOME x => x)
   311     val t = (case to of NONE => HOLogic.dest_Trueprop goal | SOME x => x)
   312     val th = genreflect ctxt conv corr_thms raw_eqs t RS ssubst
   312     val th = genreflect ctxt conv corr_thms raw_eqs t RS ssubst
   313   in rtac th i THEN TRY (rtac TrueI i) end);  (* FIXME THEN_ALL_NEW !? *)
   313   in rtac th i THEN TRY (rtac TrueI i) end);  (* FIXME THEN_ALL_NEW !? *)
   314 
   314 
   315 fun reflection_tac ctxt = gen_reflection_tac ctxt Codegen.evaluation_conv;
   315 fun reflection_tac ctxt = gen_reflection_tac ctxt (Codegen.evaluation_conv ctxt);
   316   (*FIXME why Codegen.evaluation_conv?  very specific...*)
   316   (*FIXME why Codegen.evaluation_conv?  very specific...*)
   317 
   317 
   318 end
   318 end