src/HOL/Tools/ATP/atp_translate.ML
changeset 43120 a9c2cdf4ae97
parent 43105 bb0ceef7d39f
child 43121 5df3777f376d
equal deleted inserted replaced
43119:1286e56edf06 43120:a9c2cdf4ae97
   904   in
   904   in
   905     t |> need_trueprop ? HOLogic.mk_Trueprop
   905     t |> need_trueprop ? HOLogic.mk_Trueprop
   906       |> Raw_Simplifier.rewrite_term thy (Meson.unfold_set_const_simps ctxt) []
   906       |> Raw_Simplifier.rewrite_term thy (Meson.unfold_set_const_simps ctxt) []
   907       |> extensionalize_term ctxt
   907       |> extensionalize_term ctxt
   908       |> presimp ? presimplify_term ctxt
   908       |> presimp ? presimplify_term ctxt
       
   909       |> perhaps (try (HOLogic.dest_Trueprop))
   909       |> introduce_combinators_in_term ctxt kind
   910       |> introduce_combinators_in_term ctxt kind
   910   end
   911   end
   911 
   912 
   912 (* making fact and conjecture formulas *)
   913 (* making fact and conjecture formulas *)
   913 fun make_formula thy format type_sys eq_as_iff name loc kind t =
   914 fun make_formula thy format type_sys eq_as_iff name loc kind t =