src/HOL/TPTP/atp_theory_export.ML
changeset 48220 999d6a829c28
parent 48217 8994afe09c18
child 48225 288effe53e19
equal deleted inserted replaced
48219:49930a9ec27c 48220:999d6a829c28
   250 val known_tautologies =
   250 val known_tautologies =
   251   [@{thm All_def}, @{thm Ex_def}, @{thm Ex1_def}, @{thm Ball_def},
   251   [@{thm All_def}, @{thm Ex_def}, @{thm Ex1_def}, @{thm Ball_def},
   252    @{thm Bex_def}, @{thm If_def}]
   252    @{thm Bex_def}, @{thm If_def}]
   253 
   253 
   254 fun is_likely_tautology thy th =
   254 fun is_likely_tautology thy th =
   255   member Thm.eq_thm_prop known_tautologies th orelse
   255   (member Thm.eq_thm_prop known_tautologies th orelse
   256   th |> prop_of |> raw_interesting_const_names thy
   256    th |> prop_of |> raw_interesting_const_names thy
   257      |> forall (is_skolem orf is_abs)
   257       |> forall (is_skolem orf is_abs)) andalso
       
   258   not (Thm.eq_thm_prop (@{thm ext}, th))
   258 
   259 
   259 fun generate_mash_dependency_file_for_theory thy include_thy file_name =
   260 fun generate_mash_dependency_file_for_theory thy include_thy file_name =
   260   let
   261   let
   261     val path = file_name |> Path.explode
   262     val path = file_name |> Path.explode
   262     val _ = File.write path ""
   263     val _ = File.write path ""